/* ============================================================
   TRACER landing page — design system mirrors the pitch deck
   (cream + ink, sky/orange/red routing accents, mono labels,
   hairline rules instead of card borders).
   ============================================================ */

:root {
  --c-bg:        #fafaf9;
  --c-paper:     #ffffff;
  --c-ink:       #1c1917;
  --c-ink-mid:   #44403c;
  --c-ink-soft:  #78716c;
  --c-line:      #e7e5e4;
  --c-line-soft: #f5f5f4;
  --c-warn:      #b91c1c;

  /* routing-tier accents (kept identical to deck + dashboard demo) */
  --c-surrogate: #0ea5e9;   /* sky-500    — local ML */
  --c-mini:      #f97316;   /* orange-500 — small LLM */
  --c-teacher:   #dc2626;   /* red-600    — frontier */
  --c-accent:    #facc15;   /* yellow */
  --c-good:      #15803d;

  /* code surface (kept dark — devs expect dark code blocks) */
  --c-code-bg:   #0f172a;
  --c-code-ink:  #e2e8f0;

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text",
          "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Monaco, "Cascadia Code", monospace;

  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01", "cv11";
}
a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--c-teacher); }
em { font-style: italic; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* a few utilities used throughout */
.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--c-ink-soft);
  vertical-align: middle;
  margin-right: 10px;
}
.section-h {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  max-width: 26ch;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--c-ink-mid); line-height: 1.65;
  max-width: 70ch;
  margin-bottom: 36px;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--c-line-soft);
  border: 1px solid var(--c-line);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--c-ink);
}

/* (scroll-in animations removed — they were leaving sections blank when
   the IntersectionObserver hadn't fired yet. Static page renders cleanly
   from first paint.) */

/* ============================================================ header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  height: 56px;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 28px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  color: var(--c-ink);
}
.logo:hover { color: var(--c-ink); }
.logo .dots {
  display: inline-flex; gap: 4px;
}
.logo .dots i {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.logo .dots i:nth-child(1) { background: var(--c-surrogate); }
.logo .dots i:nth-child(2) { background: var(--c-mini); }
.logo .dots i:nth-child(3) { background: var(--c-teacher); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--c-ink-mid);
  font-size: 13px; font-weight: 500;
}
.nav a:hover { color: var(--c-ink); }
.pill-install {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-ink); color: var(--c-code-ink);
  font-family: var(--mono); font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--c-ink);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pill-install:hover { background: var(--c-teacher); color: var(--c-ink); border-color: var(--c-teacher); }
.pill-install.copied { background: var(--c-good); border-color: var(--c-good); color: white; }
.pill-install svg { opacity: 0.6; }

/* ============================================================ hero */
.hero { padding: 104px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 0.78fr 1.22fr;
  gap: 40px; align-items: center;
}

/* terminal-as-hero: full viewport width, edge-to-edge dark band.
   Content inside is capped at 1200px so reading lines stay comfortable
   on big screens. */
.hero-terminal-only {
  padding: 80px 0 64px;
  background: var(--c-bg);
}
.hero-terminal-only .hero-term {
  width: 100%;
  display: block;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--c-ink-soft);
  vertical-align: middle;
  margin-right: 10px;
}
.hero h1 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
  max-width: 17ch;
}
.hero h1 .nowrap { white-space: nowrap; }
.hero h1 .ml { color: var(--c-surrogate); }
.hero .sub {
  font-size: 16px;
  color: var(--c-ink-mid); line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--c-ink); color: white;
  font-size: 14px; font-weight: 600;
  border-radius: 5px;
  border: 1px solid var(--c-ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-dark:hover { background: var(--c-teacher); color: var(--c-ink); border-color: var(--c-teacher); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--c-paper); color: var(--c-ink);
  font-size: 14px; font-weight: 600;
  border-radius: 5px;
  border: 1px solid var(--c-line);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-outline:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn-sky {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--c-surrogate); color: white;
  font-size: 14px; font-weight: 600;
  border-radius: 5px;
  border: 1px solid var(--c-surrogate);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-sky:hover { background: #0284c7; border-color: #0284c7; }
.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--c-mini); color: white;
  font-size: 14px; font-weight: 600;
  border-radius: 5px;
  border: 1px solid var(--c-mini);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-orange:hover { background: #ea580c; border-color: #ea580c; color: white; }

/* quieter button set: SOTA-style, smaller padding, less visual weight */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--c-ink); color: white;
  font-size: 13.5px; font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--c-ink);
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn-primary:hover { background: #000; color: white; transform: translateY(-1px); }
.btn-primary span { transition: transform 0.15s ease; }
.btn-primary:hover span { transform: translateX(2px); }
.btn-quiet {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: transparent; color: var(--c-ink);
  font-size: 13.5px; font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--c-line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-quiet:hover { border-color: var(--c-ink); background: var(--c-line-soft); color: var(--c-ink); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: transparent; color: var(--c-ink-mid);
  font-size: 13.5px; font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.btn-ghost:hover { color: var(--c-ink); background: var(--c-line-soft); }
.btn-ghost svg { opacity: 0.7; }
.hero-foot {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.hero-foot strong { color: var(--c-ink); font-weight: 700; }
.hero-foot .hf-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-foot .hf-item::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-good);
  display: inline-block;
}
.hero-foot .hf-item.s::before { background: var(--c-surrogate); }
.hero-foot .hf-item.m::before { background: var(--c-mini); }
.hero-foot .hf-item.t::before { background: var(--c-teacher); }

/* hero decision card — simplified before/after that any visitor reads in
   3 seconds. One query, two paths, both metrics that matter (cost +
   latency). No cluster jargon in the hero — that lives in the audit
   section below. */
.hero-decision {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(15,23,42,0.10);
  overflow: hidden;
}
.hd-head {
  padding: 10px 18px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.hd-head .live-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-mini);
}
.hd-head .live-pulse::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-mini);
  box-shadow: 0 0 0 0 rgba(249,115,22,0.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.hd-query {
  padding: 18px 20px;
  background: var(--c-line-soft);
  border-bottom: 1px solid var(--c-line);
}
.hd-query-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: block; margin-bottom: 4px;
}
.hd-query-text {
  font-size: 17px; color: var(--c-ink); font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}
