/* nchurn landing page.
   Visual system: ../style.md (light, Cloudflare-style). Copy: ../landing-copy.md. Rules: ../landing-page-rules.md.
   Every animated start state is gated behind .js, so the page reads fine without JavaScript. */

/* ---------- Tokens ---------- */
:root {
  --bg-100: #FFFBF5;
  --bg-200: #FAF4EE;
  --bg-300: #F0E3DE;
  --bg-content: #FFFFFF;

  --fg-100: #151414;
  --fg-200: #2A2927;
  --fg-secondary: #6B6461;
  --fg-tertiary: #9A9390;

  --line: rgba(21, 20, 20, 0.125);
  --line-strong: rgba(21, 20, 20, 0.3);
  --dots: rgba(21, 20, 20, 0.1);

  --accent: #FF5E1F;
  --accent-hover: #FF7038;
  --accent-text: #D63C01;
  --accent-tint: rgba(255, 94, 31, 0.1);
  --accent-line: rgba(255, 94, 31, 0.5);
  --on-accent: #FFFBF5;
  --on-cream-btn: #1F1F1F;

  --danger: #ED1641;
  --danger-tint: rgba(237, 22, 65, 0.1);
  --success: #00BD7D;
  --warning: #E5A800;
  --success-text: #00784F; /* --success is too light for small text on white */

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

  --frame: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg-100);
  color: var(--fg-200);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ol, ul, figure, blockquote, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--fg-100); font-weight: 500; }
button, input { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }

::selection { background: #FFE3D6; color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

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

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.logo-mark { width: 24px; height: 24px; flex: none; }
.logo-mark-sm { width: 18px; height: 18px; }

/* ---------- Small parts ---------- */
.label {
  font: 400 12px/1.33 var(--mono); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--fg-tertiary);
}
.status {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px dashed var(--line); border-radius: 6px; background: var(--bg-100);
  font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-secondary);
}
.ok {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--success-text);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em;
}
.node {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
}
.node .icon { width: 18px; height: 18px; }

