/* ============================================================
   CreatStrat Marketing Site — Component + Section Styles
   Built faithfully from landing-v6/ (shared.jsx + section .jsx + index.html).
   Depends on tokens.css (loaded first).

   Sharp corners (border-radius:0) on buttons + cards.
   Flat + hairline elevation (1px var(--line) borders).
   80px grid on hero / dark / empty surfaces.
   violet | lime 8px stripe motif.
   ============================================================ */

/* ============================================================
   0. RESET / GLOBALS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

::selection { background: var(--lime); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

input, select, textarea, button { font: inherit; color: inherit; }

/* The signature 80px grid background, page-wide, fixed */
.page-grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(10,10,18,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,18,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  background-attachment: fixed;
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.section {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 4vw, 80px);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
/* The standard "200px label gutter + content" header grid */
.gutter-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================================
   1. SHARED ATOMS
   ============================================================ */

/* Eyebrow — mono, violet, uppercase, tracked */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
  margin: 0;
}
.eyebrow .mid { color: var(--fog); }

/* Section label gutter — "01 — The Bottleneck" */
.label-gutter {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
  padding-top: 12px;
}

/* Wordmark — Creat[Strat][.] */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .strat { color: var(--violet); }
.wordmark .dot   { color: var(--lime-deep); }
.wordmark.dark        { color: var(--paper); }
.wordmark.dark .strat { color: var(--violet-bright); }
.wordmark.dark .dot   { color: var(--lime); }

/* Lime / lime-deep period accents */
.lime-dot      { color: var(--lime-deep); }
.lime-dot.dark { color: var(--lime); }

/* Inline accent words */
.violet-word        { color: var(--violet); }
.violet-word.bright { color: var(--violet-bright); }

/* Instrument Serif italic editorial accent */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Highlighter trick — lime gradient under text */
.lime-highlight {
  background-image: linear-gradient(to top, rgba(200, 255, 61, 0.55) 40%, transparent 40%);
  padding: 0 4px;
}

/* The brand stripe: violet | lime, 50/50 */
.brand-stripe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 8px;
}
.brand-stripe > :first-child { background: var(--violet); }
.brand-stripe > :last-child  { background: var(--lime); }
.brand-stripe.dark > :first-child { background: var(--violet-bright); }
.brand-stripe.dark > :last-child  { background: var(--lime); }

/* Animated hero stripe — scaleX rise on reveal */
.stripe-rise {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.stripe-rise.in { transform: scaleX(1); }

/* ============================================================
   2. BUTTONS (all border-radius:0 — sharp corners)
   ============================================================ */
.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              background 0.2s var(--ease-out), color 0.2s var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  border-radius: 0;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.btn-primary { background: var(--violet); color: var(--paper); }
.btn-primary:hover { box-shadow: var(--shadow-violet); background: var(--violet-deep); }

/* Lime convert button — the high-intent action */
.btn-convert { background: var(--lime); color: var(--ink); }
.btn-convert:hover { box-shadow: var(--shadow-lime); }

/* Ink pill / secondary outline */
.btn-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14.5px 22.5px;
}
.btn-ink:hover { background: var(--ink); color: var(--paper); }
.btn-ink.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink.solid:hover { background: var(--violet); border-color: var(--violet); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--violet);
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-ghost:hover { color: var(--violet-deep); border-bottom-color: var(--violet-deep); transform: none; }

.btn-block { width: 100%; }
.btn-sm { font-size: 13px; padding: 12px 18px; }

