/* ─────────────────────────────────────────────────────────────────────────
   whisperto.app

   Concept: the prompter's script. Every section is a page of a working
   screenplay, printed on the real production revision colours (white →
   blue → pink → yellow → green → goldenrod → buff). The call is the script;
   Whisperto is the prompter's note in the margin.

   ONE RULE: whisper-blue (--whisper) means "only you can see this". It is
   used for nothing else. Everything carrying `.w` disappears when the page
   is switched to VIEW: THEM — the site demonstrates stealth on itself.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --desk: #d3d7dd;
  --ink: #101216;
  --ink-2: #3d424b;
  --whisper: #1f35f2;
  --red: #d42a1b;

  --white: #f9fafb;
  --blue: #cfe2f4;
  --pink: #f7d0dc;
  --yellow: #f9ec9c;
  --green: #cde8cf;
  --gold: #efc766;
  --buff: #f2ccb0;

  --disp: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --script: "Courier Prime", "Courier New", Courier, monospace;

  --rule: 1.5px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
kbd {
  font: 700 0.85em var(--script);
  border: 1.5px solid currentColor;
  padding: 1px 5px 0;
  white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--whisper); outline-offset: 3px; }

/* ── Whisper visibility ─────────────────────────────────────────────── */
.w { transition: opacity .35s ease, visibility .35s; }
html[data-view="them"] .w { opacity: 0; visibility: hidden; }
.w-ink { color: var(--whisper); }

/* ── Buttons & links ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  padding: 15px 24px 13px;
  font: 700 15px/1 var(--script);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--whisper); border-color: var(--whisper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm { padding: 9px 14px 7px; font-size: 13px; }
.lnk { font: 400 16px var(--script); text-underline-offset: 5px; }
.lnk:hover { color: var(--whisper); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.smallprint { font: 400 13.5px/1.5 var(--script); color: var(--ink-2); }
.smallprint.wide { max-width: 78ch; margin-top: 44px; }

/* ── Top bar ────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px clamp(16px, 3vw, 36px);
  background: var(--desk);
  border-bottom: var(--rule);
}
.bar-brand {
  font: 800 24px/1 var(--disp);
  font-stretch: 62%;
  letter-spacing: .02em;
  text-decoration: none;
}
.bar-nav { display: flex; gap: 22px; margin-right: auto; margin-left: 12px; }
.bar-nav a {
  font: 400 14px var(--script);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.bar-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.view { display: flex; align-items: stretch; border: 2px solid var(--ink); }
.view-label {
  font: 700 12px/1 var(--script); letter-spacing: .1em;
  padding: 9px 9px 7px; border-right: 2px solid var(--ink);
}
.view-opt {
  background: transparent; border: 0;
  font: 700 12px/1 var(--script); letter-spacing: .1em;
  padding: 9px 11px 7px;
}
.view-opt + .view-opt { border-left: 2px solid var(--ink); }
.view-opt[aria-pressed="true"] { background: var(--ink); color: #fff; }
.view-opt[data-set-view="you"][aria-pressed="true"] { background: var(--whisper); }

/* ── Desk & pages ───────────────────────────────────────────────────── */
.desk { padding: clamp(14px, 3vw, 40px) clamp(10px, 2.4vw, 32px) 8px; }
.page {
  position: relative;
  max-width: 1260px;
  margin: 0 auto clamp(16px, 2.6vw, 34px);
  padding: 30px clamp(22px, 6vw, 92px) clamp(48px, 7vw, 104px) clamp(22px, 8.5vw, 124px);
  box-shadow: 0 1px 0 rgba(16,18,22,.3), 0 22px 34px -22px rgba(16,18,22,.45);
}
/* Three-hole punch, like every script that ever got bound with brads. */
.page::before {
  content: "";
  position: absolute; left: clamp(14px, 2.6vw, 38px); top: 0; bottom: 0; width: 26px;
  background:
    radial-gradient(circle, var(--desk) 0 9.5px, rgba(16,18,22,.28) 10px 10.8px, transparent 11.2px) center 9% / 26px 26px no-repeat,
    radial-gradient(circle, var(--desk) 0 9.5px, rgba(16,18,22,.28) 10px 10.8px, transparent 11.2px) center 50% / 26px 26px no-repeat,
    radial-gradient(circle, var(--desk) 0 9.5px, rgba(16,18,22,.28) 10px 10.8px, transparent 11.2px) center 91% / 26px 26px no-repeat;
  pointer-events: none;
}
.p-white  { background: var(--white); }
.p-blue   { background: var(--blue); }
.p-pink   { background: var(--pink); }
.p-yellow { background: var(--yellow); }
.p-green  { background: var(--green); }
.p-gold   { background: var(--gold); }
.p-buff   { background: var(--buff); }
@media (min-width: 1100px) {
  .page:nth-child(odd)  { transform: translateX(-9px); }
  .page:nth-child(even) { transform: translateX(11px); }
}