.hd-prediction {
  margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--c-ink-mid);
}
.hd-prediction .arrow { color: var(--c-ink-soft); }
.hd-prediction .label {
  background: #ecfeff;
  color: var(--c-surrogate);
  border: 1px solid rgba(14,165,233,0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hd-prediction .conf {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--c-ink-soft);
}
/* before/after split */
.hd-split {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-line);
}
.hd-side {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.hd-side + .hd-side { border-left: 1px solid var(--c-line); }
.hd-side-eyebrow {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hd-side.before .hd-side-eyebrow { color: var(--c-teacher); }
.hd-side.after  .hd-side-eyebrow { color: var(--c-surrogate); }
.hd-side-model {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 700;
  color: var(--c-ink);
}
.hd-side-model::before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px; border-radius: 50%;
  /* cockpit-style status LED: thin halo ring around the dot */
  position: relative;
}
.hd-side.before .hd-side-model::before {
  background: var(--c-teacher);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12), 0 0 6px rgba(220, 38, 38, 0.18);
}
.hd-side.after  .hd-side-model::before {
  background: var(--c-surrogate);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.14), 0 0 6px rgba(14, 165, 233, 0.22);
  animation: hd-led-pulse 2.6s ease-in-out infinite;
}
@keyframes hd-led-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.14), 0 0 6px rgba(14, 165, 233, 0.22); }
  50%      { box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22), 0 0 9px rgba(14, 165, 233, 0.35); }
}
.hd-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
/* cockpit readout: subtle corner brackets at all four corners of each metric — only on wider widths */
.hd-metric {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 10px;
  background:
    linear-gradient(var(--c-line) 0 0) top    left  / 6px 1px no-repeat,
    linear-gradient(var(--c-line) 0 0) top    left  / 1px 6px no-repeat,
    linear-gradient(var(--c-line) 0 0) top    right / 6px 1px no-repeat,
    linear-gradient(var(--c-line) 0 0) top    right / 1px 6px no-repeat,
    linear-gradient(var(--c-line) 0 0) bottom left  / 6px 1px no-repeat,
    linear-gradient(var(--c-line) 0 0) bottom left  / 1px 6px no-repeat,
    linear-gradient(var(--c-line) 0 0) bottom right / 6px 1px no-repeat,
    linear-gradient(var(--c-line) 0 0) bottom right / 1px 6px no-repeat;
}
.hd-metric .k {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.hd-metric .v {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.hd-side.before .hd-metric .v { color: var(--c-teacher); }
.hd-side.after  .hd-metric .v { color: var(--c-surrogate); }
/* savings strip — soft orange band, not heavy black */
.hd-savings {
  padding: 14px 20px;
  background: #fff7ed;             /* orange-50 */
  border-top: 2px solid var(--c-mini);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hd-savings-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-mini);
}
.hd-savings-list {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--c-ink-mid);
}
.hd-savings-list strong {
  color: var(--c-mini); font-weight: 700;
}

/* ============================================================ quick-answer (GEO block — lightened, inline) */
.qa {
  padding: 28px 0 40px;
}
.qa-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-line);
  border-radius: 0;
  padding: 28px 0 0;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  align-items: baseline;
}
.qa-q {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.qa-a {
  font-size: 15.5px; color: var(--c-ink-mid); line-height: 1.65;
  max-width: 620px;
}
.qa-a strong { color: var(--c-ink); font-weight: 700; }

/* ============================================================ visual: routing pipe (the deck-style bar diagram) */
.pipe {
  padding: 64px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.pipe-stage {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 14px;
}
.pipe-stage-eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--c-ink-soft); font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pipe-row {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--c-line);
}
.pipe-row:first-of-type { border-top: 1px solid var(--c-line); }
.pipe-row:last-of-type { border-bottom: 1px solid var(--c-line); }
.pipe-name {
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  align-self: center;
}
.pipe-name.tag-surrogate { color: var(--c-surrogate); }
.pipe-name.tag-mini      { color: var(--c-mini); }
.pipe-name.tag-teacher   { color: var(--c-teacher); }
.pipe-track {
  height: 26px; background: var(--c-line-soft);
  border: 1px solid var(--c-line);
  position: relative; overflow: hidden;
  align-self: center;
}
.pipe-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 700; color: white;
}
.pipe-fill.bar-surrogate { background: var(--c-surrogate); }
.pipe-fill.bar-mini      { background: var(--c-mini); }
.pipe-fill.bar-teacher   { background: var(--c-teacher); }
.pipe-dest {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  padding-left: 168px;
  margin-top: 2px;
}
.pipe-dest.tag-surrogate { color: var(--c-surrogate); }
.pipe-dest.tag-mini      { color: var(--c-mini); }
.pipe-dest.tag-teacher   { color: var(--c-teacher); }
.pipe-foot {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}

