/* ============================================================
   AI Alarm — landing.css
   "Dramatis Personae" — editorial dawn theater
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px;
  --r-xl: 28px; --r-2xl: 40px; --r-pill: 999px;

  --f-display: 'Fraunces', 'Newsreader', Georgia, serif;
  --f-body:    'Newsreader', Georgia, 'Times New Roman', serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --fs-base: 16px;
  --fs-lede: clamp(17px, 1.4vw, 21px);
  --fs-h3:   clamp(22px, 2vw, 28px);
  --fs-h2:   clamp(34px, 4.8vw, 60px);
  --fs-h1:   clamp(54px, 8vw, 110px);

  --rose:      #f43f5e;
  --rose-deep: #be123c;
  --rose-soft: rgba(244, 63, 94, .14);
  --amber:     #fbbf24;
  --cream:     #fef3c7;

  /* Per-persona accents */
  --p-mama:        #fbbf24;
  --p-sergeant:    #ef4444;
  --p-friend:      #22d3ee;
  --p-coach:       #f43f5e;
  --p-galactic:    #818cf8;
  --p-zen:         #34d399;
  --p-narrator:    #a78bfa;
  --p-granny:      #fb923c;
  --p-oracle:      #c084fc;
  --p-boss:        #94a3b8;
  --p-teacher:     #facc15;
  --p-cheerleader: #ec4899;
  --p-butler:      #d6d3d1;
  --p-papa:        #b45309;

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --ease-out:    cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0e1f;
  --bg-2: #0f1428;
  --panel: #161c36;
  --panel-2: #1d2547;
  --line: #2a3360;
  --line-soft: #1c2245;
  --fg: #f8fafc;
  --ink-2: #d6dceb;
  --muted: #94a3b8;
  --faint: #64748b;
  --noise-op: .03;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf7;
  --bg-2: #f3f1ea;
  --panel: #ffffff;
  --panel-2: #f8f6ef;
  --line: #e6e1d4;
  --line-soft: #f0ebde;
  --fg: #15182c;
  --ink-2: #3d4055;
  --muted: #6a6c83;
  --faint: #9b9eb0;
  --noise-op: .015;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.aia {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  position: relative;
  overflow-x: hidden;
}

/* Film grain overlay across the whole page */
body.aia::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .3 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='.6'/></svg>");
  background-size: 240px 240px;
  opacity: var(--noise-op);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* ---------- Need-app banner ---------- */
.need-app {
  max-width: 720px;
  margin: 18px auto 0;
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(180,83,9,.06));
  border: 1px solid rgba(251,191,36,.32);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  line-height: 1.55;
  font-size: 14px;
  font-family: var(--f-body);
}
.need-app strong { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }
html[data-theme="light"] .need-app { color: #6b4d0e; }

/* ---------- Reveal-on-scroll ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  font-variation-settings: "opsz" 48, "SOFT" 50;
  letter-spacing: -.01em;
  color: var(--fg);
}
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
  border-radius: var(--r-xs);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--fg); background: var(--panel); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--fg); }
.icon-btn svg { width: 17px; height: 17px; }

.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html[data-theme="light"] .theme-toggle .sun { display: block; }
html[data-theme="light"] .theme-toggle .moon { display: none; }

/* Coming-soon Play badge */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-family: var(--f-mono);
  position: relative;
  transition: background .15s, border-color .15s;
}
.play-badge.soon { opacity: .82; cursor: not-allowed; }
.play-badge.soon::after {
  content: 'COMING SOON';
  position: absolute;
  top: -7px; right: -7px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 2px 6px;
  background: var(--amber);
  color: #1a1208;
  border-radius: var(--r-xs);
  transform: rotate(2deg);
}
.pg-ico { width: 18px; height: 18px; color: var(--rose); }
.pg-txt { display: flex; flex-direction: column; line-height: 1.1; }
.pg-txt small {
  font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.pg-txt strong { font-size: 13px; font-weight: 600; }

/* CTA buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 13.5px; }
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(244, 63, 94, .55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(244, 63, 94, .7), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary svg { color: rgba(255,255,255,.92); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-num { font-family: var(--f-mono); font-size: 10.5px; opacity: .55; }

.nav-burger { display: none; }
@media (max-width: 920px) {
  .nav-links, .play-badge { display: none; }
  .nav-burger { display: grid; }
  .nav-cta { display: none; }
}

/* mobile sheet */
.msheet { position: fixed; inset: 0; z-index: 100; }
.msheet[hidden] { display: none; }
.msheet-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s var(--ease);
}
.msheet.open .msheet-scrim { opacity: 1; }
.msheet-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(320px, 88%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .25s var(--ease);
}
.msheet.open .msheet-panel { transform: none; }
.msheet-panel a {
  padding: 14px 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
}
.msheet-panel a:hover { background: var(--panel); color: var(--fg); }

