/* =============================================================================
   Growth Coach — landing page v2 (copy rev "Landing Page Copy v1", Jill Wise)
   -----------------------------------------------------------------------------
   Aesthetic: Studio Press × Stripe. White substrate, persimmon accent,
   Sunrise gradient as a sparing marquee behind the hero only. Editorial serif
   headlines (Fraunces) on grotesk UI chrome (Geist), mono kickers.
   Borders, never shadows.

   Structural difference from v1 (`landing.css`): no scroll-jacking. v1 was a
   six-scene pinned narrative with per-scene scroll scrubbing and a goal picker
   that switched `.for-sales / .for-leads / .for-audience` variants. Both are
   retired here — the v1 copy was written for that machinery, this copy is a
   conventional sectioned page. JS now only sets a `.is-in` class for a gentle
   fade-up; nothing is pinned and nothing is parallaxed.

   Section order follows the copy document exactly:
     1  Hero            — headline, subhead, three pillars, close + CTA
     2  Problem         — "Data is cool, but then what do you do with it?"
     3  Gap             — "Fix the gap between marketing and sales"
     4  How it works    — 3 steps, each with a reserved product-shot slot
     5  Audience        — 3 personas + enterprise
     6  Comparison      — "You already have the tools" (visual, not a <table>)
     7  Waitlist        — name / email / business URL
   ============================================================================= */

:root {
  --paper:        #FFFFFF;
  --paper-warm:   #FAFAF7;
  --paper-veil:   #F5F4EE;

  --ink:          #0A0A0B;
  --ink-soft:     #3D3D42;
  --ink-faded:    #6B6B72;
  --ink-ghost:    #A4A4AB;

  --persimmon:      #E55A3C;
  --persimmon-deep: #C04421;
  --persimmon-soft: #FCEBE3;
  --persimmon-glow: rgba(229, 90, 60, 0.18);

  --copper:       #B5713B;
  --success:      #2E7A5A;
  --warning:      #C99A2E;
  --info:         #2D4159;

  --rule:         rgba(10, 10, 11, 0.08);
  --rule-strong:  rgba(10, 10, 11, 0.16);
  --rule-soft:    rgba(10, 10, 11, 0.04);

  --gradient-sunrise: linear-gradient(135deg, #E55A3C 0%, #F39C5C 38%, #F5C792 70%, #FAEFE0 100%);

  --font-display: 'Fraunces', 'GT Sectra', Georgia, serif;
  --font-body:    'Geist', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    140ms;
  --t-base:    280ms;
  --t-reveal:  640ms;

  --col-max:    1180px;
  --col-narrow: 760px;

  --section-y:  clamp(88px, 12vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;          /* clear the fixed topbar on #waitlist */
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--persimmon-deep); }

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

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

.container {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container-narrow {
  max-width: var(--col-narrow);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ── Shared type ─────────────────────────────────────────────────────── */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--persimmon);
  margin-bottom: 22px;
  display: inline-block;
}

/* Section headline — the copy doc's Heading2 level. */
.h-section {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 20ch;
}
.h-section em { font-style: italic; font-weight: 500; }
/* The audience section's headline is a full sentence, not a phrase — it needs
   a wider measure or it stacks into a narrow ladder. */
.h-section-wide { max-width: 34ch; }

.body-lg {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 68ch;
}
.body-lg + .body-lg { margin-top: 20px; }
.body-lg strong { font-weight: 600; color: var(--ink); }

/* ── Reveal on scroll ────────────────────────────────────────────────── */
/* Deliberately restrained: opacity + 14px lift, no translate on the X axis,
   no scale, no scroll-linked scrubbing. Falls back to fully-visible if JS
   never runs (the `.reveal` class only dims once `js-on` is set on <html>). */
.js-on .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-reveal) var(--ease-out),
              transform var(--t-reveal) var(--ease-out);
}
.js-on .reveal.is-in { opacity: 1; transform: none; }

/* ── Brand mark ──────────────────────────────────────────────────────── */
.brand {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: baseline;
  user-select: none;
  line-height: 1;
}
.brand .brand-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--persimmon);
  margin: 0 4px;
  position: relative; top: -1px;
}

/* ── Top bar ─────────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 60px;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              backdrop-filter var(--t-base) var(--ease-out);
}
.topbar.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topbar-inner {
  width: 100%;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-actions { display: flex; align-items: center; }
.topbar-signin {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background var(--t-fast);
}
.topbar-signin:hover { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.topbar-signup {
  font-size: 14px; font-weight: 500;
  color: var(--paper);
  background: var(--persimmon);
  padding: 8px 14px;
  border-radius: 6px;
  margin-left: 6px;
  transition: background var(--t-fast);
}
.topbar-signup:hover { background: var(--persimmon-deep); color: var(--paper); }
.topbar-signup:focus-visible { outline: 2px solid var(--persimmon-deep); outline-offset: 2px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  border: 1px solid var(--persimmon);
  background: var(--persimmon);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:hover { background: var(--persimmon-deep); border-color: var(--persimmon-deep); color: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--persimmon-deep); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* =============================================================================
   1 — HERO
   ============================================================================= */
