/* =========================================================================
   ALVERO REACH — design system
   Type: inherited Alvero DNA (Erode / Neue Montreal / JetBrains Mono)
   Color: steel-navy substrate, steel-blue authority, baby-blue reach accent.
   Gold (§04.01) reserved for variance + the primary CTA only.
   ========================================================================= */

:root {
  /* substrate */
  --bg:        #070a11;
  --bg-2:      #090e16;
  --surface:   #0d131d;
  --surface-2: #121a26;
  --surface-3: #16202e;

  --line:   rgba(150, 182, 214, 0.10);
  --line-2: rgba(150, 182, 214, 0.18);
  --line-3: rgba(150, 182, 214, 0.30);

  /* ink */
  --ink:      #e9eff7;
  --ink-soft: #b9c6d6;
  --muted:    #7f8fa3;
  --faint:    #556679;

  /* steel + sky (Reach identity) */
  --steel:      #4e6e94;
  --steel-soft: #6f93b9;
  --sky:        #4aa6f2;
  --sky-bright: #8fcbfb;
  --sky-deep:   #2f5c86;
  --sky-glow:   rgba(74, 166, 242, 0.6);

  /* gold — Alvero family signature, CTA + variance only */
  --gold:      #c2954e;
  --gold-soft: #d8b173;
  --gold-deep: #9c7635;

  /* type */
  --font-serif: "Erode", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans:  "Neue Montreal", "PP Neue Montreal", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 11vw, 168px);
  --radius: 4px;
  --radius-lg: 8px;

  /* tunables (driven by Tweaks) */
  --accent: var(--sky);
  --accent-bright: var(--sky-bright);
  --motion: 1;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --motion: 0; }
}

::selection { background: rgba(140, 194, 240, 0.26); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* ---- shared atoms -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.serif { font-family: var(--font-serif); }
.mono  { font-family: var(--font-mono); }

.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.7vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.h-sub {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
}
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.measure { max-width: 58ch; }
.measure-sm { max-width: 44ch; }

.accent-ink { color: var(--accent-bright); }
.muted { color: var(--muted); }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--bh); padding: 0 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.98rem; font-weight: 500; letter-spacing: 0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), background .3s, border-color .3s, box-shadow .4s, color .3s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* primary = Alvero gold. "If gold appears, something is happening." */
.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a140a;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 34px -16px rgba(194,149,78,.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 22px 46px -16px rgba(194,149,78,.78);
}
.btn-ghost {
  background: rgba(140,194,240,0.04);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--line-3); background: rgba(140,194,240,0.08); transform: translateY(-2px); }
.btn .arr { transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.btn:hover .arr { transform: translateX(4px); }

.btn-sm { --bh: 42px; padding: 0 1.15rem; font-size: 0.9rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color .3s, color .3s, gap .3s;
}
.textlink:hover { color: var(--accent-bright); border-color: var(--accent); gap: 0.75em; }

/* ---- chips / tags -------------------------------------------------------- */
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.42em 0.85em;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--sky-glow); }

/* live status dot pulse */
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #56d6a0; box-shadow: 0 0 0 0 rgba(86,214,160,.6); }
.live-dot::after {
  content:""; position:absolute; inset:0; border-radius:50%;
  animation: pulse calc(2.4s / max(var(--motion), .001)) ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(86,214,160,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(86,214,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(86,214,160,0); }
}

/* ---- header -------------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(7,10,17,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; }
.wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: 0.94rem;
  text-transform: uppercase;
  color: var(--ink);
}
.brand .reach {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 3px; padding: 0.25em 0.5em;
  transform: translateY(-1px);
}
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.94rem; color: var(--ink-soft);
  transition: color .25s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
}

/* ---- hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 188vh;            /* scroll runway: the descent into the field */
  background: #05070d;
}
.hero-stage {
  position: sticky; top: 0;
  height: 100svh; min-height: 600px;
  display: flex; align-items: center;
  padding-top: 96px;
  overflow: hidden;
  background: #05070d;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 38%, rgba(74,166,242,0.12), transparent 58%),
    linear-gradient(90deg, var(--bg) 4%, rgba(7,10,17,0.72) 38%, rgba(7,10,17,0.20) 60%, transparent 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,10,17,0.4) 16%, transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%);
}

