/* Bad Takes — landing page.
   Same midnight dubbing booth as the app: tokens, type stacks and component
   shapes are lifted from renderer/styles.css so the site and the product read
   as one thing. Dark is the default; body.light is the matinee palette. */

:root {
  --bg: #1a1626;
  --surface: #241e33;
  --surface-2: #2d2640;
  --accent: #ffb84d;
  --hot: #ff4f79;
  --text: #f2ede4;
  --dim: #8e85a3;
  --on-accent: #1a1626;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.35);
  --glow: rgba(255, 184, 77, 0.45);
  --wave-bg: rgba(26, 22, 38, 0.7);
  --display: "Futura", "Trebuchet MS", "Avenir Next", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "Menlo", "Consolas", monospace;
  --topbar-h: 57px;
  --gutter: 40px;
  --maxw: 1180px;
}

body.light {
  --bg: #f6f1e6;
  --surface: #fffdf7;
  --surface-2: #e7dfcd;
  --accent: #f0a63c;
  --hot: #e0335f;
  --text: #2a2438;
  --dim: #837b96;
  --on-accent: #241e33;
  --shadow-card: 0 18px 50px rgba(42, 36, 56, 0.14);
  --glow: rgba(240, 166, 60, 0.5);
  --wave-bg: rgba(246, 241, 230, 0.7);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 20px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hidden { display: none !important; }
/* The browser's own [hidden] { display: none } rule is user-agent-origin, so
   it loses the cascade to any later author rule that also sets `display` —
   e.g. .ghost-btn's `display: inline-block` — even though nothing here beats
   it on specificity. Without this rule, a `hidden` element that also carries
   such a class (the thank-you page's Copy button, for one) stays visible.
   `!important` is load-bearing, not decoration: it's what lets this one
   author rule out-rank every other same-origin author rule regardless of
   selector or source order. normalize.css does the same for the same reason. */
[hidden] { display: none !important; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--accent); }

/* ---------- top bar (the app's, verbatim) ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--topbar-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--surface-2);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  z-index: 20;
}

.wordmark,
.foot-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  display: flex;
  gap: 6px;
  flex: none;
}
.wordmark-bad { color: var(--text); }
.wordmark-takes {
  color: var(--on-accent);
  background: var(--accent);
  padding: 0 6px;
  border-radius: 4px;
  box-shadow: 0 0 18px var(--glow);
}

.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a {
  font-size: 14px;
  color: var(--dim);
  transition: color 0.12s ease;
}
.topnav a:hover { color: var(--text); }

.topbar-right { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-btn { color: var(--accent); padding: 8px 11px; font-size: 14px; line-height: 1; }
.theme-btn:hover { border-color: var(--accent); }
.buy-btn { padding: 9px 18px; font-size: 14px; }

/* ---------- shared bits (the app's button + label vocabulary) ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
  margin-top: 14px;
}

.primary-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 22px var(--glow); }
.primary-btn.big { font-size: 17px; padding: 15px 32px; }

.ghost-btn {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-2);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
}
.ghost-btn:hover { border-color: var(--dim); }
.ghost-btn.big { font-size: 15px; font-weight: 600; padding: 14px 26px; }

.hl { color: var(--hot); }
.hl-dim { color: var(--text); }

/* ---------- hero ---------- */
/* The copy sits left; the screening room runs off the right edge of the page
   like the next frame of a strip. */
/* Same container as every other section, so the copy lines up with the
   headings below — but the stage panel runs off the right edge of the page
   like the next frame of a strip. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) var(--gutter) clamp(48px, 6vw, 82px);
}

.hero-copy { max-width: 34rem; }
.hero-stage {
  margin-right: calc(-1 * max(0px, (100vw - var(--maxw)) / 2 + var(--gutter)));
}
.nowrap { white-space: nowrap; }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  /* "now on your Mac." is nowrap and ~9.5x the font-size in Futura (the widest
     face in the stack), so the size is capped to what the hero's left column
     actually gives it: (min(100vw, --maxw) - gutters - gap) * 0.45. */
  font-size: min(4.5vw - 5.5px, 47px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: var(--dim);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 22px;
  max-width: 46ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  margin-top: 18px;
  letter-spacing: 0.02em;
}