/* ============================================================
   3. SCROLL-REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .stripe-rise { transform: scaleX(1); transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   4. NAV (fixed, blur, mobile menu)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px clamp(24px, 4vw, 80px);
  background: rgba(250,250,252,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav-brand .wordmark { font-size: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
}
.nav-links a {
  text-decoration: none;
  color: var(--fog);
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  color: var(--paper) !important;
  background: var(--ink);
  padding: 8px 14px;
  letter-spacing: 0.14em;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out) !important;
}
.nav-cta:hover { background: var(--violet); color: var(--paper) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel (hidden until toggled) */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 84px clamp(24px, 4vw, 80px) 32px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile a {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.nav-mobile-cta {
  background: var(--ink);
  color: var(--paper);
  border: none;
  text-align: center;
  margin-top: 20px;
  padding: 16px;
}

/* ============================================================
   5. HERO  (#top)
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 140px clamp(24px, 4vw, 80px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative; /* anchors the .grid-wander cell */
}
.hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
}
.hero-eyebrow { margin-bottom: 40px; }

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 16ch;
  text-wrap: balance;
  margin: 0;
}
.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--slate);
  max-width: 760px;
  margin: 40px 0 0;
}
.hero-cta { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 4-col metadata strip */
.meta-strip {
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.meta-item {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.meta-item .meta-label { color: var(--fog); }
.meta-item .meta-value {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.08em;
}
/* Full-bleed: cancel the hero's horizontal padding so the stripe
   runs edge to edge (it sits directly above the full-width ticker). */
.hero-stripe { margin: 0 calc(-1 * clamp(24px, 4vw, 80px)); }

/* ============================================================
   6. PROOF-BY-MECHANISM BAND  (#system)
   ============================================================ */
.mechanism {
  padding: clamp(56px, 8vh, 96px) clamp(24px, 4vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mechanism-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.mechanism-head .eyebrow { margin: 0; }
.mechanism-head .mechanism-note {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fog);
}
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mechanism-stat {
  padding: 4px 28px 4px 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.mechanism-stat:first-child { border-left: none; padding-left: 0; }
.mechanism-stat .stat-figure {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.mechanism-stat .stat-figure .lime-dot { font-size: 0.9em; }
.mechanism-stat .stat-label {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
}

/* ============================================================
   7. PROBLEM  (#problem) — 01
   ============================================================ */
.problem .h2,
.section .h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
  margin: 0;
}
.problem-body { margin-top: 48px; max-width: 780px; }
.problem-body p {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 28px;
}
.problem-body .inline-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.problem-center {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 48px !important;
}
.problem-interrupt {
  border-top: 1px solid var(--violet);
  padding-top: 28px;
  margin-top: 8px;
}
.problem-interrupt p { margin: 0; }
.problem-interrupt strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   8. LOOP / HOW IT WORKS  (#how-it-works) — 02
   ============================================================ */
.loop {
  position: relative;
  border-top: 1px solid var(--violet);
  border-bottom: 1px solid var(--violet);
}
.loop-bg-svg {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1100px;
  opacity: 0.08;
  pointer-events: none;
}
.loop-inner { position: relative; z-index: 1; }
.loop-head { margin-bottom: 80px; }
.loop-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--slate);
  max-width: 760px;
  margin: 32px 0 0;
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.loop-card {
  border: 1px solid var(--line);
  border-right: none;
  background: var(--paper);
  padding: 40px 32px 44px;
  position: relative; /* anchors the spotlight ::after */
}
.loop-card:last-child { border-right: 1px solid var(--line); }
.loop-card .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.loop-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  max-width: 18ch;
  margin: 0;
}
.loop-card p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 20px;
}

/* ============================================================
   9. DELIVERABLE  (#deliverable) — 03
   ============================================================ */
.deliverable-intro { margin-bottom: 64px; }
.deliverable-intro p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 760px;
}
.deliverable-intro p.first { margin: 32px 0 20px; }
.deliverable-intro p.second { margin: 0; }

.deliverable-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}
.brief-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
  margin-bottom: 16px;
}
.brief-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* BriefMock card */
.brief-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  color: var(--ink);
  min-height: 360px;
  padding: 20px 22px 24px;
  position: relative; /* anchors the spotlight ::after */
}
.brief-mock.real { border-top: 4px solid var(--violet); }
.brief-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-size: 11px;
}
.brief-mock-head .tag { color: var(--fog); text-transform: uppercase; letter-spacing: 0.12em; }
.brief-mock.real .brief-mock-head .tag { color: var(--violet); }
.brief-mock-head .code { color: var(--fog); }

