/* ==========================================================================
   TokenAnalytics — landing design system
   "Local Telemetry Instrument": dark, precise, agent-colour spectrum identity.
   Palette inherited from the product's own UI so the screenshots sit native.
   ========================================================================== */

:root {
  /* surfaces */
  --canvas:   #0a0c10;
  --sunken:   #07090d;
  --panel:    #11141a;
  --raised:   #181c25;
  --overlay:  #1d2230;

  /* lines */
  --line:        rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.11);

  /* ink */
  --fg:       #e9ebf1;
  --fg-muted: #9aa1ad;
  --fg-dim:   #868e9d;
  --fg-faint: #3c424e;

  /* brand */
  --brand:        #60a5fa;
  --brand-strong: #3b82f6;
  --brand-deep:   #1d4ed8;
  --brand-glow:   rgba(96, 165, 250, 0.22);

  /* status */
  --emerald: #34d399;
  --amber:   #f59e0b;
  --rose:    #f43f5e;

  /* agent identity spectrum (the signature) */
  --a-claude:      #f97316;
  --a-codex:       #a855f7;
  --a-gemini:      #06b6d4;
  --a-antigravity: #10b981;
  --a-qwen:        #3b82f6;
  --a-vibe:        #f472b6;
  --a-cursor:      #60a5fa;
  --a-copilot:     #6366f1;
  --a-opencode:    #f59e0b;
  --a-grok:        #d4d4d8;
  --a-hermes:      #eab308;

  --r-sm: 7px;
  --r:    11px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  color-scheme: dark;
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
::selection { background: var(--brand-glow); color: #fff; }

:where(a, button, [role="button"], input):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── layout primitives ───────────────────────────────────────────────────── */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(52px, 7vw, 84px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-dim);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lede {
  color: var(--fg-muted);
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.6;
  max-width: 56ch;
}
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin-top: 18px; }

/* spectrum tick row — the recurring identity motif */
.spectrum { display: flex; height: 3px; width: 100%; border-radius: 99px; overflow: hidden; }
.spectrum > i { flex: 1; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --_bg: var(--raised);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding-inline: 22px;
  border-radius: var(--r);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  background: var(--_bg);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--overlay); border-color: var(--line-strong); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --_bg: linear-gradient(180deg, var(--brand), var(--brand-strong));
  color: #061018; border-color: transparent; font-weight: 700;
  box-shadow: 0 14px 34px -16px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn--primary:hover { background: linear-gradient(180deg, #7cb6ff, var(--brand)); box-shadow: 0 22px 48px -18px var(--brand-glow); }
.btn--ghost { background: transparent; }
.btn--sm { height: 40px; padding-inline: 15px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn svg { width: 17px; height: 17px; }

/* ── header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand b { color: var(--fg); font-weight: 600; }
.brand .wm-a { background: linear-gradient(96deg, var(--brand) 8%, #8b5cf6 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--fg-muted);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.gh-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--fg-muted); transition: color .18s, border-color .18s, background .18s;
}
.gh-pill:hover { color: var(--fg); border-color: var(--brand); background: rgba(96,165,250,.06); }
.gh-pill .star { color: var(--amber); }
.nav-burger { display: none; }

/* ── atmosphere ──────────────────────────────────────────────────────────── */
.glow-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow-field::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 70vh;
  background:
    radial-gradient(900px 480px at 75% -6%, rgba(96,165,250,0.13), transparent 60%),
    radial-gradient(720px 460px at 6% 10%, rgba(168,85,247,0.075), transparent 62%);
}
.grid-mask {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(760px 520px at 50% 0%, #000, transparent 76%);
  mask-image: radial-gradient(760px 520px at 50% 0%, #000, transparent 76%);
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-stream {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 60%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 60%, transparent 96%);
}
.hero-stream pre {
  position: absolute; right: clamp(-40px, 2vw, 60px); top: 0;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 2.05;
  color: var(--fg-faint); white-space: pre; text-align: right;
  animation: stream-up 34s linear infinite;
}
.hero-stream pre b { color: var(--fg-dim); }
@keyframes stream-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 8vw, 92px) clamp(40px, 6vw, 64px);
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding-inline: 11px;
  border-radius: 99px; border: 1px solid var(--line);
  background: var(--panel); font-size: 12px; color: var(--fg-muted); font-weight: 500;
}
.chip .dot { position: relative; width: 6px; height: 6px; }
.chip .dot i { position: absolute; inset: 0; border-radius: 99px; background: var(--emerald); }
.chip .dot i:first-child { animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.4); opacity: 0; } }