/* ============================================================ cost + latency — the two metrics that matter */
.metrics { padding: 72px 0; }
.metrics-eyebrow-row {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 28px;
}
.metrics-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.metric-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
}
.metric-card-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--c-line);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}
.metric-card-eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.metric-card-eyebrow.c { color: var(--c-mini); }
.metric-card-eyebrow.l { color: var(--c-surrogate); }
.metric-card-headline {
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.metric-card-body {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
}
.metric-side {
  display: flex; flex-direction: column; gap: 4px;
}
.metric-side .name {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  color: var(--c-ink-mid);
  display: inline-flex; align-items: center; gap: 6px;
}
.metric-side .name::before {
  content: ''; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
}
.metric-side.teacher .name { color: var(--c-teacher); }
.metric-side.teacher .name::before { background: var(--c-teacher); }
.metric-side.surrogate .name { color: var(--c-surrogate); }
.metric-side.surrogate .name::before { background: var(--c-surrogate); }
.metric-side .big {
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.metric-side.teacher .big { color: var(--c-teacher); }
.metric-side.surrogate .big { color: var(--c-surrogate); }
.metric-side .small {
  font-family: var(--mono);
  font-size: 10.5px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.metric-arrow {
  font-family: var(--mono);
  font-size: 18px; color: var(--c-ink-soft);
  text-align: center;
}
.metric-card-foot {
  padding: 12px 22px;
  background: var(--c-line-soft);
  border-top: 1px solid var(--c-line);
  font-family: var(--mono);
  font-size: 11.5px; color: var(--c-ink);
}
.metric-card-foot strong {
  color: var(--c-ink); font-weight: 700;
  background: #fef9c3;
  padding: 1px 6px; border-radius: 3px;
}
.metrics-foot {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}

/* ============================================================ how it works (3 numbered steps, hairlines not cards) */
.how { padding: 72px 0; }
.flow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}
.flow-step {
  padding: 0 28px;
  border-right: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 10px;
}
.flow-step:first-child { padding-left: 0; }
.flow-step:last-child { border-right: none; padding-right: 0; }
.flow-step .num {
  font-family: var(--mono);
  font-size: 32px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em;
}
.flow-step:nth-child(1) .num { color: var(--c-teacher); }
.flow-step:nth-child(2) .num { color: var(--c-mini); }
.flow-step:nth-child(3) .num { color: var(--c-surrogate); }
.flow-step h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25;
  margin-top: 2px;
}
.flow-step p {
  font-size: 14px; color: var(--c-ink-mid); line-height: 1.55;
}

/* ============================================================ hosted onboarding preview (6-step wizard) */
.wiz { padding: 72px 0; border-top: 1px solid var(--c-line); }
.wiz-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.wiz-time {
  font-family: var(--mono);
  font-size: 12px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.wiz-time strong { color: var(--c-good); font-weight: 700; }
/* visual: typical router vs Tracer (sits above the 3 stages) */
.wiz-vs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.wiz-vs-tile {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.wiz-vs-tile.us { border-left: 3px solid var(--c-mini); }
.wiz-vs-tile-eyebrow {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: flex; gap: 8px; align-items: center;
}
.wiz-vs-tile.us .wiz-vs-tile-eyebrow { color: var(--c-mini); }
.wiz-vs-tile h4 {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.wiz-vs-flow {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  flex-wrap: wrap;
}
.wiz-vs-flow .pill {
  padding: 4px 10px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid;
  white-space: nowrap;
}
.wiz-vs-flow .pill.llm { color: var(--c-teacher); border-color: rgba(220,38,38,0.4); background: rgba(220,38,38,0.05); }
.wiz-vs-flow .pill.mini { color: var(--c-mini); border-color: rgba(249,115,22,0.4); background: rgba(249,115,22,0.05); }
.wiz-vs-flow .pill.ml { color: var(--c-surrogate); border-color: rgba(14,165,233,0.4); background: rgba(14,165,233,0.05); }
.wiz-vs-flow .arr { color: var(--c-ink-soft); }

.wiz-stages {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
}
.wiz-stage {
  background: var(--c-paper);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--c-line);
  position: relative;
}
.wiz-stage:last-child {
  border-right: none;
  background: var(--c-ink); color: white;
}
.wiz-stage .wiz-num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.wiz-stage:nth-child(1) .wiz-num { color: var(--c-teacher); }
.wiz-stage:nth-child(2) .wiz-num { color: var(--c-mini); }
.wiz-stage:nth-child(3) .wiz-num { color: var(--c-accent); }
.wiz-stage h4 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.wiz-stage:last-child h4 { color: white; }
.wiz-stage p {
  font-size: 13.5px; color: var(--c-ink-mid); line-height: 1.55;
}
.wiz-stage:last-child p { color: #d6d3d1; }
.wiz-stage .wiz-substeps {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.wiz-stage:last-child .wiz-substeps { color: #a8a29e; }
.wiz-arrow {
  position: absolute;
  right: -10px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--c-ink-soft);
  z-index: 2;
}
.wiz-stage:last-child .wiz-arrow { display: none; }
.wiz-endpoint {
  margin-top: 24px;
  background: var(--c-code-bg); color: var(--c-code-ink);
  border-radius: 8px;
  padding: 18px 22px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  overflow-x: auto;
}
.wiz-endpoint .lbl {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
}
.wiz-endpoint pre { white-space: pre; }
.wiz-endpoint .s { color: #86efac; }
.wiz-endpoint .k { color: #c084fc; }

/* ============================================================ audit / interpretability (cards + map)
   Components mirror dashboard.css `.card` / `.medoid` / `.bars` /
   `.exemplars` / `.neighbours` so the landing-page mock matches what
   users see when they actually log into Tracer. */
.audit { padding: 72px 0; border-top: 1px solid var(--c-line); }
.audit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.audit-grid > .audit-tile.wide { grid-column: 1 / -1; }
.audit-tile {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.audit-tile-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 8px; margin-bottom: 4px;
}
.audit-tile-eyebrow {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.audit-tile-meta {
  font-family: var(--mono);
  font-size: 10px; color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.audit-tile h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.audit-tile p.note {
  font-size: 13px; color: var(--c-ink-mid); line-height: 1.5;
  margin-bottom: 4px;
}

/* simplified cluster card — drops technical IDs (cluster_14, n=184),
   conformal upper bounds (≤ 0.04), and neighbour pills. Keeps the
   topic name, status pill, medoid query, parity bars, and example queries. */
.cluster-card {
  display: flex; flex-direction: column; gap: 12px;
}
.cluster-card .cc-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.35);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-surrogate);
  align-self: flex-start;
}
.cluster-card .cc-status::before {
  content: '✓';
  font-weight: 700;
}
.cluster-card .cc-topic {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cluster-card .cc-medoid {
  padding: 14px 16px;
  background: var(--c-line-soft);
  border-left: 3px solid var(--c-surrogate);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--c-ink); font-size: 18px; font-weight: 500;
  line-height: 1.4;
}
.cluster-card .cc-bars-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: -2px;
}
.cluster-card .cc-bars-label .hint {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: normal; text-transform: none;
  color: var(--c-ink-mid);
  font-style: italic;
}
.cluster-card .cc-bars {
  display: flex; flex-direction: column; gap: 8px;
}
.cluster-card .cc-bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 48px;
  gap: 12px; align-items: center;
  font-variant-numeric: tabular-nums;
}
.cluster-card .cc-bar-row .name {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--c-ink-mid);
  display: inline-flex; align-items: center; gap: 6px;
}
.cluster-card .cc-bar-row .name::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c-line); flex: 0 0 8px;
}
.cluster-card .cc-bar-row .name.m-surrogate { color: var(--c-surrogate); }
.cluster-card .cc-bar-row .name.m-surrogate::before { background: var(--c-surrogate); }
.cluster-card .cc-bar-row .name.m-mini { color: var(--c-mini); }
.cluster-card .cc-bar-row .name.m-mini::before { background: var(--c-mini); }
.cluster-card .cc-bar-row .name.m-teacher { color: var(--c-teacher); }
.cluster-card .cc-bar-row .name.m-teacher::before { background: var(--c-teacher); }
.cluster-card .cc-bar { height: 8px; background: var(--c-line); border-radius: 4px; overflow: hidden; }
.cluster-card .cc-bar-fill { height: 100%; border-radius: 4px; }
.cluster-card .cc-bar-fill.surrogate { background: var(--c-surrogate); }
.cluster-card .cc-bar-fill.mini { background: var(--c-mini); }
.cluster-card .cc-bar-fill.teacher { background: var(--c-teacher); }
.cluster-card .cc-acc {
  text-align: right;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--c-ink);
}
.cluster-card .cc-examples-label {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.cluster-card .cc-examples {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--c-line);
  padding-top: 8px;
}
.cluster-card .cc-examples li {
  font-size: 13.5px; color: var(--c-ink-mid);
  line-height: 1.45;
  font-style: italic;
  padding: 2px 0;
}