.brief-row {
  margin-bottom: 14px;
}
.brief-row .b-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fog);
  margin-bottom: 4px;
}
.brief-row .b-label.lime { color: var(--lime-deep); }
.brief-row .b-label .q { color: var(--violet); }
.brief-row .b-value {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.brief-row.q .b-value { font-style: italic; color: var(--fog); }

/* Every-brief-includes checklist */
.includes-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 32px 24px;
}
.includes-card .includes-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
  margin-bottom: 24px;
}
.includes-list { list-style: none; margin: 0; padding: 0; }
.includes-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.includes-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.lime-check {
  width: 22px; height: 22px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}
.includes-list .inc-title { display: block; font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.includes-list .inc-sub   { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--slate); margin-top: 2px; }

/* Result pull-quote callout */
.result-callout {
  background: var(--violet-soft);
  border-left: 4px solid var(--violet);
  padding: 36px 40px;
  max-width: 980px;
  margin-bottom: 0;
}
.result-callout .result-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
  margin-bottom: 12px;
}
.result-callout p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.result-callout p .emph {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
}

/* ============================================================
   10. APPROACH / human + machine  (#approach)
   ============================================================ */
.approach {
  padding: clamp(72px, 10vh, 128px) clamp(24px, 4vw, 80px);
}
.approach-inner { max-width: 1100px; margin: 0 auto; text-align: left; }
.approach .eyebrow { margin-bottom: 28px; }
.approach-statement {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0;
}
.approach-statement .violet-word { color: var(--violet); }
.approach-statement .serif-accent { color: var(--ink); }
.approach-divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  max-width: 520px;
}
.approach-divider .brand-stripe { flex: 1; height: 8px; }
.approach-legend {
  display: flex;
  justify-content: space-between;
  max-width: 520px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fog);
}
.approach-legend .l-violet { color: var(--violet); }
.approach-legend .l-lime { color: var(--lime-deep); }

/* ============================================================
   11. COMPARE  (#compare) — 04
   ============================================================ */
.compare-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 24px 16px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-table col.c-label { width: 26%; }
.compare-table col.c-us    { width: 20%; }
.compare-table col.c-other { width: 18%; }

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
  font-weight: 400;
  text-align: left;
  padding: 20px 16px 16px;
  vertical-align: bottom;
}
.compare-table th.us-col {
  color: var(--violet);
  font-weight: 600;
  background: rgba(91,43,255,0.02);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.compare-table th.us-col::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--violet);
}
.compare-table tbody td {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--slate);
  font-weight: 400;
  padding: 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.4;
}
.compare-table tbody td.row-label {
  font-weight: 600;
  color: var(--ink);
}
.compare-table td.us-col {
  font-weight: 600;
  color: var(--ink);
  background: rgba(91,43,255,0.02);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.compare-table .num { font-family: var(--font-mono); font-size: 14px; }
.compare-check {
  width: 26px; height: 26px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  background: var(--lime);
  color: var(--ink);
}
.compare-check.plain { background: transparent; color: var(--fog); }
.compare-cta-row td { border-top: 1px solid var(--line); }
.compare-cta-row td.us-col {
  padding-top: 24px;
  background: rgba(91,43,255,0.02);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.compare-footnote {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fog);
  font-style: italic;
  margin-top: 28px;
  max-width: 880px;
}
.compare-footnote .num { font-family: var(--font-mono); font-style: normal; }

.compare-table .cell-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fog);
  margin-left: 8px;
  white-space: nowrap;
}

/* Mobile comparison cards */
.compare-cards { display: none; }
.compare-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
  margin-bottom: 16px;
}
.compare-card.us {
  border-top: 4px solid var(--violet);
  background: rgba(91,43,255,0.03);
}
.compare-card .cc-head {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 16px;
}
.compare-card.us .cc-head { color: var(--violet); }
.compare-card .cc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.compare-card .cc-row:first-of-type { border-top: none; }
.compare-card .cc-key { font-size: 13px; color: var(--slate); }
.compare-card .cc-val { font-size: 14px; color: var(--ink); text-align: right; font-weight: 500; }
.compare-card .cc-val.num { font-family: var(--font-mono); }
.compare-card .cc-check { color: var(--fog); font-weight: 800; }
.compare-card.us .cc-check { color: var(--lime-deep); }