.hero {
  position: relative;
  padding: clamp(128px, 16vw, 176px) 0 clamp(56px, 7vw, 88px);
  isolation: isolate;
  overflow: hidden;
}
/* Sunrise gradient, used exactly once on the page and only as a wash behind
   the headline — never as a card fill or button background. */
.hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: -1;
  background: var(--gradient-sunrise);
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}
.hero-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 19ch;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; font-weight: 500; }
.hero-sub {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Three pillars — the copy doc's Heading4 + body trio. */
.pillars {
  margin-top: clamp(52px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.pillar {
  padding: 32px 30px 8px 0;
  border-right: 1px solid var(--rule);
}
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar:not(:first-child) { padding-left: 30px; }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--persimmon);
  display: block;
  margin-bottom: 14px;
}
.pillar-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-faded);
}

/* Closing line + primary CTA. */
.hero-close {
  margin-top: clamp(52px, 7vw, 76px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-close-line {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 26ch;
}
.hero-close-line em {
  font-style: italic;
  color: var(--persimmon-deep);
}
.hero-cta { flex: 0 0 auto; }
.hero-cta-fine {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faded);
}

/* =============================================================================
   2 — PROBLEM  ("Data is cool, but then what do you do with it?")
   ============================================================================= */
.problem {
  padding: var(--section-y) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.problem-head { margin-bottom: 40px; }
.problem-body { max-width: 70ch; }

/* The "context + analytics + analyst = clarity" formula. Rendered as chips so
   it reads as a visual device rather than a runaway sentence. */
.formula {
  margin-top: clamp(48px, 6vw, 68px);
  padding-top: clamp(36px, 4vw, 48px);
  border-top: 1px solid var(--rule-strong);
}
.formula-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}
.formula-term {
  flex: 1 1 200px;
  padding: 20px 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.formula-op {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 26px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-ghost);
}
.formula-result {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.formula-eq {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--persimmon);
  flex: 0 0 auto;
}
.formula-out {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--persimmon-deep);
}

/* =============================================================================
   3 — GAP  ("Fix the gap between marketing and sales")
   ============================================================================= */
.gap { padding: var(--section-y) 0; }
.gap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

/* =============================================================================
   4 — HOW IT WORKS  (3 steps, each with a reserved product-shot slot)
   ============================================================================= */
.how {
  padding: var(--section-y) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.how-head { margin-bottom: clamp(52px, 7vw, 84px); }

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 6vw, 68px) 0;
  border-top: 1px solid var(--rule);
}
.step:first-of-type { border-top: 0; padding-top: 0; }
/* Alternate the shot side so the column rhythm doesn't read as a list. */
.step:nth-child(even) .step-words { order: 2; }
.step:nth-child(even) .step-shot  { order: 1; }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--persimmon);
  display: block;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 22ch;
}
.step-body {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Product shots — the three mockups from ticket 30b60571, embedded as
   same-origin iframes and scaled down to act as screenshots.

   Why an iframe and not a PNG: the mockups only exist as HTML, there is no
   headless browser on this box to render them, and a live embed stays crisp at
   any DPR instead of going soft on retina. `landing-v2.js` measures each
   document's real height (same-origin, so contentDocument is readable) and
   sizes the frame to match, so each shot shows in full — nothing here
   hardcodes an aspect ratio that could silently crop when a mockup changes.

   They are inert by construction: pointer-events off, tabindex -1, no scroll.
   A visitor cannot click into or scroll one — it reads as an image. */
.step-shot { min-width: 0; }
.shot-frame {
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}
.shot-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fallback only — JS replaces this with the measured height on load. Keeps
     the slot from collapsing to zero if the script never runs. */
  aspect-ratio: 16 / 10;
}
.shot-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transform-origin: 0 0;
  pointer-events: none;      /* screenshot, not an interactive embed */
}
.shot-img { width: 100%; height: auto; display: block; }
.shot-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ink-ghost);
}

/* =============================================================================
   5 — AUDIENCE
   ============================================================================= */
.audience { padding: var(--section-y) 0; }
.audience-head { margin-bottom: 24px; }
.audience-lede { margin-bottom: clamp(44px, 6vw, 64px); }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.persona {
  background: var(--paper);
  padding: 30px 28px;
}
.persona-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 9px;
}
.persona-name::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--persimmon);
  flex: 0 0 auto;
}
.persona-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-faded);
}

/* Enterprise sits apart — it's a different motion (talk to us), not a fourth
   persona card, so it gets the full width and a tinted substrate. */
.enterprise {
  margin-top: 20px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--paper-veil);
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.enterprise-copy { flex: 1 1 420px; min-width: 0; }
.enterprise-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.enterprise-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.enterprise-cta { flex: 0 0 auto; }

/* =============================================================================
   6 — COMPARISON  (visual component, deliberately not a <table>)
   ============================================================================= */