/* partition map — real-looking cluster blobs (centroid + satellites
   grouped together with a faint colored region around each, plus a
   single legible label per cluster). */
.audit-map {
  background: white;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  height: 380px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(0deg, rgba(28,25,23,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,25,23,0.022) 1px, transparent 1px);
  background-size: 36px 36px;
}
/* one cluster = a soft round region containing centroid + satellites */
.audit-map .am-cluster {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.audit-map .am-cluster.s {
  background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, rgba(14,165,233,0.06) 60%, rgba(14,165,233,0) 100%);
}
.audit-map .am-cluster.m {
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, rgba(249,115,22,0.06) 60%, rgba(249,115,22,0) 100%);
}
.audit-map .am-cluster.t {
  background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, rgba(220,38,38,0.06) 60%, rgba(220,38,38,0) 100%);
}
.audit-map .am-cluster .am-centroid {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  z-index: 3;
}
.audit-map .am-cluster.s .am-centroid { background: var(--c-surrogate); }
.audit-map .am-cluster.m .am-centroid { background: var(--c-mini); }
.audit-map .am-cluster.t .am-centroid { background: var(--c-teacher); }
.audit-map .am-cluster .am-sat {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid white;
  opacity: 0.85;
  z-index: 2;
}
.audit-map .am-cluster.s .am-sat { background: var(--c-surrogate); }
.audit-map .am-cluster.m .am-sat { background: var(--c-mini); }
.audit-map .am-cluster.t .am-sat { background: var(--c-teacher); }

/* one label per cluster — placed INSIDE the cluster region */
.audit-map .am-cluster .am-clabel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,0.95);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.audit-map .am-cluster.s .am-clabel { color: var(--c-surrogate); border: 1px solid rgba(14,165,233,0.5); }
.audit-map .am-cluster.m .am-clabel { color: var(--c-mini); border: 1px solid rgba(249,115,22,0.5); }
.audit-map .am-cluster.t .am-clabel { color: var(--c-teacher); border: 1px solid rgba(220,38,38,0.5); }
/* hide centroid dot when label is in the way (label IS the identifier) */
.audit-map .am-cluster .am-centroid { display: none; }

/* OOD region (a dashed circle in the corner) */
.audit-map .am-region {
  position: absolute;
  border: 1.5px dashed rgba(220,38,38,0.55);
  background: rgba(220,38,38,0.03);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.audit-map .am-region-label {
  position: absolute;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-warn);
  z-index: 4;
}

/* live query pin */
.audit-map .am-query {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-accent);
  outline: 2.5px solid var(--c-ink);
  transform: translate(-50%, -50%);
  z-index: 6;
}
.audit-map .am-query::after {
  content: 'live query';
  position: absolute;
  left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  background: var(--c-ink); color: var(--c-accent);
  padding: 2px 6px; border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.audit-map .am-axis {
  position: absolute; bottom: 8px; right: 12px;
  font-family: var(--mono); font-size: 10px;
  color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.audit-map-legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--c-ink-mid);
}
.audit-map-legend span {
  display: inline-flex; align-items: center; gap: 6px;
}
.audit-map-legend i {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block;
  border: 1.5px solid white;
  box-shadow: 0 0 0 1px var(--c-line);
}
.audit-map-legend i.s { background: var(--c-surrogate); }
.audit-map-legend i.m { background: var(--c-mini); }
.audit-map-legend i.t { background: var(--c-teacher); }
.audit-map-legend i.q { background: var(--c-accent); outline: 1.5px solid var(--c-ink); }

/* ============================================================ what it routes — classification + agentic */
.routes { padding: 72px 0; border-top: 1px solid var(--c-line); }
.routes-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.routes-tile {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.routes-tile.classification {
  border-left: 3px solid var(--c-surrogate);
}
.routes-tile.agentic {
  border-left: 3px solid var(--c-mini);
}
.routes-tile-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
}
.routes-tile-eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.routes-tile.classification .routes-tile-eyebrow { color: var(--c-surrogate); }
.routes-tile.agentic .routes-tile-eyebrow { color: var(--c-mini); }
.routes-tile-pill {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-line-soft);
  color: var(--c-ink-soft);
}
.routes-tile-pill.live {
  background: rgba(21,128,61,0.10);
  color: var(--c-good);
}
.routes-tile h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.2;
}
.routes-tile p {
  font-size: 14px; color: var(--c-ink-mid); line-height: 1.6;
}
.routes-tile .routes-examples {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.routes-tile .routes-examples strong { color: var(--c-ink); font-weight: 700; }

/* ============================================================ hermes case study (video + outcome) */
.hermes { padding: 72px 0; border-top: 1px solid var(--c-line); }
.hermes-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  min-height: 460px;
}
.hermes-video {
  position: relative;
  background: var(--c-ink);
  overflow: hidden;
  border-right: 1px solid var(--c-line);
  min-height: 460px;
}
.hermes-video video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--c-ink);
}
.hermes-video .hv-overlay {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-accent);
}
.hermes-video .hv-overlay::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 1.6s infinite;
}
.hermes-body {
  padding: 28px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.hermes-eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-mini);
}
.hermes-headline {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.2;
}
.hermes-headline .accent { color: var(--c-mini); }
.hermes-body p {
  font-size: 14.5px; color: var(--c-ink-mid); line-height: 1.65;
}
.hermes-body p code { font-size: 0.9em; }
.hermes-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--c-line);
  padding-top: 14px;
}
.hermes-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.hermes-stat .k {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.hermes-stat .v {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
  color: var(--c-mini);
  font-variant-numeric: tabular-nums;
}
.hermes-foot {
  margin-top: 6px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono);
  font-size: 11px; color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}