/* ---------- Sections base ---------- */
.section { padding: var(--s-24) 0; position: relative; z-index: 2; }
.section-quiet {
  background: var(--bg-2);
  border-block: 1px solid var(--line-soft);
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin-bottom: 56px;
}
.sec-head.center {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.eyebrow-light { color: rgba(255, 255, 255, .55); }
.eye-num { color: var(--rose); font-weight: 600; }
.eye-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rose);
  margin: 0 4px;
}

.sec-h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--fg);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 600;
}
.sec-h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 400;
  color: var(--rose);
}
.sec-h2-sm {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  margin: 0;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  letter-spacing: -.015em;
}
.sec-sub {
  font-family: var(--f-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
  font-variation-settings: "opsz" 24;
}
.sec-sub em { font-style: italic; color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--s-16);
  padding-bottom: var(--s-20);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20% -10% 0 -10%;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(244, 63, 94, .18), transparent 60%),
    radial-gradient(ellipse 60% 35% at 75% 20%, rgba(251, 191, 36, .14), transparent 65%),
    radial-gradient(ellipse 40% 30% at 60% 60%, rgba(190, 18, 60, .12), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift { to { transform: translate(2%, -1%); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-text { display: flex; flex-direction: column; gap: 22px; }

.hero-h1 {
  font-family: var(--f-display);
  font-size: var(--fs-h1);
  line-height: .94;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--fg);
}
.h1-line { display: block; }
.h1-line-1 {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 300;
  opacity: .78;
}
.h1-line-2 {
  font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 800;
  color: var(--rose);
  margin-left: 8px;
}
.h1-line-2 em {
  font-style: italic;
  color: var(--fg);
  font-variation-settings: "opsz" 144, "SOFT" 70, "wght" 500;
  margin-right: .05em;
}
.h1-line-3 {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 300;
  color: var(--muted);
  margin-left: 24px;
  font-size: .68em;
}
.h1-line-3 s {
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}

.lede {
  font-family: var(--f-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 54ch;
  font-variation-settings: "opsz" 24;
}
.lede em {
  font-style: italic;
  color: var(--fg);
  font-variation-settings: "opsz" 24, "wght" 500;
}

.hero-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.m-tick { color: var(--rose); font-size: 9px; transform: rotate(90deg); }

/* ---------- Hero demo widget ---------- */
.hero-demo-wrap { display: grid; place-items: center; position: relative; }

.hero-demo {
  --persona-accent: var(--p-mama);
  --persona-glow: rgba(251, 191, 36, .42);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  position: relative;
}
.hero-demo[data-persona="mama"]     { --persona-accent: var(--p-mama);     --persona-glow: rgba(251, 191, 36, .42); }
.hero-demo[data-persona="sergeant"] { --persona-accent: var(--p-sergeant); --persona-glow: rgba(239, 68, 68, .42); }
.hero-demo[data-persona="friend"]   { --persona-accent: var(--p-friend);   --persona-glow: rgba(34, 211, 238, .42); }
.hero-demo[data-persona="coach"]    { --persona-accent: var(--p-coach);    --persona-glow: rgba(244, 63, 94, .42); }

.hd-glow {
  position: absolute;
  inset: -20% -15% 30% -15%;
  background: radial-gradient(ellipse 65% 55% at 50% 25%, var(--persona-glow), transparent 70%);
  filter: blur(45px);
  z-index: -1;
  transition: background .5s var(--ease);
  pointer-events: none;
}

.hd-phone {
  position: relative;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--persona-accent) 8%, var(--panel)) 0%,
    var(--panel) 100%);
  border: 1px solid color-mix(in oklab, var(--persona-accent) 30%, var(--line));
  border-radius: 32px;
  padding: 18px 18px 22px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: background .5s var(--ease), border-color .5s var(--ease);
  overflow: hidden;
}
html[data-theme="light"] .hd-phone {
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, .15),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

