/* =========================================================================
   Clarity by Zaon — marketing site
   Palette = Zaon app color system v3.0.552 (warm-neutral re-tint, 4-hue law)
   Purple = identity/interaction ONLY · green=verified · amber=attention ·
   red=conflict · processing = neutral+motion (no cyan).
   ========================================================================= */

:root {
  /* --- warm-neutral ground (light) --- */
  --bg:            #F8F8F6;
  --bg-2:          #F1F0EC;
  --card:          #FFFFFF;
  --card-2:        #FBFBF9;
  --card-hover:    #F4F3F0;
  --fill:          #F4F3F0;
  --line:          #E7E4DF;
  --line-2:        #D6D2CB;

  --ink:           #1F2937;   /* primary text */
  --ink-soft:      #4B5563;   /* secondary */
  --ink-faint:     #6B7280;   /* muted / meta */

  /* --- brand: interaction & identity ONLY --- */
  --accent:        #8B5CF6;
  --accent-dark:   #7C3AED;
  --link:          #6D28D9;
  --accent-wash:   #EDE9FE;
  --accent-line:   #C4B5FD;
  --gradient:      linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);

  /* --- status: three hues, each dual-coded with an icon --- */
  --verified:      #047857;  --verified-wash:#D1FAE5;  --verified-line:#6EE7B7;  --verified-solid:#34D399;
  --attention:     #B45309;  --attention-wash:#FEF3C7; --attention-line:#FCD34D; --attention-solid:#FBBF24;
  --conflict:      #B91C1C;  --conflict-wash:#FEE2E2;  --conflict-line:#FCA5A5;  --conflict-solid:#F87171;
  --neutral:       #6B7280;  --neutral-wash:#F4F3F0;

  /* --- elevation: black shadow scale on flat surfaces --- */
  --shadow:      0 1px 2px rgba(17,16,15,.05), 0 8px 24px -14px rgba(17,16,15,.18);
  --shadow-lift: 0 2px 6px rgba(17,16,15,.06), 0 20px 44px -20px rgba(17,16,15,.26);
  --glow:        0 0 44px rgba(139,92,246,.28);

  --display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
  --mono:    ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --maxw: 1120px;
  --r:  14px;
  --r-lg: 20px;
  --nav-h: 68px;
}

:root[data-theme="dark"] {
  --bg:            #131211;
  --bg-2:          #1A1917;
  --card:          #1C1B19;
  --card-2:        #201F1C;
  --card-hover:    #262523;
  --fill:          #2B2A27;
  --line:          #302E2B;
  --line-2:        #3B3936;

  --ink:           #F3F4F6;
  --ink-soft:      #9CA3AF;
  --ink-faint:     #6B7280;

  --accent:        #8B5CF6;
  --accent-dark:   #7C3AED;
  --link:          #A78BFA;
  --accent-wash:   rgba(139,92,246,.16);
  --accent-line:   rgba(139,92,246,.42);

  --verified:      #6EE7B7;  --verified-wash:rgba(52,211,153,.14);  --verified-line:rgba(52,211,153,.42);
  --attention:     #FCD34D;  --attention-wash:rgba(251,191,36,.14); --attention-line:rgba(251,191,36,.42);
  --conflict:      #FCA5A5;  --conflict-wash:rgba(248,113,113,.15);  --conflict-line:rgba(248,113,113,.42);
  --neutral:       #9CA3AF;  --neutral-wash:#2B2A27;

  --shadow:      0 1px 2px rgba(0,0,0,.4),  0 10px 28px -14px rgba(0,0,0,.6);
  --shadow-lift: 0 3px 8px rgba(0,0,0,.5),  0 26px 54px -22px rgba(0,0,0,.7);
  --glow:        0 0 48px rgba(139,92,246,.32);
}

