/* Self-hosted fonts (copied by scripts/vendor.mjs; SIL Open Font License). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2-variations"), url("/fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2-variations"), url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8a8a8a;
  --line: #222;
  --panel: #0e0e0e;
  --accent: #fff;
  --live: #ff3b30;
  --ok: #34c759;
  --radius: 18px;
  --display: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; padding: 80px var(--gutter); }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  position: relative; z-index: 5;
}
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; gap: 12px; }
.logo .tagline { font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--muted); }
@media (max-width: 560px) { .logo .tagline { display: none; } }
.topbar nav { display: flex; gap: 20px; font-size: 15px; }
.topbar nav a { text-decoration: none; color: var(--muted); }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--fg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line); background: transparent;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: #555; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-primary:hover { background: #e9e9e9; }
.btn-xl {
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px);
  padding: 18px 30px; letter-spacing: -0.01em;
}
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--fg); border-color: transparent; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- stage ---------- */
.stage-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  padding: 8px var(--gutter) 40px;
  align-items: center;
  max-width: 1480px; width: 100%; margin: 0 auto;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}
.screen video { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; background: transparent; }
.screen.landscape video { object-fit: cover; }
.screen .blurfill {
  position: absolute; inset: -40px; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(40px) brightness(.35) saturate(1.2);
}
.screen-chrome { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.screen-chrome > * { pointer-events: auto; }
.sound-btn {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.live-badge {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.55); border-radius: 999px; padding: 6px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
/* A spotlight, not a red "recording" dot: this is the current pitch, not a livestream. */
.live-badge::before { content: "★"; font-size: 11px; letter-spacing: 0; }
@keyframes pulse { 50% { opacity: .3; } }

.empty-stage {
  display: grid; place-items: center; text-align: center; height: 100%; padding: 24px;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #000 70%);
}
.empty-stage h2 { font-size: clamp(28px, 4vw, 52px); margin: 0 0 8px; }

.info { display: flex; flex-direction: column; gap: 22px; }
.handle { color: var(--muted); font-size: 15px; margin: 0; }
.title { font-size: clamp(30px, 3.4vw, 46px); margin: 0; word-break: break-word; }
.visit { font-size: 15px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; word-break: break-all; }
.visit:hover { color: var(--fg); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; margin: 0; }
.stats dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }

.cta { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cta .btn-xl { width: 100%; }
.price-note { font-size: 13px; color: var(--muted); margin: 0; }
.price-tick { font-variant-numeric: tabular-nums; }

/* portrait video on desktop: tall screen centred in its column */
@media (min-width: 900px) {
  .screen.portrait { aspect-ratio: 16 / 9; }
}

@media (max-width: 899px) {
  .stage-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 0 32px; }
  .stage-wrap .info { padding: 0 var(--gutter); }
  .screen { border-radius: 0; }
  .screen.portrait { aspect-ratio: auto; height: calc(100svh - 64px); }
  .screen.portrait video { object-fit: cover; }
  .screen.portrait .blurfill { display: none; }
  /* Landscape (e.g. demo + camera bubble) is short on a phone: put the
     badge and buttons in a bar below the picture instead of over its corners. */
  .screen.landscape.player { aspect-ratio: auto; display: flex; flex-direction: column; }
  .screen.landscape.player video { aspect-ratio: 16 / 9; height: auto; }
  .screen.landscape .screen-chrome {
    position: static; display: flex; align-items: center; gap: 10px;
    padding: 10px var(--gutter); background: #050505; border-bottom: 1px solid var(--line);
  }
  .screen.landscape .screen-chrome > * { position: static; }
  .screen.landscape .sound-btn { padding: 8px 14px; font-size: 13px; }
  .screen.landscape .cc-btn { margin-left: auto; }
  .stats dd { font-size: 19px; }
}

/* ---------- generic page ---------- */
.page { width: 100%; max-width: 980px; margin: 0 auto; padding: 16px var(--gutter) 80px; flex: 1; }
.page h1 { font-size: clamp(36px, 6vw, 64px); margin: 12px 0 12px; }
.lede { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 32px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* ---------- take flow ---------- */
.steps { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.steps li { height: 4px; flex: 1; background: var(--line); border-radius: 4px; }
.steps li.done { background: var(--fg); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius);
  padding: 22px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease;
}
.choice:hover { border-color: #444; }
.choice[aria-pressed="true"] { border-color: var(--fg); }
.choice .shape { border: 2px solid currentColor; border-radius: 6px; opacity: .8; }
.choice .shape.l { width: 64px; height: 36px; }
.choice .shape.p { width: 27px; height: 48px; }
.choice strong { font-family: var(--display); font-size: 22px; }

.rec-area { display: grid; justify-items: center; gap: 18px; }
.rec-screen {
  position: relative; background: #050505; border-radius: var(--radius); overflow: hidden;
  width: 100%; max-height: 70svh;
}
.rec-screen.landscape { aspect-ratio: 16 / 9; }
.rec-screen.portrait { aspect-ratio: 9 / 16; width: auto; height: min(70svh, 720px); max-width: 100%; }
.rec-screen video { width: 100%; height: 100%; object-fit: cover; }
.rec-screen video.mirror { transform: scaleX(-1); }
.countdown {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 160px; background: rgba(0,0,0,.35);
}
.timer {
  position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.6);
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 8px;
}
.timer.rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--live); animation: pulse 1s infinite; }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--live); width: 0; transition: width .2s linear; }