.caret {
  display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em;
  background: currentColor; opacity: 0;
}
.is-typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9999px;
  font: 500 16px/24px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.1s, color 0.1s, border-color 0.1s;
}
.btn-lg { padding: 12px 24px; }
.btn-sm { padding: 6px 14px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-cream { background: #FFFBF5; border-color: #FFFBF5; color: var(--on-cream-btn); }
.btn-cream:hover { background: #FFFFFF; border-color: #FFFFFF; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg-100); }
.btn-ghost:hover { background: var(--bg-300); }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn .icon { transition: transform 0.2s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 9999px; background: transparent; color: var(--fg-100);
  cursor: pointer; transition: background-color 0.1s;
}
.btn-icon:hover { background: var(--bg-300); }
.btn-icon:hover .icon { transform: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: var(--bg-100); }
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0 / 32px 1px;
}
.nav-inner {
  width: min(var(--frame), 100% - 2 * var(--gutter)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px; color: var(--fg-100);
  font: 500 18px/1 var(--sans); letter-spacing: -0.01em;
}
/* The nav CTA only shows while neither on-page CTA is on screen (same action, one button visible at a time). */
.nav-cta {
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.1s, border-color 0.1s;
}
.nav.show-cta .nav-cta { opacity: 1; visibility: visible; transform: none; }
.nav-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Headings: words rise in (main.js wraps each word) ---------- */
.split .w { display: inline-block; }
.js .split .w {
  opacity: 0; transform: translateY(0.45em);
  transition: opacity 0.5s ease-out, transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms + var(--split-delay, 0ms));
}
.js .split.is-in .w, .js .is-in > .split .w { opacity: 1; transform: none; }

/* ---------- Orange panels (hero + final CTA) ---------- */
.hero, .cta-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; margin: 8px; border-radius: 16px;
  background: var(--accent); color: var(--on-accent); text-align: center;
  box-shadow: inset 1px 6px 16px rgba(255, 255, 255, 0.08), 0 2px 12px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
}
.hero::before, .cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 251, 245, 0.16) 1px, transparent 1.4px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.hero :focus-visible, .cta-panel :focus-visible { outline-color: #FFFBF5; }

.hero {
  min-height: clamp(560px, calc(100svh - var(--nav-h) - 16px), 820px);
  padding: 96px var(--gutter);
}
/* With JS the static texture is replaced by the interactive dot field. */
.js .hero::before { display: none; }
.hero-field {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(85% 85% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(85% 85% at 50% 50%, #000 40%, transparent 100%);
}
.hero-inner { max-width: 1120px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px;
  border: 1px solid rgba(255, 251, 245, 0.32); border-radius: 9999px;
  background: rgba(255, 251, 245, 0.12); box-shadow: inset 0 1px 0 rgba(255, 251, 245, 0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 15px; font-weight: 500; line-height: 24px; letter-spacing: -0.01em;
}
/* Cream badge with a bell that sends out a soft ping, the Slack alert. */
.eyebrow-badge {
  position: relative; display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: #FFFBF5; color: var(--accent-text);
}
.eyebrow-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #FFFBF5;
  animation: ping 2.4s var(--ease-out) infinite;
}
.eyebrow-badge .icon { stroke-width: 2; }
@keyframes going-quiet { 50% { opacity: 0.2; } }
@keyframes ping { 0% { opacity: 0.7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.7); } }
.hero h1 {
  --split-delay: 150ms;
  color: var(--on-accent); font-size: clamp(38px, 4.4vw, 56px); line-height: 0.99; letter-spacing: -0.025em;
  text-wrap: balance;
}
/* The "not after Stripe" half of the headline sits on its own, lighter line. */
.h1-tag { display: block; color: rgba(255, 251, 245, 0.72); }
.lead {
  max-width: 60ch; color: rgba(255, 251, 245, 0.9);
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance;
}
.hero .btn, .cta-panel .btn { margin-top: 8px; }

/* Hero entrance on load. */
.js .hero-inner > :not(h1) { animation: rise-in 0.7s var(--ease-out) backwards; }
.js .hero .eyebrow { animation-delay: 0.05s; }
.js .hero .lead { animation-delay: 0.6s; }
.js .hero .btn { animation-delay: 0.75s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Blueprint frame ---------- */
.frame-wrap {
  background-color: var(--bg-100);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px);
  background-size: 10px 10px;
}
.frame {
  position: relative; width: min(var(--frame), 100% - 2 * var(--gutter)); margin: 0 auto;
  padding-bottom: 120px; background: var(--bg-100);
}
.frame::before, .frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 3; width: 1px; pointer-events: none;
  background: linear-gradient(var(--line) 50%, transparent 0) 0 0 / 1px 32px;
}
.frame::before { left: 0; }
.frame::after { right: 0; }

.section { padding-top: 120px; }
.section-head { display: grid; justify-items: center; gap: 16px; padding: 0 var(--gutter); text-align: center; }
.section-head h2 {
  max-width: 20em; font-size: clamp(32px, 2.4vw + 18px, 48px); line-height: 1.02; letter-spacing: -0.025em;
  text-wrap: balance;
}
.sub { max-width: 80ch; color: var(--fg-secondary); font-size: 16px; line-height: 1.5; text-wrap: balance; }

.block { position: relative; margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Square markers where hairlines meet (placed by main.js). */
.joint {
  position: absolute; z-index: 4; width: 10px; height: 10px; pointer-events: none;
  border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg-100);
  transform: translate(-50%, -50%);
}
/* A progress line that runs along the block's top hairline while a sequence plays. */
.seq-bar { position: absolute; left: 0; right: 0; top: -1.5px; z-index: 3; height: 2px; pointer-events: none; }
.seq-bar::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform 0.7s var(--ease-out);
}

/* Cells: zero-gap grid, hairlines come from the 1px gap showing the grid background. */
.grid { display: grid; gap: 1px; background: var(--line); }
.grid > * { min-width: 0; background: var(--bg-100); }
/* A soft glow that follows the pointer inside a cell (main.js sets --mx/--my). */
.grid > .spot {
  background: radial-gradient(280px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 94, 31, 0.07), transparent 65%), var(--bg-100);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell-wide { grid-column: 1 / -1; }