/* ============================================================
   12. PRICING  (#pricing) — 05
   ============================================================ */
.pricing-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  color: var(--slate);
  max-width: 720px;
  margin: 24px 0 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 8px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  /* Uniform 80px top zone reserves the badge row on BOTH cards,
     so the Pilot/Growth h3 headings sit at the same level. */
  padding: 80px 36px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Library tiers — violet top edge + violet tag */
.price-card.plus {
  border-top: 4px solid var(--violet);
  padding-top: 77px; /* match the 4px-border offset so all h3s stay level */
}
.plus-tag {
  position: absolute;
  top: 33px;
  left: 36px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  background: var(--violet);
  color: var(--paper);
  padding: 5px 8px;
  margin: 0;
}

.price-badge {
  position: absolute;
  top: 36px;
  left: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  background: var(--lime);
  color: var(--ink);
  padding: 5px 8px;
  margin: 0;
}
.price-badge .badge-star { font-size: 11px; line-height: 1; letter-spacing: 0; }
/* On a + card the badge floats centered on the top edge (the "most
   popular" ribbon) so the Asset-matching tag keeps the top-left slot. */
.price-card.plus .price-badge {
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}

/* Package kicker — names the axis the "+" changes (briefs vs +footage) */
.pkg-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fog);
  margin: -8px 0 14px;
}
.pkg-kicker.footage { color: var(--violet); }
.price-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
}
.price-figure .amount {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.price-figure .per {
  font-size: 14px;
  color: var(--fog);
}

.price-subline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
  margin: 14px 0 0;
}

.price-bullets { list-style: none; margin: 28px 0 32px; padding: 0; flex: 1; }
.price-bullets li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
  margin-bottom: 14px;
}
.price-bullets .tick { color: var(--lime-deep); font-weight: 800; line-height: 1.3; }

.price-card .btn { width: 100%; }

/* Gated production line */
.pricing-gated {
  margin-top: 32px;
  border: 1px dashed var(--violet);
  background: var(--violet-soft);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-gated .gated-text {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 60ch;
}
.pricing-gated .gated-text strong { font-weight: 700; }
.pricing-gated .gated-arrow { color: var(--violet); font-weight: 700; }

.pricing-footnote {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--slate);
  max-width: 760px;
  margin: 32px 0 0;
  line-height: 1.5;
}
.pricing-footnote .num { font-family: var(--font-mono); font-style: normal; }

/* ============================================================
   13. APPLY  (#apply) — dark, 80px grid overlay
   ============================================================ */
.apply {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.apply-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.apply-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.apply-head { margin-bottom: 72px; }
.apply h2 {
  font-family: var(--font-sans);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--paper);
  max-width: 14ch;
  margin: 0;
}
.apply h2 .violet-word { color: var(--violet-bright); }
.apply h2 .lime-dot { color: var(--lime); }
.apply-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: rgba(250,250,252,0.75);
  max-width: 720px;
  margin: 28px 0 0;
}
.apply-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* FAQ accordion */
.faq-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet-bright);
  font-weight: 600;
  margin-bottom: 24px;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}
.faq-q .faq-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--violet-bright);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(250,250,252,0.75);
  max-width: 50ch;
  margin: 0 0 22px;
}

/* Apply form */
.apply-form { display: flex; flex-direction: column; gap: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(250,250,252,0.6);
  font-weight: 500;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.32);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0 12px;
  outline: none;
  transition: border-color 0.2s var(--ease-out);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom: 2px solid var(--violet-bright); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(250,250,252,0.38); font-weight: 400; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A66FF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
}
.field select option { background: var(--ink-2); color: var(--paper); }
.field textarea { resize: vertical; min-height: 80px; }
.field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-top: 8px;
}
.field.invalid .field-error { display: block; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-bottom-color: var(--lime); }