.rec-btn {
  width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: transparent; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.rec-btn span { width: 56px; height: 56px; border-radius: 50%; background: var(--live); transition: all .2s ease; }
.rec-btn.stop span { width: 28px; height: 28px; border-radius: 6px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 600; display: flex; justify-content: space-between; }
.field input {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--fg); font: inherit; font-size: 17px;
}
.field input:focus { outline: none; border-color: #777; }
.field .hint { font-size: 13px; color: var(--muted); }
.counter { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }

.error { color: #ff6b6b; margin: 12px 0; }
.notice { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 16px 0; color: #ddd; }

.spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--fg);
  animation: spin 0.9s linear infinite; margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--fg); transition: width .2s ease; }

.share-box { display: flex; gap: 8px; align-items: stretch; margin: 10px 0 18px; }
.share-box input, .share-box textarea {
  flex: 1; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; color: var(--fg); font: inherit; resize: none;
}

/* ---------- archive ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.tabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.card .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b0b0b; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card .rank { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.65); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 13px; }
.card .live-badge { top: 10px; left: auto; right: 10px; }
.card h3 { font-family: var(--display); font-size: 20px; margin: 0; line-height: 1.15; }
.card .meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* ---------- pitch page ---------- */
.pitch-page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 8px var(--gutter) 60px; }
.pitch-page .screen.portrait { aspect-ratio: 16 / 9; }
@media (max-width: 899px) {
  .pitch-page { padding: 0 0 40px; }
  .pitch-page .info { padding: 0 var(--gutter); }
  .pitch-page .screen { border-radius: 0; }
  .pitch-page .screen.portrait { aspect-ratio: 9 / 16; max-height: 80svh; }
}
.pitch-page .info { margin-top: 24px; }