.cell { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.cell h3 { font-size: 18px; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.cell-text p { max-width: 44ch; margin-top: 8px; color: var(--fg-secondary); font-size: 14px; line-height: 1.45; }
/* Grows to fill the cell; the text under it gets a fixed floor so headings line up across a row. */
.vignette { flex: 1; display: grid; place-items: center; min-height: 168px; }
@media (min-width: 861px) { .vignette + .cell-text { min-height: 116px; } }

/* ---------- Cards used inside vignettes ---------- */
.card {
  width: 100%; max-width: 320px; padding: 14px 16px; text-align: left;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-content);
  font-size: 14px; line-height: 1.45;
}
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { margin-top: 8px; color: var(--fg-100); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.card-meta { margin-top: 2px; color: var(--fg-secondary); }

/* ---------- 2. They go quiet: dot-matrix chart you can scrub ---------- */
.chart { padding: 32px; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 40px; }
.chart-hint { display: none; }
@media (hover: hover) { .chart-hint { display: inline; } .chart-canvas { cursor: crosshair; } }
.chart-plot { position: relative; }
.chart-canvas { position: relative; height: clamp(200px, 24vw, 300px); touch-action: pan-y; }
.chart-canvas canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
  mask-image: linear-gradient(to top, #000 55%, transparent);
}
.zone {
  position: absolute; left: var(--zone-left, 58.33%); width: var(--zone-width, 33.34%); top: 38%; bottom: 0;
  border: 1px dashed var(--accent-line); background: var(--accent-tint);
}
.end-line { position: absolute; left: var(--end-x, 95.6%); top: 72px; bottom: 0; border-left: 1px dashed var(--accent-line); }
.end-line .node { position: absolute; left: 0; bottom: 0; width: 30px; height: 30px; transform: translate(-50%, 50%); }
.end-line .node .icon { width: 14px; height: 14px; }
.end-line.is-in .node::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: 50%;
  animation: ring 2.4s ease-out 1.4s infinite;
}
.scrub {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 0;
  border-left: 1px solid var(--fg-100); opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.scrub.is-on { opacity: 1; }
.scrub.is-silent { border-left-color: var(--accent); }
.scrub-tip {
  position: absolute; top: 28%; left: 0; transform: translateX(-50%);
  padding: 6px 10px; border-radius: 6px; background: var(--fg-100); color: var(--bg-100);
  font: 400 12px/1 var(--mono); letter-spacing: 0.02em; white-space: nowrap;
}
.scrub.is-silent .scrub-tip { background: var(--accent-text); }
.scrub.is-left .scrub-tip { left: 8px; transform: none; }
.scrub.is-right .scrub-tip { left: -8px; transform: translateX(-100%); }
.chart-notes { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute; max-width: 240px; padding: 12px 16px;
  border: 1px dashed var(--accent-line); background: var(--accent-tint);
  color: var(--accent-text); font-size: 14px; line-height: 1.4;
}
.callout strong { display: block; font-weight: 500; }
.callout::before, .callout::after, .zone::before, .zone::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1.5px solid var(--accent);
}
.callout::before, .zone::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.callout::after, .zone::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.note-a { left: 0; top: 0; }
.note-b { left: calc(var(--zone-left, 58.33%) + 8px); top: calc(38% + 8px); border: 0; background: none; }
.note-b::before, .note-b::after { display: none; }
.note-c { right: calc(100% - var(--end-x, 95.6%)); top: 0; text-align: right; }
.chart-axis {
  display: flex; justify-content: space-between; margin-top: 16px; color: var(--fg-secondary);
  font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- 3. The signs were there ---------- */
.sign {
  flex: 1; align-content: start; width: 100%; display: grid; gap: 10px; padding: 18px;
  border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--bg-content);
  transition: border-color 0.2s, background-color 0.2s;
}
.sign .label { color: var(--accent-text); }
.excuse { display: grid; gap: 6px; }
.excuse-text { color: var(--fg-secondary); font-size: 16px; }
/* Once the signs are on screen they link up, one after another, and stay linked (main.js adds .is-linked). */
.signs .sign { position: relative; }
.signs.is-linked .sign { border-color: var(--accent); background: #FFF8F3; }
.signs.is-linked > .cell:nth-child(2) .sign { transition-delay: 0.45s; }
.signs.is-linked > .cell:nth-child(3) .sign { transition-delay: 0.9s; }
@media (min-width: 861px) {
  .signs > .cell:nth-child(-n + 2) .sign::after {
    content: ""; position: absolute; left: 100%; top: 50%; z-index: 2; width: 65px;
    border-top: 1px dashed var(--accent); transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 0.45s var(--ease-out);
  }
  .signs.is-linked > .cell:nth-child(1) .sign::after { transform: none; transition-delay: 0.2s; }
  .signs.is-linked > .cell:nth-child(2) .sign::after { transform: none; transition-delay: 0.65s; }
}
.grid > .quote { display: grid; justify-items: center; gap: 20px; padding: 64px 32px; background: var(--bg-200); text-align: center; }
.quote blockquote p {
  max-width: 26ch; color: var(--fg-100); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance;
}
.quote-accent { color: var(--accent-text); }
.quote figcaption { color: var(--fg-secondary); font-size: 14px; }

/* ---------- 4. Health bar -> reasons -> Slack ping ---------- */
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.3); opacity: 0; } }
.grid > .flow {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: start; gap: 12px; padding: 48px 32px 56px; background: var(--bg-200);
}
.flow-step { display: grid; gap: 10px; }
.flow-label { color: var(--accent-text); }
.flow .card { max-width: none; }
.flow-arrow { align-self: center; width: 40px; height: 12px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow path { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--ease-out); }