.hermes-foot a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 1px;
}
.hermes-foot a:hover { border-bottom-color: var(--c-mini); color: var(--c-mini); }

/* ============================================================ ways: OSS vs hosted */
.ways { padding: 72px 0; border-top: 1px solid var(--c-line); }
.ways-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ways-col {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.ways-col.ways-hosted {
  background: var(--c-ink); color: white;
  border-color: var(--c-ink);
  border-left: 3px solid var(--c-accent);
}
.ways-col h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  display: flex; align-items: baseline; gap: 10px;
}
.ways-col .ways-sub {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  text-transform: uppercase;
}
.ways-col.ways-hosted .ways-sub { color: var(--c-accent); }
.ways-col p {
  font-size: 14px; color: var(--c-ink-mid); line-height: 1.6;
}
.ways-col.ways-hosted p { color: #d6d3d1; }
.ways-col ul {
  list-style: none; margin: 6px 0 0; padding: 0;
}
.ways-col li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 13.5px; color: var(--c-ink-mid);
  display: flex; gap: 10px; align-items: flex-start;
}
.ways-col li:last-child { border-bottom: none; }
.ways-col li::before {
  content: '✓'; color: var(--c-good); font-weight: 700;
  flex: 0 0 auto;
}
.ways-col.ways-hosted li {
  color: #d6d3d1;
  border-bottom-color: #292524;
}
.ways-col.ways-hosted li::before { color: var(--c-accent); }
.ways-col .ways-cta {
  margin-top: 14px;
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ============================================================ comparison table — "why not just X?" */
.compare { padding: 72px 0; border-top: 1px solid var(--c-line); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.compare-table thead th {
  text-align: left;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  border-bottom: 1px solid var(--c-ink);
}
.compare-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-mid);
}
.compare-table tbody td:first-child {
  color: var(--c-ink); font-weight: 600;
}
.compare-table tr.row-us td {
  background: #fef9c3;
  border-bottom-color: #fde047;
  color: var(--c-ink);
}
.compare-table tr.row-us td:first-child { font-weight: 700; }

/* ============================================================ features (alternating text + code) */
.features { padding: 72px 0; border-top: 1px solid var(--c-line); }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse > .feature-info { order: 2; }
.feature-row.reverse > .feature-code { order: 1; }