/* =========================== base =========================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 88% -12%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 58%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent-wash); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 40px); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 12px;
}
.eyebrow.accent { color: var(--link); }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================== nav =========================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 40px); }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--gradient);
  display: grid; place-items: center; box-shadow: var(--shadow); flex: none;
}
.mark svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--display); font-weight: 680; letter-spacing: -.01em; font-size: 18px; color: var(--ink); }
.brand-name span { color: var(--ink-faint); font-weight: 500; }
/* official Zaon wordmark + Clarity sub-label */
.brand-logo { height: 27px; width: auto; display: block; }
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
.brand-sub { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; color: var(--ink-faint); padding-left: 12px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; border-radius: 8px;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--ink); background: var(--fill); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; transition: all .18s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 9px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: .2s ease; }

/* =========================== buttons =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px;
  font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(139,92,246,.42); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--link); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* =========================== section scaffold =========================== */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 700; line-height: 1.06; }
.sec-head p { color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 18px); margin-top: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* reveal-on-scroll — progressive enhancement: content is visible by default,
   only hidden once JS marks the doc .reveal-ready (so no-JS / IO-failure still shows) */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* =========================== hero =========================== */
.hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 60px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
.hero h1 { font-size: clamp(44px, 8.4vw, 92px); font-weight: 720; line-height: .98; letter-spacing: -.04em; margin: 18px 0 0; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-soft); margin-top: 20px; max-width: 42ch; }
.hero-copy .hero-lede:first-child { margin-top: 0; }
.hero-lede b { color: var(--ink); font-weight: 620; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-belief {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 560; font-size: clamp(15px, 1.7vw, 18px); color: var(--ink);
}
.hero-belief b { color: var(--accent); font-weight: 660; }

/* hero visual wrapper + trademark seal */
.hero-visual { position: relative; }
.hero-seal {
  position: absolute; left: -26px; bottom: -26px; z-index: 3;
  width: 122px; height: 122px; padding: 7px;
  background: var(--card); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: var(--shadow-lift); pointer-events: none;
}
@media (max-width: 940px) { .hero-seal { width: 98px; height: 98px; left: -8px; bottom: -22px; } }

/* live drift-demo card */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 20px; }
.demo-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.demo-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--conflict-solid); box-shadow: 0 0 0 4px color-mix(in srgb, var(--conflict-solid) 24%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.kcard { border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; background: var(--card-2); }
.krow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ktitle { font-size: 14px; font-weight: 620; font-family: var(--display); }
.kmeta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
.kbody { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.num.ok { color: var(--verified); } .num.bad { color: var(--conflict); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; white-space: nowrap; color: var(--ink-faint); }
.chip.ok { color: var(--verified); border-color: var(--verified-line); background: var(--verified-wash); }
.chip.warn { color: var(--attention); border-color: var(--attention-line); background: var(--attention-wash); }
.chip svg { width: 11px; height: 11px; }
.seam { display: flex; align-items: center; gap: 10px; margin: 11px 2px; color: var(--conflict); font-family: var(--mono); font-size: 11px; }
.seam .l { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, color-mix(in srgb,var(--conflict) 55%, transparent) 0 6px, transparent 6px 11px); }
.seam .z { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 3px 9px; background: var(--conflict-wash); border: 1px solid var(--conflict-line); border-radius: 999px; }
.seam .z svg { width: 12px; height: 12px; }
.demo-foot { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.avatar { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; }
.avatar.sme { background: linear-gradient(140deg, #E0A63B, #C78412); }
.avatar.clarity { background: var(--gradient); }
.avatar.author { background: linear-gradient(140deg,#9A928A,#6E675F); }

/* =========================== stat / trust strip =========================== */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.strip .cell { background: var(--card); padding: 22px 24px; }
.strip .k { font-family: var(--display); font-weight: 720; font-size: clamp(22px,2.6vw,30px); letter-spacing: -.02em; }
.strip .k .grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip .d { color: var(--ink-soft); font-size: 13.5px; margin-top: 6px; }

/* =========================== enemy / disguises =========================== */
.enemy-story {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--conflict);
  border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 32px;
}
.enemy-story .q { font-family: var(--display); font-weight: 560; font-size: clamp(16px,1.9vw,20px); color: var(--ink); line-height: 1.4; }
.enemy-story .src { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.enemy-story .src b { color: var(--ink); font-weight: 620; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.disguise { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.disguise .n { font-family: var(--mono); font-size: 12px; color: var(--conflict); font-weight: 600; letter-spacing: .08em; }
.disguise h3 { font-size: 18px; font-weight: 660; margin: 10px 0 8px; }
.disguise p { color: var(--ink-soft); font-size: 14px; }

/* =========================== missing middle band =========================== */
.mm { display: grid; grid-template-columns: 1fr 78px 1.1fr 78px 1fr; align-items: stretch; }
.mm-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.mm-card.mid { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-wash), var(--card)); box-shadow: var(--shadow-lift); }
.mm-card .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.mm-card.mid .lbl { color: var(--link); }
.mm-card h3 { font-size: 17px; font-weight: 660; margin: 6px 0 12px; }
.mm-card.mid h3 { font-size: 20px; }
.mm-card .mid-sub { font-size: 13px; color: var(--ink-soft); }
.mm-card .mid-sub b { color: var(--link); font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; color: var(--ink-soft); background: var(--fill); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.mm-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--accent); }
.mm-arrow .cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); text-align: center; line-height: 1.3; }
.mm-arrow svg { width: 26px; height: 26px; }
.mm-note { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--ink-soft); }
.mm-note b { color: var(--ink); font-weight: 640; }

/* =========================== pipeline (watch/judge/route) =========================== */
.pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.stage .n { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
.stage h3 { font-size: 20px; font-weight: 660; margin: 12px 0 8px; display: flex; align-items: center; gap: 10px; }
.stage h3 svg { width: 22px; height: 22px; color: var(--accent); }
.stage p { color: var(--ink-soft); font-size: 14px; }
.stage p b { color: var(--ink); font-weight: 620; }

/* =========================== verdicts =========================== */
.verdicts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.verdict { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.verdict .stripe { height: 5px; background: var(--c); }
.verdict .in { padding: 18px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.verdict .top { display: flex; align-items: center; gap: 9px; }
.verdict .vic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--cw); color: var(--c); }
.verdict .vic svg { width: 16px; height: 16px; }
.verdict .vname { font-family: var(--display); font-weight: 680; font-size: 16px; }
.verdict p { font-size: 13px; color: var(--ink-soft); }
.verdict .so { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink); }
.verdict .so b { font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: .04em; color: var(--ink-faint); }
.v-green   { --c: var(--verified);  --cw: var(--verified-wash); }
.v-amber   { --c: var(--attention); --cw: var(--attention-wash); }
.v-red     { --c: var(--conflict);  --cw: var(--conflict-wash); }
.v-purple  { --c: var(--accent);    --cw: var(--accent-wash); }
.v-neutral { --c: var(--neutral);   --cw: var(--neutral-wash); }

/* =========================== journey timeline =========================== */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.legend .lb { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-right: 4px; }
.legend .arr { color: var(--ink-faint); }
.st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.st .d { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.neutral { color: var(--neutral); background: var(--neutral-wash); }
.st.red { color: var(--conflict); background: var(--conflict-wash); }
.st.amber { color: var(--attention); background: var(--attention-wash); }
.st.green { color: var(--verified); background: var(--verified-wash); }

.timeline { max-width: 780px; }
.row { display: grid; grid-template-columns: 62px 30px 1fr; }
.row .time { text-align: right; padding: 4px 12px 0 0; }
.row .time span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
.rail { display: flex; flex-direction: column; align-items: center; }
.marker { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; z-index: 1; font-family: var(--mono); font-size: 12px; font-weight: 700; border: 2px solid; background: var(--card); }
.conn { width: 2px; flex: 1; margin: 3px 0; border-radius: 2px; min-height: 16px; }
.row:last-child .conn { display: none; }
.beat { padding: 0 0 26px 16px; min-width: 0; }
.beat .stagelbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.beat h3 { font-size: clamp(17px,2vw,20px); font-weight: 680; margin: 4px 0 6px; }
.beat p { color: var(--ink-soft); font-size: 14.5px; }
.beat p .quote { color: var(--ink); font-style: italic; }
.beat p b { color: var(--ink); font-weight: 620; }
.fact { margin-top: 12px; border: 1px solid var(--line); border-left: 3px solid var(--fc, var(--line-2)); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.fact-top { display: flex; align-items: center; gap: 10px; padding: 10px 13px; }
.fact-top .k { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.fact-top .v { font-family: var(--display); font-weight: 640; font-size: 15px; color: var(--ink); }
.fact-top .v .old { text-decoration: line-through; text-decoration-color: var(--conflict); color: var(--ink-faint); }
.fact-top .fbadge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.fact-bottom { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-top: 1px solid var(--line); background: var(--card-2); font-size: 12px; color: var(--ink-soft); }
.fact-bottom b { color: var(--ink); font-weight: 620; }
.row.neutral { --fc: var(--neutral); } .row.neutral .marker { border-color: var(--neutral); color: var(--neutral); } .row.neutral .conn { background: var(--neutral); opacity: .4; } .row.neutral .fbadge { color: var(--neutral); background: var(--neutral-wash); }
.row.red { --fc: var(--conflict); } .row.red .marker { border-color: var(--conflict); color: var(--conflict); } .row.red .conn { background: var(--conflict); } .row.red .fbadge { color: var(--conflict); background: var(--conflict-wash); }
.row.amber { --fc: var(--attention); } .row.amber .marker { border-color: var(--attention); color: var(--attention); } .row.amber .conn { background: var(--attention); } .row.amber .fbadge { color: var(--attention); background: var(--attention-wash); }
.row.green { --fc: var(--verified); } .row.green .marker { border-color: var(--verified); color: #fff; background: var(--verified); } .row.green .conn { background: var(--verified); } .row.green .fbadge { color: var(--verified); background: var(--verified-wash); }
.fact-bottom .av { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: #fff; }

/* =========================== trust loop diagram =========================== */
.diagram-scroll { overflow-x: auto; padding-bottom: 6px; }
.diagram { min-width: 720px; width: 100%; height: auto; }
/* SVG theming via classes (var() is unreliable in SVG presentation attributes) */
.diagram .d-card { fill: var(--card); stroke: var(--line); }
.diagram .d-badge { fill: var(--accent); }
.diagram .d-badge-t { fill: #fff; font-family: var(--mono); font-weight: 700; }
.diagram .d-eye { fill: var(--ink-faint); font-family: var(--mono); letter-spacing: .06em; }
.diagram .d-name { fill: var(--ink); font-family: var(--display); font-weight: 700; }
.diagram .d-body { fill: var(--ink-soft); font-family: var(--body); }
.diagram .d-flow { stroke: var(--ink-faint); fill: none; stroke-width: 1.8; }
.diagram .d-riser { stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .55; }
.diagram .d-spine { fill: var(--accent-wash); stroke: var(--accent); }
.diagram .d-spine-t { fill: var(--link); font-family: var(--display); font-weight: 700; }
.diagram .d-spine-sub { fill: var(--ink-soft); font-family: var(--body); }
.diagram .d-ret { stroke: var(--attention); fill: none; stroke-width: 1.8; }
.diagram .d-ret-t { fill: var(--attention); font-family: var(--mono); }
.diagram .d-chip-g { fill: var(--verified-wash); stroke: var(--verified); }
.diagram .d-chip-g-t { fill: var(--verified); font-family: var(--mono); font-weight: 600; }
.diagram .d-chip-n { fill: var(--accent-wash); stroke: var(--accent); }
.diagram .d-chip-n-t { fill: var(--link); font-family: var(--mono); font-weight: 600; }
.diagram .d-arrow { fill: var(--ink-faint); }
.diagram .d-arrow-ret { fill: var(--attention); }
.loop-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.loop-legend .li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.loop-legend .sw { width: 26px; height: 12px; border-radius: 3px; flex: none; }
.loop-legend .li b { color: var(--ink); font-weight: 600; }

/* personas */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.persona { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.persona::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.persona .q { display: flex; gap: 12px; align-items: flex-start; }
.persona .qn { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-wash); color: var(--link); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; }
.persona .qt { font-family: var(--display); font-weight: 680; font-size: 18px; line-height: 1.2; }
.persona .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin: 14px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.persona .role b { color: var(--link); }
.persona ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.persona li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-soft); }
.persona li b { color: var(--ink); font-weight: 620; }
.persona li svg { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; color: var(--accent); }
.persona .say { margin-top: auto; padding-top: 16px; }
.persona .say .m { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.persona .say .l { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); margin-top: 6px; }
.persona .say .l::before { content: "\201C"; color: var(--accent); }
.persona .say .l::after { content: "\201D"; color: var(--accent); }

/* =========================== copilot mockup =========================== */
.frame { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); overflow: hidden; max-width: 860px; margin: 0 auto; }
.chrome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card-2); border-bottom: 1px solid var(--line); }
.chrome .tl { display: flex; gap: 7px; }
.chrome .tl i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.chrome .tl i:nth-child(1){ background:#E0574A; } .chrome .tl i:nth-child(2){ background:#E0A63B; } .chrome .tl i:nth-child(3){ background:#42B883; }
.chrome .addr { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); min-width: 0; }
.chrome .addr svg { color: var(--verified); flex: none; width: 12px; height: 12px; }
.chrome .addr b { color: var(--ink); font-weight: 600; }
.chrome .pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--link); background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.chat { padding: clamp(18px,3vw,26px); display: flex; flex-direction: column; gap: 18px; }
.msg { display: flex; gap: 12px; }
.msg .av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; }
.msg .av.user { background: var(--gradient); }
.msg .av.bot { background: var(--gradient); }
.msg .who { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 6px; }
.msg .who .model { color: var(--link); }
.bubble { background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 4px 14px 14px 14px; padding: 11px 14px; font-size: 14.5px; color: var(--ink); max-width: 60ch; }
.answer { flex: 1; min-width: 0; }
.answer .body { font-size: 14.5px; color: var(--ink); }
.answer .body p { margin: 0 0 11px; }
.answer .body ul { margin: 0 0 11px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.answer .body li { font-size: 14px; color: var(--ink-soft); }
.answer .body b { color: var(--ink); font-weight: 640; }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; padding: 0 3px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: var(--link); background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 5px; vertical-align: super; margin-left: 2px; line-height: 1; }
.followup { color: var(--ink-soft); font-size: 13.5px; font-style: italic; }
.sources { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); overflow: hidden; }
.src-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.src-head .shield { width: 22px; height: 22px; border-radius: 6px; background: var(--verified-wash); color: var(--verified); display: grid; place-items: center; flex: none; }
.src-head .shield svg { width: 13px; height: 13px; }
.src-head .t { font-family: var(--display); font-weight: 640; font-size: 13.5px; }
.src-head .cnt { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.src { display: flex; align-items: center; gap: 11px; padding: 10px 14px; }
.src + .src, .src-more { border-top: 1px solid var(--line); }
.src .n { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--link); width: 16px; text-align: center; flex: none; }
.src .fp { width: 18px; height: 18px; color: var(--verified); flex: none; }
.src .title { font-size: 13px; color: var(--ink); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src .vtag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--verified); background: var(--verified-wash); border: 1px solid var(--verified-line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; flex: none; }
.src-more { padding: 9px 14px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-align: center; }