/* Health bar: colour and width follow data-level / --w (main.js lowers them as reasons arrive). */
.health { --hc: var(--accent); --ht: var(--accent-text); --hb: var(--accent-tint); }
.health[data-level="healthy"] { --hc: var(--success); --ht: var(--success-text); --hb: rgba(0, 189, 125, 0.12); }
.health[data-level="slipping"] { --hc: var(--warning); --ht: #8A6500; --hb: rgba(229, 168, 0, 0.16); }
.health-state {
  padding: 3px 8px; border-radius: 9999px; background: var(--hb); color: var(--ht);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.health-bar { height: 8px; margin: 14px 0 10px; overflow: hidden; border-radius: 9999px; background: var(--bg-300); }
.health-bar span {
  display: block; width: var(--w, 18%); height: 100%; border-radius: inherit; background: var(--hc);
  transition: width 0.7s var(--ease-out), background-color 0.4s;
}
.reasons { display: grid; gap: 10px; min-height: 132px; align-content: center; }
.reasons li { display: flex; align-items: flex-start; gap: 8px; color: var(--fg-200); }
.reasons .icon { margin-top: 1px; color: var(--accent-text); }
.slack-top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.slack-msg { display: flex; gap: 10px; margin-top: 12px; }
.slack-avatar { width: 32px; height: 32px; }
.slack-body { min-width: 0; }
.slack-meta { display: flex; align-items: center; gap: 6px; color: var(--fg-100); }
.slack-meta strong { font-weight: 500; }
.slack-app {
  padding: 1px 4px; border-radius: 3px; background: var(--bg-300); color: var(--fg-secondary);
  font: 400 10px/1.4 var(--mono); text-transform: uppercase;
}
.slack-text { margin-top: 4px; color: var(--fg-secondary); }
.slack-text strong { color: var(--fg-100); font-weight: 500; }
.slack-list { display: grid; gap: 2px; margin-top: 6px; padding-left: 18px; list-style: disc; color: var(--fg-secondary); }
.slack-list li::marker { color: var(--accent); }
.flow.is-pinged .slack { animation: ping 0.9s var(--ease-out); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 94, 31, 0.45); }
  100% { box-shadow: 0 0 0 14px rgba(255, 94, 31, 0); }
}
.js .flow-arrow path { stroke-dashoffset: 60; }
.js .flow.is-reasoning .flow-arrow-1 path, .js .flow.is-pinged .flow-arrow-2 path { stroke-dashoffset: 0; }
.js .flow .reasons li { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease-out, transform 0.45s var(--ease-out); }
.js .flow .reasons li.is-in { opacity: 1; transform: none; }
.js .flow .slack { opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 0.35s ease-out, transform 0.55s var(--ease-pop); }
.js .flow.is-pinged .slack { opacity: 1; transform: none; }