.hero-note {
  font-size: 14px;
  color: var(--text);
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  line-height: 1.5;
}

/* ---------- the living screening room ---------- */
.hero-stage { min-width: 0; }

.screening-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-right: none;
  border-radius: 18px 0 0 18px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.stagecol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.stage {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface-2);
  aspect-ratio: 16 / 9;
}

/* Nothing photographic here — a lit, empty frame waiting for a line. */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(100% 78% at 50% 4%, rgba(255, 184, 77, 0.3), transparent 64%),
    radial-gradient(70% 62% at 18% 96%, rgba(255, 79, 121, 0.2), transparent 72%),
    linear-gradient(#151022, #06050c);
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
}

.stage .character-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 9px;
}

.hot-mic {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hot);
  border: 1px solid var(--hot);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hot-mic.on { opacity: 1; }
.hot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hot);
  animation: hotpulse 1.2s ease-in-out infinite;
}
@keyframes hotpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  text-align: center;
  font-family: var(--display);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 4px #000;
  color: #f2ede4;
  transition: opacity 0.22s ease;
}

.seek-strip {
  position: relative;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--surface-2);
}
.seek-strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
}

.transport { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.transport-btn {
  background: var(--surface-2);
  border: 1px solid var(--surface-2);
  color: var(--text);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}
.transport-btn.is-live { color: var(--accent); border-color: var(--accent); }

.wave-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legend-swatch { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.legend-swatch.original { background: var(--accent); opacity: 0.6; }
.legend-swatch.take { background: var(--hot); margin-left: 10px; }

.script {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.script-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--surface-2);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.script-hint {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--dim);
}
.timeline { list-style: none; padding: 8px; overflow: hidden; }
.timeline li {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--dim);
  transition: background 0.2s ease, color 0.2s ease;
}
.timeline li.active { background: var(--surface-2); color: var(--text); }
.timeline li.active .who { color: var(--accent); }
.timeline li .line-top { display: flex; gap: 9px; align-items: baseline; }
.timeline li .when { font-family: var(--mono); font-size: 10px; }
.timeline li .who {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline li .src { margin-left: auto; font-size: 10px; white-space: nowrap; }
.timeline li .src.dubbed { color: var(--hot); }
.timeline li .what { margin-top: 3px; line-height: 1.4; }

/* ---------- section shell ---------- */
.band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) var(--gutter);
  border-top: 1px solid var(--surface-2);
}

/* ---------- direct answer block ---------- */
.answer-lede {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.6;
  color: var(--dim);
  max-width: 62ch;
  margin-top: 18px;
}
.answer-lede b { color: var(--text); font-weight: 700; }

.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--surface-2);
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
}
.answer-item { background: var(--surface); padding: 18px 20px; }
.ans-k {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.ans-v { font-size: 14px; line-height: 1.5; color: var(--text); }

.disclaimer {
  margin-top: 26px;
  font-size: 13px;
  color: var(--dim);
  max-width: 62ch;
  line-height: 1.6;
  opacity: 0.8;
}

/* ---------- packs ---------- */
.packs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}

.modal-drop {
  border: 2px dashed var(--accent);
  border-radius: 12px;
  padding: 34px 20px;
  text-align: center;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.modal-drop .drop-main { font-size: 15px; color: var(--text); font-weight: 600; }
.modal-drop .drop-sub { margin-top: 6px; font-size: 12px; color: var(--dim); }

.quirk-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.quirk-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
  padding-left: 16px;
  border-left: 2px solid var(--surface-2);
}
.quirk-list b { color: var(--text); font-weight: 600; }

.format-card {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  padding: 20px 22px;
}
.format-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 14px;
}
.tree {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text);
  overflow-x: auto;
}
.tree code { color: inherit; font-size: inherit; }
.tree .c { color: var(--dim); }
.format-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-2);
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- rooms (call sheet) ---------- */
.rooms {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.room {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: inset 3px 0 0 var(--accent);
}
.slate {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.room h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  margin: 10px 0 10px;
  line-height: 1.15;
}
.room p { font-size: 13.5px; line-height: 1.6; color: var(--dim); }
.room-do {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--surface-2);
  font-size: 12px;
  color: var(--text);
}

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 32px;
  margin-top: 40px;
}
.feature h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p { font-size: 14px; line-height: 1.6; color: var(--dim); }

