/* stillpub landing styles.
   No build step, no external origins: everything here is hand written and
   served from the same host as the pages. Colors come from the signal-orange
   brand ramp documented in app/public/brand/README.md.

   Theming: the light palette is the base. Dark is applied twice, once for
   people whose system asks for it (unless they picked light) and once for the
   explicit data-theme="dark" choice written by theme.js. */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #fbf9f8;
  --surface: #ffffff;
  --surface-2: #f7f4f2;
  --text: #16181c;
  --text-muted: #545a63;
  --border: #e6e1dd;
  --border-strong: #cfc8c2;

  --accent: #ac3900;
  --accent-hi: #c24100;
  --accent-ink: #ac3900;
  --accent-deep: #711f00;
  --accent-soft: #fff1e9;
  --on-accent: #ffffff;

  --chip-bg: #fff1e9;
  --chip-ink: #7a2200;
  --chip-ring: rgba(172, 57, 0, 0.18);

  --mat: #f3f0ee;

  --glow-a: rgba(216, 90, 23, 0.20);
  --glow-b: rgba(172, 57, 0, 0.12);
  --wash: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);

  --cta-grad: linear-gradient(150deg, #c24100 0%, #ac3900 55%, #711f00 100%);
  --cta-ink: #ffffff;
  --cta-glow: radial-gradient(closest-side, rgba(255, 255, 255, .26), transparent);
  --cta-border: transparent;
  --cta-btn-bg: #ffffff;
  --cta-btn-ink: #711f00;

  --shadow-sm: 0 1px 2px rgba(24, 18, 14, .06), 0 2px 8px rgba(24, 18, 14, .05);
  --shadow-md: 0 2px 6px rgba(24, 18, 14, .07), 0 14px 34px rgba(24, 18, 14, .10);
  --shadow-lg: 0 8px 20px rgba(24, 18, 14, .10), 0 34px 80px rgba(24, 18, 14, .18);
  --shadow-btn: 0 1px 1px rgba(90, 30, 0, .28), 0 6px 16px rgba(172, 57, 0, .30);
  --shadow-btn-hover: 0 2px 3px rgba(90, 30, 0, .28), 0 12px 26px rgba(172, 57, 0, .38);

  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg: #121417;
    --bg-soft: #15181c;
    --surface: #191d22;
    --surface-2: #1f242a;
    --text: #eceff3;
    --text-muted: #a3abb6;
    --border: #2e343c;
    --border-strong: #525b66;

    --accent: #ff8a4c;
    --accent-hi: #ffa06d;
    --accent-ink: #ff8a4c;
    --accent-deep: #ffb287;
    --accent-soft: #2a1d16;
    --on-accent: #2b1002;

    --chip-bg: #3a2318;
    --chip-ink: #ffb287;
    --chip-ring: rgba(255, 138, 76, 0.30);

    --mat: #dfe3e8;

    --glow-a: rgba(255, 138, 76, 0.16);
    --glow-b: rgba(216, 90, 23, 0.14);
    --wash: linear-gradient(180deg, #191d22 0%, #121417 100%);

    --cta-grad: linear-gradient(150deg, #2c1f18 0%, #1d2228 55%, #171b20 100%);
    --cta-ink: #eceff3;
    --cta-glow: radial-gradient(closest-side, rgba(255, 138, 76, .20), transparent);
    --cta-border: rgba(255, 138, 76, .32);
    --cta-btn-bg: #ff8a4c;
    --cta-btn-ink: #2b1002;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 38px rgba(0, 0, 0, .45);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, .5), 0 40px 90px rgba(0, 0, 0, .6);
    --shadow-btn: 0 1px 1px rgba(0, 0, 0, .5), 0 8px 20px rgba(255, 138, 76, .22);
    --shadow-btn-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 14px 30px rgba(255, 138, 76, .32);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #121417;
  --bg-soft: #15181c;
  --surface: #191d22;
  --surface-2: #1f242a;
  --text: #eceff3;
  --text-muted: #a3abb6;
  --border: #2e343c;
  --border-strong: #525b66;

  --accent: #ff8a4c;
  --accent-hi: #ffa06d;
  --accent-ink: #ff8a4c;
  --accent-deep: #ffb287;
  --accent-soft: #2a1d16;
  --on-accent: #2b1002;

  --chip-bg: #3a2318;
  --chip-ink: #ffb287;
  --chip-ring: rgba(255, 138, 76, 0.30);

  --mat: #dfe3e8;

  --glow-a: rgba(255, 138, 76, 0.16);
  --glow-b: rgba(216, 90, 23, 0.14);
  --wash: linear-gradient(180deg, #191d22 0%, #121417 100%);

  --cta-grad: linear-gradient(150deg, #2c1f18 0%, #1d2228 55%, #171b20 100%);
  --cta-ink: #eceff3;
  --cta-glow: radial-gradient(closest-side, rgba(255, 138, 76, .20), transparent);
  --cta-border: rgba(255, 138, 76, .32);
  --cta-btn-bg: #ff8a4c;
  --cta-btn-ink: #2b1002;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 38px rgba(0, 0, 0, .45);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, .5), 0 40px 90px rgba(0, 0, 0, .6);
  --shadow-btn: 0 1px 1px rgba(0, 0, 0, .5), 0 8px 20px rgba(255, 138, 76, .22);
  --shadow-btn-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 14px 30px rgba(255, 138, 76, .32);
}

/* ---------- base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent-ink); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 12px;
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; }
h3 { font-size: 19px; letter-spacing: -0.01em; }

.lede { font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--text-muted); }

/* ---------- buttons ---------- */

.btn {
  --btn-y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  padding: 11px 22px; font-size: 15.5px;
  transform: translateY(var(--btn-y));
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

/* The showcase action. Filled brand gradient, lit edge, lifts on hover. */
.btn-primary {
  background-image: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 100%);
  background-color: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { --btn-y: -2px; box-shadow: var(--shadow-btn-hover), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-primary:active { --btn-y: 0px; box-shadow: var(--shadow-btn); }
.btn-primary .arrow { transition: transform .18s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { --btn-y: -1px; border-color: var(--accent-ink); color: var(--accent-ink); box-shadow: var(--shadow-md); }

.btn-lg { padding: 15px 30px; font-size: 17.5px; }

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  header.site { background: var(--bg); }
}
header.site.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.brand img { height: 28px; width: 28px; }

.nav-links { display: flex; gap: 6px; margin-left: 10px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 550;
  padding: 8px 12px; border-radius: 999px; transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* theme toggle: three small segments, current one filled */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.theme-toggle button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 26px; padding: 0;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--text-muted);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.theme-toggle button:hover { color: var(--text); }
.theme-toggle button svg { width: 15px; height: 15px; }
.theme-toggle button[aria-pressed="true"] {
  background: var(--surface); color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.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;
}

@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 520px) {
  .header-actions .btn-primary { padding: 9px 16px; font-size: 14.5px; }
  .brand span { display: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 0; text-align: center; overflow: hidden; }
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero::before { width: 760px; height: 520px; top: -220px; left: 50%; transform: translateX(-58%); background: var(--glow-a); }
.hero::after { width: 620px; height: 460px; top: 120px; right: -180px; background: var(--glow-b); }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--chip-bg); color: var(--chip-ink);
  border: 1px solid var(--chip-ring);
  /* Fluid size + nowrap: the pill must stay one line at every width, or the
     dot floats beside a wrapped block and the 999px radius goes pear-shaped. */
  font-size: clamp(10px, 2.6vw, 13.5px); font-weight: 650; letter-spacing: .005em;
  white-space: nowrap; max-width: 100%;
  padding: 7px clamp(10px, 2vw, 16px) 7px clamp(8px, 1.6vw, 12px); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.chip .dot {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { box-shadow: 0 0 0 7px transparent; opacity: .75; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

.hero h1 {
  font-size: clamp(40px, 7.2vw, 76px);
  letter-spacing: -0.045em; font-weight: 800;
  margin: 22px auto 0; max-width: 15ch;
}
.hero h1 .grad { color: var(--accent-ink); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 .grad {
    background-image: linear-gradient(100deg, var(--accent) 0%, var(--accent-hi) 45%, var(--accent-deep) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}
.hero .lede { max-width: 640px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.trust {
  display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px; font-size: 14px; color: var(--text-muted);
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--accent-ink); flex: none; }

/* browser frame mockup: layered depth, slight tilt that straightens on hover */
.showcase { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 90px); perspective: 1600px; }
/* two real product shots side by side: start screen, then a finished flyer */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.shots .frame { max-width: none; margin: 0; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }
.frame {
  position: relative; margin: 0 auto; max-width: 1000px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateX(6deg) scale(.985); transform-origin: 50% 0%;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.frame:hover { transform: rotateX(0deg) scale(1); }
.frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
:root[data-theme="dark"] .frame::after { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

.frame-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame-url {
  flex: 1; max-width: 320px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 14px;
  font-size: 12.5px; color: var(--text-muted); text-align: center;
}
/* The mat keeps a light product screenshot from glaring on a dark page. */
.frame-body { background: var(--mat); padding: 10px; }
.frame-body img {
  /* height: auto is load-bearing: without it the height="900" attribute wins
     over the shrunk width and the shot renders as a tall center crop. */
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  border-radius: 8px; background: var(--mat);
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  opacity: 0; transition: opacity .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid var(--chip-ring);
}
.card-icon svg { width: 26px; height: 26px; }
.card p { margin-top: 10px; color: var(--text-muted); font-size: 15.5px; }

/* split pane */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.checks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 15.5px; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); margin-top: 2px; }
.split-visual {
  background: var(--wash); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-md);
}
.split-visual svg { width: 100%; height: auto; }

/* timeline */
.timeline { display: grid; gap: 0; margin-top: 8px; }
.tl-item {
  position: relative; padding: 0 0 30px 34px;
  border-left: 2px solid var(--border);
}
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -8px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.tl-item.soft::before { border-color: var(--border-strong); }
.tl-date { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.tl-item.soft .tl-date { color: var(--text-muted); }
.tl-item h3 { margin-top: 6px; font-size: 17.5px; }
.tl-item p { margin-top: 6px; color: var(--text-muted); font-size: 15.5px; }
.deadline-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md);
}

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 4px 20px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-list details:hover { border-color: var(--border-strong); }
.faq-list details[open] { border-color: var(--chip-ring); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; font-weight: 650; font-size: 16.5px;
  padding: 16px 34px 16px 0; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 18px; color: var(--text-muted); font-size: 15.5px; }

/* closing call to action */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-xl); padding: clamp(38px, 6vw, 66px) 26px;
  background-image: var(--cta-grad);
  border: 1px solid var(--cta-border);
  color: var(--cta-ink);
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 90%;
  background: var(--cta-glow);
  pointer-events: none;
}
.cta-inner h2 { color: inherit; }
.cta-inner p { margin: 14px auto 0; max-width: 540px; color: inherit; opacity: .92; font-size: 17px; }
.cta-inner .btn {
  margin-top: 28px; background: var(--cta-btn-bg); color: var(--cta-btn-ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18), 0 14px 30px rgba(0, 0, 0, .22);
}
.cta-inner .btn:hover { --btn-y: -2px; box-shadow: 0 4px 8px rgba(0, 0, 0, .2), 0 20px 40px rgba(0, 0, 0, .26); }

/* ---------- footer ---------- */

footer.site { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 40px; }
.foot-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.foot-brand .brand { font-size: 19px; }
.foot-brand p { margin-top: 12px; color: var(--text-muted); font-size: 14.5px; max-width: 34ch; }
.foot-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.foot-col ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.foot-col a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
  display: grid; gap: 12px; font-size: 13.5px; color: var(--text-muted);
}
.foot-bottom a { color: var(--accent-ink); }
.foot-bottom .legal { max-width: 78ch; }

/* On narrow screens the shot is letterboxed on the mat instead of cropped. */
@media (max-width: 720px) {
  .frame-body img { object-fit: contain; }
}

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
}
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- long-form pages (terms, privacy) ---------- */

.page-head { padding: clamp(44px, 7vw, 76px) 0 0; position: relative; }
.page-head::before {
  content: ''; position: absolute; z-index: -1; inset: -160px 0 auto 0; height: 420px;
  background: radial-gradient(60% 60% at 50% 0%, var(--glow-a), transparent 70%);
  pointer-events: none;
}
.page-head .eyebrow { display: block; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.035em; font-weight: 800; }
.page-head .lede { margin-top: 16px; max-width: 62ch; }
.page-meta { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.prose { padding: 40px 0 clamp(56px, 8vw, 90px); }
.prose h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 40px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); font-size: 16px; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.prose .note {
  margin-top: 24px; padding: 18px 22px; background: var(--surface);
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.prose .note p:first-child { margin-top: 0; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* ---------- motion ---------- */

html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal.d1.in { transition-delay: .08s; }
html.js .reveal.d2.in { transition-delay: .16s; }
html.js .reveal.d3.in { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal.in { opacity: 1; transform: none; transition: none; }
  .frame { transform: none; }
  .frame:hover { transform: none; }
  .chip .dot { animation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  header.site, .cta-band, .theme-toggle { display: none; }
  body { background: #fff; color: #000; }
}
