/* ============================================================
   Cogitent landing — DARK theme (v2)
   Tokens mirror docs/branding.md §3.1. Do NOT introduce hex
   literals outside this :root block.
   ============================================================ */

:root {
  --ct-deep:  #94B0FF;    /* periwinkle — primary accent (links, headings, mark) */
  --ct-amber: #E89A3A;    /* warm — period, CTA, focus, active path */
  --ct-ink:   #1B1F23;    /* near-black — primary background */
  --ct-ink-rgb: 27, 31, 35; /* channels of --ct-ink, for rgba() scrims over art */
  --ct-bone:  #F4EFE6;    /* cream — primary text on ink */
  --ct-slate: #3D4654;    /* warm-cool grey — borders, dim surfaces */
  --ct-moss:  #5C8A6B;    /* success */
  --ct-clay:  #C97B5C;    /* warning */
  --ct-rust:  #A03A2E;    /* error */

  /* Derived surfaces */
  --ct-surface-1: #23272E;       /* one step above ink — cards/sections */
  --ct-surface-2: #2C313A;       /* two steps above — hover/elevated */
  --ct-border:    rgba(244, 239, 230, 0.08);
  --ct-border-strong: rgba(244, 239, 230, 0.18);
  --ct-text-mute: rgba(244, 239, 230, 0.65);
  --ct-text-dim:  rgba(244, 239, 230, 0.45);

  --font-serif: 'IBM Plex Serif', 'Source Serif Pro', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  --maxw: 1140px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ct-bone);
  background: var(--ct-ink);
  line-height: 1.55;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

a { color: var(--ct-deep); text-underline-offset: 3px; }
a:hover { color: var(--ct-amber); }

img, svg { display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ct-deep);
}
.nav__mark { width: 32px; height: 32px; color: var(--ct-deep); }
.nav__wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ct-bone);
}
.nav__period { color: var(--ct-amber); font-weight: 600; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--ct-text-mute);
}
.nav__links a:hover { color: var(--ct-bone); }
.nav__cta {
  background: var(--ct-amber);
  color: var(--ct-ink) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__cta:hover { background: var(--ct-bone); color: var(--ct-ink) !important; }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* No brand illustration here: the interactive Three.js brain (assets/brain.js,
     with the memory-field SVG fallback) owns the hero visual and stands alone
     against the ink field so it reads clearly. Illustration 01 now backs the
     pitch band below. The hero__visual keeps its own soft periwinkle radial. */
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(72px, 8vw, 120px);
}
.hero__visual {
  position: absolute;
  inset: 0 0 0 40%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(circle at 68% 46%, rgba(148, 176, 255, 0.11), transparent 52%);
}
.hero__art-fallback,
.hero__brain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__art-fallback {
  object-fit: cover;
  object-position: center right;
  opacity: 0.68;
  mix-blend-mode: screen;
  transition: opacity 300ms ease;
}
.hero__brain {
  opacity: 0;
  touch-action: none;
  transition: opacity 700ms ease;
}
.hero.brain-hovering { cursor: crosshair; }
.hero.brain-hovering a,
.hero.brain-hovering button,
.hero.brain-hovering input,
.hero.brain-hovering pre { cursor: initial; }
.has-js .hero__visual.brain-loading .hero__art-fallback { opacity: 0; transition: none; }
.hero__visual.brain-ready .hero__brain { opacity: 1; }
.hero__visual.brain-ready .hero__art-fallback { opacity: 0; }
.hero__visual.brain-failed .hero__brain { opacity: 0; }
.hero__visual.brain-failed .hero__art-fallback { opacity: 0.68; }
@media (max-width: 640px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero__visual {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    height: clamp(280px, 78vw, 360px);
    opacity: 0.9;
    pointer-events: auto;
  }
  .hero__inner {
    width: 100%;
    padding-top: 28px;
  }
  .hero__art-fallback { object-position: center; }
}
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  color: var(--ct-bone);
  margin: 0 0 28px;
  letter-spacing: -1.5px;
}
.hero__accent {
  font-style: italic;
  font-weight: 500;
  color: var(--ct-deep);
}
.hero__accent::after {
  content: '.';
  color: var(--ct-amber);
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 640px;
  color: var(--ct-text-mute);
  margin: 0 0 36px;
}
.hero__sub em { font-style: normal; color: var(--ct-deep); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero__codeblock {
  font-family: var(--font-mono);
  background: var(--ct-surface-1);
  color: var(--ct-bone);
  padding: 22px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
  overflow-x: auto;
  margin: 0;
  border-left: 4px solid var(--ct-amber);
}
.hero__codeblock .prompt  { color: var(--ct-amber); user-select: none; }
.hero__codeblock .comment { color: var(--ct-text-dim); font-style: italic; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 80ms ease, background-color 120ms ease, color 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--ct-amber);
  color: var(--ct-ink);
}
.btn--primary:hover { background: var(--ct-bone); color: var(--ct-ink); }
.btn--ghost {
  border-color: var(--ct-deep);
  color: var(--ct-deep);
  background: transparent;
}
.btn--ghost:hover { background: var(--ct-deep); color: var(--ct-ink); }
.btn--block { display: flex; width: 100%; }