.apply-form .btn { padding: 20px 28px; font-size: 16px; margin-top: 4px; }
.form-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(250,250,252,0.6);
}
.form-success {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lime);
  display: none;
}
.form-success.show { display: block; }

.apply-stripe { position: relative; z-index: 1; }

/* ============================================================
   14. FOOTER — dark, giant wordmark, 80px grid
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 80px clamp(24px, 4vw, 80px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 2fr;
  gap: 40px;
  padding-bottom: 64px;
}
.footer-col .fc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--violet-bright); }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--fog);
  align-self: end;
  text-align: right;
}
.footer-wordmark {
  font-family: var(--font-sans);
  font-size: clamp(72px, 14vw, 240px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--paper);
  padding-bottom: 24px;
}
.footer-wordmark .strat { color: var(--violet-bright); }
.footer-wordmark .dot { color: var(--lime); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
}
.footer-bottom a { color: var(--fog); text-decoration: none; transition: color 0.2s var(--ease-out); }
.footer-bottom a:hover { color: var(--violet-bright); }
.footer-stripe { position: relative; z-index: 2; }

/* ============================================================
   15. RESPONSIVE — every section, no horizontal overflow
   ============================================================ */
@media (max-width: 1024px) {
  .gutter-grid { grid-template-columns: 160px 1fr; gap: 40px; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .result-callout { max-width: 100%; }
}

/* Four cards → two-by-two on narrower desktops/tablets */
@media (max-width: 1240px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  .apply-body { grid-template-columns: 1fr; gap: 48px; }
  /* Pricing stays horizontal: a swipeable side-by-side carousel.
     Each card takes ~84% width so the next card peeks in from the edge. */
  .pricing-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    padding: 16px 4px 12px; /* top headroom for the floating badge */
    -webkit-overflow-scrolling: touch;
  }
  .pricing-grid .price-card { scroll-snap-align: center; }
}