.hero-copy { min-width: 0; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(31px, 5.6vw, 66px);
  line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance; margin-bottom: 22px;
  overflow-wrap: break-word;
}
/* the agent-identity spectrum, on purpose — gemini→cursor→codex→vibe→claude */
.hero h1 .grad {
  background: linear-gradient(96deg, var(--a-gemini) 0%, var(--a-cursor) 28%, var(--a-codex) 55%, var(--a-vibe) 78%, var(--a-claude) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--fg-muted); font-size: clamp(15.5px, 1.7vw, 18.5px); line-height: 1.62; max-width: 50ch; margin-bottom: 30px; }
.hero p.sub b { color: var(--fg); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-dim); letter-spacing: .01em; }
.cta-note b { color: var(--fg-muted); font-weight: 500; }

/* install command block */
.install {
  margin-top: 22px; max-width: 540px;
}
.os-tabs { display: flex; gap: 4px; margin-bottom: 9px; }
.os-tabs button {
  height: 28px; padding-inline: 12px; border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-dim);
  transition: color .15s, background .15s;
}
.os-tabs button[aria-pressed="true"] { color: var(--fg); background: rgba(255,255,255,.06); }
.cmd {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 4px;
  border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--sunken);
}
.cmd code {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap;
  padding: 8px 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--fg);
  scrollbar-width: none;
}
.cmd code::-webkit-scrollbar { display: none; }
.cmd code .pr { color: var(--fg-faint); user-select: none; margin-right: 9px; }
.copy-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px;
  border-radius: var(--r-sm); background: var(--raised); border: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 600; color: var(--fg); transition: background .18s, color .18s;
}
.copy-btn:hover { background: var(--overlay); }
.copy-btn.copied { color: var(--emerald); }
.copy-btn svg { width: 14px; height: 14px; }

/* ── instrument frame (browser bezel) ───────────────────────────────────── */
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 6% -6% -14% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(96,165,250,0.22), transparent 78%); filter: blur(36px);
}
.bezel {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--panel);
  box-shadow: 0 48px 130px -42px rgba(96,165,250,0.34), 0 8px 30px -16px rgba(0,0,0,.7);
}
.bezel-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px; background: var(--raised); border-bottom: 1px solid var(--line); }
.bezel-bar .tl { width: 10px; height: 10px; border-radius: 99px; }
.bezel-bar .tl:nth-child(1) { background: rgba(244,63,94,.55); }
.bezel-bar .tl:nth-child(2) { background: rgba(245,158,11,.55); }
.bezel-bar .tl:nth-child(3) { background: rgba(52,211,153,.55); }
.bezel-bar .url {
  margin-left: 10px; display: inline-flex; align-items: center; gap: 7px; height: 23px; padding-inline: 11px;
  border-radius: 7px; background: var(--sunken); font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim);
}
.bezel-bar .url svg { width: 11px; height: 11px; color: var(--emerald); }
.bezel-shot { display: block; width: 100%; height: auto; }
.bezel-shot--crop { aspect-ratio: 16 / 12.6; object-fit: cover; object-position: top center; }

/* floating data chip on hero shot */
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--overlay) 90%, transparent); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; box-shadow: 0 16px 40px -18px rgba(0,0,0,.8);
}
.float-chip svg { width: 14px; height: 14px; }
.float-chip--a { top: 13%; left: -18px; color: var(--emerald); }
.float-chip--b { bottom: 15%; right: -16px; color: var(--amber); }