/* ─── PITCH ───────────────────────────────────────────────── */
/* Brand illustration 01 (roots-beneath-every-session) backs this band now that
   it has left the hero. Layered as ::before (image) + ::after (scrim) so the
   crop and the readability scrim can be tuned independently — and re-tuned for
   mobile via --band-pos-m. The image is positioned low so the bright soma and
   its amber thread sit in the whitespace below the centred lead paragraph, and
   the scrim keeps the bone text WCAG-AA over the periwinkle root-fan. */
.pitch {
  position: relative;
  overflow: hidden;
  background: var(--ct-ink);
  color: var(--ct-bone);
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
}
.pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/img/01-roots-beneath-every-session.jpg');
  background-size: cover;
  background-position: center 84%;
  background-repeat: no-repeat;
}
.pitch::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Dark over the upper/centre text zone, easing toward the bottom so the soma
     glow reads; top+bottom blends seam the band into its neighbours. */
  background:
    linear-gradient(180deg,
      rgba(var(--ct-ink-rgb), 0.94) 0%,
      rgba(var(--ct-ink-rgb), 0.88) 40%,
      rgba(var(--ct-ink-rgb), 0.58) 74%,
      rgba(var(--ct-ink-rgb), 0.42) 100%),
    linear-gradient(0deg, var(--ct-ink) 0%, rgba(var(--ct-ink-rgb), 0) 16%),
    linear-gradient(180deg, var(--ct-ink) 0%, rgba(var(--ct-ink-rgb), 0) 12%);
}
.pitch__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.pitch__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  margin: 0;
  color: var(--ct-bone);
}
.pitch__lead strong { color: var(--ct-amber); font-weight: 600; }

/* ─── SECTIONS COMMON ─────────────────────────────────────── */
.section__heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ct-bone);
  margin: 0 0 12px;
  letter-spacing: -0.8px;
}
.section__lede {
  font-size: 17px;
  color: var(--ct-text-mute);
  margin: 0 0 40px;
}

/* ─── FEATURES ────────────────────────────────────────────── */
.features {
  background: var(--ct-ink);
}
.features__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) var(--gutter);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  background: var(--ct-surface-1);
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid var(--ct-border);
  transition: border-color 120ms ease, transform 120ms ease;
}
.feature:hover {
  border-color: var(--ct-border-strong);
  transform: translateY(-2px);
}
.feature__icon {
  width: 56px; height: 56px;
  margin-bottom: 20px;
  color: var(--ct-deep);
}
.feature h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ct-deep);
  margin: 0 0 10px;
}
.feature p {
  font-size: 15.5px;
  color: var(--ct-text-mute);
  margin: 0;
}

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing {
  background: linear-gradient(180deg, var(--ct-ink) 0%, var(--ct-surface-1) 100%);
}
.pricing__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) var(--gutter);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.plan {
  background: var(--ct-surface-1);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--ct-border);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 2px solid var(--ct-amber);
  box-shadow: 0 16px 40px -20px rgba(232, 154, 58, 0.45);
}
.plan__head { margin-bottom: 22px; }
.plan__badge {
  display: inline-block;
  background: var(--ct-amber);
  color: var(--ct-ink);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.plan h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--ct-deep);
  margin: 0 0 6px;
}
.plan__price {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ct-bone);
}
.plan__price span {
  font-weight: 400;
  color: var(--ct-text-mute);
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}
.plan__features li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 15px;
  color: var(--ct-text-mute);
  border-bottom: 1px solid var(--ct-border);
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  background: var(--ct-amber);
  border-radius: 50%;
  opacity: 0.85;
}
.plan__features li:last-child { border-bottom: none; }
.pricing__footnote {
  font-size: 14px;
  color: var(--ct-text-dim);
  text-align: center;
  margin: 0;
}