@media (max-width: 768px) {
  /* Nav: swap desktop links for hamburger + mobile menu */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }

  /* Collapse all gutter grids to single column, hide the label gutter */
  .gutter-grid { grid-template-columns: 1fr; gap: 24px; }
  .label-gutter { display: none; }

  /* Hero */
  .hero { padding-top: 112px; }
  .hero h1 { max-width: 100%; }
  .meta-strip { grid-template-columns: 1fr 1fr; gap: 20px 16px; }

  /* Mechanism band → 2-up then stacks cleanly */
  .mechanism-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .mechanism-stat,
  .mechanism-stat:first-child {
    border-left: none;
    padding-left: 0;
  }

  /* Loop steps stack */
  .loop-steps { grid-template-columns: 1fr; }
  .loop-card,
  .loop-card:last-child { border-right: 1px solid var(--line); }
  .loop-card { border-bottom: none; }
  .loop-card:last-child { border-bottom: 1px solid var(--line); }
  .loop-bg-svg { display: none; }

  /* Deliverable: stack the two brief mocks */
  .brief-pair { grid-template-columns: 1fr; }

  /* Compare: keep the real table, horizontally swipeable.
     (.compare-table-wrap already has overflow-x:auto; the min-width keeps
     the five columns readable instead of crushing them.) */
  .compare-table { min-width: 840px; }
  .compare-cards { display: none; }

  /* Pricing gated line stacks */
  .pricing-gated { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Form rows stack */
  .form-row { grid-template-columns: 1fr; gap: 24px; }

  /* Footer columns stack */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-tagline { grid-column: 1 / -1; text-align: left; align-self: start; margin-top: 8px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 460px) {
  .meta-strip { grid-template-columns: 1fr; }
  .mechanism-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .price-card { padding: 70px 24px 32px; }
  .price-card.plus { padding-top: 67px; }
  .price-badge { top: 28px; left: 24px; }
  .plus-tag { top: 25px; left: 24px; }
}

/* ============================================================
   12. MOTION LAYER — site-wide liveliness.
   Every rule that hides/moves content lives inside the
   no-preference query, so reduced-motion users get a fully
   static, fully visible page.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* --- Ticker strip (home) — constant slow marquee --- */
  .ticker {
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
  }
  .ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 13px 0;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-scroll 36s linear infinite;
  }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .ticker-track span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250,250,252,0.72);
  }
  .ticker-track .t-dot { font-size: 7px; line-height: 1; }
  .ticker-track .t-dot.v { color: var(--violet-bright, #7C5CFF); }
  .ticker-track .t-dot.l { color: var(--lime); }
  @keyframes ticker-scroll { to { transform: translateX(-50%); } }

  /* --- Loop section: dashed orbit slowly flows --- */
  .loop-bg-svg path { animation: dash-flow 40s linear infinite; }
  @keyframes dash-flow { to { stroke-dashoffset: -560; } }

  /* --- Brief mock: rows cascade in like the brief is being written --- */
  .deliverable-grid .brief-mock .brief-row {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .deliverable-grid.in .brief-mock .brief-row { opacity: 1; transform: none; }
  .deliverable-grid.in .brief-mock.typical .brief-row:nth-child(2) { transition-delay: 0.10s; }
  .deliverable-grid.in .brief-mock.typical .brief-row:nth-child(3) { transition-delay: 0.20s; }
  .deliverable-grid.in .brief-mock.typical .brief-row:nth-child(4) { transition-delay: 0.30s; }
  .deliverable-grid.in .brief-mock.typical .brief-row:nth-child(5) { transition-delay: 0.40s; }
  .deliverable-grid.in .brief-mock.typical .brief-row:nth-child(6) { transition-delay: 0.50s; }
  .deliverable-grid.in .brief-mock.real .brief-row:nth-child(2) { transition-delay: 0.45s; }
  .deliverable-grid.in .brief-mock.real .brief-row:nth-child(3) { transition-delay: 0.58s; }
  .deliverable-grid.in .brief-mock.real .brief-row:nth-child(4) { transition-delay: 0.71s; }
  .deliverable-grid.in .brief-mock.real .brief-row:nth-child(5) { transition-delay: 0.84s; }
  .deliverable-grid.in .brief-mock.real .brief-row:nth-child(6) { transition-delay: 0.97s; }

  /* --- Includes card: checklist items cascade --- */
  .deliverable-grid .includes-list li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .deliverable-grid.in .includes-list li { opacity: 1; transform: none; }
  .deliverable-grid.in .includes-list li:nth-child(1) { transition-delay: 0.30s; }
  .deliverable-grid.in .includes-list li:nth-child(2) { transition-delay: 0.42s; }
  .deliverable-grid.in .includes-list li:nth-child(3) { transition-delay: 0.54s; }
  .deliverable-grid.in .includes-list li:nth-child(4) { transition-delay: 0.66s; }
  .deliverable-grid.in .includes-list li:nth-child(5) { transition-delay: 0.78s; }
  .deliverable-grid.in .includes-list li:nth-child(6) { transition-delay: 0.90s; }

  /* --- Mechanism band: stats rise in sequence, figures get a lime tick --- */
  .mechanism .reveal .mechanism-stat {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .mechanism .reveal.in .mechanism-stat { opacity: 1; transform: none; }
  .mechanism .reveal.in .mechanism-stat:nth-child(1) { transition-delay: 0.05s; }
  .mechanism .reveal.in .mechanism-stat:nth-child(2) { transition-delay: 0.18s; }
  .mechanism .reveal.in .mechanism-stat:nth-child(3) { transition-delay: 0.31s; }
  .mechanism .reveal.in .mechanism-stat:nth-child(4) { transition-delay: 0.44s; }
  .mechanism-stat .stat-figure::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    margin-top: 10px;
    background: var(--lime);
    transition: width 0.7s var(--ease-out) 0.55s;
  }
  .mechanism .reveal.in .mechanism-stat .stat-figure::after { width: 28px; }

  /* --- Card spotlight: a violet hairline hotspot tracks the cursor along
     the card's frame (no lift, no transform — coords set by app.js).
     NOTE: must not put `transition: transform` on .loop-card — it would
     override its .reveal-stagger transition (same specificity, later file). --- */
  .price-card::after, .loop-card::after, .brief-mock::after {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    pointer-events: none;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
                var(--violet) 0%, rgba(91, 43, 255, 0.45) 38%, transparent 72%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
  }
  .price-card:hover::after, .loop-card:hover::after, .brief-mock:hover::after { opacity: 1; }

  /* --- Dot journey: the lime period travels the page with the scroll,
     hopping from one heading's period (or lime highlight) to the next.
     Injected + driven by app.js; the real periods are ghosted while the
     traveler carries "the" dot. Square cell — echoes the grid motif. --- */
  .has-dot-journey .dot-anchor { opacity: 0.22; transition: opacity 0.25s var(--ease-out); }
  /* While the traveler sits on a period, its ghost vanishes entirely —
     the traveler IS the period (no grey rim peeking out behind it). */
  .has-dot-journey .dot-anchor.dot-lit { opacity: 0; }
  .dot-traveler {
    /* Absolute in PAGE space (not fixed): a landed dot scrolls natively
       with the text, so mobile compositor scrolling can't make it jitter.
       The visible disc is the ::before, so its arrival bounce can't fight
       the JS-driven translate on this shell. */
    position: absolute;
    top: 0; left: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    z-index: 90; /* under the fixed nav (100) */
    pointer-events: none;
    will-change: transform;
  }
  .dot-traveler::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lime);
    border-radius: 50%; /* a circle — reads exactly like the period glyph */
  }
  .dot-traveler::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2.5px solid var(--lime);
    border-radius: 50%;
    opacity: 0;
  }
  /* Arrival pop: disc bounces, ring bursts, glow flashes — all restart
     together when app.js re-adds .ping on each landing. */
  .dot-traveler.ping          { animation: dot-flash 0.5s var(--ease-out); }
  .dot-traveler.ping::before  { animation: dot-pop 0.45s var(--ease-out); }
  .dot-traveler.ping::after   { animation: dot-ping 0.6s var(--ease-out); }
  @keyframes dot-pop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.55); }
    100% { transform: scale(1); }
  }
  @keyframes dot-ping {
    0%   { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
  }
  @keyframes dot-flash {
    0%   { box-shadow: 0 0 0 rgba(200, 255, 61, 0.9); }
    30%  { box-shadow: 0 0 24px rgba(200, 255, 61, 0.85); }
    100% { box-shadow: 0 0 0 rgba(200, 255, 61, 0); }
  }

  /* --- Hero: a single grid cell wanders the 80px grid (injected by app.js) --- */
  .grid-wander {
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 80px;
    background: var(--violet);
    opacity: 0.07;
    pointer-events: none;
    transition: transform 1.1s var(--ease-in-out), background 1.1s var(--ease-in-out), opacity 1.1s var(--ease-in-out);
    will-change: transform;
  }
  .grid-wander.lime { background: var(--lime); opacity: 0.18; }

  /* --- Loop cards: idle auto-cycle (driven by app.js) --- */
  .loop-card.cycle {
    box-shadow: inset 0 0 0 1px var(--violet);
  }
  .loop-card.cycle .step-num { color: var(--violet); }

  /* --- Compare table: row highlight --- */
  .compare-table tbody tr td { transition: background 0.2s var(--ease-out); }
  .compare-table tbody tr:hover td { background: rgba(91,43,255,0.035); }

  /* --- Nav links: underline sweep --- */
  .nav-links a:not(.nav-cta) {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: color 0.2s var(--ease-out), background-size 0.3s var(--ease-out);
  }
  .nav-links a:not(.nav-cta):hover { background-size: 100% 1px; }

  /* --- Apply section: grid overlay drifts slowly --- */
  .apply-grid-overlay { animation: grid-drift 60s linear infinite; }
  @keyframes grid-drift { to { background-position: 80px 80px; } }

  /* --- Buttons: arrow nudge via padding shift --- */
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }
}