.hd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 16px;
}
.hd-clock { font-weight: 500; font-size: 11px; color: var(--ink-2); }
.hd-clock i { font-style: normal; opacity: .55; animation: hdBlink 1s steps(2, end) infinite; }
@keyframes hdBlink { 50% { opacity: 0; } }

.hd-onair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--persona-accent);
  font-weight: 600;
  text-transform: uppercase;
  transition: color .5s;
}
.hd-onair-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--persona-accent);
  box-shadow: 0 0 8px var(--persona-glow);
  animation: hdPulse 1.4s ease-in-out infinite;
}
@keyframes hdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.hd-snooze-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--persona-accent) 14%, transparent);
  color: var(--persona-accent);
  font-weight: 600;
  font-size: 10px;
  transition: background .3s, color .3s;
}

.hd-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 6px 0;
  min-height: 280px;
}

.hd-portrait { position: relative; display: grid; place-items: center; margin: 8px 0 4px; }
.hd-initial {
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 1;
  color: var(--persona-accent);
  text-shadow: 0 0 40px var(--persona-glow);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 350;
  font-style: italic;
  transition: color .5s, text-shadow .5s;
  position: relative;
  z-index: 2;
  animation: hdFadeIn .55s var(--ease) both;
}
.hd-orbit {
  position: absolute;
  inset: -16px -28px;
  border: 1px dashed color-mix(in oklab, var(--persona-accent) 35%, transparent);
  border-radius: 50%;
  animation: hdSpin 16s linear infinite;
  z-index: 1;
}
@keyframes hdSpin { to { transform: rotate(360deg); } }

.hero-demo[data-persona="sergeant"] .hd-initial {
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 800;
  letter-spacing: -.05em;
}
.hero-demo[data-persona="friend"] .hd-initial {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 90, "wght" 450, "WONK" 1;
}
.hero-demo[data-persona="coach"] .hd-initial {
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 700;
  transform: skewX(-7deg);
}

.hd-line {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.4;
  text-align: center;
  margin: 0;
  color: var(--fg);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "opsz" 72, "SOFT" 60, "wght" 400;
  font-style: italic;
  animation: hdFadeIn .5s var(--ease) both;
  padding: 0 8px;
}
.hero-demo[data-persona="sergeant"] .hd-line {
  font-style: normal;
  font-variation-settings: "opsz" 72, "SOFT" 0, "wght" 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(13px, 1.4vw, 15.5px);
}
.hero-demo[data-persona="friend"] .hd-line {
  font-style: normal;
  font-variation-settings: "opsz" 72, "SOFT" 90, "wght" 400;
  text-transform: lowercase;
  letter-spacing: -.005em;
}
.hero-demo[data-persona="coach"] .hd-line {
  font-style: normal;
  font-variation-settings: "opsz" 72, "SOFT" 25, "wght" 650;
}
@keyframes hdFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hd-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; height: 24px;
}
.hd-wave i {
  display: block;
  width: 3px;
  background: var(--persona-accent);
  border-radius: var(--r-pill);
  height: 25%;
  opacity: .9;
  animation: hdWave 1.2s ease-in-out infinite;
  transition: background .4s;
}
.hd-wave i:nth-child(1)  { animation-delay: 0s; }
.hd-wave i:nth-child(2)  { animation-delay: .08s; }
.hd-wave i:nth-child(3)  { animation-delay: .16s; }
.hd-wave i:nth-child(4)  { animation-delay: .24s; }
.hd-wave i:nth-child(5)  { animation-delay: .32s; }
.hd-wave i:nth-child(6)  { animation-delay: .40s; }
.hd-wave i:nth-child(7)  { animation-delay: .48s; }
.hd-wave i:nth-child(8)  { animation-delay: .40s; }
.hd-wave i:nth-child(9)  { animation-delay: .32s; }
.hd-wave i:nth-child(10) { animation-delay: .24s; }
.hd-wave i:nth-child(11) { animation-delay: .16s; }
.hd-wave i:nth-child(12) { animation-delay: .08s; }
@keyframes hdWave {
  0%, 100% { height: 20%; }
  50%      { height: 90%; }
}