/* ---------- 5. Setup ---------- */
/* The four cards use the same parts as the flow cards above: mono header over a hairline, small chips, 14px rows. */
.steps .cell { justify-content: space-between; }
.step-num { display: block; margin-bottom: 12px; color: var(--accent-text); font: 400 12px/1 var(--mono); letter-spacing: 0.04em; }
.setup-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chip-ok {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 9999px;
  background: rgba(0, 189, 125, 0.12); color: var(--success-text);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.chip-ok .icon { width: 12px; height: 12px; }

/* 01 Snippet: just the script, typed in. The code keeps its full height so the card doesn't grow while typing. */
.snippet-code {
  margin: 0; overflow-x: auto;
  color: var(--fg-200); font: 400 11px/1.7 var(--mono); white-space: pre;
}
.snippet-code code { display: block; min-height: calc(7 * 1.7em); }
.snippet .t { color: var(--fg-secondary); }
.snippet .s { color: var(--accent-text); }

/* 02 Stripe: the key is pasted, then what it can and can't do. */
.field-row {
  display: flex; align-items: center; min-height: 38px; margin-top: 12px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-100); font: 400 13px/1 var(--mono);
}
.field-caret { display: none; }
.js [data-setup] .setup-field:not(.is-pasted) .field-caret { display: inline-block; opacity: 1; animation: blink 1s steps(1) infinite; }
.js [data-setup] .field-value { opacity: 0; }
.js [data-setup] .setup-field.is-pasted .field-value { opacity: 1; animation: paste-flash 0.9s ease-out; }
@keyframes paste-flash { from { background: #FFE3D6; } to { background: transparent; } }
.perms { display: grid; margin-top: 10px; font-size: 13px; line-height: 1.3; }
.perms li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--fg-secondary); }
.perms li + li { border-top: 1px dashed var(--line); }
.perms strong { color: var(--fg-100); font-weight: 500; }
.perm-icon {
  display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(0, 189, 125, 0.12); color: var(--success-text);
}
.perm-icon .icon { width: 12px; height: 12px; stroke-width: 2; }
.perms .is-denied .perm-icon { background: var(--danger-tint); color: var(--danger); }
.js [data-setup] .setup-field .chip-ok { opacity: 0; transform: translateX(-4px); transition: opacity 0.25s, transform 0.4s var(--ease-pop); }
.js [data-setup] .setup-field.is-checked .chip-ok { opacity: 1; transform: none; }
.js [data-setup] .perms li { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease-out, transform 0.45s var(--ease-out); }
.js [data-setup] .setup-field.is-pasted .perms li { opacity: 1; transform: none; transition-delay: calc(100ms + var(--i) * 150ms); }

/* 03 Slack: the highlight walks down to #churn-alerts, it's picked, nchurn joins. */
.ws-channels { display: grid; gap: 2px; margin-top: 8px; font: 400 13px/1 var(--mono); }
.ws-channels li {
  display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 6px;
  color: var(--fg-secondary); transition: background-color 0.15s, color 0.15s;
}
.ws-channels .icon { opacity: 0; }
.ws-channels li.is-hover { background: var(--bg-200); color: var(--fg-100); }
.ws-channels li.is-picked { background: var(--accent-tint); color: var(--accent-text); }
.ws-channels li.is-picked .icon { opacity: 1; }
.ws-channels li.is-picked.is-tapped { animation: tap 0.45s var(--ease-pop); }
.ws-joined { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--fg-secondary); font-size: 13px; }
.ws-joined strong { color: var(--fg-100); font-weight: 500; }
.js [data-setup] .ws .ws-joined { opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease-out, transform 0.45s var(--ease-pop); }
.js [data-setup] .ws.is-checked .ws-joined { opacity: 1; transform: none; }

/* 04 Questions: one at a time, stacked in the same spot so the card keeps its height. */
.quiz-dots { display: inline-flex; gap: 4px; }
.quiz-dots button {
  position: relative; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 9999px; background: var(--line-strong); cursor: pointer;
  transition: width 0.3s var(--ease-out), background-color 0.2s;
}
.quiz-dots button::before { content: ""; position: absolute; inset: -9px -2px; } /* a bigger hit area than the 6px dot */
.quiz-dots button[aria-current="true"] { width: 16px; background: var(--accent); }
.quiz-stack { display: grid; margin-top: 12px; }
.quiz-q { grid-area: 1 / 1; transition: opacity 0.3s ease-out, transform 0.4s var(--ease-out), visibility 0s; }
.quiz-q:not(.is-active) { opacity: 0; visibility: hidden; transform: translateX(14px); transition-delay: 0s, 0s, 0.4s; }
.quiz-q.is-past { transform: translateX(-14px); }
.q-title { color: var(--fg-100); font-size: 14px; font-weight: 500; line-height: 1.3; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.opts button {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 9999px; background: transparent;
  color: var(--fg-200); font-size: 13px; line-height: 1.2; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.opts button:hover { border-color: var(--line-strong); }
.opts button:active { transform: scale(0.95); }
.opts button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.opts button.is-tapped { animation: tap 0.45s var(--ease-pop); }
@keyframes tap { 40% { transform: scale(0.9); } }
.quiz-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--fg-secondary); font-size: 13px; }
.quiz-note .icon { color: var(--accent-text); }
.js [data-setup] .quiz-note:not(.is-shown) span { opacity: 0; }
.quiz-note.is-shown span { animation: rise-in 0.35s var(--ease-out); }