/* Ticker is decorative — remove it entirely for reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
  .ticker { display: none; }
}

/* ============================================================
   13. STANDALONE PAGES — legal / contact / about / 404
   Shared chrome (nav + footer) is identical to the marketing pages;
   these styles cover only the page-specific bodies.
   ============================================================ */

/* Shared page header band (clears the fixed nav) */
.page-head {
  padding: clamp(128px, 17vh, 180px) clamp(24px, 4vw, 80px) clamp(48px, 7vh, 72px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head .ph-inner { max-width: 1400px; margin: 0 auto; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(40px, 6.5vw, 82px);
  margin: 0;
  max-width: 18ch;
  color: var(--ink);
}
.page-meta {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

/* Long-form legal / prose column */
.legal-body { padding: clamp(48px, 7vh, 72px) clamp(24px, 4vw, 80px) clamp(72px, 11vh, 112px); }
.legal-col { max-width: 760px; margin: 0 auto; }
.legal-col h2 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-col h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-col h2 .legal-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--violet);
  margin-right: 12px;
}
.legal-col h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.legal-col p, .legal-col li { font-size: 16px; line-height: 1.72; color: var(--slate); }
.legal-col p { margin: 0 0 18px; }
.legal-col ul, .legal-col ol { margin: 0 0 18px; padding-left: 22px; }
.legal-col li { margin-bottom: 9px; }
.legal-col li::marker { color: var(--violet); }
.legal-col a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.legal-col strong { color: var(--ink); font-weight: 650; }
.legal-col .lead { font-size: 18px; line-height: 1.65; color: var(--ink); margin-bottom: 32px; }

/* Contact */
.contact-body { padding: clamp(56px, 8vh, 88px) clamp(24px, 4vw, 80px) clamp(72px, 11vh, 112px); }
.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.contact-card.primary { background: var(--ink); border-color: var(--ink); }
.contact-card .cc-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
  margin: 0 0 16px;
}
.contact-card.primary .cc-eyebrow { color: var(--violet-bright); }
.contact-card h2 { font-family: var(--font-sans); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
.contact-card.primary h2 { color: var(--paper); }
.contact-card p { font-size: 15.5px; line-height: 1.6; color: var(--slate); margin: 0 0 28px; max-width: 38ch; }
.contact-card.primary p { color: rgba(250,250,252,0.7); }
.contact-card .cc-spacer { flex: 1; }
.contact-card .cc-mail {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.2s var(--ease-out);
}
.contact-card .cc-mail:hover { border-bottom-color: var(--violet); }
.contact-card .cc-note { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fog); }

