/* CogniBiz website in the CogniFusion family look (Alok, 25 Nov 2026: "Family look, keep logo").
   Source: ClaudeProjectFolder/Functional and Technical Docs/CogniFusion Web Family/cf-family.css.
   Loaded by index.html ONLY, after site.css, so the CogniBiz app (which shares cognibiz-tokens.css and
   cognibiz-components.css) keeps its own violet design system.

   Rules carried from the family sheet:
   - Amber is the only action colour, with dark ink (#0A0B0D on #FF9A00 = 9.3:1). Never white on amber.
   - The CogniBiz cyan-to-violet stays on the CogniBiz logo, emblem, hero glow and brand art only. */

:root[data-theme="dark"] {
  /* ground and surfaces: the family navy-black */
  --cb-bg: #060A14; --cb-surface: #0E1424; --cb-surface-2: #0A0F1E; --cb-surface-hover: #131A2C;
  --cb-line: rgba(255, 255, 255, .10); --cb-line-strong: #66728F;
  --cb-ink: #EDEFF3; --cb-ink-2: #C9CFDA; --cb-muted: #A3AAB8;
  /* action: family amber */
  --cb-action: #FF9A00; --cb-action-hover: #FFB733; --cb-action-soft: rgba(255, 154, 0, .12);
  --cb-on-action: #0A0B0D; --cb-focus: #FFB733;
  /* site.css draws light-mode hairlines with these palette steps; give them dark values here */
  --cb-slate-200: rgba(255, 255, 255, .10);
  --cb-violet-200: rgba(255, 154, 0, .30);
  --cb-violet-300: #FFB733;
  --cb-violet-600: #FF9A00;
  --cf-amber: #FF9A00; --cf-amber-2: #FFB733; --cf-ink-on-amber: #0A0B0D;
  --cf-mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
body { color: var(--cb-ink); }

/* site.css scopes the old violet action to dark blocks and the header button; the family uses amber everywhere */
.on-dark, .head-cta { --cb-action: #FF9A00; --cb-action-hover: #FFB733; --cb-action-soft: rgba(255, 154, 0, .12); --cb-on-action: #0A0B0D; --cb-focus: #FFB733; }
.site-head :focus-visible { outline-color: #FFB733; }

/* ---------- Type: family eyebrows, amber headline accent ---------- */
.eyebrow, .tp-n, .books-title { font-family: var(--cf-mono); color: var(--cf-amber-2); letter-spacing: .14em; font-weight: 600; }
.pill { font-family: var(--cf-mono); color: #EDEFF3; border-color: rgba(255, 255, 255, .22); font-weight: 600; letter-spacing: .12em; }
.hero h1 .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--cf-amber); }
.sec h2, .hero h1, .demo h2 { color: #EDEFF3; }

/* ---------- Header: says whose product this is ---------- */
.site-head { background: rgba(6, 10, 20, .86); border-bottom-color: rgba(255, 255, 255, .08); }
.family-tag { font-family: var(--cf-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #A3AAB8;
  border-left: 1px solid rgba(255, 255, 255, .16); padding: 4px 0 4px 12px; margin-left: -12px; white-space: nowrap; text-decoration: none; }
.family-tag b { color: #EDEFF3; font-weight: 600; }
.family-tag:hover b { color: var(--cf-amber-2); }
.head-signin { color: #EDEFF3; border-color: rgba(255, 255, 255, .22); }
.head-signin:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); }
.site-nav ul { gap: var(--cb-space-5); }
@media (max-width: 1180px) { .family-tag { display: none; } }
@media (max-width: 900px) { .site-nav { background: #0A0F1E; } }

/* ---------- Sections: one dark ground ---------- */
.hero { background: radial-gradient(circle at 50% 0%, rgba(255, 154, 0, .08) 0%, rgba(6, 10, 20, 0) 55%), #060A14; } /* same ground and amber glow as the demo band: no blue or violet wash */
.sec--alt { background: transparent; border-color: rgba(255, 255, 255, .06); } /* one ground (#060A14) for every section: the family sheet has no alternating navy band */
.btn-outline-light { color: #EDEFF3; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); }
.cb-btn--primary { font-weight: 700; }
.trust .ic { color: var(--cf-amber-2); }

/* Icon tiles: light tints become dark tints; teal and blue stay as information colours */
.t-teal { background: rgba(34, 211, 238, .12); color: #67E8F9; }
.t-blue { background: rgba(96, 165, 250, .14); color: #93C5FD; }
.t-violet { background: rgba(255, 154, 0, .12); color: var(--cf-amber-2); }
.mod, .cb-card { box-shadow: none; }
.callout { color: var(--cb-ink); }
.custom-band { color: var(--cb-ink); }

/* Product preview keeps its own look, now on the family ground */
.preview { box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .10); }
.pv-user { background: rgba(255, 154, 0, .14); color: var(--cf-amber-2); }

/* Journey: progress and "now" chips in amber */
.track-line, .tour-progress { background: rgba(255, 255, 255, .10); }
.track-fill, .tour-progress span { background: var(--cf-amber); }
.track-token { background: #EDEFF3; color: #0A0B0D; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.track-token::after { background: #EDEFF3; }
.track-token .ic { color: #0A0B0D; }
.books { background: #0E1424; border: 1px solid rgba(255, 255, 255, .08); }
.books-list li { border-color: rgba(255, 255, 255, .14); }
.books-list li.is-now { background: rgba(255, 154, 0, .14); border-color: var(--cf-amber); }
.books-list li.is-now::before { background: var(--cf-amber); box-shadow: 0 0 0 4px rgba(255, 154, 0, .25); }
.tour-steps button.is-done .st-dot { border-color: #2F7A5E; }
.video-lang-btn[aria-pressed="true"] { color: #0A0B0D; }
.video-lang-btn:focus-visible { outline-color: var(--cf-amber-2); }
.video-frame video { box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .10); }

/* ---------- Proof strip under the hero ---------- */
.proof-strip { background: #0A0F1E; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 22px 0; }
.proof-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; color: var(--cb-muted); font-size: var(--cb-text-md); }
.proof-in strong { color: var(--cb-ink); font-weight: 700; }
.proof-in a { color: var(--cf-amber-2); font-weight: 600; text-decoration: none; padding: 8px 0; }
.proof-in a:hover { text-decoration: underline; }

/* ---------- Two editions ---------- */
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cb-space-5); }
.edition { position: relative; overflow: hidden; padding: var(--cb-space-8); background: var(--cb-surface); border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius-xl); display: flex; flex-direction: column; gap: var(--cb-space-4); }
.edition::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--cb-brand-gradient); }
.edition .who { font-family: var(--cf-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cb-muted); }
.edition h3 { font-size: var(--cb-text-3xl); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.edition > p { color: var(--cb-ink-2); line-height: 1.6; }
.edition ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.edition li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.edition li .ic { width: 18px; height: 18px; color: var(--cf-amber-2); margin-top: 3px; }
.edition .cb-btn { align-self: flex-start; margin-top: auto; }
.editions-note { margin-top: var(--cb-space-5); color: var(--cb-muted); }
@media (max-width: 860px) { .editions { grid-template-columns: minmax(0, 1fr); } .edition { padding: var(--cb-space-6); } }

/* ---------- Tally ---------- */
.tally { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--cb-space-8); align-items: center; }
.tally-points { list-style: none; padding: 0; display: grid; gap: var(--cb-space-4); }
.tally-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px var(--cb-space-4); }
.tally-points .tile-ic { grid-row: span 2; }
.tally-points b { font-size: var(--cb-text-xl); }
.tally-points span { color: var(--cb-ink-2); line-height: 1.55; }
.tally-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--cb-space-4); }
.tally-box { padding: var(--cb-space-5); border-radius: var(--cb-radius-xl); background: var(--cb-surface); border: 1px solid var(--cb-line); display: grid; gap: 8px; }
.tally-box b { font-size: var(--cb-text-lg); }
.tally-box span { color: var(--cb-muted); font-size: var(--cb-text-sm); line-height: 1.5; }
.tally-arrow { color: var(--cf-amber); }
.tally-arrow .ic { width: 28px; height: 28px; }
@media (max-width: 900px) { .tally { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tally-flow { grid-template-columns: minmax(0, 1fr); } .tally-arrow { justify-self: center; transform: rotate(90deg); } }

/* ---------- Quotes from CogniLogistic customers ---------- */
.quotes-head { margin: var(--cb-space-10) 0 var(--cb-space-4); font-size: var(--cb-text-xs); font-family: var(--cf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cf-amber-2); font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cb-space-5); }
.quote { margin: 0; padding: var(--cb-space-6); background: var(--cb-surface); border: 1px solid var(--cb-line); border-radius: var(--cb-radius-xl); display: flex; flex-direction: column; gap: var(--cb-space-4); }
.quote blockquote { margin: 0; font-size: var(--cb-text-xl); line-height: 1.5; color: var(--cb-ink); }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--cb-muted); font-size: var(--cb-text-sm); }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.founder { border-top-color: rgba(255, 255, 255, .10); }
.chips li { border-color: rgba(255, 255, 255, .12); }

/* ---------- Demo band and family footer ---------- */
.demo { background: radial-gradient(circle at 50% 0%, rgba(255, 154, 0, .10) 0%, rgba(6, 10, 20, 0) 55%), #060A14; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-foot { background: #060A14; border-top-color: rgba(255, 255, 255, .08); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--cb-space-8); }
.foot-grid h2 { font-family: var(--cf-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #EDEFF3; font-weight: 600; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.foot-grid a { color: #A3AAB8; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot-grid a:hover { color: #EDEFF3; text-decoration: underline; }
.foot-brand p { color: #A3AAB8; max-width: 32ch; }
.foot-legal p { color: #A3AAB8; border-top-color: rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* The brand art PNG was drawn for a light page (its "Cogni" is dark ink), so it disappears here; the header and
   footer already carry the CogniBiz mark. */
.sec-head--brand { display: block; max-width: 760px; }
.sec-head--brand .brand-art { display: none; }
.tally { align-items: start; }
.tally h2 { margin-bottom: var(--cb-space-8); }
.tally-flow { align-items: stretch; margin-top: 64px; }
.tally-arrow { align-self: center; }
@media (max-width: 900px) { .tally-flow { margin-top: 0; } }

/* ---------- Review round 1 (ui-reviewer, 25 Nov 2026) ---------- */
/* One neutral icon tile everywhere: amber means "you can click this", so it stays off 20+ static icons */
.tile-ic, .t-teal, .t-blue, .t-violet, .step-n { background: #131A2C; color: #C9CFDA; }
.step-n { color: #EDEFF3; }
/* Modules: one column with the icon on the left on phones, like every other tile list */
@media (max-width: 560px) {
  .grid-3.mods { grid-template-columns: minmax(0, 1fr); }
  .mod { flex-direction: row; gap: var(--cb-space-4); }
}
/* Sample data: "Packing" and "Invoice due" must not share a colour */
.cb-badge--progress { background: rgba(96, 165, 250, .14); color: #93C5FD; }
/* How it works: the panel sizes to its content (the fixed 330px left a dead band) */
.js .tour-panel.is-on { min-height: 0; }
.js .tour-panel .tp-lands { align-self: start; margin-top: var(--cb-space-5); }
/* Why CogniFusion: founder right under the facts, not pushed to the bottom */
.founder { margin-top: var(--cb-space-6); }
/* Both callouts in one style */
.callout { border: 1px solid rgba(255, 154, 0, .30); border-left-width: 4px; border-radius: var(--cb-radius-lg); }
.custom-band { border-left-width: 4px; }
/* Selected video language is a state, not a second amber button */
.video-lang-btn[aria-pressed="true"] { background: #EDEFF3; color: #0A0B0D; }
.video-frame { max-width: none; }
@media (max-width: 480px) { .hero .pill { letter-spacing: .06em; font-size: 11px; } }
/* Desktop: hold the panel at the tallest step (GST invoice, ~307px) so the Pause bar does not jump while it plays */
@media (min-width: 1001px) { .js .tour-panel.is-on { min-height: 310px; } }

/* Module explorer: without JS all nine cards show in a grid; with JS they form a stack, the next card rising over the one before. */
.mod-explorer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cb-space-4); }
.mod-stage { display: contents; }
.mod-card { padding: var(--cb-space-5); display: flex; flex-direction: column; gap: var(--cb-space-3); }
.mod-card h3 { font-size: var(--cb-text-xl); font-weight: 700; margin: 0; }
.mod-lead { color: #EDEFF3; margin: 0; line-height: 1.5; }
.mod-points { margin: 0; padding-left: 1.1em; color: #C9CFDA; display: grid; gap: 6px; line-height: 1.5; }
.mod-count { color: #C9CFDA; font-size: .875rem; text-align: center; }
.js .mod-count { grid-area: 2 / 1; margin: 84px 0 0; }
.js .mod-explorer { display: block; width: 100%; height: 300vh; }
.js .mod-pin { position: sticky; top: 76px; }
.js .mod-pin .sec-head { margin-bottom: 24px; }
.js .mod-stage { max-width: 720px; margin: 0 auto; }
.js .mod-stage { display: grid; width: 100%; }
.js .mod-card { grid-area: 1 / 1; align-self: start; padding: 28px; background: #0F1626; border-color: rgba(255,255,255,.14); transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; will-change: transform; overflow: hidden; }

/* One dark shade per module card, so each step of the stack reads as its own card. */
.js .mod-card:nth-of-type(1) { background: #0F1B33; border-color: #27406E; }
.js .mod-card:nth-of-type(2) { background: #0E2530; border-color: #245A70; }
.js .mod-card:nth-of-type(3) { background: #10251F; border-color: #276B58; }
.js .mod-card:nth-of-type(4) { background: #1D2410; border-color: #566E27; }
.js .mod-card:nth-of-type(5) { background: #2A2210; border-color: #7A6325; }
.js .mod-card:nth-of-type(6) { background: #2B1A14; border-color: #7E452B; }
.js .mod-card:nth-of-type(7) { background: #2A1522; border-color: #7E2F5F; }
.js .mod-card:nth-of-type(8) { background: #1E1633; border-color: #58409A; }
.js .mod-card:nth-of-type(9) { background: #161B3A; border-color: #3F4FA0; }
.js .mod-card h3 { font-size: 1.5rem; }
.js .mod-card .mod-lead { font-size: 1.125rem; }
.js .mod-card[data-pos="0"] { transform: none; opacity: 1; z-index: 9; }
.js .mod-card[data-pos="1"] { transform: translateY(34px) scale(.94); opacity: .85; z-index: 8; }
.js .mod-card[data-pos="2"] { transform: translateY(68px) scale(.88); opacity: .7; z-index: 7; }
.js .mod-card[data-pos="hide"] { transform: translateY(68px) scale(.88); opacity: 0; z-index: 6; pointer-events: none; }
.js .mod-card:not([data-pos="0"]) > * { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .js .mod-card { transition: none; } }
@media (max-width: 900px) {
  .mod-explorer { grid-template-columns: minmax(0, 1fr); }
  .js .mod-stage { display: grid; width: 100%; }
  .js .mod-card { padding: var(--cb-space-4); }
}

.sec--mods { padding-bottom: 40px; }
.sec--mods .sec-head { margin-bottom: 28px; }