/* ── trace line divider (signature) ─────────────────────────────────────── */
.trace { display: block; width: 100%; height: 56px; overflow: visible; }
.trace path { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.trace .ln { stroke: url(#traceGrad); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(96,165,250,.35)); }
.trace.is-in .ln { animation: draw 2.6s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.trace .pulse { fill: var(--brand); filter: drop-shadow(0 0 6px var(--brand)); }
.trace.is-in .pulse { animation: blip 2.6s ease-in-out forwards; }
@keyframes blip { 0%,70% { opacity: 0; } 85% { opacity: 1; } 100% { opacity: .6; } }

/* ── agent spectrum marquee ─────────────────────────────────────────────── */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.agent-tag {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding-inline: 16px;
  border-radius: 99px; border: 1px solid var(--line); background: var(--panel);
  font-size: 13.5px; font-weight: 500; color: var(--fg-muted); white-space: nowrap;
}
.agent-tag .swatch { width: 8px; height: 8px; border-radius: 99px; box-shadow: 0 0 9px currentColor; }

/* ── steps (real sequence → numbered) ───────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--sunken));
  overflow: hidden;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 12px; color: var(--brand); letter-spacing: .1em;
}
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 9px; }
.step p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.58; }
.step code { font-family: var(--font-mono); font-size: 12.5px; color: var(--brand); background: rgba(96,165,250,.08); padding: 2px 6px; border-radius: 5px; }
.step .rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--brand), transparent); opacity: .7; }

/* ── feature deep-dives ─────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 150px); }
.feature--flip .feature-media { order: -1; }
.feature .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.feature .badge .swatch { width: 9px; height: 9px; border-radius: 3px; }
.feature h3 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.feature ul { list-style: none; padding: 0; display: grid; gap: 13px; margin-top: 22px; }
.feature li { position: relative; padding-left: 26px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 8px var(--brand-glow); }
.feature li b { color: var(--fg); font-weight: 600; }

/* zoom readout cards (pure-CSS crops of the real screenshots) */
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.readout { border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--sunken); overflow: hidden; }
.readout .crop {
  height: 116px; background-repeat: no-repeat; background-size: var(--zoom, 320%);
  border-bottom: 1px solid var(--line);
  filter: brightness(1.12) contrast(1.04) saturate(1.04);
}
.readout .crop.lift { filter: brightness(1.32) contrast(1.09) saturate(1.05); }
.readout .cap { padding: 9px 12px; font-size: 11.5px; color: var(--fg-muted); line-height: 1.4; }
.readout .cap b { color: var(--fg); font-weight: 600; font-family: var(--font-mono); }

/* ── agents grid ────────────────────────────────────────────────────────── */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
.agent-card {
  position: relative; padding: 18px 18px 16px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  transition: transform .2s, border-color .2s, background .2s;
}
.agent-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ac, var(--brand)) 50%, var(--line-strong)); background: var(--raised); }
.agent-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--ac, var(--brand)); opacity: .85; }
.agent-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.agent-card .nm { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.agent-card .vn { font-size: 11.5px; color: var(--fg-dim); font-family: var(--font-mono); }
.agent-card .caps { display: flex; flex-wrap: wrap; gap: 5px; }
.agent-card .cap { font-size: 10.5px; font-family: var(--font-mono); color: var(--fg-muted); padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.agent-card .badge-hermes { font-size: 9.5px; font-family: var(--font-mono); color: var(--a-hermes); letter-spacing: .08em; }

/* ── comparison ─────────────────────────────────────────────────────────── */
.cmp-wrap { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-dim); font-weight: 500; }
.cmp thead th.us { color: var(--brand); }
.cmp tbody th { font-weight: 500; color: var(--fg); }
.cmp td { text-align: center; color: var(--fg-muted); }
.cmp td.us { background: rgba(96,165,250,.05); color: var(--fg); font-weight: 600; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: none; }
.cmp .yes { color: var(--emerald); }
.cmp .no { color: var(--fg-dim); }
.cmp-col-us { box-shadow: inset 2px 0 0 var(--brand), inset -2px 0 0 var(--brand); }

/* ── privacy panel ──────────────────────────────────────────────────────── */
.privacy { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line-strong); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--sunken)); padding: clamp(34px, 5vw, 56px); }
.privacy .glow-field::before { opacity: .8; }
.privacy-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.privacy-points { display: grid; gap: 14px; }
.pp { display: flex; gap: 13px; align-items: flex-start; }
.pp .ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.22); color: var(--emerald); }
.pp .ico svg { width: 17px; height: 17px; }
.pp h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.pp p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; }
.packet {
  font-family: var(--font-mono); font-size: 12px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--sunken); overflow: hidden;
}
.packet .ph { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--fg-dim); font-size: 11px; }
.packet .ph i { width: 7px; height: 7px; border-radius: 99px; background: var(--rose); }
.packet pre { padding: 14px; color: var(--fg-muted); line-height: 1.7; white-space: pre-wrap; }
.packet pre .k { color: var(--brand); }
.packet pre .v { color: var(--emerald); }
.packet pre .x { color: var(--rose); }