.hero-demo[data-persona="mama"]     .hd-wave i { animation-duration: 1.6s; }
.hero-demo[data-persona="sergeant"] .hd-wave i { animation-duration: .65s; }
.hero-demo[data-persona="friend"]   .hd-wave i { animation-duration: 1.1s; }
.hero-demo[data-persona="coach"]    .hd-wave i { animation-duration: .9s; }
.hero-demo[data-snooze="2"] .hd-wave i { animation-duration: .55s !important; }
.hero-demo[data-snooze="3"] .hd-wave i {
  animation-duration: .4s !important;
  filter: brightness(1.25);
}

.hd-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
.hd-meta-name { color: var(--persona-accent); font-weight: 700; transition: color .4s; }
.hd-meta-sep  { opacity: .35; }

.hd-controls { display: flex; flex-direction: column; gap: 10px; }
.hd-personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hd-pbtn {
  --pbtn-accent: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.hd-pbtn[data-persona="mama"]     { --pbtn-accent: var(--p-mama); }
.hd-pbtn[data-persona="sergeant"] { --pbtn-accent: var(--p-sergeant); }
.hd-pbtn[data-persona="friend"]   { --pbtn-accent: var(--p-friend); }
.hd-pbtn[data-persona="coach"]    { --pbtn-accent: var(--p-coach); }
.hd-pbtn:hover {
  background: var(--panel-2);
  border-color: color-mix(in oklab, var(--pbtn-accent) 30%, var(--line));
  color: var(--fg);
  transform: translateY(-1px);
}
.hd-pbtn[aria-selected="true"] {
  background: color-mix(in oklab, var(--pbtn-accent) 12%, transparent);
  border-color: color-mix(in oklab, var(--pbtn-accent) 45%, transparent);
  color: var(--pbtn-accent);
}
.hd-pinitial {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1;
  color: var(--pbtn-accent);
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 80, "wght" 500;
}
.hd-pbtn[data-persona="sergeant"] .hd-pinitial {
  font-style: normal;
  font-variation-settings: "opsz" 96, "SOFT" 0, "wght" 800;
}
.hd-pbtn[data-persona="coach"] .hd-pinitial {
  font-style: normal;
  font-variation-settings: "opsz" 96, "SOFT" 25, "wght" 700;
  transform: skewX(-7deg);
}
.hd-plabel {
  font-family: var(--f-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .85;
}

.hd-snooze-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  background: transparent;
  border: 1px dashed color-mix(in oklab, var(--persona-accent) 35%, var(--line));
  border-radius: var(--r-md);
  color: var(--persona-accent);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.hd-snooze-btn:hover:not(:disabled) {
  background: color-mix(in oklab, var(--persona-accent) 8%, transparent);
}
.hd-snooze-btn:active { transform: translateY(1px); }
.hd-snooze-btn:disabled { opacity: .55; cursor: default; border-style: solid; }

/* ---------- How section ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
}
.how-prose p {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 24;
}
.how-prose p:last-child { margin-bottom: 0; }
.how-prose em {
  font-style: italic;
  color: var(--fg);
  font-variation-settings: "opsz" 24, "wght" 500;
}
.drop::first-letter {
  font-family: var(--f-display);
  font-size: 4.5em;
  float: left;
  line-height: .82;
  padding: 8px 12px 4px 0;
  color: var(--rose);
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}

.how-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.how-stats li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 12.5px;
  align-items: baseline;
}
.stat-k {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--rose);
  font-size: 10px;
  font-weight: 600;
}
.stat-v { color: var(--ink-2); font-weight: 500; }

/* ---------- Cards 4 (Inside) ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .cards-4 { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px 30px;
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover {
  border-color: color-mix(in oklab, var(--rose) 25%, var(--line));
  transform: translateY(-2px);
}
.card.feature {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--rose) 6%, var(--panel)) 0%,
    var(--panel) 70%);
  border-color: color-mix(in oklab, var(--rose) 25%, var(--line));
}
.card-num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: .08em;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 16px;
}
.card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--fg);
  font-variation-settings: "opsz" 72, "SOFT" 50, "wght" 600;
  letter-spacing: -.015em;
}
.card p {
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  font-variation-settings: "opsz" 18;
}
.card-quote {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--rose);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--fg);
  background: color-mix(in oklab, var(--rose) 6%, transparent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-variation-settings: "opsz" 36, "SOFT" 80;
}
.card-quote small {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ---------- Roster (Dramatis Personae) ---------- */
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cast-card {
  --pc: var(--p-mama);
  position: relative;
  padding: 22px 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s, background .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.cast-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 80% 0%, color-mix(in oklab, var(--pc) 14%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.cast-card:hover {
  border-color: color-mix(in oklab, var(--pc) 35%, var(--line));
  transform: translateY(-2px);
}
.cast-card:hover::before { opacity: 1; }

.cast-card[data-persona="mama"]        { --pc: var(--p-mama); }
.cast-card[data-persona="sergeant"]    { --pc: var(--p-sergeant); }
.cast-card[data-persona="friend"]      { --pc: var(--p-friend); }
.cast-card[data-persona="coach"]       { --pc: var(--p-coach); }
.cast-card[data-persona="galactic"]    { --pc: var(--p-galactic); }
.cast-card[data-persona="zen"]         { --pc: var(--p-zen); }
.cast-card[data-persona="narrator"]    { --pc: var(--p-narrator); }
.cast-card[data-persona="granny"]      { --pc: var(--p-granny); }
.cast-card[data-persona="oracle"]      { --pc: var(--p-oracle); }
.cast-card[data-persona="boss"]        { --pc: var(--p-boss); }
.cast-card[data-persona="teacher"]     { --pc: var(--p-teacher); }
.cast-card[data-persona="cheerleader"] { --pc: var(--p-cheerleader); }
.cast-card[data-persona="butler"]      { --pc: var(--p-butler); }
.cast-card[data-persona="papa"]        { --pc: var(--p-papa); }

.cast-num {
  position: relative;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--faint);
}
.cast-mark {
  position: relative;
  align-self: flex-start;
  font-family: var(--f-display);
  font-size: 56px;
  line-height: .9;
  color: var(--pc);
  font-variation-settings: "opsz" 144, "SOFT" 70, "wght" 400;
  font-style: italic;
  text-shadow: 0 0 24px color-mix(in oklab, var(--pc) 45%, transparent);
  margin: 4px 0 2px;
  transition: transform .3s var(--ease-spring);
}
.cast-card:hover .cast-mark { transform: scale(1.05) rotate(-2deg); }

/* Per-persona typographic personality */
.cast-card[data-persona="sergeant"] .cast-mark    { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 800; letter-spacing: -.04em; }
.cast-card[data-persona="friend"] .cast-mark      { font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400, "WONK" 1; }
.cast-card[data-persona="coach"] .cast-mark       { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 700; transform: skewX(-6deg); }
.cast-card[data-persona="galactic"] .cast-mark    { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 40, "wght" 500; letter-spacing: .02em; }
.cast-card[data-persona="zen"] .cast-mark         { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300; }
.cast-card[data-persona="narrator"] .cast-mark    { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 400; }
.cast-card[data-persona="granny"] .cast-mark      { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 350, "WONK" 1; }
.cast-card[data-persona="oracle"] .cast-mark      { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 400; letter-spacing: .03em; }
.cast-card[data-persona="boss"] .cast-mark        { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700; letter-spacing: -.02em; }
.cast-card[data-persona="teacher"] .cast-mark     { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 40, "wght" 500; }
.cast-card[data-persona="cheerleader"] .cast-mark { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 800; transform: rotate(-4deg); }
.cast-card[data-persona="butler"] .cast-mark      { font-style: italic; font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 400; letter-spacing: .01em; }
.cast-card[data-persona="papa"] .cast-mark        { font-style: normal; font-variation-settings: "opsz" 144, "SOFT" 25, "wght" 600; }

.cast-name {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-2);
  font-weight: 600;
  margin: 0;
}
.cast-tag {
  position: relative;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: lowercase;
  color: var(--pc);
  margin: 0;
  letter-spacing: .04em;
}
.cast-line {
  position: relative;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--fg);
  margin: 6px 0 0;
  font-variation-settings: "opsz" 36, "SOFT" 70, "wght" 400;
}

/* ---------- Scenes ---------- */
.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scenes { grid-template-columns: 1fr; } }