/* ---------- 6. Fit ---------- */
.fit-label { padding: 16px 32px; }
.fit .cell { justify-content: space-between; min-height: 168px; }
.fit .icon { color: var(--accent-text); }
.check-draw path { stroke-dasharray: 24; }
.js .check-draw path { stroke-dashoffset: 24; transition: stroke-dashoffset 0.55s ease-out; transition-delay: calc(var(--delay, 0ms) + 250ms); }
.js .check-draw.is-in path { stroke-dashoffset: 0; }

/* ---------- 7. Final CTA ---------- */
.cta-panel { min-height: 520px; padding: 112px var(--gutter); }
.cta-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at calc(50% + var(--px, 0) * 40%) 100%, rgba(255, 230, 180, 0.22), transparent 70%);
}
.cta-inner { max-width: 760px; display: grid; justify-items: center; gap: 20px; }
.cta-inner h2 { color: var(--on-accent); font-size: clamp(36px, 4vw, 56px); line-height: 0.99; letter-spacing: -0.025em; }
/* The founder's pain as a statement, then the offer with its two key facts highlighted. */
.cta-copy { display: grid; justify-items: center; gap: 10px; max-width: 62ch; }
.cta-lead {
  color: var(--on-accent); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500;
  line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance;
}
.cta-offer { color: rgba(255, 251, 245, 0.85); font-size: 16px; line-height: 1.6; text-wrap: balance; }
/* A highlighter stroke across the lower half of the words, so they stay part of the sentence. */
.cta-offer mark {
  margin: 0 -2px; padding: 0 2px; color: var(--on-accent); font-weight: 500;
  background: linear-gradient(transparent 58%, rgba(255, 251, 245, 0.3) 58%, rgba(255, 251, 245, 0.3) 92%, transparent 92%) no-repeat left / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Like a highlighter: each mark sweeps in left to right once the panel scrolls into view. */
.js .cta-offer mark { background-size: 0% 100%; transition: background-size 0.7s var(--ease-out) 0.5s; }
.js .cta-offer mark + mark { transition-delay: 0.85s; }
.js .cta-inner.is-in .cta-offer mark { background-size: 100% 100%; }
/* What early access gets you, right under the button. */
.assurances {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; padding: 0; list-style: none;
  color: #FFFBF5; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.01em;
}
.assurances li {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px;
  border: 1px solid rgba(255, 251, 245, 0.35); border-radius: 9999px; background: rgba(255, 251, 245, 0.1);
}
.tag-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #FFFBF5; color: var(--accent-text); }
.tag-ico .icon { width: 13px; height: 13px; stroke-width: 2.25; }

/* ---------- Footer ---------- */
.footer { padding: 48px var(--gutter) 40px; }
.footer-inner {
  position: relative; width: min(var(--frame), 100%); margin: 0 auto; padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-inner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0 / 32px 1px;
}
.footer-copy { color: var(--fg-secondary); font-size: 14px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-links { display: flex; align-items: center; gap: 12px; color: var(--fg-tertiary); font-size: 14px; }
.footer-links a { color: var(--fg-secondary); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--fg-100); }
.fine a { color: var(--fg-secondary); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.fine a:hover { color: var(--accent-text); text-decoration-color: currentColor; }

/* ---------- Legal pages (/privacy/, /terms/) ---------- */
a.logo { text-decoration: none; }
html:has(.legal) { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
/* Privacy / Terms switch: a pill track, the current page is the filled pill. */
.doc-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9999px; background: var(--bg-200); }
.doc-switch a {
  padding: 5px 14px; border-radius: 9999px; color: var(--fg-secondary); font-size: 14px; font-weight: 500; line-height: 20px;
  text-decoration: none; transition: background-color 0.15s, color 0.15s;
}
.doc-switch a:hover { color: var(--fg-100); }
.doc-switch a[aria-current="page"] { background: var(--bg-content); color: var(--fg-100); box-shadow: 0 0 0 1px var(--line); }

.legal { padding-bottom: 0; }
.legal-head { display: grid; justify-items: center; gap: 20px; padding: 96px var(--gutter) 0; text-align: center; }
.legal-head h1 { font-size: clamp(40px, 3vw + 22px, 64px); line-height: 1; letter-spacing: -0.035em; }
.legal-lead { max-width: 52ch; font-size: 18px; }
.legal .block { margin-top: 64px; }
.legal .block + .block { margin-top: 0; border-top: 0; }

.glance .cell { flex-direction: row; align-items: flex-start; gap: 16px; padding: 28px 32px; }
.glance-ico {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px dashed var(--accent-line); border-radius: 8px; background: var(--accent-tint); color: var(--accent-text);
}
.glance-ico .icon { width: 20px; height: 20px; }
.glance .cell-text p { margin-top: 4px; }

.legal-grid { grid-template-columns: 260px minmax(0, 1fr); }
.legal-toc { padding: 40px 32px; }
.legal-toc-inner { position: sticky; top: calc(var(--nav-h) + 32px); }
.legal-toc ol { margin-top: 16px; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 12px; padding: 8px 12px; margin-left: -12px; border-radius: 6px;
  color: var(--fg-secondary); font-size: 14px; line-height: 20px; text-decoration: none; transition: background-color 0.15s, color 0.15s;
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--fg-tertiary); font: 400 12px/20px var(--mono); }
.legal-toc a:hover { background: var(--bg-200); color: var(--fg-100); }
.legal-toc a:hover::before { color: var(--accent-text); }

.legal-doc { padding: 0 56px; }
.legal-sec { display: grid; gap: 12px; padding: 48px 0; max-width: 68ch; }
.legal-sec + .legal-sec { border-top: 1px dashed var(--line); }
.legal-sec .label { color: var(--accent-text); }
.legal-sec h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.legal-sec p, .legal-sec ul { color: var(--fg-200); line-height: 1.65; text-wrap: pretty; }
.legal-sec ul { display: grid; gap: 10px; padding-left: 20px; list-style: none; }
.legal-sec li { position: relative; }
.legal-sec li::before {
  content: ""; position: absolute; left: -18px; top: 0.72em; width: 6px; height: 6px;
  border-radius: 1.5px; background: var(--accent); transform: translateY(-50%);
}
.legal-sec strong { color: var(--fg-100); font-weight: 500; }
.legal-sec a { color: var(--accent-text); text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.legal-sec a:hover { text-decoration-color: currentColor; }

.legal-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin: 8px 0 56px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-200);
}
.legal-contact h2 { font-size: 20px; letter-spacing: -0.02em; }
.legal-contact p { margin-top: 4px; color: var(--fg-secondary); font-size: 14px; }
/* Email pill: orange icon chip + address + an arrow that slides in on hover. */
.mail-pill {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 6px 18px 6px 6px;
  border: 1px solid var(--line); border-radius: 9999px; background: var(--bg-content);
  color: var(--fg-100); font-weight: 500; text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, padding 0.25s var(--ease-out);
}
.mail-pill-ico {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: transform 0.25s var(--ease-pop);
}
.mail-pill-ico .icon { width: 17px; height: 17px; stroke-width: 1.75; }
.mail-pill-text { min-width: 0; overflow-wrap: anywhere; }
.mail-pill-arrow { width: 0; margin-left: -12px; opacity: 0; color: var(--accent-text); stroke-width: 2; transition: width 0.25s var(--ease-out), margin 0.25s var(--ease-out), opacity 0.2s; }
.mail-pill:hover { border-color: var(--accent-line); background: #FFF8F3; }
.mail-pill:hover .mail-pill-ico { transform: rotate(-8deg) scale(1.06); }
.mail-pill:hover .mail-pill-arrow { width: 18px; margin-left: 0; opacity: 1; }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { padding: 28px var(--gutter); }
  .legal-toc-inner { position: static; }
  .legal-doc { padding: 0 var(--gutter); }
  .legal-head { padding-top: 64px; }
  .glance .cell { padding: 24px; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .mail-pill { width: 100%; }
}

/* ---------- Signup dialog ---------- */
.signup {
  width: min(440px, 100% - 32px); max-height: calc(100svh - 32px); padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-content); color: var(--fg-200);
}
.signup::backdrop { background: rgba(21, 20, 20, 0.4); }
.signup[open] { animation: rise 0.25s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.signup-inner { position: relative; padding: 32px; }
.dialog-close { position: absolute; top: 16px; right: 16px; }
.dialog-title { padding-right: 48px; color: var(--fg-100); font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.dialog-title:focus { outline: none; }
.dialog-text { margin-top: 8px; color: var(--fg-secondary); text-wrap: pretty; }
.signup form { display: grid; gap: 12px; margin-top: 24px; }
.signup form .btn { width: 100%; }
.input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg-100); color: var(--fg-100); font-size: 16px; transition: border-color 0.1s;
}
.input::placeholder { color: var(--fg-tertiary); }
.input:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.form-error { color: var(--danger); font-size: 14px; }
.fine { margin-top: 12px; color: var(--fg-secondary); font-size: 13px; }
.dialog-actions { display: grid; justify-items: start; gap: 4px; margin-top: 24px; }
.done-badge {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
  animation: pop 0.45s var(--ease-pop) both;
}
.done-badge .icon { stroke-width: 2.5; }
.done-badge path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.45s ease-out 0.2s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(0.5); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Seat step: the founding-seat offer sits in its own card under the confirmation. */
.seat-offer {
  display: grid; gap: 4px; margin-top: 24px; padding: 20px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-100);
}
.seat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seat-title { color: var(--fg-100); font-size: 15px; font-weight: 500; line-height: 20px; }
.seat-price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.seat-price strong { color: var(--fg-100); font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.seat-price span { color: var(--fg-secondary); font-size: 14px; }
.seat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 2px; color: var(--fg-tertiary); font-size: 13px; line-height: 18px; }
/* Green pill, the success twin of the orange seats badge. */
.seat-refund {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px;
  border: 1px solid rgba(0, 189, 125, 0.35); border-radius: 9999px; background: rgba(0, 189, 125, 0.1);
  color: var(--success-text); font-size: 12px; font-weight: 500; line-height: 16px;
}
.seat-refund .icon { width: 12px; height: 12px; stroke-width: 2.5; }
.seat-offer .btn { width: 100%; margin-top: 16px; }
.seat-badge {
  display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 3px 9px 3px 7px;
  border: 1px solid var(--line); border-radius: 9999px; background: var(--bg-200);
  color: var(--fg-200); font-size: 12px; font-weight: 500; line-height: 16px;
}
.seat-badge-limit { border-color: var(--accent-line); background: var(--accent-tint); color: var(--accent-text); }
.seat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: going-quiet 2.4s ease-in-out infinite; }
.seat-skip { justify-items: center; margin-top: 12px; }
/* The quiet way out: a soft pill that only fills in on hover. */
.skip-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 9999px;
  background: none; color: var(--fg-secondary); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.skip-btn .icon { stroke-width: 2; transition: transform 0.2s var(--ease-out); }