/* ── faq ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.qa { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .2s; }
.qa[open] { border-color: var(--line-strong); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .25s; color: var(--fg-dim); }
.qa summary .plus::before, .qa summary .plus::after { content: ""; position: absolute; inset: 50% 3px auto; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.qa summary .plus::after { transform: translateY(-50%) rotate(90deg); transition: transform .25s; }
.qa[open] summary .plus { color: var(--brand); }
.qa[open] summary .plus::after { transform: translateY(-50%) rotate(0); }
.qa .a { padding: 0 20px 20px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.62; }
.qa .a code { font-family: var(--font-mono); font-size: 12.5px; color: var(--brand); background: rgba(96,165,250,.08); padding: 1px 5px; border-radius: 4px; }

/* ── final cta ──────────────────────────────────────────────────────────── */
.finale { position: relative; text-align: center; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--panel), #0b0e14); padding: clamp(48px, 7vw, 88px) var(--gutter); }
.finale h2 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 54px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; margin-bottom: 18px; }
.finale p { color: var(--fg-muted); font-size: 17px; max-width: 50ch; margin: 0 auto 30px; }
.finale .cta-row { justify-content: center; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 52px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot-grid .blurb { color: var(--fg-dim); font-size: 13.5px; line-height: 1.6; max-width: 32ch; margin-top: 14px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--fg-muted); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom p { font-size: 12.5px; color: var(--fg-dim); }
.foot-bottom .mono { font-size: 11.5px; color: var(--fg-dim); }

/* ── reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-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; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stream pre, .marquee-track, .chip .dot i:first-child { animation: none !important; }
  .trace .ln { stroke-dashoffset: 0; }
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 30px; }
  .feature--flip .feature-media { order: 0; }
  .privacy-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float-chip--a { left: 8px; } .float-chip--b { right: 8px; }
}
/* collapse header to the burger early enough that the CTA cluster never overflows */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav .gh-pill:not(.nav-burger) { display: none; }
  .nav .nav-burger { display: inline-flex; }
}
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .hero-badges { gap: 6px; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .readouts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .cmp-wrap { overflow-x: auto; }
  .cmp { min-width: 540px; }
  .float-chip { display: none; }
  .foot-bottom { justify-content: flex-start; }
}

/* mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 90; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgba(5,7,10,.72); backdrop-filter: blur(6px); }
.mobile-nav .sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 320px); background: var(--panel); border-left: 1px solid var(--line-strong); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav .sheet a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 15px; color: var(--fg-muted); }
.mobile-nav .sheet a:hover { background: rgba(255,255,255,.05); color: var(--fg); }
.mobile-nav .sheet .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-nav .sheet .x { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); }