/* ─── SIGNUP ──────────────────────────────────────────────── */
.signup {
  background: var(--ct-surface-1);
  color: var(--ct-bone);
  border-top: 1px solid var(--ct-border);
}
.signup__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--gutter);
  text-align: center;
}
.signup .section__heading { color: var(--ct-bone); }
.signup .section__lede { color: var(--ct-text-mute); margin-bottom: 32px; }

.signup__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.signup__form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 2px solid var(--ct-border-strong);
  border-radius: var(--radius);
  background: var(--ct-surface-2);
  color: var(--ct-bone);
}
.signup__form input::placeholder { color: var(--ct-text-dim); }
.signup__form input:focus {
  outline: none;
  border-color: var(--ct-amber);
}
.signup__form input.invalid { border-color: var(--ct-rust); }

.signup__help {
  font-size: 13px;
  color: var(--ct-text-dim);
  margin: 0;
}
.signup__status {
  font-size: 15px;
  margin: 18px 0 0;
  min-height: 1.4em;
}
.signup__status.ok    { color: var(--ct-moss); }
.signup__status.error { color: var(--ct-clay); }

@media (max-width: 540px) {
  .signup__form { flex-direction: column; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ct-ink);
  border-top: 1px solid var(--ct-border);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer__copy {
  font-size: 13px;
  color: var(--ct-text-dim);
  margin: 0;
}
.footer__links {
  display: flex;
  gap: 22px;
}
.footer__links a {
  font-size: 13px;
  color: var(--ct-text-mute);
  text-decoration: none;
}
.footer__links a:hover { color: var(--ct-amber); }

/* ─── ACCESSIBILITY ───────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--ct-amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
  .hero__art-fallback,
  .hero__brain { transition: none; }
}

/* ============================================================
   Multi-page additions — interior pages, doc/legal prose,
   benchmarks tables, roadmap timeline, notes/callouts.
   Reuses the tokens above; no new hex literals.
   ============================================================ */

/* ─── NAV: multi-page tweaks ──────────────────────────────── */
.nav { flex-wrap: wrap; gap: 12px 20px; }
.nav__links { flex-wrap: wrap; gap: 14px 22px; }
.nav__links a[aria-current="page"] { color: var(--ct-bone); }
.nav__links a[aria-current="page"]:not(.nav__cta)::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--ct-amber);
  border-radius: 2px;
}
/* Keep links visible (not hidden) on small screens — a multi-page site
   needs its nav reachable everywhere. Overrides the landing's hide rule. */
@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: inline; font-size: 14px; }
  .nav { padding: 16px var(--gutter); }
}

/* ─── INTERIOR PAGE HERO ──────────────────────────────────── */
.pagehero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ct-border);
  background: var(--ct-ink);
}
/* Per-page brand illustration behind the title band. Each page sets
   --band-img (and optional --band-pos) inline on the .pagehero element. */
.pagehero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--band-img, none);
  background-size: cover;
  background-position: var(--band-pos, center);
  background-repeat: no-repeat;
}
/* Scrim: near-opaque ink on the left (title zone) fading to reveal the art on
   the right, plus a bottom blend so the band seams cleanly into the page. */
.pagehero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--ct-ink) 0%,
      rgba(var(--ct-ink-rgb), 0.90) 38%,
      rgba(var(--ct-ink-rgb), 0.60) 66%,
      rgba(var(--ct-ink-rgb), 0.18) 100%),
    linear-gradient(0deg,
      var(--ct-ink) 0%,
      rgba(var(--ct-ink-rgb), 0) 42%);
}
.pagehero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) var(--gutter) clamp(36px, 5vw, 56px);
}
.pagehero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ct-amber);
  margin: 0 0 16px;
}
.pagehero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--ct-bone);
  margin: 0 0 20px;
}
.pagehero__title em { font-style: italic; color: var(--ct-deep); }
.pagehero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 720px;
  color: var(--ct-text-mute);
  margin: 0;
}