/* cinematic HUD overlay */
.hero-hud { position: absolute; inset: 96px clamp(20px,5vw,64px) 40px; z-index: 2; pointer-events: none; }
.hud-tick { position: absolute; width: 14px; height: 14px; opacity: 0.5; }
.hud-tick::before, .hud-tick::after { content: ""; position: absolute; background: var(--line-3); }
.hud-tick::before { width: 14px; height: 1px; }
.hud-tick::after  { width: 1px; height: 14px; }
.hud-tick.tl { top: 0; left: 0; }
.hud-tick.tr { top: 0; right: 0; }
.hud-tick.tr::before { right: 0; } .hud-tick.tr::after { right: 0; }
.hud-tick.bl { bottom: 0; left: 0; } .hud-tick.bl::before { bottom: 0; } .hud-tick.bl::after { bottom: 0; }
.hud-tick.br { bottom: 0; right: 0; } .hud-tick.br::before { bottom: 0; right: 0; } .hud-tick.br::after { bottom: 0; right: 0; }
.hud-read {
  position: absolute; right: 0; bottom: 0;
  display: grid; gap: 0.4rem; text-align: right;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--muted); opacity: 0.85;
}
.hud-row { white-space: nowrap; }
.hud-k { color: var(--faint); letter-spacing: 0.16em; margin-right: 0.6em; }
.hud-read b { color: var(--accent-bright); font-weight: 500; font-variant-numeric: tabular-nums; }

.signal-foot {
  margin-top: 0.95rem; padding-top: 0.85rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--faint);
  display: flex; align-items: center; gap: 0.6em;
}
.signal-foot .sx { color: var(--accent); letter-spacing: 0.16em; }

@media (max-width: 960px) { .hero-hud { display: none; } }
.hero .hero-wrap { position: relative; z-index: 3; width: 100%; }
.hero-copy, .signal-card { will-change: transform, opacity; }

/* scroll cue */
.hero-scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); transition: opacity .3s;
}
.hero-scrollcue .hsc-label { opacity: 0.78; }
.hsc-line { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hsc-line::after {
  content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px;
  background: linear-gradient(var(--accent-bright), transparent);
  animation: scrollcue calc(2.6s / max(var(--motion), .001)) cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(0); } 100% { transform: translateY(88px); } }