.skip-btn:hover { background: var(--bg-200); color: var(--fg-100); }
.skip-btn:hover .icon { transform: translateX(2px); }
/* One segment per founding seat; bought seats fill in orange. */
.seat-bar { display: flex; gap: 3px; margin-top: 12px; }
.seat-bar i { flex: 1; height: 6px; border-radius: 2px; background: var(--accent-tint); }
.seat-bar i.is-taken { background: var(--accent); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s ease-out var(--delay, 0ms), transform 0.6s var(--ease-out) var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 861px) and (max-width: 1140px) {
  .steps.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 96px; }
  .grid > .flow { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); margin: 6px 0; }
}
@media (min-width: 600px) and (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .chart-notes { position: static; display: grid; gap: 12px; margin-top: 32px; pointer-events: auto; }
  .chart-notes .callout { position: relative; left: auto; right: auto; top: auto; max-width: none; text-align: left; }
  .note-b { border: 1px dashed var(--accent-line); background: var(--accent-tint); }
  .note-b::before, .note-b::after { display: block; }
  .end-line { top: 0; }
  .scrub-tip { top: 8px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .frame-wrap { background-image: none; }
  .hero, .cta-panel { margin: 4px; border-radius: 12px; }
  .hero { min-height: auto; padding: 72px var(--gutter); }
  .eyebrow { font-size: 14px; line-height: 20px; text-align: left; }
  .eyebrow-badge { width: 24px; height: 24px; }
  .section { padding-top: 80px; }
  .block { margin-top: 40px; }
  .cell, .chart { padding: 24px; }
  .grid > .quote { padding: 48px 24px; }
  .grid > .flow { padding: 32px 16px 40px; }
  .cta-panel { min-height: auto; padding: 88px var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0ms !important;
  }
  .eyebrow-badge::after, .seat-dot { animation: none !important; }
}