.compare {
  padding: var(--section-y) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.compare-head { margin-bottom: clamp(44px, 6vw, 64px); }

.matrix {
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}
.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 20px 26px;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.matrix-row:first-child { border-top: 0; }

.matrix-head {
  background: var(--paper-veil);
  padding-top: 14px; padding-bottom: 14px;
}
.matrix-head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faded);
}
.matrix-tool {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.matrix-tool small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-ghost);
  margin-top: 3px;
}
.matrix-gives { font-size: 15.5px; color: var(--ink-soft); }
.matrix-missing { font-size: 15.5px; color: var(--ink-faded); }
.matrix-missing-text {
  display: block;
  position: relative;
  padding-left: 18px;
}
.matrix-missing-text::before {
  content: '\2013';                       /* en dash — "what you don't get" */
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--persimmon);
}
/* Per-cell column labels. Visually hidden on the grid layout rather than
   `display: none` — the visible header row is aria-hidden, so these are the
   only thing giving a screen reader column context, and display:none would
   drop them from the accessibility tree too. They become visible text when
   the grid reflows to stacked cards under 720px. */
.matrix-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* The answer row — persimmon-tinted, sits below the matrix as the resolution. */
.matrix-answer {
  margin-top: 20px;
  border: 1px solid var(--persimmon);
  border-radius: 10px;
  background: var(--persimmon-soft);
  padding: 26px 30px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.matrix-answer-brand {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--persimmon-deep);
  flex: 0 0 auto;
}
.matrix-answer-text {
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
  flex: 1 1 320px;
  min-width: 0;
}

/* =============================================================================
   7 — WAITLIST
   ============================================================================= */
.waitlist {
  padding: var(--section-y) 0;
  text-align: center;
}
.waitlist .h-section {
  max-width: none;
  margin: 0 auto 18px;
}
.waitlist-lede {
  font-size: clamp(16.5px, 1.35vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 auto clamp(36px, 5vw, 48px);
}

.signup {
  max-width: 560px;
  margin: 0 auto 16px;
  text-align: left;
}
.signup-field + .signup-field { margin-top: 14px; }
.signup-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 7px;
}
.signup-label .opt {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-ghost);
}
.signup-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.signup-input::placeholder { color: var(--ink-ghost); }
.signup-input:focus {
  border-color: var(--persimmon);
  box-shadow: 0 0 0 3px var(--persimmon-soft);
}
.signup-input:invalid:not(:placeholder-shown) { border-color: var(--warning); }
.signup-actions { margin-top: 22px; }
.signup-btn { width: 100%; }

/* Honeypot. Must stay named `website` — the API treats a non-empty `website`
   as a bot and silently drops the whole submission. If a visible business-URL
   field is ever added here, it must be named `business_url`, never `website`. */
.signup-hp {
  position: absolute;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Status line for the waitlist form. Ships with no text, so collapse the
   margin until JS writes a message into it — otherwise the empty element
   leaves a 14px gap above the "already have an invite code?" line. */
.signup-fine {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-faded);
  text-align: center;
  margin-top: 14px;
}
.signup-fine:empty { margin-top: 0; }
.signup-invited {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-faded);
  text-align: center;
}
.signup-invited a {
  color: var(--persimmon-deep);
  font-weight: 500;
  border-bottom: 1px solid var(--persimmon-glow);
}
.signup-invited a:hover { border-bottom-color: var(--persimmon-deep); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 0 0 40px;
  position: relative;
}
.footer-strip {
  height: 3px;
  width: 100%;
  background: var(--gradient-sunrise);
  margin-bottom: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-faded);
  max-width: 44ch;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--persimmon-deep); }
.footer-bottom {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 26px 0;
  }
  .pillar:not(:first-child) { padding-left: 0; }
  .pillar:last-child { border-bottom: 0; }

  .gap-grid { grid-template-columns: 1fr; }

  .step { grid-template-columns: 1fr; gap: 28px; }
  /* Shot always follows its words once stacked — alternating order only makes
     sense side-by-side. */
  .step:nth-child(even) .step-words { order: 0; }
  .step:nth-child(even) .step-shot  { order: 0; }

  .persona-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .hero { padding-top: 108px; }
  .hero-close { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-cta, .hero-cta .btn { width: 100%; }

  .formula-row { flex-direction: column; }
  .formula-op { width: 100%; height: 22px; }

  /* The matrix reflows from a 3-column grid to labelled stacked cards. The
     column headers are meaningless once stacked, so they're dropped and each
     cell carries its own label instead. */
  .matrix-head { display: none; }
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 20px;
  }
  .matrix-label {
    position: static;
    width: auto; height: auto;
    margin: 0 0 3px; padding: 0;
    overflow: visible; clip: auto;
    white-space: normal;
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-ghost);
  }
  /* The dash marker is redundant once each cell is labelled. */
  .matrix-missing-text { padding-left: 0; }
  .matrix-missing-text::before { content: none; }

  .enterprise { flex-direction: column; align-items: flex-start; }
  .enterprise-cta, .enterprise-cta .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; align-items: flex-start; }
  .footer-nav { gap: 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-on .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