.feature-info .label { color: var(--c-surrogate); }
.feature-info .label::before { background: var(--c-surrogate); }
.feature-info h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.2;
  margin-bottom: 12px;
}
.feature-info p {
  font-size: 15px; color: var(--c-ink-mid); line-height: 1.65;
}
.feature-code {
  background: var(--c-code-bg); color: var(--c-code-ink);
  border-radius: 10px;
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px; line-height: 1.7;
}
.feature-code pre { white-space: pre; }
.feature-code .c, .code-lg .c { color: #64748b; }
.feature-code .k, .code-lg .k { color: #c084fc; }
.feature-code .s, .code-lg .s { color: #86efac; }
.feature-code .f, .code-lg .f { color: #93c5fd; }
.feature-code .y, .code-lg .y { color: var(--c-accent); }

/* feature visual: flywheel coverage growth (replaces abstract code/json) */
.feat-flywheel {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.feat-flywheel-head {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: flex; justify-content: space-between; align-items: baseline;
}
.feat-flywheel-head .now {
  color: var(--c-mini); font-weight: 700;
}
.flywheel-bars {
  display: grid; grid-template-columns: 60px 1fr 60px;
  gap: 8px 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
}
.flywheel-bars .day {
  color: var(--c-ink-mid); font-weight: 700;
}
.flywheel-bars .bar {
  height: 14px;
  background: var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.flywheel-bars .fill {
  height: 100%;
  background: var(--c-mini);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.flywheel-bars .fill.s { background: var(--c-mini); opacity: 0.45; }
.flywheel-bars .fill.m { background: var(--c-mini); opacity: 0.7; }
.flywheel-bars .fill.l { background: var(--c-mini); opacity: 1; }
.flywheel-bars .pct {
  text-align: right; color: var(--c-ink); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.feat-flywheel-foot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--c-ink-soft);
  border-top: 1px dashed var(--c-line);
  padding-top: 10px;
  margin-top: 4px;
}

/* ============================================================ quickstart */
.quickstart { padding: 72px 0; border-top: 1px solid var(--c-line); }
.qs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 18px;
}
.qs-step {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-line);
  border-radius: 6px;
  padding: 14px 16px;
}
.qs-step:nth-child(1) { border-left-color: var(--c-teacher); }
.qs-step:nth-child(2) { border-left-color: var(--c-mini); }
.qs-step:nth-child(3) { border-left-color: var(--c-accent); }
.qs-step:nth-child(4) { border-left-color: var(--c-surrogate); }
.qs-tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  display: block; margin-bottom: 10px;
}
.code-sm {
  background: var(--c-code-bg);
  border-radius: 4px;
  padding: 9px 12px;
}
.code-sm pre {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--c-code-ink);
  white-space: nowrap;
  overflow-x: auto;
}
.qs-full { margin-bottom: 16px; }
.qs-full > .qs-tag { margin-bottom: 8px; }
.code-lg {
  background: var(--c-code-bg);
  border-radius: 10px;
  padding: 22px 24px;
  overflow-x: auto;
}
.code-lg pre {
  font-family: var(--mono);
  font-size: 13px; line-height: 1.7;
  color: var(--c-code-ink);
  white-space: pre;
}

/* ============================================================ FAQ (GEO-aligned, semantic <details>) */
.faq { padding: 72px 0; border-top: 1px solid var(--c-line); }
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--c-line);
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-item summary {
  padding: 20px 0;
  font-size: 17px; font-weight: 600; color: var(--c-ink);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '＋';
  font-family: var(--mono);
  font-size: 14px; color: var(--c-ink-soft); font-weight: 700;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 22px;
  font-size: 15px; color: var(--c-ink-mid); line-height: 1.7;
  max-width: 80ch;
}
.faq-item p code { font-size: 0.92em; }

/* ============================================================ enterprise CTA */
.cta-section { padding: 72px 0; }
.cta-card {
  background: var(--c-ink); color: white;
  border-left: 3px solid var(--c-accent);
  border-radius: 10px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-card h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.cta-card p {
  color: #d6d3d1;
  font-size: 14px; line-height: 1.6;
  max-width: 60ch;
}
.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--c-accent); color: var(--c-ink);
  font-size: 14px; font-weight: 700;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.btn-yellow:hover { background: white; color: var(--c-ink); }

/* ============================================================ footer */
.footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--c-line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-left {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-left strong {
  color: var(--c-ink); font-weight: 700;
}
.footer-left .dots {
  display: inline-flex; gap: 3px; vertical-align: middle;
}
.footer-left .dots i {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.footer-left .dots i:nth-child(1) { background: var(--c-surrogate); }
.footer-left .dots i:nth-child(2) { background: var(--c-mini); }
.footer-left .dots i:nth-child(3) { background: var(--c-teacher); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--c-ink-soft); }
.footer-links a:hover { color: var(--c-ink); }

/* ============================================================ responsive
   Three breakpoints: tablet (1024), small tablet (768), phone (480). */

/* tablet: 2-col grids stay, but tighten paddings + narrow side-paddings */
@media (max-width: 1024px) {
  :root { --max: 960px; }
  .container { padding: 0 24px; }
  .hero { padding: 96px 0 48px; }
  .hero-grid { gap: 36px; }
  .section-h { font-size: clamp(24px, 3vw, 32px); }
  .audit-map { height: 320px; }
}

/* small tablet / large phone: collapse hero, halve grids, hide secondary nav */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(30px, 6vw, 40px); }
  .hero-decision { margin-top: 4px; }
  .qa-card { grid-template-columns: 1fr; gap: 10px; }
  .qa-card { padding: 18px 22px; }
  .pipe-stage { padding: 22px 24px; }
  .pipe-row { grid-template-columns: 1fr; }
  .pipe-dest { padding-left: 0; }
  .metrics-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-step { padding: 0 0 16px; border-right: none; border-bottom: 1px solid var(--c-line); }
  .flow-step:last-child { border-bottom: none; padding-bottom: 0; }
  .wiz-vs { grid-template-columns: 1fr; }
  .wiz-stages { grid-template-columns: 1fr; }
  .wiz-stage { border-right: none; border-bottom: 1px solid var(--c-line); }
  .wiz-stage:last-child { border-bottom: none; }
  .routes-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .audit-map { height: 280px; }
  .ways-grid { grid-template-columns: 1fr; }
  .hermes-card { grid-template-columns: 1fr; }
  .hermes-video { border-right: none; border-bottom: 1px solid var(--c-line); aspect-ratio: 16 / 9; }
  .hermes-video video { aspect-ratio: 16 / 9; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .feature-row.reverse > .feature-info,
  .feature-row.reverse > .feature-code { order: initial; }
  .qs-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 28px 26px; gap: 18px; }
  .nav a:not(.pill-install) { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .compare-table thead th:nth-child(2) { display: none; }
  .compare-table tbody td:nth-child(2) { display: none; }
  .hd-savings-list { gap: 10px; }
  .hd-savings-list span { font-size: 11px; }
  .hd-split { grid-template-columns: 1fr; }
  .hd-side + .hd-side { border-left: none; border-top: 1px solid var(--c-line); }
  .metric-card-body { grid-template-columns: 1fr; }
  .metric-arrow { transform: rotate(90deg); }
}

/* phone: tighter still */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .header { height: 52px; }
  .header-inner { padding: 0 18px; }
  .nav { gap: 12px; }
  .nav a:not(.pill-install) { display: none; }
  .pill-install code { display: none; }
  .pill-install { padding: 6px 8px; }
  .hero { padding: 84px 0 36px; }
  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 14.5px; }
  .hero-actions { gap: 8px; }
  .btn-dark, .btn-outline, .btn-sky, .btn-yellow { padding: 9px 14px; font-size: 13px; }
  .section-h { font-size: 24px; }
  .section-sub { font-size: 14.5px; margin-bottom: 24px; }
  .label { font-size: 10px; }
  .qs-grid { grid-template-columns: 1fr; }
  .compare-table thead th, .compare-table tbody td { padding: 8px 10px; font-size: 12.5px; }
  .audit-map { height: 240px; }
  .audit-map .am-clabel { font-size: 8.5px; padding: 1px 5px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .hermes-video { aspect-ratio: 4 / 3; }
  .hermes-body { padding: 22px 22px; }
  .hermes-headline { font-size: 20px; }
  .hd-savings-list { flex-direction: column; gap: 4px; }
  .reasons { grid-template-columns: 1fr; gap: 18px; }
  .reason { padding: 0 0 16px; border-right: none; border-bottom: 1px solid var(--c-line); }
  .reason:last-child { border-bottom: none; padding-bottom: 0; }
  .kpi-flat, .market-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GH stars badge (live) + workflow-verb ICP strip
   appended 2026-05-14
   ============================================================ */

.gh-stars-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gh-stars-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.25;
  margin: 0 2px;
}
.gh-stars-icon {
  color: var(--c-accent);
  flex-shrink: 0;
}
.gh-stars-count {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* workflow-verb ICP strip — "Is this for you?" */
.verbs {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  padding: 28px 0;
  margin: 0 0 16px;
}
.verbs-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}
.verbs-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
  display: block;
}
.verbs-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.verbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.verb {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.verb:hover {
  border-color: var(--c-surrogate);
  color: var(--c-surrogate);
}
.verb-trigger {
  font-size: 14px;
  color: var(--c-ink-mid);
  line-height: 1.5;
  margin-top: 10px;
}
.verb-trigger strong { color: var(--c-ink); }

@media (max-width: 720px) {
  .verbs-grid { grid-template-columns: 1fr; gap: 16px; }
  .gh-stars-btn { gap: 5px; }
  .gh-stars-sep { display: none; }
}

/* ============================================================
   Trusted-by row
   ============================================================ */

.trusted-by {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  padding: 28px 0;
}
.trusted-by-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trusted-by-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  white-space: nowrap;
}
.trusted-by-row {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.tb-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: var(--c-ink);
}
.tb-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  color: var(--c-ink);
}
.tb-logo img {
  max-height: 28px;
  width: auto;
  display: block;
}
.tb-logo-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tb-logo-icon img {
  height: 22px;
  width: 22px;
  border-radius: 4px;
}
.tb-logo-icon .tb-logo-name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