@media (max-width: 960px) {
  .hero { min-height: 100svh; }
  .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .hero-scrollcue { display: none; }
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero-copy { max-width: 720px; }
.hero h1 { margin: 1.4rem 0 0; }
.hero h1 .reach-word {
  font-style: italic;
  background: linear-gradient(92deg, var(--sky-bright), var(--steel-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { margin-top: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero-meta {
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.8rem 2.6rem;
}
.hero-meta .stat .n {
  font-family: var(--font-serif); font-size: 1.75rem; line-height: 1;
  color: var(--ink);
}
.hero-meta .stat .n .unit { color: var(--accent); font-size: 1.1rem; }
.hero-meta .stat .l {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.5rem;
}

/* live signal readout (mono — "things the system says about itself") */
.signal-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18,26,38,0.86), rgba(11,16,23,0.86));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1.2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px -34px rgba(0,0,0,0.8);
  overflow: hidden;
}
.signal-card::before {
  content:""; position:absolute; inset:0 auto 0 0; width:2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity:.6;
}
.signal-head {
  display:flex; align-items:center; justify-content:space-between;
  font-family: var(--font-mono); font-size:0.68rem; letter-spacing:0.1em;
  text-transform:uppercase; color: var(--muted);
  padding-bottom: 0.85rem; margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.signal-head .live { display:flex; align-items:center; gap:0.5em; color: var(--ink-soft); }
.log { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.95; color: var(--ink-soft); }
.log .ts { color: var(--faint); }
.log .ev { color: var(--sky-bright); }
.log .ok { color: #56d6a0; }
.log .up { color: var(--gold-soft); }
.log-line { display: block; white-space: nowrap; overflow: hidden; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .signal-card { max-width: 480px; }
}

/* ---- generic section ----------------------------------------------------- */
.section { position: relative; padding: var(--section-y) 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.3rem; }
.section-head .lede { margin-top: 1.5rem; }

.hr-line { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- problem / market reality ------------------------------------------- */
.reality { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.reality-points { display: grid; gap: 0; margin-top: 2rem; }
.reality-point {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.reality-point:last-child { border-bottom: 1px solid var(--line); }
.reality-point .idx { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); padding-top: 0.35rem; }
.reality-point h4 { font-family: var(--font-serif); font-size: 1.22rem; color: var(--ink); }
.reality-point p { color: var(--muted); margin-top: 0.4rem; font-size: 0.98rem; }

/* decay visual */
.decay {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 1.6rem; position: relative; overflow: hidden;
}
.decay h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.decay .legend { display:flex; gap:1.4rem; margin-top: 0.4rem; margin-bottom: 1.1rem; }
.decay .legend span { display:flex; align-items:center; gap:0.5em; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.decay .swatch { width: 14px; height: 3px; border-radius: 2px; }
.decay-chart { width: 100%; height: 230px; display:block; }

@media (max-width: 860px) { .reality { grid-template-columns: 1fr; } }

/* ---- intelligence streams (what it learns) ------------------------------ */
.streams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stream {
  background: var(--surface); padding: clamp(1.5rem, 3vw, 2.4rem);
  position: relative; transition: background .4s;
  min-height: 260px; display: flex; flex-direction: column;
}
.stream:hover { background: var(--surface-2); }
.stream .s-idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; }
.stream h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-top: 1.6rem; color: var(--ink); }
.stream p { color: var(--muted); margin-top: 0.7rem; font-size: 0.98rem; max-width: 38ch; }
.stream .s-feeds { margin-top: auto; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stream .feed { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-soft); border: 1px solid var(--line-2); border-radius: 3px; padding: 0.3em 0.55em; letter-spacing: 0.03em; }
.stream::after { content:""; position:absolute; right: clamp(1.5rem,3vw,2.4rem); top: clamp(1.5rem,3vw,2.4rem); width: 34px; height: 34px; opacity:.5; }

@media (max-width: 720px) { .streams { grid-template-columns: 1fr; } }

/* ---- how it works (process) --------------------------------------------- */
.loop-wrap { position: relative; }
.loop {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.loop-step {
  background: var(--surface); padding: 1.5rem 1.3rem 1.7rem;
  position: relative; transition: background .4s; cursor: default;
  min-height: 210px;
}
.loop-step:hover { background: var(--surface-2); }
.loop-step .num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); }
.loop-step .ph {
  width: 30px; height: 30px; margin: 1.3rem 0 1.1rem; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center;
  color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem;
  box-shadow: 0 0 0 0 var(--sky-glow);
  transition: box-shadow .4s, background .4s, color .3s;
}
.loop-step:hover .ph { background: var(--accent); color: #07121f; box-shadow: 0 0 22px -4px var(--sky-glow); }
.loop-step h4 { font-family: var(--font-serif); font-size: 1.18rem; color: var(--ink); }
.loop-step p { font-size: 0.86rem; color: var(--muted); margin-top: 0.5rem; }
.loop-note { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.94rem; }
.loop-note .mono { color: var(--accent); }

@media (max-width: 1000px) { .loop { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .loop { grid-template-columns: repeat(2, 1fr); } }

/* ---- nonstop engine ------------------------------------------------------ */
.engine { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.engine-panel {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
}
.engine-panel .ep-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.engine-rows { padding: 0.5rem 0; }
.erow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); }
.erow:last-child { border-bottom: 0; }
.erow .er-name { font-size: 0.96rem; color: var(--ink); }
.erow .er-sub { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); margin-top: 0.2rem; }
.erow .er-bar { width: 130px; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; position: relative; }
.erow .er-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--steel), var(--accent)); border-radius: 3px; width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.erow .er-val { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-bright); min-width: 52px; text-align: right; }
.engine-list { display: grid; gap: 0; }
.engine-list .el { padding: 1.25rem 0; border-top: 1px solid var(--line); display: flex; gap: 1rem; align-items: flex-start; }
.engine-list .el:last-child { border-bottom: 1px solid var(--line); }
.engine-list .el .k { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); min-width: 28px; padding-top: 0.2rem; }
.engine-list .el h4 { font-size: 1.05rem; color: var(--ink); font-family: var(--font-sans); font-weight: 500; }
.engine-list .el p { color: var(--muted); font-size: 0.93rem; margin-top: 0.3rem; }

@media (max-width: 860px) { .engine { grid-template-columns: 1fr; } }