dialog {
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; max-width: 420px; width: calc(100% - 32px);
}
dialog::backdrop { background: rgba(0,0,0,.7); }
dialog textarea { width: 100%; min-height: 90px; background: #000; color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; }

footer.site { padding: 28px var(--gutter); color: var(--muted); font-size: 13px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

.prose h2 { font-family: var(--display); font-size: 26px; margin: 36px 0 8px; }
.prose li { margin: 6px 0; }

@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
}

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

/* ---------- stats ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.kpi strong { font-family: var(--display); font-size: clamp(26px, 4vw, 36px); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi em { font-style: normal; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- price alerts ---------- */
.alert-box { border-top: 1px solid var(--line); padding-top: 14px; }
.alert-box summary { cursor: pointer; color: var(--muted); font-size: 14px; list-style: none; }
.alert-box summary::-webkit-details-marker { display: none; }
.alert-box summary::before { content: "🔔 "; }
.alert-box summary:hover, .alert-box[open] summary { color: var(--fg); }
.alert-box form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.alert-row { display: flex; gap: 8px; }
.alert-row input, .alert-price {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  color: var(--fg); font: inherit; padding: 10px 12px; min-width: 0;
}
.alert-price { display: flex; align-items: center; gap: 2px; width: 104px; flex: none; }
.alert-price input { border: 0; padding: 0; background: transparent; width: 100%; }
.alert-row > input { flex: 1; width: 100%; }
.alert-row input:focus, .alert-price:focus-within { outline: none; border-color: #777; }
.alert-box .btn { align-self: flex-start; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20;
  background: var(--fg); color: #000; padding: 12px 18px; border-radius: 999px; font-weight: 600;
  max-width: calc(100% - 32px); text-align: center;
}

/* ---------- captions ---------- */
.cc-btn {
  position: absolute; z-index: 2; right: 16px; bottom: 16px;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  padding: 6px 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; cursor: pointer; opacity: .55;
}
.cc-btn[aria-pressed="true"] { opacity: 1; border-color: rgba(255,255,255,.7); }
video::cue {
  font-family: var(--body); font-weight: 600; font-size: clamp(15px, 2.2vw, 22px);
  color: #fff; background: rgba(0,0,0,.72); line-height: 1.35;
}

/* ---------- pitch mode (camera / demo) ---------- */
.choice:disabled { opacity: .4; cursor: not-allowed; }
.mode-icon { width: 64px; height: 40px; display: grid; place-items: center; }
.mi-face { width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; opacity: .8; }
.mi-screen { position: relative; width: 64px; height: 36px; border: 2px solid currentColor; border-radius: 6px; opacity: .8; }
.mi-bubble { position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.field-label { font-weight: 600; margin: 28px 0 10px; }
.choice-grid.compact .choice { padding: 14px 18px; flex-direction: row; align-items: center; gap: 14px; }
.choice-grid.compact .choice strong { font-size: 18px; }
.choice-grid.compact .choice .muted { margin-left: auto; }

.rec-canvas { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b0b0b; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.demo-controls.locked { pointer-events: none; opacity: .5; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 9px 14px; cursor: pointer; color: var(--muted); font-weight: 600; min-width: 42px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--fg); color: #000; }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
#demo-camera[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
.demo-tip { max-width: 640px; text-align: center; margin: 0 auto; }
.countdown span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.countdown small { font-family: var(--body); font-size: 20px; font-weight: 600; margin-top: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 560px) { .choice-grid.compact .choice .muted { display: none; } }

#demo-format-note, #demo-unavailable { margin-top: 14px; }

/* ---------- "why 30pitch" section ---------- */
@media (min-width: 900px) {
  .stage-wrap { min-height: calc(100svh - 128px); }
}
.why-cue {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); font-size: 14px; text-decoration: none; padding: 6px 0 26px;
}
.why-cue:hover { color: var(--fg); }
.why-cue span { display: inline-block; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }

.why { border-top: 1px solid var(--line); padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(64px, 10vw, 120px); }
.why-inner { max-width: 1120px; margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }

.why-title { font-size: clamp(52px, 9vw, 128px); margin: 0; line-height: .95; letter-spacing: -0.045em; }
.struck { position: relative; color: #5c5c5c; white-space: nowrap; }
.struck::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em;
  background: var(--live); border-radius: 99px; transform: rotate(-4deg);
  transform-origin: left center;
}
.js-reveal .reveal .struck::after, .js-reveal .why-title.reveal .struck::after { transform: rotate(-4deg) scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1) .35s; }
.js-reveal .why-title.reveal.in .struck::after { transform: rotate(-4deg) scaleX(1); }

.why-lede { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: #b5b5b5; max-width: 640px; margin: 28px 0 0; }

.contrast { list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.contrast li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.contrast .was {
  color: #8c8c8c; font-size: 18px; text-decoration: line-through;
  text-decoration-color: rgba(255, 59, 48, .55); text-decoration-thickness: 1px;
}
.contrast .now {
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15; letter-spacing: -0.02em; display: flex; gap: 16px;
}
.contrast .now::before { content: "→"; color: var(--muted); font-family: var(--body); font-weight: 500; transition: transform .25s ease, color .25s ease; }
.contrast li:hover .now::before { transform: translateX(4px); color: var(--fg); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(64px, 9vw, 112px); }
.how-step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 8px;
}
.how-step strong { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.how-step span:last-child { color: var(--muted); font-size: 15px; }
.how-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--fg); color: #000; font-weight: 700; font-size: 15px;
}

.why-cta {
  margin-top: clamp(80px, 11vw, 140px); display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center;
}
.why-cta-line { font-size: clamp(40px, 6.5vw, 88px); margin: 0; line-height: .98; letter-spacing: -0.04em; }

/* reveal on scroll (only when JS + motion allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .contrast li.reveal:nth-child(2) { transition-delay: .05s; }
.js-reveal .contrast li.reveal:nth-child(3) { transition-delay: .1s; }
.js-reveal .contrast li.reveal:nth-child(4) { transition-delay: .15s; }
.js-reveal .contrast li.reveal:nth-child(5) { transition-delay: .2s; }
.js-reveal .contrast li.reveal:nth-child(6) { transition-delay: .25s; }

@media (max-width: 760px) {
  .contrast li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
  .contrast .was { font-size: 16px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .why-cta .btn-xl { width: 100%; }
}
.turnstile:not(:empty) { margin: 4px 0 18px; }

/* ---------- queue ("Up next") ---------- */
.queue { border-top: 1px solid var(--line); padding-top: 16px; }
.queue-title { margin: 0 0 10px; font-weight: 600; font-size: 14px; }
.queue-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.queue-item { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.queue-item img, .queue-thumb { width: 64px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--panel); flex: none; }
.queue-text { display: flex; flex-direction: column; min-width: 0; }
.queue-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-item:hover strong { text-decoration: underline; }
.live-badge.up-next::before { content: "⏳"; }

/* ---------- consent banner ---------- */
.consent {
  position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 720px;
  background: #111; border: 1px solid #2a2a2a; border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0,0,0,.6);
  padding: 18px 20px; display: flex; gap: 18px; align-items: center;
}
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: #c9c9c9; }
.consent p strong { color: var(--fg); }
.consent a { color: var(--fg); }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-actions .btn { padding: 10px 18px; }
@media (max-width: 600px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
}

/* ---------- policy pages ---------- */
.policy h3 { font-family: var(--display); font-size: 19px; margin: 24px 0 6px; }
.policy li { color: #cfcfcf; }
.policy em { color: var(--muted); font-style: normal; font-size: 14px; }
.policy .todo { background: #3a2a00; color: #ffd166; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.policy-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 560px) { .policy-table { font-size: 14px; } }

/* ---------- policy pages ---------- */
.policy h3 { font-family: var(--display); font-size: 19px; margin: 24px 0 6px; }
.policy li { color: #cfcfcf; }
.policy em { color: var(--muted); font-style: normal; font-size: 14px; }
.policy .todo { background: #3a2a00; color: #ffd166; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.policy-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 560px) { .policy-table { font-size: 14px; } }

/* ---------- pitch page transcript (server-rendered, for readers and crawlers) ---------- */
.transcript { padding-top: 0; padding-bottom: 32px; }
.transcript details { border-top: 1px solid var(--line); padding-top: 16px; }
.transcript summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.transcript p { color: var(--muted); line-height: 1.6; white-space: pre-line; margin: 12px 0 0; max-width: 720px; }

/* ---------- teleprompter (record step; page overlay, never in the video) ---------- */
.rec-screen .timer, .rec-screen .countdown { z-index: 2; }
.prompter {
  position: absolute; left: 0; right: 0; top: 0; height: 42%; z-index: 1; cursor: pointer;
  background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.6) 70%, rgba(0,0,0,0));
}
.prompter-window {
  position: absolute; inset: 0; overflow: hidden; padding: 0 clamp(18px, 7%, 64px);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.prompter-text {
  /* short lines keep the eyes near the lens instead of sweeping across the screen */
  position: relative; top: 30%; max-width: 30ch; margin: 0 auto;
  text-align: center; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--display); font-weight: 700; line-height: 1.32; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); will-change: transform;
}
.prompter-guide {
  position: absolute; left: 10px; right: 10px; top: 30%; pointer-events: none;
  border-top: 2px solid rgba(255,255,255,.16);
}
.prompter-guide::before {
  content: ""; position: absolute; left: -2px; top: -7px;
  border: 6px solid transparent; border-left: 9px solid var(--live);
}
.prompter:not(.running)::after {
  content: "❚❚"; position: absolute; left: 14px; top: 12px; font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,.55);
}
.prompter-panel { width: 100%; display: grid; gap: 10px; }
.prompter-input {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 110px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5;
}
.prompter-input:focus { outline: 2px solid rgba(255,255,255,.5); outline-offset: 1px; }
.prompter-meta { margin: 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.prompter-meta.over { color: var(--live); }
.prompter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.prompter-speed { display: flex; align-items: center; gap: 10px; flex: 1 1 220px; font-size: 14px; color: var(--muted); }
.prompter-speed input { flex: 1; accent-color: #fff; min-width: 100px; }
.prompter-speed output { font-variant-numeric: tabular-nums; color: var(--fg); min-width: 64px; text-align: right; }

/* ---------- "How it works" screen recording (front page) ---------- */
.how-video { margin: clamp(32px, 5vw, 56px) 0 0; }
.how-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #050505;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.how-video figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- free pitch code (pay step) ---------- */
.promo { margin-top: 28px; max-width: 460px; }
.promo summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.promo summary:hover { color: var(--fg); }
.promo-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 14px; align-items: center; }
.promo-form input {
  min-width: 0; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 16px;
}
.promo-form #promo-code { text-transform: uppercase; letter-spacing: .06em; }
.promo-form .price-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 560px) { .promo-form { grid-template-columns: 1fr; } }

/* ---------- admin: free pitch codes ---------- */
.codes { display: grid; gap: 14px; }
.code-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.code-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.code-form label.grow { flex: 1 1 200px; }
.code-form input {
  background: #000; color: var(--fg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font: inherit; width: 140px; box-sizing: border-box;
}
.code-form label.grow input { width: 100%; }
.code-new { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px dashed var(--fg); border-radius: 12px; }
.code-new code { font-size: 22px; font-weight: 700; letter-spacing: .08em; flex: 1; }
.code-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.code-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.code-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.code-table tr.dead { opacity: .45; }

/* ---------- "How to pitch" formula (front page) ---------- */
.formula { margin-top: clamp(80px, 11vw, 140px); }
.formula-title { font-size: clamp(40px, 6.5vw, 88px); margin: 0; line-height: .98; letter-spacing: -0.04em; max-width: 15ch; }
.formula-beats {
  list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0;
  display: grid; grid-template-columns: 5fr 10fr 10fr 5fr; gap: 10px;
}
/* the bar on top of each beat is proportional to its seconds, so the row reads as a 30-second timeline */
.formula-beats li {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 22px 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.formula-beats li::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--fg); opacity: .9;
}
.formula-beats li:first-child::before { background: var(--live); }
.beat-time { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.formula-beats strong { font-family: var(--display); font-size: 21px; letter-spacing: -0.01em; }
.formula-beats q { quotes: "“" "”"; font-size: 16px; line-height: 1.45; color: var(--fg); }
.beat-tip { margin-top: auto; padding-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.formula-example { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.formula-example summary { cursor: pointer; font-weight: 600; }
.formula-example p { margin: 14px 0 0; line-height: 1.7; max-width: 760px; }
.beat-label {
  display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: 2px;
}
.formula-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 899px) {
  .formula-beats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .formula-beats { grid-template-columns: 1fr; }
}

/* ---------- front page intro (the page's h1: what, who for, a number, the price) ---------- */
.facts-table th { width: 160px; padding-top: 12px; }
@media (max-width: 560px) { .facts-table th, .facts-table td { display: block; width: auto; border-bottom: 0; padding: 4px 0; } .facts-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } }

/* ---------- caption editor (pay step, stats page) ---------- */
.captions-edit { margin: 0 0 24px; max-width: 640px; }
.captions-edit summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.captions-edit summary:hover, .captions-edit[open] summary { color: var(--fg); }
.cap-body { margin-top: 12px; }
.cap-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.cap-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.cap-time {
  font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted);
  background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; cursor: pointer; min-width: 52px;
}
.cap-time:hover { color: var(--fg); border-color: var(--fg); }
.cap-input {
  min-width: 0; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font: inherit; font-size: 16px;
}
.cap-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cap-status { margin: 0; font-size: 14px; color: var(--muted); }
.cap-status.ok { color: var(--fg); }
.cap-status.error { color: #ff6b6b; }
.stats-captions { margin-top: 28px; }
.stats-captions .rec-area { margin-bottom: 14px; }
.stats-captions .rec-screen.portrait { height: min(50svh, 480px); }
.stats-captions:not(:has(.captions-edit[open])) .rec-area { display: none; }