/* callout */
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: var(--r); padding: 18px 20px; max-width: 860px; margin: 22px auto 0; }
.callout svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.callout .t { font-size: 14.5px; color: var(--ink); }
.callout .t b { font-weight: 660; }
.callout .t .eb { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--link); display: block; margin-bottom: 4px; }

/* =========================== product surfaces =========================== */
.built { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.built-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.built-item:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.built-item .k { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 660; font-size: 16px; }
.built-item .k .tick { width: 18px; height: 18px; color: var(--verified); flex: none; }
.built-item .d { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }

/* =========================== non-negotiables =========================== */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.principle .pn { font-family: var(--mono); font-weight: 700; color: var(--accent); flex: none; }
.principle h3 { font-size: 15.5px; font-weight: 660; margin-bottom: 4px; }
.principle p { font-size: 13.5px; color: var(--ink-soft); }

/* =========================== closer / contact =========================== */
.closer { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: clamp(32px,5vw,56px); position: relative; overflow: hidden; }
:root[data-theme="dark"] .closer { background: #0D0C0B; color: #F3F4F6; border: 1px solid var(--line); }
.closer::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.5), transparent 70%); opacity: .55; }
.closer-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.closer .eyebrow { color: color-mix(in srgb, var(--bg) 65%, var(--accent)); }
.closer h2 { font-size: clamp(24px,3.2vw,36px); font-weight: 700; line-height: 1.1; color: #fff; }
:root[data-theme="dark"] .closer h2 { color: #F3F4F6; }
.closer h2 .hi { color: #B9A8FF; }
.closer p { color: color-mix(in srgb, #fff 80%, transparent); font-size: 16px; margin-top: 14px; }
:root[data-theme="dark"] .closer p { color: var(--ink-soft); }
.closer-cta { display: flex; flex-direction: column; gap: 12px; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.contact-card .ci { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-wash); color: var(--link); display: grid; place-items: center; margin-bottom: 12px; }
.contact-card .ci svg { width: 18px; height: 18px; }
.contact-card h3 { font-size: 15px; font-weight: 660; }
.contact-card p { font-size: 13px; color: var(--ink-soft); margin: 4px 0 10px; }
.contact-card a.email { font-family: var(--mono); font-size: 13px; color: var(--link); font-weight: 600; }
.contact-card a.email:hover { text-decoration: underline; }
.office { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-faint); font-family: var(--mono); }

/* =========================== footer =========================== */
.footer { border-top: 1px solid var(--line); padding: clamp(40px,5vw,64px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--ink-soft); font-size: 14px; max-width: 32ch; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .18s ease; }
.social a:hover { color: var(--link); border-color: var(--accent-line); }
.social a svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; transition: color .18s ease; }
.footer-col a:hover { color: var(--link); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }

/* =========================== cookie consent =========================== */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 720px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow-lift); padding: 18px 20px; display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie.show { display: flex; }
.cookie p { font-size: 13.5px; color: var(--ink-soft); flex: 1; min-width: 240px; }
.cookie p a { color: var(--link); text-decoration: underline; }
.cookie .actions { display: flex; gap: 10px; }

/* =========================== responsive =========================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { max-width: 460px; }
  .mm { grid-template-columns: 1fr; gap: 12px; }
  .mm-arrow { flex-direction: row; padding: 2px 0; } .mm-arrow svg { transform: rotate(90deg); }
  .verdicts { grid-template-columns: repeat(2, 1fr); }
  .closer-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--card); border-bottom: 1px solid var(--line); padding: 12px clamp(18px,5vw,40px) 18px; box-shadow: var(--shadow); }
  .nav-links.open .nav-link { padding: 12px; }
  .nav-toggle { display: block; }
  .nav-actions .btn-desktop { display: none; }
  .pipe, .cards-3, .personas, .principles, .contact-cards { grid-template-columns: 1fr; }
  .verdicts { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .row { grid-template-columns: 46px 26px 1fr; }
}