.pg-head {
  display: flex; justify-content: space-between; gap: 16px;
  font: 400 13px/1 var(--script);
  letter-spacing: .08em;
  margin-bottom: clamp(36px, 6vw, 84px);
}

/* ── Type ───────────────────────────────────────────────────────────── */
.mega, .head {
  font-family: var(--disp);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
}
.mega { font-size: clamp(60px, 15.4vw, 204px); line-height: .84; letter-spacing: -.012em; text-wrap: nowrap; }
.mega-sm { font-size: clamp(56px, 10vw, 150px); }
.head { font-size: clamp(42px, 6.6vw, 96px); line-height: .9; letter-spacing: -.008em; max-width: 19ch; }
.deck { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 62ch; margin-top: 26px; }
.deck i { font-style: italic; }

/* ── Page 1 · hero ──────────────────────────────────────────────────── */
.hero { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.hero-side {
  display: grid;
  grid-template-columns: minmax(0, 46ch) minmax(0, 1fr);
  gap: 22px clamp(28px, 5vw, 84px);
  align-items: start;
}
.hero-side .lede { grid-row: span 2; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; max-width: 46ch; }

/* The scene — real screenplay format: 12-pitch Courier, character cues
   indented ~3.7in, dialogue ~2.5in, parentheticals ~3.1in. */
.scene {
  margin-top: clamp(48px, 7vw, 100px);
  padding-top: 22px;
  border-top: var(--rule);
  font: 400 clamp(15px, 1.22vw, 17px)/1.5 var(--script);
}
.scene-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.slug { font-weight: 700; letter-spacing: .02em; }
.replay {
  background: none; border: 0; padding: 0; white-space: nowrap;
  font: 400 13px var(--script); color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 4px;
}
.replay:hover { color: var(--whisper); }
.beat {
  display: grid;
  grid-template-columns: minmax(0, 60ch) minmax(240px, 1fr);
  column-gap: clamp(36px, 5vw, 84px);
  margin-bottom: 22px;
}
.sc .action { max-width: 60ch; }
.sc .char  { margin-left: 22ch; font-weight: 700; }
.sc .paren { margin-left: 16ch; }
.sc .dia   { margin-left: 10ch; max-width: 36ch; min-height: 1.5em; }
.dia.typing::after { content: "▍"; margin-left: 1px; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Margin notes — the prompter's pencil. */
.note {
  position: relative;
  display: grid; gap: 5px;
  color: var(--whisper);
  font-family: var(--body);
  padding-top: 2px;
  max-width: 34ch;
  transition: opacity .4s ease, transform .4s ease, visibility .35s;
}
.note::before {
  content: "";
  position: absolute; top: 11px;
  left: calc(-1 * clamp(28px, 4.2vw, 70px)); width: clamp(20px, 3.4vw, 58px);
  border-top: 1.5px solid var(--whisper);
}
.note.pre { opacity: 0; transform: translateX(-10px); }
.note-k { font: 700 12px/1.2 var(--script); letter-spacing: .14em; }
.note b { font-weight: 650; font-stretch: 84%; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.18; }
.note q, .note i { font-style: italic; font-stretch: 88%; font-size: 16.5px; line-height: 1.35; }
.note q { quotes: "“" "”"; }
.note-qa .note-k:nth-of-type(2) { margin-top: 8px; }
.scene-foot {
  margin-top: 34px; max-width: 62ch;
  color: var(--whisper);
  font: italic 500 16px/1.45 var(--body); font-stretch: 88%;
}
.scene-foot b { font-style: normal; font-weight: 700; }

.works {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 18px; border-top: var(--rule);
  font: 400 14px/1.7 var(--script);
}
.works span { font-weight: 700; letter-spacing: .06em; }

/* ── Page 2 · how ───────────────────────────────────────────────────── */
.moves {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px);
}
.moves li { display: grid; gap: 12px; align-content: start; border-top: var(--rule); padding-top: 18px; }
.move-n { font: 800 clamp(84px, 9vw, 136px)/.8 var(--disp); font-stretch: 62%; }
.moves h3, .props dt, .cast dt, .packs-h, .calc h3 {
  font-family: var(--disp); font-stretch: 66%; font-weight: 800; text-transform: uppercase; line-height: 1;
}
.moves h3 { font-size: clamp(30px, 3vw, 42px); margin-top: 8px; }
.jot {
  color: var(--whisper);
  font: italic 500 16px/1.35 var(--body); font-stretch: 86%;
  padding-left: 18px; position: relative; margin-top: 4px;
}
.jot::before { content: "—"; position: absolute; left: 0; }

/* ── Page 3 · product ───────────────────────────────────────────────── */
.product {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: start;
}
.hudfig { position: relative; }
.hudfig figcaption { font: 400 13px/1.5 var(--script); color: var(--ink-2); margin-top: 16px; max-width: 52ch; }
.callwin { width: 86%; background: #24272d; border: 2px solid var(--ink); min-height: 430px; display: grid; grid-template-rows: auto 1fr; }
.callwin-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #000; color: #9aa0aa; font: 400 12px var(--script); }
.callwin-bar i { width: 9px; height: 9px; border-radius: 50%; background: #565b64; }
.callwin-bar span { margin-left: 10px; }
.callwin-body { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; width: 46%; }
.face { display: grid; place-items: center; background: #3a3f48; color: #c9ced6; font: 800 30px var(--disp); font-stretch: 62%; letter-spacing: .04em; }
.face.f2 { background: #4a4238; color: #e2d5c2; }

/* The HUD is the one place rounded corners and a dark surface are
   TRUE — that's what the product looks like. */
.hud {
  position: absolute; top: 40px; right: 0; width: min(410px, 80%);
  background: #15151a; color: #fff;
  border-radius: 16px; padding: 13px;
  font: 400 12.5px/1.4 var(--body);
  box-shadow: 0 24px 40px -16px rgba(16,18,22,.6);
  display: grid; gap: 8px;
}
.hud-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.hud-mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #7af0c0, #6ed1ff); color: #0a1a14; font-weight: 800; font-size: 11px; }
.hud-clock { color: #7af0c0; background: rgba(62,233,138,.12); padding: 2px 7px; border-radius: 20px; font: 700 10.5px var(--script); }
.hud-m { display: inline-flex; align-items: flex-end; gap: 1.5px; font: 700 8.5px var(--script); color: rgba(255,255,255,.5); }
.hud-m i { width: 2.5px; background: rgba(255,255,255,.16); border-radius: 1px; margin-left: 0; }
.hud-m i:nth-of-type(1) { height: 4px; margin-left: 4px; } .hud-m i:nth-of-type(2) { height: 6px; }
.hud-m i:nth-of-type(3) { height: 8px; } .hud-m i:nth-of-type(4) { height: 10px; }
.hud-m i.on { background: #66ccff; } .hud-m.them i.on { background: #ffa044; }
.hud-stop { margin-left: auto; color: #ff6666; background: rgba(255,102,102,.16); border: .5px solid rgba(255,102,102,.35); padding: 3px 9px; border-radius: 20px; font-weight: 600; font-size: 11px; white-space: nowrap; }
.hud-card { background: rgba(255,255,255,.06); border: .5px solid rgba(255,160,68,.3); border-radius: 12px; padding: 11px; display: grid; gap: 8px; }
.hud-row { display: flex; align-items: center; gap: 7px; }
.hud-kind { flex: none; font: 700 9.5px/1.4 var(--body); letter-spacing: .06em; padding: 2px 7px; border-radius: 20px; }
.hud-kind.k-say { color: #ffa044; background: rgba(255,160,68,.14); }
.hud-kind.k-ask { color: #66ccff; background: rgba(102,204,255,.14); }
.hud-kind.k-ans { color: #7af0c0; background: rgba(122,240,192,.14); }
.hud-ago, .hud-pos { font: 400 9.5px var(--script); color: rgba(255,255,255,.38); }
.hud-pos { margin-left: auto; }
.hud-text { font-size: 13.5px; font-weight: 500; }
.hud-script { font-style: italic; color: rgba(255,255,255,.74); background: rgba(255,255,255,.045); border-left: 2px solid rgba(255,160,68,.7); border-radius: 0 8px 8px 0; padding: 8px 10px; }
.hud-chips { display: flex; gap: 6px; }
.hud-chips span { font-size: 11px; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); }
.hud-chips .k-say { color: #ffa044; background: rgba(255,160,68,.14); }
.hud-fold > span:not(.hud-kind) { overflow: hidden; text-overflow: ellipsis; }
.hud-fold { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.03); border: .5px solid rgba(255,255,255,.06); border-radius: 10px; padding: 7px 11px; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; }
.hud-fold em { margin-left: auto; font: 400 9.5px var(--script); color: rgba(255,255,255,.32); padding-left: 8px; }
.hud-cap { color: rgba(255,255,255,.62); font-size: 11px; white-space: nowrap; overflow: hidden; }
.hud-cap span { font: 700 8.5px var(--script); color: #ffa044; margin-right: 5px; }
.hud-askbar { display: flex; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.05); border: .5px solid rgba(255,255,255,.07); border-radius: 9px; padding: 7px 10px; color: rgba(255,255,255,.42); }
.hud-askbar kbd { border: 0; color: rgba(255,255,255,.28); font-weight: 400; padding: 0; }

.props { display: grid; }
.props > div { border-top: var(--rule); padding: 18px 0 22px; display: grid; gap: 8px; }
.props > div:last-child { border-bottom: var(--rule); }
.props dt { font-size: clamp(24px, 2.3vw, 32px); }
.props dd { max-width: 52ch; }

/* ── Page 4 · stealth ───────────────────────────────────────────────── */
.stealth { margin-top: clamp(36px, 5vw, 64px); }
.st-ctl { display: flex; align-items: center; gap: 14px; font: 700 14px var(--script); letter-spacing: .08em; margin-bottom: 20px; }
.st-ctl b { font-weight: 400; letter-spacing: 0; }
.sw { width: 58px; height: 30px; border: 2px solid var(--ink); background: transparent; padding: 3px; display: flex; transition: background .15s; }
.sw i { width: 20px; height: 20px; background: var(--ink); transition: transform .18s ease, background .15s; }
.sw[aria-checked="true"] { background: var(--whisper); }
.sw[aria-checked="true"] i { transform: translateX(28px); background: #fff; }
.st-panes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.st-panes figcaption { font: 700 12.5px var(--script); letter-spacing: .1em; margin-bottom: 10px; }
.screen { position: relative; aspect-ratio: 16 / 10; background: var(--white); border: 2px solid var(--ink); overflow: hidden; }
.slide { position: absolute; inset: 12% 50% auto 7%; display: grid; gap: 10px; }
.slide b { font: 800 clamp(16px, 2vw, 28px)/1 var(--disp); font-stretch: 62%; margin-bottom: 6px; }
.slide i { height: 8px; background: #d9dce1; }
.slide i.s { width: 60%; }
.chit {
  position: absolute; right: 5%; top: 9%; width: 40%;
  background: #15151a; color: #fff; border-radius: 10px; padding: 9px 10px;
  font: 500 clamp(9.5px, .95vw, 12.5px)/1.35 var(--body);
  transition: opacity .25s, visibility .25s;
}
.chit u { display: block; text-decoration: none; font: 700 9px var(--body); letter-spacing: .08em; color: #ffa044; margin-bottom: 3px; }
.chit em { display: block; margin-top: 6px; font: 700 10.5px var(--script); color: #ff7b6e; font-style: normal; }
.chit.leak { outline: 2.5px solid var(--red); outline-offset: 3px; }
.stealth[data-on="true"] .chit.leak { opacity: 0; visibility: hidden; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 5vw, 64px); }
.triad li { border-top: var(--rule); padding-top: 14px; max-width: 40ch; }

/* ── Page 5 · coverage ──────────────────────────────────────────────── */
.cov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dash { margin-top: 26px; display: grid; gap: 9px; max-width: 56ch; }
.dash li { padding-left: 26px; position: relative; }
.dash li::before { content: "—"; position: absolute; left: 0; }
.sheet { background: var(--white); border: 2px solid var(--ink); padding: 22px 24px 24px; font: 400 14.5px/1.5 var(--script); display: grid; gap: 18px; }
.sheet-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .08em; }
.sheet-top { border-bottom: var(--rule); padding-bottom: 10px; font-weight: 700; }
.sheet-verdict { display: grid; gap: 12px; justify-items: start; }
.stamp {
  font: 800 30px/1 var(--disp); font-stretch: 62%; letter-spacing: .06em;
  color: var(--red); border: 3.5px solid var(--red); padding: 5px 12px 3px;
  transform: rotate(-4deg); margin: 2px 0 2px 4px;
}
.sheet-verdict p { font: 500 16.5px/1.45 var(--body); }
.sheet-nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule); border-bottom: var(--rule); }
.sheet-nums div { padding: 12px 0 10px; display: grid; gap: 4px; }
.sheet-nums div + div { border-left: var(--rule); padding-left: 16px; }
.sheet-nums b { font: 800 46px/.9 var(--disp); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.sheet-nums b.red, .sheet-miss { color: var(--red); }
.sheet-nums span { font-size: 11px; letter-spacing: .08em; }
.sheet-q { display: grid; grid-template-columns: 6ch 1fr; gap: 12px; }
.sheet-q u { text-decoration: none; font-weight: 700; }
.sheet-q p span { display: block; color: var(--ink-2); font-size: 13px; margin-top: 3px; }
.sheet-miss { font-weight: 700; }

/* ── Page 6 · cast ──────────────────────────────────────────────────── */
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); }
.cast > div { border-top: var(--rule); padding: 18px 0 30px; display: grid; gap: 8px; }
.cast dt { font-size: clamp(30px, 3.4vw, 48px); }
.cast dd { max-width: 46ch; }
.not { margin-top: 18px; color: var(--whisper); font: italic 500 16px/1.4 var(--body); font-stretch: 88%; }

/* ── Page 7 · rate card ─────────────────────────────────────────────── */
.bill { display: inline-flex; border: 2px solid var(--ink); margin-top: 34px; }
.bill-opt { background: transparent; border: 0; font: 700 12.5px/1 var(--script); letter-spacing: .08em; padding: 11px 14px 9px; }
.bill-opt + .bill-opt { border-left: 2px solid var(--ink); }
.bill-opt[aria-pressed="true"] { background: var(--ink); color: var(--gold); }

.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border-top: var(--rule); border-bottom: var(--rule); }
.rate { position: relative; padding: 26px clamp(16px, 2.4vw, 36px) 30px 0; display: grid; gap: 6px; align-content: start; }
.rate + .rate { border-left: var(--rule); padding-left: clamp(16px, 2.4vw, 36px); }
.rate h3 { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--disp); font-stretch: 62%; text-transform: uppercase; }
.rate-for { color: var(--ink-2); min-height: 2.9em; }
.rate-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.rate-price b { font: 800 clamp(64px, 7vw, 104px)/.85 var(--disp); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.rate-price span { font: 400 16px var(--script); }
.rate-billed { font: 400 13px var(--script); color: var(--ink-2); }
.rate-min { min-height: 4.5em; align-content: center; display: grid; margin: 14px 0 16px; padding: 10px 0; border-top: 1px dashed var(--ink); border-bottom: 1px dashed var(--ink); font: 400 15px var(--script); }
.rate-min b { font-size: 18px; }
.rate-min { grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.rate-min span { color: var(--ink-2); }
.rate .btn { justify-self: start; }
.rate ul { margin-top: 18px; display: grid; gap: 7px; font-size: 15.5px; }
.rate li { padding-left: 22px; position: relative; }
.rate li::before { content: "—"; position: absolute; left: 0; }
.pick {
  position: absolute; top: 18px; right: clamp(8px, 2vw, 30px);
  color: var(--whisper); text-align: right;
  font: italic 600 17px/1.05 var(--body); font-stretch: 80%;
  transform: rotate(5deg);
}
.pick::after { content: "↙"; display: block; font-style: normal; font-size: 22px; margin-top: 2px; }
.founding { margin-top: 22px; color: var(--whisper); font: italic 500 17px/1.4 var(--body); font-stretch: 88%; max-width: 70ch; }
.founding b { font-style: normal; font-weight: 700; }
.founding code { font: 700 15px var(--script); font-style: normal; border: 1.5px solid var(--whisper); padding: 1px 6px 0; }

.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 2px solid var(--ink); margin-top: clamp(40px, 5vw, 72px); }
.calc-in { padding: clamp(20px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.calc h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font: 400 15px var(--script); margin-top: 8px; }
.calc output { font-weight: 700; }
.calc input[type=range] { width: 100%; accent-color: var(--ink); height: 28px; }
.calc-out { background: var(--ink); color: var(--gold); padding: clamp(20px, 3vw, 36px); display: grid; gap: 4px; align-content: center; }
.calc-out span { font: 700 11.5px var(--script); letter-spacing: .12em; opacity: .75; margin-top: 8px; }
.calc-out b { font: 800 clamp(30px, 3.2vw, 44px)/1 var(--disp); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.calc-out .calc-plan { font-size: clamp(64px, 7.5vw, 112px); line-height: .85; text-transform: uppercase; color: #fff; }
.calc-out p { font: 400 14px/1.45 var(--script); margin-top: 10px; opacity: .85; }

.packs-h { font-size: clamp(30px, 3.2vw, 44px); margin-top: clamp(44px, 6vw, 80px); }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 2px solid var(--ink); }
.packs a { display: grid; gap: 2px; padding: 18px 18px 16px; text-decoration: none; transition: background .15s, color .15s; }
.packs a + a { border-left: 2px dashed var(--ink); }
.packs a:hover { background: var(--ink); color: var(--gold); }
.packs b { font: 700 15px var(--script); }
.packs span { font: 800 clamp(40px, 4.4vw, 60px)/.95 var(--disp); font-stretch: 62%; }
.packs i { font: 400 12.5px var(--script); font-style: normal; opacity: .8; }

/* ── Page 8 · Q&A as dialogue ───────────────────────────────────────── */
.qa { margin-top: clamp(32px, 4vw, 56px); border-bottom: var(--rule); max-width: 980px; }
.qa details { border-top: var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 12ch 1fr auto; gap: 8px; align-items: baseline;
  padding: 18px 0 16px;
  font: 700 clamp(16px, 1.4vw, 19px)/1.35 var(--script);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 26px/0.8 var(--script); }
.qa details[open] summary::after { content: "–"; }
.qa summary:hover { color: var(--whisper); }
.qa .char { font: 700 13px var(--script); letter-spacing: .1em; }
.ans { display: grid; grid-template-columns: 12ch 1fr; gap: 8px; padding: 0 40px 24px 0; }
.ans .char { padding-top: 4px; }
.ans p { max-width: 66ch; }

/* ── Page 9 · fade out ──────────────────────────────────────────────── */
.p-last { display: grid; gap: 26px; justify-items: start; }
.p-last .pg-head { width: 100%; margin-bottom: 0; }
.fade-out { justify-self: end; font: 700 16px var(--script); letter-spacing: .06em; margin-top: clamp(20px, 4vw, 60px); }
.p-last .deck { margin-top: 0; }

/* ── Footer & them-note ─────────────────────────────────────────────── */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 18px clamp(16px, 3vw, 36px) 34px;
  font: 400 12.5px var(--script); letter-spacing: .06em;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.themnote {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 16px;
  width: min(680px, calc(100vw - 24px));
  background: var(--ink); color: #fff; padding: 12px 14px 12px 18px;
  font: 400 14px/1.4 var(--script);
  box-shadow: 0 16px 30px -12px rgba(16,18,22,.6);
}
.themnote[hidden] { display: none; }
.themnote .btn { background: var(--whisper); border-color: var(--whisper); white-space: nowrap; }
.themnote .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── Small screens ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .bar-nav { display: none; }
  .bar { gap: 12px; }
  .bar-brand { margin-right: auto; }
  .hero-side, .product, .cov, .calc { grid-template-columns: 1fr; }
  .hero-side .lede { grid-row: auto; }
  .moves, .triad { grid-template-columns: 1fr; }
  .cast { grid-template-columns: 1fr; }
  .beat { grid-template-columns: 1fr; row-gap: 14px; }
  .mg:empty { display: none; }
  .note { margin-left: 6ch; max-width: none; padding-left: 14px; border-left: 1.5px solid var(--whisper); }
  .note::before { display: none; }
  .sc .char { margin-left: 14ch; } .sc .paren { margin-left: 10ch; } .sc .dia { margin-left: 6ch; }
  .rates { grid-template-columns: 1fr; }
  .rate + .rate { border-left: 0; border-top: var(--rule); padding-left: 0; }
  .rate-for { min-height: 0; }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs a:nth-child(3) { border-left: 0; }
  .packs a:nth-child(n+3) { border-top: 2px dashed var(--ink); }
  .callwin { width: 100%; min-height: 560px; }
  .hud { width: min(400px, 92%); top: 70px; }
}
@media (max-width: 560px) {
  .page { padding-left: 20px; padding-right: 20px; }
  .page::before { display: none; }
  .st-panes { grid-template-columns: 1fr; }
  .view-label { display: none; }
  .bar .btn { display: none; }
  .sc .char { margin-left: 9ch; } .sc .paren { margin-left: 6ch; } .sc .dia { margin-left: 3ch; }
  .note { margin-left: 3ch; }
  .qa summary, .ans { grid-template-columns: 1fr auto; }
  .qa summary .char, .ans .char { grid-column: 1 / -1; }
  .ans { grid-template-columns: 1fr; padding-right: 0; }
  .themnote { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