@media (max-width: 720px) {
  .trusted-by-inner { gap: 18px; }
  .trusted-by-row { gap: 24px; }
  .tb-logo { height: 24px; }
  .tb-logo img { max-height: 24px; }
}

/* ============================================================
   Case-study customer external link (small, near eyebrow)
   ============================================================ */
.cs-customer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.cs-customer:hover {
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.cs-customer svg { opacity: 0.7; }
.cs-customer:hover svg { opacity: 1; }

@media (max-width: 720px) {
  .cs-customer { margin-left: 0; margin-top: 8px; }
}

/* "+ 3 more under NDA →" link inside trust row */
.tb-more {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  padding: 6px 12px;
  border: 1px dashed var(--c-line);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.tb-more:hover {
  color: var(--c-ink);
  border-color: var(--c-ink);
  border-style: solid;
}

/* ============================================================
   Subtle motion — landing page comes alive without being gimmicky.
   Three purposeful cues: brand breath, data-reveal on scroll, status LED.
   ============================================================ */

/* 1. Logo dots: gentle breathing, each dot offset */
.logo .dots i {
  animation: dot-breathe 4.4s ease-in-out infinite;
}
.logo .dots i:nth-child(2) { animation-delay: 0.7s; }
.logo .dots i:nth-child(3) { animation-delay: 1.4s; }
@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* 2. Pipe bars: reveal on scroll-in (clip-path from left, staggered) */
.pipe-fill {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pipe-row.vis .pipe-fill {
  clip-path: inset(0 0 0 0);
}
.pipe-row.vis .bar-surrogate { transition-delay: 0.05s; }
.pipe-row.vis .bar-mini      { transition-delay: 0.22s; }
.pipe-row.vis .bar-teacher   { transition-delay: 0.40s; }

/* 3. "Live" pills: tiny green LED before "live" text, pulsing */
@keyframes led-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.12), 0 0 4px rgba(21, 128, 61, 0.20); }
  50%      { box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.20), 0 0 7px rgba(21, 128, 61, 0.32); }
}
.routes-tile-pill.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.routes-tile-pill.live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-good);
  animation: led-pulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ============================================================
   New: hero argument pills, problem strip, pricing grid,
   4-step wizard layout.
   ============================================================ */

/* hero: one-line mechanism statement under the H1 */
.hero-mech {
  font-size: 15px;
  color: var(--c-ink-mid);
  line-height: 1.55;
  max-width: 38ch;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.hero-mech strong { color: var(--c-ink); font-weight: 600; }

/* ============================================================ HERO TERM
   Sticker-aligned terminal panel. Off-black panel, brand dots top-left,
   pixel cluster top-right, SVG routing diagram with curved CRT-dotted
   paths, BIG cream wordmark-equivalent -95% anchor, dotted-leader stat
   rows, > tracerml.ai pill at the bottom. */

.hero-term {
  --tp-bg:        #100f0d;
  --tp-cream:     #f5f5f4;
  --tp-cream-dim: rgba(245, 245, 244, 0.62);
  --tp-crt:       #6ee7b7;
  --tp-crt-dim:   rgba(110, 231, 183, 0.55);
  --tp-line:      rgba(245, 245, 244, 0.10);

  width: 100%;
  display: flex;
}
.term-panel {
  width: 100%;
  background: var(--tp-bg);
  color: var(--tp-cream);
  border-radius: 0;
  padding: 0;
  font-family: var(--mono);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* inner wrapper: capped reading width, centered, holds all the panel content */
.term-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* subtle radial vignette + screen glow */
.term-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(110, 231, 183, 0.06), transparent 55%),
    radial-gradient(80% 60% at 50% 110%, rgba(0,0,0,0.35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* grain: SVG fractal-noise overlay, screen-blended at very low opacity */
.term-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* nothing — z-index handled by .term-inner */

/* ── top bar ── */
.term-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tp-line);
}
.term-dots { display: inline-flex; gap: 7px; }
.term-dots .d { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.term-dots .d-s { background: var(--c-surrogate); }
.term-dots .d-m { background: var(--c-mini); }
.term-dots .d-t { background: var(--c-teacher); }

/* corner pixel cluster — three small green squares, sticker-style */
.term-corner { display: inline-grid; grid-template-columns: repeat(3, 4px); gap: 3px; }
.term-corner i { width: 4px; height: 4px; background: var(--tp-crt); display: inline-block; }

/* ── body ── */
.term-body { display: flex; flex-direction: column; gap: 10px; position: relative; }

/* the green-bordered "screen" wrapping the routing diagram + status lines */
.term-screen {
  border: 1.5px solid var(--tp-crt-dim);
  border-radius: 12px;
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(110, 231, 183, 0.015);
}

.term-line {
  color: var(--tp-crt);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.term-line .p { color: var(--tp-crt-dim); margin-right: 6px; }
.term-status { padding-top: 2px; }
.term-line .cursor {
  display: inline-block;
  width: 7px; height: 12px;
  background: var(--tp-crt);
  vertical-align: -1px;
  margin-left: 4px;
  animation: term-blink 1.1s steps(1) infinite;
}
@keyframes term-blink { 50% { opacity: 0; } }

/* ── SVG routing diagram — bigger, centered, with side breathing room ── */
.term-flow {
  width: 100%;
  max-width: 860px;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 6px auto 4px;
}

/* ── headline row: -95% on the left, H1+sub on the right.
   Gestalt alignment: shared baselines (anchor bottom + sub bottom),
   shared left edge for the pricing block below. */
.term-headline {
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr;
  column-gap: 36px;
  padding: 14px 4px 8px;
  align-items: end;
}
.term-anchor { padding-bottom: 2px; }
.term-claim h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--tp-cream);
  margin: 0 0 8px;
  max-width: 22ch;
  text-wrap: balance;
}
.term-claim p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tp-cream-dim);
  max-width: 56ch;
  margin: 0;
}