/* ─── PROSE / CONTENT SECTIONS ────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
}
.wrap--narrow { max-width: 860px; }
.prose { color: var(--ct-text-mute); font-size: 16.5px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.6px;
  color: var(--ct-bone);
  margin: 1.8em 0 0.2em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--ct-deep);
  margin: 1.5em 0 0.1em;
}
.prose p { margin: 0.9em 0; }
.prose strong { color: var(--ct-bone); font-weight: 600; }
.prose em { color: var(--ct-deep); font-style: italic; }
.prose a { color: var(--ct-deep); }
.prose a:hover { color: var(--ct-amber); }
.prose ul, .prose ol { margin: 0.9em 0; padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--ct-surface-1);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--ct-bone);
}

/* Flow diagram — plain, deterministic (no JS) */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 8px 0;
}
.flow__node {
  flex: 1 1 150px;
  background: var(--ct-surface-1);
  border: 1px solid var(--ct-border);
  border-radius: 12px;
  padding: 18px 18px;
}
.flow__node h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ct-deep);
  margin: 0 0 6px;
}
.flow__node p { font-size: 13.5px; color: var(--ct-text-mute); margin: 0; }
.flow__arrow {
  align-self: center;
  color: var(--ct-amber);
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 700px) {
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); }
}

/* Two-column split with visual */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.split__visual img { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ─── NOTE / CALLOUT ──────────────────────────────────────── */
.note {
  border-left: 4px solid var(--ct-amber);
  background: var(--ct-surface-1);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ct-text-mute);
}
.note strong { color: var(--ct-bone); }
.note--deep { border-left-color: var(--ct-deep); }

/* ─── TAG / AS-REPORTED PILL ──────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ct-border-strong);
  color: var(--ct-text-mute);
  vertical-align: middle;
}
.tag--asreported { border-color: var(--ct-clay); color: var(--ct-clay); }
.tag--local { border-color: var(--ct-moss); color: var(--ct-moss); }

/* ─── DATA TABLE (benchmarks, legal) ──────────────────────── */
.tablewrap { overflow-x: auto; margin: 1.2em 0; }
.dtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
.dtable caption {
  text-align: left;
  color: var(--ct-text-dim);
  font-size: 13px;
  padding-bottom: 8px;
}
.dtable th, .dtable td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ct-border);
  vertical-align: top;
}
.dtable thead th {
  color: var(--ct-bone);
  font-weight: 600;
  border-bottom: 1px solid var(--ct-border-strong);
}
.dtable tbody td { color: var(--ct-text-mute); }
.dtable td { color: var(--ct-text-mute); }
.dtable tr:last-child td { border-bottom: none; }
.dtable .num { font-family: var(--font-mono); color: var(--ct-bone); white-space: nowrap; }

/* ─── STAT ROW ────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 8px 0;
}
.stat {
  background: var(--ct-surface-1);
  border: 1px solid var(--ct-border);
  border-radius: 12px;
  padding: 22px 20px;
}
.stat__num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 34px;
  color: var(--ct-deep);
  line-height: 1;
}
.stat__label { font-size: 13.5px; color: var(--ct-text-mute); margin-top: 8px; }

/* ─── ROADMAP TIMELINE ────────────────────────────────────── */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline__item {
  position: relative;
  padding: 0 0 34px 40px;
  border-left: 2px solid var(--ct-border-strong);
  margin-left: 8px;
}
.timeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ct-ink);
  border: 3px solid var(--ct-slate);
}
.timeline__item--shipped::before { border-color: var(--ct-moss); background: var(--ct-moss); }
.timeline__item--active::before { border-color: var(--ct-amber); background: var(--ct-amber); }
.timeline__item--planned::before { border-color: var(--ct-deep); }
.timeline__status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ct-text-dim);
}
.timeline__item--shipped .timeline__status { color: var(--ct-moss); }
.timeline__item--active .timeline__status { color: var(--ct-amber); }
.timeline__item--planned .timeline__status { color: var(--ct-deep); }
.timeline__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ct-bone);
  margin: 4px 0 8px;
}
.timeline__body { color: var(--ct-text-mute); font-size: 15.5px; }
.timeline__body ul { margin: 8px 0 0; padding-left: 1.2em; }
.timeline__body li { margin: 4px 0; }