/* ---- outcomes ------------------------------------------------------------ */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.outcome { background: var(--bg); padding: 2rem 1.4rem 2.2rem; }
.outcome.alt { background: var(--bg-2); }
.outcome .o-n { font-family: var(--font-serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.outcome .o-n .pm { color: var(--accent); }
.outcome .o-l { font-size: 0.96rem; color: var(--ink-soft); margin-top: 0.9rem; }
.outcome .o-s { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); margin-top: 0.5rem; letter-spacing: 0.04em; }
.outcomes-note { margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }

@media (max-width: 820px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }

/* ---- who it's for -------------------------------------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.aud-list { display: grid; gap: 0; }
.aud-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.15rem 0; border-top: 1px solid var(--line); transition: padding-left .3s; }
.aud-row:last-child { border-bottom: 1px solid var(--line); }
.aud-row:hover { padding-left: 0.5rem; }
.aud-row .ar-k { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); }
.aud-row .ar-t { font-size: 1.05rem; color: var(--ink); }
.aud-row .ar-x { color: var(--accent); opacity: 0; transform: translateX(-6px); transition: .3s; font-family: var(--font-mono); font-size:0.9rem;}
.aud-row:hover .ar-x { opacity: 1; transform: translateX(0); }
.notfor { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); padding: 1.7rem; }
.notfor h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.notfor ul { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 0.85rem; }
.notfor li { color: var(--ink-soft); font-size: 0.96rem; display: flex; gap: 0.7rem; align-items: baseline; }
.notfor li::before { content: "—"; color: var(--faint); }

@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* ---- proof --------------------------------------------------------------- */
.proof-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.case { background: var(--surface); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.case .c-tag { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; }
.case .c-quote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; color: var(--ink); }
.case .c-metrics { display: flex; gap: 2.2rem; margin-top: auto; padding-top: 2rem; }
.case .c-metrics .m .mv { font-family: var(--font-serif); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.case .c-metrics .m .mv .pm { color: var(--accent); }
.case .c-metrics .m .ml { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 0.5rem; }
.case .c-by { margin-top: 1.6rem; font-size: 0.88rem; color: var(--muted); }
.proof-side { background: var(--bg-2); display: grid; grid-template-rows: auto 1fr; }
.proof-stat { padding: 1.9rem clamp(1.5rem,2.5vw,2.2rem); border-bottom: 1px solid var(--line); }
.proof-stat:last-child { border-bottom: 0; }
.proof-stat .ps-n { font-family: var(--font-serif); font-size: 2.3rem; color: var(--ink); line-height: 1; }
.proof-stat .ps-n .pm { color: var(--accent); }
.proof-stat .ps-l { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }

.logos { margin-top: clamp(40px,5vw,64px); }
.logos .ll { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); text-align: center; margin-bottom: 1.6rem; }
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-cell { background: var(--bg); aspect-ratio: 5 / 2; display: grid; place-items: center; transition: background .3s; }
.logo-cell:hover { background: var(--surface); }
.logo-cell span { font-family: var(--font-serif); font-size: 1.15rem; color: var(--muted); letter-spacing: 0.02em; transition: color .3s; }
.logo-cell:hover span { color: var(--ink-soft); }

@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } .logo-row { grid-template-columns: repeat(2,1fr); } }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.55rem 0; color: var(--ink); font-family: var(--font-serif); font-size: clamp(1.12rem,1.7vw,1.42rem);
  transition: color .3s;
}
.faq-q:hover { color: var(--accent-bright); }
.faq-ic { position: relative; width: 16px; height: 16px; flex: none; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s; }
.faq-ic::before { inset: 7px 0; height: 2px; }
.faq-ic::after  { inset: 0 7px; width: 2px; }
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 0 1.7rem; color: var(--ink-soft); max-width: 64ch; font-size: 1.02rem; line-height: 1.6; }

/* ---- final CTA ----------------------------------------------------------- */
.final { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 180px) 0; }
.final::before {
  content:""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(74,166,242,0.20), transparent 64%),
    radial-gradient(50% 80% at 50% 0%, rgba(47,92,134,0.20), transparent 70%);
}
#final-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.55; }
.final .wrap { position: relative; z-index: 2; text-align: center; }
.final h2 { margin: 1.5rem auto 0; max-width: 18ch; }
.final .lede { margin: 1.6rem auto 0; }
.final .final-cta { display: inline-flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.6rem; justify-content: center; }
.final .reassure { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--faint); }

/* ---- footer -------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: clamp(56px,7vw,84px) 0 2.2rem; background: var(--bg-2); }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.foot-brand .wordmark { font-size: 1.05rem; }
.foot-brand p { color: var(--muted); margin-top: 1.1rem; max-width: 34ch; font-size: 0.94rem; }
.foot-col h5 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 0.94rem; padding: 0.4rem 0; transition: color .25s; }
.foot-col a:hover { color: var(--accent-bright); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(40px,5vw,64px); padding-top: 1.8rem; border-top: 1px solid var(--line); }
.foot-bottom .powered { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }
.foot-bottom .powered b { color: var(--ink-soft); font-weight: 500; }
.foot-bottom .legal { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); display: flex; gap: 1.4rem; }

@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ---- scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- section index marker ------------------------------------------------ */
.sx { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); letter-spacing: 0.14em; }

/* ---- mobile nav ---------------------------------------------------------- */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(140,194,240,0.04); cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { bottom: 16px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: 76px 0 auto 0; z-index: 69;
  background: rgba(7,10,17,0.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-2);
  display: grid; gap: 0.4rem; padding: 1rem var(--gutter) 1.6rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .35s;
}
.mobile-drawer.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-drawer a { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink-soft); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-drawer a:last-child { border-bottom: 0; }
.mobile-drawer .btn-primary { color: #1a140a; margin-top: 0.8rem; justify-content: center; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-cta .btn-primary.btn-sm { display: none; }
}
@media (min-width: 921px) { .mobile-drawer { display: none; } }

/* final CTA headline width */
.final-h { margin: 1.5rem auto 0; max-width: 16ch; }