.scene {
  position: relative;
  padding: 28px 26px 28px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color .25s, transform .2s;
}
.scene:hover {
  border-color: color-mix(in oklab, var(--rose) 30%, var(--line));
  transform: translateY(-2px);
}
.scene::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--rose), transparent 60%);
  opacity: .55;
}
.scene-num {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rose);
  font-weight: 600;
}
.scene h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--fg);
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
.scene p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  font-variation-settings: "opsz" 18;
}
.scene-pair {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}
.scene-pair strong { color: var(--fg); font-weight: 600; }

/* ---------- Tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  padding: 32px 28px 36px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tier.feature {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--rose) 10%, var(--panel)) 0%,
    var(--panel) 80%);
  border-color: color-mix(in oklab, var(--rose) 40%, var(--line));
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px -30px rgba(244, 63, 94, .55),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.tier.feature::before {
  content: 'MOST PEOPLE';
  position: absolute;
  top: -10px; right: 18px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--rose);
  color: #fff;
  border-radius: var(--r-pill);
}

.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.tier-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rose);
  font-weight: 600;
}
.tier-tag em { font-style: normal; color: var(--muted); font-weight: 400; }
.tier-price {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  font-variation-settings: "opsz" 72, "SOFT" 30;
}
.tier-price small { font-size: 12px; color: var(--muted); font-weight: 500; }

.tier-name {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  color: var(--fg);
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
.tier-pitch {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  font-variation-settings: "opsz" 18;
}
.tier-pitch em { font-style: italic; color: var(--fg); font-weight: 500; }

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.tier-list li { display: flex; align-items: baseline; gap: 8px; }
.tier-list li::before {
  content: '+';
  color: var(--rose);
  font-weight: 700;
  font-size: 13px;
}
.tier-list em { font-style: italic; color: var(--fg); }

.tier-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  letter-spacing: .02em;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.tier-cta-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  border-color: transparent;
}
.tier-cta-primary:hover { transform: translateY(-1px); }
.tier-cta-ghost { background: var(--panel-2); color: var(--ink-2); }
.tier-cta-ghost:hover {
  background: var(--panel);
  color: var(--fg);
  border-color: var(--rose);
}

/* ---------- Studio ---------- */
.studio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