/* ─── CARD GRID (generic) ─────────────────────────────────── */
.cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--ct-surface-1);
  border: 1px solid var(--ct-border);
  border-radius: 14px;
  padding: 26px 24px;
}
.card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--ct-deep);
  margin: 0 0 10px;
}
.card p { color: var(--ct-text-mute); font-size: 15px; margin: 0; }

/* Surface variant for alternating sections */
.section--surface { background: var(--ct-surface-1); border-top: 1px solid var(--ct-border); border-bottom: 1px solid var(--ct-border); }

/* ─── CTA STRIP ───────────────────────────────────────────── */
.ctastrip { text-align: center; }
.ctastrip .btn { margin: 6px; }

/* ─── FOOTER: multi-column ────────────────────────────────── */
.footer__cols {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 28px;
  padding: 12px 0 28px;
}
.footer__brandcol .nav__wordmark { font-size: 20px; }
.footer__tag { font-size: 13.5px; color: var(--ct-text-dim); margin: 12px 0 0; max-width: 260px; }
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ct-text-dim);
  margin: 0 0 12px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin: 8px 0; }
.footer__col a { font-size: 14px; color: var(--ct-text-mute); text-decoration: none; }
.footer__col a:hover { color: var(--ct-amber); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--ct-border);
}
@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
}

/* ─── BRAND-IMAGE BANDS: signup backdrop + mobile fallback ──── */
/* Optional pre-footer CTA backdrop on the landing's signup section. A centred
   form needs a centred (radial) scrim, not a left one, so the copy stays AA
   over the art regardless of which busy area lands behind it. */
.signup--art {
  position: relative;
  overflow: hidden;
  background: var(--ct-ink);
}
.signup--art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--band-img, none);
  background-size: cover;
  /* 05 (constellation) soma sits right-of-centre; nudge the crop so the neuron
     tree reads around the centred form rather than directly under it. */
  background-position: 58% 46%;
  background-repeat: no-repeat;
}
.signup--art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 82% 92% at 50% 50%,
      rgba(var(--ct-ink-rgb), 0.70) 0%,
      rgba(var(--ct-ink-rgb), 0.86) 62%,
      var(--ct-ink) 100%),
    linear-gradient(0deg, var(--ct-ink) 0%, rgba(var(--ct-ink-rgb), 0) 30%),
    linear-gradient(180deg, var(--ct-ink) 0%, rgba(var(--ct-ink-rgb), 0) 26%);
}
.signup--art .signup__inner { position: relative; z-index: 2; }

/* Mobile: keep the brand art VISIBLE on phones instead of blanket-dropping it.
   `cover` on a 2:1 illustration in a narrow ~375px band crops hard on the
   HORIZONTAL axis, so per-band horizontal positioning is what decides which
   focal element survives. Each band re-centres its focal element (soma / beacon
   / constellation / thread) and the bands gain a little height so the crop has
   room. Per-page interior bands pass a mobile-specific --band-pos-m inline. */
@media (max-width: 640px) {
  /* Pitch (01 roots): centre the bright soma + amber thread. */
  .pitch { min-height: 340px; }
  .pitch::before { background-position: 52% 72%; }

  /* Interior page-hero bands: taller crop + per-page focal via --band-pos-m
     (02 soma, 03 amber beacon, 04 central neuron, 05 constellation soma). */
  .pagehero { min-height: clamp(300px, 66vw, 360px); }
  .pagehero::before {
    background-position: var(--band-pos-m, var(--band-pos, center));
  }

  /* Signup (05 constellation): centre the neuron soma under the radial scrim. */
  .signup--art::before { background-position: 60% 54%; }
}

/* Reduced-motion is unaffected — these are static backgrounds, no animation. */