/* ---------- platforms ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 14px;
  padding: 24px 22px;
}
.platform.is-live { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plat-status {
  display: inline-block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 9px;
}
.plat-status.dim {
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--surface-2);
}
.platform h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  margin: 14px 0 8px;
}
.plat-meta { font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding-bottom: 22px; }
.plat-note { margin-top: auto; font-size: 13px; color: var(--dim); }
.platform .primary-btn { margin-top: auto; }

/* ---------- pricing ticket ---------- */
.ticket-wrap { margin-top: 40px; display: flex; justify-content: center; }

/* A stub torn off the right: notches are punched with bg-coloured circles. */
.ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  max-width: 660px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.ticket-main { padding: 34px 34px 30px; }
.ticket-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.ticket-price {
  font-family: var(--display);
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 10px 0 6px;
}
.ticket-price .cur { font-size: 34px; vertical-align: super; margin-right: 2px; color: var(--accent); }
.ticket-terms { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.ticket-list { list-style: none; margin: 24px 0 26px; display: grid; gap: 10px; }
.ticket-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.ticket-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.ticket-fine { margin-top: 16px; font-size: 12px; color: var(--dim); line-height: 1.5; }

.ticket-stub {
  border-left: 2px dashed var(--surface-2);
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  position: relative;
}
/* the punch holes on the tear line */
.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--surface-2);
}
.ticket-stub::before { top: -11px; }
.ticket-stub::after { bottom: -11px; }
.stub-line {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.stub-line.dim { color: var(--dim); font-weight: 600; font-size: 12px; }
.stub-code {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 78ch; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 10px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 15px;
  flex: none;
}
.faq details[open] summary::before { content: "–"; }
.faq details p {
  padding: 0 0 16px 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 64ch;
}

/* ---------- closer ---------- */
.closer { text-align: center; }
.closer-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 26px;
}
.closer .hero-meta { margin-top: 18px; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--surface-2);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px var(--gutter) 52px;
  display: grid;
  gap: 16px;
}
.foot-mark { font-size: 17px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 13px; color: var(--dim); }
.foot-links a:hover { color: var(--accent); }
.foot-fine { font-size: 12px; color: var(--dim); line-height: 1.6; max-width: 72ch; opacity: 0.75; }

/* ---------- toast (the app's) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 13px;
  z-index: 40;
  box-shadow: var(--shadow-card);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { max-width: none; }
  /* Single column: the title gets the full container, but the nowrap line
     still has to clear the gutters on small phones. */
  .hero-title { font-size: min(clamp(38px, 6.2vw, 68px), 10.2vw - 4.5px); }
  .hero-stage { margin-right: 0; }
  .screening-panel { border-right: 1px solid var(--surface-2); border-radius: 18px; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .topnav { display: none; }
  .packs-grid { grid-template-columns: minmax(0, 1fr); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  /* Stacked: the script sits under the stage and shows all five lines. */
  .screening-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .answer-grid { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-main { padding: 26px 22px 22px; }
  .ticket-stub {
    border-left: none;
    border-top: 2px dashed var(--surface-2);
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    flex-wrap: wrap;
  }
  .ticket-stub::before { top: auto; bottom: -11px; left: -11px; }
  .ticket-stub::after { bottom: -11px; left: auto; right: -11px; }
  .stub-code { margin-top: 0; }
  .buy-btn { padding: 8px 13px; font-size: 13px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .primary-btn,
  .hero-cta .ghost-btn { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-btn:hover { transform: none; }
  .hot-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Thank-you page ─────────────────────────────────────────── */
.thanks {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.thanks h1 { margin-bottom: 2rem; }
.thanks .key {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--surface-2);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  user-select: all;
  overflow-wrap: anywhere;
}
.thanks .muted { color: var(--dim); margin: 2rem 0; }