.studio-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: border-color .2s, background .2s, transform .2s;
}
.studio-card:hover {
  border-color: var(--line);
  background: var(--panel-2);
  transform: translateY(-1px);
}
.studio-mark {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  font-variation-settings: "opsz" 96, "SOFT" 60;
}
.studio-mark-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.studio-mark-amber  { background: linear-gradient(135deg, #fbbf24, #d97706); }
.studio-mark-teal   { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.studio-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.studio-name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  font-variation-settings: "opsz" 48, "SOFT" 50;
}
.studio-desc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}
.studio-arrow {
  color: var(--muted);
  transition: color .15s, transform .15s;
}
.studio-card:hover .studio-arrow {
  color: var(--rose);
  transform: translate(2px, -2px);
}

/* ---------- CTA band ---------- */
.section-cta { padding-bottom: var(--s-16); }
.cta-band {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 50% 80% at 80% 30%, rgba(251, 191, 36, .22), transparent 60%),
    radial-gradient(ellipse 60% 70% at 20% 80%, rgba(190, 18, 60, .35), transparent 65%),
    linear-gradient(140deg, #1a0814 0%, #2d0e1f 50%, #1a0814 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .3 0'/></filter><rect width='400' height='400' filter='url(%23n)'/></svg>");
  opacity: .08;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: -1;
}
.cta-h {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 18px 0 14px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.cta-h em {
  font-style: italic;
  color: var(--rose);
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 400;
}
.cta-sub {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .75);
  max-width: 60ch;
  margin: 0 auto 28px;
  font-variation-settings: "opsz" 24;
}
.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-on-dark { box-shadow: 0 16px 40px -10px rgba(244, 63, 94, .7); }
.cta-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .04em;
}
.cta-soon svg { opacity: .6; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: var(--s-12) 0 var(--s-8);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { font-size: 18px; margin-bottom: 12px; }
.footer-blurb {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 8px;
  max-width: 32ch;
  font-variation-settings: "opsz" 48, "SOFT" 70;
}
.footer-contact a {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--rose);
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
}
.footer-col a, .footer-col .footer-soon {
  display: block;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-col .footer-soon { color: var(--faint); cursor: default; }

.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.cla-lockup strong { color: var(--fg); font-weight: 600; }
.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--rose);
  font-variation-settings: "opsz" 36, "SOFT" 80;
}
.footer-ver { margin-left: auto; color: var(--faint); }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-ver { margin-left: 0; }
}

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

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .section { padding: var(--s-16) 0; }
  .sec-head { margin-bottom: 36px; }
  .h1-line-3 { margin-left: 0; }
}