/* ── BIG anchor (the wordmark equivalent) ── */
.term-anchor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.t-num {
  font-size: clamp(52px, 5.4vw, 84px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--tp-cream);
  font-feature-settings: "tnum" 1;
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 6px;
}
.t-num .dash {
  display: inline-block;
  font-weight: 400;
  color: var(--tp-crt);
  margin-right: 4px;
  font-size: 0.78em;
  transform: translateY(-0.12em);
}
.t-num .dig { display: inline-block; }
.t-num .u {
  font-size: 0.38em;
  font-weight: 500;
  color: var(--tp-crt);
  vertical-align: 0.7em;
  margin-left: 4px;
}
.t-cap {
  font-size: 12.5px;
  color: var(--tp-cream-dim);
  letter-spacing: 0.01em;
}

/* ── pricing: 3-line argument that explains there's no new spend ── */
.term-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 4px 6px;
  border-top: 1px dashed var(--tp-line);
}
.term-pricing .term-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: 0.005em;
}
.term-pricing .hl {
  color: var(--tp-crt);
  font-weight: 700;
  letter-spacing: 0;
}
.term-pricing .dim {
  color: var(--tp-cream-dim);
}
.term-pricing-sum { padding-top: 2px; }
.term-pricing-sum .p {
  color: var(--tp-crt);
  font-weight: 700;
}

/* ── CTAs as green-outlined pills (sticker-style) ── */
.term-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 4px;
}
.term-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--tp-crt-dim);
  color: var(--tp-crt);
  background: transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.term-pill .p { color: currentColor; opacity: 0.6; }
.term-pill:hover { transform: translateY(-1px); }

/* primary: filled CRT green */
.term-pill-primary {
  background: var(--tp-crt);
  color: #0c1410;
  border-color: var(--tp-crt);
}
.term-pill-primary:hover {
  background: #93f2c8;
  border-color: #93f2c8;
  color: #0c1410;
}
.term-pill-primary .p { color: #0c1410; opacity: 0.55; }

/* quiet: cream outline */
.term-pill-quiet {
  color: var(--tp-cream);
  border-color: rgba(245, 245, 244, 0.30);
}
.term-pill-quiet:hover {
  border-color: var(--tp-cream);
  background: rgba(245, 245, 244, 0.04);
  color: var(--tp-cream);
}

/* stars: github mark + yellow star + bold count, pushed right */
.term-pill-stars {
  color: var(--tp-cream);
  background: rgba(250, 204, 21, 0.06);
  border-color: rgba(250, 204, 21, 0.35);
  padding: 8px 14px;
  margin-left: auto;
  gap: 8px;
}
.term-pill-stars:hover {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.6);
  color: var(--tp-cream);
}
.term-pill-stars svg:first-of-type { opacity: 0.7; }
.term-pill-stars .gh-star-glyph {
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.45));
}
.term-pill-stars .gh-stars-count {
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #facc15;
}
.hero-args li {
  font-size: 14px;
  color: var(--c-ink-mid);
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}
.hero-args li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-surrogate);
}
.hero-args li:nth-child(2)::before { background: var(--c-mini); }
.hero-args li:nth-child(3)::before { background: var(--c-accent); }
.hero-args li:nth-child(4)::before { background: var(--c-good); }
.hero-args strong { color: var(--c-ink); font-weight: 700; }

/* hero figure: live Obside partition heatmap, swapped in for the
   before/after decision card. One screenshot, immediate proof. */
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hf-frame {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.10);
  padding: 8px 8px 10px;
  position: relative;
  overflow: hidden;
}
.hf-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-ink-soft);
  margin: 6px 0 6px 6px;
}
.hf-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-good);
  margin-right: 8px;
  vertical-align: 1px;
  animation: led-pulse 2.8s ease-in-out infinite;
}
.hf-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.hf-cap {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hf-cap span { display: inline-flex; align-items: center; gap: 6px; }
.hf-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hf-dot.s { background: var(--c-surrogate); }
.hf-dot.m { background: var(--c-mini); }
.hf-dot.t { background: var(--c-teacher); }
.hf-cap-stat {
  margin-left: auto;
  color: var(--c-ink);
  font-weight: 600;
}

/* problem strip: replaces the QA block, sets up the inference-margin pain */
.problem { padding: 36px 0 4px; }
.problem-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-teacher);
  border-radius: 8px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.problem-eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-teacher);
}
.problem-line {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--c-ink);
}
.problem-line .problem-accent { color: var(--c-teacher); }
.problem-sub {
  font-size: 15px;
  color: var(--c-ink-mid);
  line-height: 1.6;
  max-width: 64ch;
}

/* pricing section: zero markup / BYO keys / 20% verified / OSS */
.pricing { padding: 72px 0; border-top: 1px solid var(--c-line); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.pricing-tile {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pricing-tile:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.pricing-tile h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.pricing-tile p {
  font-size: 13.5px;
  color: var(--c-ink-mid);
  line-height: 1.55;
}
.pricing-tile p code {
  font-size: 0.92em;
}
.pricing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--c-line-soft);
  color: var(--c-ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-tile-accent {
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.pricing-tile-accent h3 { color: var(--c-accent); }
.pricing-tile-accent p  { color: #d6d3d1; }
.pricing-tile-accent .pricing-icon {
  background: var(--c-accent);
  color: var(--c-ink);
}
.pricing-tile-accent:hover { border-color: var(--c-accent); }

.pricing-cta {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* 4-column variant of the wizard stages */
.wiz-stages-4 { grid-template-columns: repeat(4, 1fr); }

/* tablet + mobile overrides for the new blocks */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .wiz-stages-4 { grid-template-columns: repeat(2, 1fr); }
  .term-headline { grid-template-columns: 1fr; gap: 18px; }
  .term-claim h1 { font-size: clamp(26px, 4.4vw, 32px); }
}
@media (max-width: 900px) {
  .problem-card { padding: 18px 22px; }
  .term-inner { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .wiz-stages-4 { grid-template-columns: 1fr; }
  .problem-line { font-size: 19px; }
  .t-num { font-size: 64px; }
  .term-cta { flex-direction: column; align-items: stretch; }
  .term-pill-stars { margin-left: 0; justify-content: center; }
  .term-inner { padding: 28px 18px; }
}