/* 404 */
.error-body {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(140px, 20vh, 200px) 24px clamp(80px, 12vh, 120px);
}
.error-code {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(96px, 20vw, 220px);
  color: var(--ink);
  margin: 0;
}
.error-body h1 { font-family: var(--font-sans); font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 24px 0 12px; color: var(--ink); }
.error-body p { font-size: 17px; color: var(--slate); margin: 0 0 32px; max-width: 44ch; }

/* About — principles grid + lead */
.about-lead { padding: clamp(48px, 7vh, 72px) clamp(24px, 4vw, 80px) 0; }
.about-lead .al-inner { max-width: 820px; margin: 0 auto; }
.about-lead p { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; color: var(--ink); margin: 0 0 24px; }
.about-lead p .inline-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.about-principles { padding: clamp(48px, 7vh, 72px) clamp(24px, 4vw, 80px); }
.about-principles .ap-inner { max-width: 1100px; margin: 0 auto; }
.about-principles .ap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-principle { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 28px 40px; }
.about-principle .ap-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--violet); }
.about-principle h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 14px 0 10px; color: var(--ink); }
.about-principle p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0; }

/* Shared closing CTA band (about / contact / 404) */
.mini-cta {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 10vh, 104px) clamp(24px, 4vw, 80px);
  text-align: center;
}
.mini-cta h2 { font-family: var(--font-sans); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 24px; color: var(--ink); }
.mini-cta .mc-sub { font-size: 17px; color: var(--slate); margin: 0 auto 32px; max-width: 46ch; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-principles .ap-grid { grid-template-columns: 1fr; }
}
