:root {
  color-scheme: dark;
  --ink: #0c0b0a;
  --paper: #efebe4;
  --dim: #948e85;
  --line: #2a2724;
  --red: #c9382a;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --ui-bg: #161514;
  --ui-panel: #1e1c1a;
  --ui-line: #302d2a;
  --ui-text: #ece8e1;
  --ui-mute: #8d877e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); }
body { color: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(16px, 5vw, 48px); padding-right: clamp(16px, 5vw, 48px); }

/* Header */

.site-head .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.mark { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; margin-left: 7px; border-radius: 50%; background: var(--red); vertical-align: 2px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.btn { display: inline-block; padding: 11px 20px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; border: 1px solid var(--paper); transition: background 0.2s, color 0.2s; }
.btn:hover { background: transparent; color: var(--paper); }

/* Hero */

.hero { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(56px, 7vw, 90px); }
.hero h1 { font-weight: 500; font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.03em; max-width: 11em; }
.hero p { max-width: 32em; margin-top: clamp(28px, 4vw, 44px); color: var(--dim); font-size: clamp(17px, 1.5vw, 20px); }
.hero .ctas { margin-top: 36px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero .note { color: var(--dim); font-size: 15px; }

/* Review screen mock */

.win { font-size: clamp(6.5px, 0.95vw, 13px); background: var(--ui-bg); color: var(--ui-text); border: 1px solid #3a3632; box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6); overflow: hidden; }
.win-bar { display: flex; align-items: center; justify-content: center; height: 2.6em; border-bottom: 1px solid var(--ui-line); color: var(--ui-mute); font-size: 0.9em; }
.win-body { display: grid; grid-template-columns: 15em 1fr; }

.scenes { border-right: 1px solid var(--ui-line); padding: 1.2em 0.8em; }
.scenes .h { color: var(--ui-mute); font-size: 0.85em; padding: 0 0.6em 0.8em; }
.scene { padding: 0.7em 0.6em; border-radius: 0.3em; }
.scene b { display: block; font-weight: 600; font-size: 0.95em; }
.scene span { color: var(--ui-mute); font-size: 0.85em; }
.scene.on { background: #2a2623; }
.scene.on b::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--red); margin-right: 0.5em; vertical-align: 0.1em; }

.review { padding: 1.2em 1.4em 1.4em; }
.review .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1em; }
.review .top b { font-size: 1.2em; font-weight: 600; }
.review .top span { color: var(--ui-mute); font-size: 0.9em; }

.viewers { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.viewer .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.viewer .tc { position: absolute; left: 0.7em; bottom: 0.6em; font-variant-numeric: tabular-nums; font-size: 0.85em; color: rgba(255, 255, 255, 0.85); }
.viewer .cap { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6em; font-size: 0.9em; }
.viewer .cap span { color: var(--ui-mute); }
.circle { display: inline-block; width: 1.1em; height: 1.1em; border: 1.5px solid var(--red); border-radius: 50%; vertical-align: -0.2em; margin-left: 0.4em; }

/* Abstract frames: a diner at night, wide and close */
.f-wide { background:
  radial-gradient(18% 30% at 22% 34%, rgba(255, 196, 120, 0.55), transparent 70%),
  linear-gradient(90deg, transparent 58%, rgba(70, 110, 140, 0.35) 58%, rgba(70, 110, 140, 0.35) 86%, transparent 86%),
  linear-gradient(180deg, #2b211b 0%, #1c1612 62%, #120d0a 62%, #0d0a08 100%); }
.f-wide::before, .f-wide::after { content: ""; position: absolute; bottom: 30%; width: 9%; height: 34%; background: #070505; border-radius: 40% 40% 6% 6%; }
.f-wide::before { left: 36%; }
.f-wide::after { left: 52%; height: 30%; }
.f-close { background:
  radial-gradient(28% 46% at 48% 58%, #0b0807 0 60%, transparent 61%),
  radial-gradient(40% 60% at 30% 50%, rgba(255, 186, 110, 0.55), transparent 70%),
  linear-gradient(180deg, #2a1f19, #15100d); }
.f-close::after { content: ""; position: absolute; left: 38%; top: 30%; width: 20%; height: 60%; border-radius: 45% 45% 40% 40%; box-shadow: -0.5em 0 1.2em rgba(255, 190, 120, 0.35); }

.line { margin-top: 1.1em; padding: 0.8em 1em; background: var(--ui-panel); border: 1px solid var(--ui-line); display: flex; gap: 1em; align-items: baseline; }
.line b { font-weight: 600; font-size: 0.85em; letter-spacing: 0.04em; }
.line span { color: var(--ui-mute); }
.line mark { background: rgba(201, 56, 42, 0.25); color: var(--ui-text); padding: 0 0.15em; }

.takes { width: 100%; margin-top: 1.1em; border-collapse: collapse; font-size: 0.92em; }
.takes th { text-align: left; color: var(--ui-mute); font-weight: 400; padding: 0 0.6em 0.6em; border-bottom: 1px solid var(--ui-line); }
.takes td { padding: 0.6em; border-bottom: 1px solid var(--ui-line); }
.takes tr.sel td { background: #231f1c; }
.takes td:last-child, .takes th:last-child { text-align: right; }

.edit { margin-top: 1.1em; display: flex; align-items: center; gap: 1em; }
.strip { position: relative; flex: 1; height: 2.4em; background: var(--ui-panel); border: 1px solid var(--ui-line); }
.strip .range { position: absolute; top: 0; bottom: 0; left: 22%; right: 31%; background: rgba(201, 56, 42, 0.22); border-left: 2px solid var(--red); border-right: 2px solid var(--red); }
.strip .head { position: absolute; top: -0.3em; bottom: -0.3em; width: 1.5px; background: var(--ui-text); left: 22%; animation: scrub 6s linear infinite; }
@keyframes scrub { from { left: 22%; } to { left: 69%; } }
.send { padding: 0.65em 1em; background: var(--ui-text); color: #141210; font-weight: 600; white-space: nowrap; }

/* Features */

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(80px, 11vw, 140px); }
.features div { padding: clamp(36px, 4.5vw, 56px) clamp(0px, 2vw, 32px) clamp(40px, 5vw, 64px) 0; }
.features div:nth-child(3n + 2), .features div:nth-child(3n + 3) { padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.features div:nth-child(n + 4) { border-top: 1px solid var(--line); }
.features h2 { font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.features p { margin-top: 10px; color: var(--dim); font-size: 16px; }

/* Waitlist */

.waitlist { padding: clamp(100px, 13vw, 170px) 0; }
.waitlist h2 { font-weight: 500; font-size: clamp(40px, 5.5vw, 76px); letter-spacing: -0.03em; line-height: 1.02; }
.waitlist p { color: var(--dim); max-width: 30em; margin: 20px 0 32px; }

/* Inner pages */

.prose { max-width: 44em; padding: clamp(60px, 9vw, 120px) 0 clamp(100px, 12vw, 160px); }
.prose h1 { font-weight: 500; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.05; }
.prose .meta { color: var(--dim); margin-top: 12px; }
.prose h2 { font-weight: 600; font-size: 22px; margin-top: 48px; }
.prose p, .prose li { color: #c4bdb3; margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose a { border-bottom: 1px solid var(--red); }

/* Footer */

.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a:hover { color: var(--paper); }

@media (max-width: 820px) {
  .win-body { grid-template-columns: 1fr; }
  .scenes { display: none; }
  .features { grid-template-columns: 1fr; }
  .features div, .features div:nth-child(3n + 2), .features div:nth-child(3n + 3) { padding: 32px 0 36px; border-left: 0; }
  .features div:nth-child(n + 2) { border-top: 1px solid var(--line); }
}

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

/* ---------- v2: footage-driven sections ---------- */

.site-head { position: relative; z-index: 5; }
.site-head nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 30px); font-size: 15px; }
.site-head nav a:not(.btn) { color: var(--dim); }
.site-head nav a:not(.btn):hover, .site-head nav a[aria-current] { color: var(--paper); }

/* Hero over a moving board of dailies */
.hero-wrap { position: relative; overflow: hidden; margin-top: -88px; padding-top: 88px; }
.board { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0.9; transform: rotate(-4deg) scale(1.15); }
.board .row { display: flex; gap: 14px; width: max-content; animation: slide 70s linear infinite; }
.board .row.r2 { animation-duration: 90s; animation-direction: reverse; }
.board .row.r3 { animation-duration: 80s; }
.board .row.r4 { animation-duration: 100s; animation-direction: reverse; }
.board .row.r5 { animation-duration: 75s; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tile { position: relative; width: 260px; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; flex: none; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 11.5px; letter-spacing: 0.03em; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #ddd6cc; font-variant-numeric: tabular-nums; }
.tile span i { font-style: normal; }
.tile span .lbl { display: none; color: #fff; }
.tile.sorted span .raw { display: none; }
.tile.sorted span .lbl { display: inline; }
.tile.sorted::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px var(--red); }
.hero-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.72) 45%, rgba(12, 11, 10, 0.3) 100%), linear-gradient(rgba(12, 11, 10, 0.55), transparent 22%, transparent 70%, var(--ink)); pointer-events: none; }
.hero-wrap .hero { position: relative; z-index: 2; padding-bottom: clamp(100px, 13vw, 170px); }
.hero .safe { display: block; margin-top: 18px; color: var(--dim); font-size: 15px; }

.btn.ghost { background: transparent; color: var(--paper); border-color: #4a4540; }
.btn.ghost:hover { border-color: var(--paper); }

/* Section heads */
.sec { padding: clamp(90px, 12vw, 160px) 0 0; }
.sec h2 { font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.03em; line-height: 1.04; max-width: 14em; }
.sec > p { color: var(--dim); max-width: 32em; margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.steps div { padding: clamp(32px, 4vw, 48px) clamp(16px, 2.5vw, 36px) 0 0; }
.steps div + div { padding-left: clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.steps b { display: block; color: var(--red); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.steps h3 { font-weight: 600; font-size: 22px; margin-top: 10px; letter-spacing: -0.01em; }
.steps p { color: var(--dim); margin-top: 10px; }

/* Transcript demo */
.transcribe { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: clamp(48px, 6vw, 72px); border: 1px solid var(--line); }
.transcribe .vid { position: relative; background: #000; }
.transcribe video, .cover video, .viewer video { display: block; width: 100%; height: 100%; object-fit: cover; }
.transcribe .vid .tc { position: absolute; left: 14px; bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.transcribe .rec { position: absolute; left: 14px; top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.transcribe .rec::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; animation: blink 1.2s steps(2) infinite; }
.transcribe .txt { padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.transcribe .lab { color: var(--dim); font-size: 14px; }
.transcribe .said p { margin-top: 10px; color: #5e5953; transition: color 0.3s; }
.transcribe .said p.now { color: var(--paper); }
.transcribe .said p b { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; margin-right: 10px; color: inherit; }
.transcribe .script { border-top: 1px solid var(--line); padding-top: 18px; font-family: "Courier Prime", "Courier New", monospace; font-size: 14px; line-height: 1.55; color: #8d877e; }
.transcribe .script .slug { color: #c4bdb3; }
.transcribe .script .ch { text-align: center; margin-top: 10px; }
.transcribe .script .dl { padding: 0 12%; text-align: center; transition: background 0.3s, color 0.3s; }
.transcribe .script .dl.hit { background: rgba(201, 56, 42, 0.22); color: var(--paper); }

/* Coverage row */
.cover { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: clamp(48px, 6vw, 72px); }
.cover figure { margin: 0; }
.cover .clip { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cover figcaption { padding: 14px 2px 0; font-size: 15px; display: flex; justify-content: space-between; }
.cover figcaption span { color: var(--dim); font-variant-numeric: tabular-nums; }

.review-sec .win { margin-top: clamp(48px, 6vw, 72px); }
.viewer .frame video { position: absolute; inset: 0; }

/* How-it-works page */
.how { max-width: 52em; padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.how h1 { font-weight: 500; font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.035em; line-height: 1.02; }
.how .lede { color: var(--dim); font-size: clamp(17px, 1.5vw, 20px); margin-top: 24px; max-width: 34em; }
.how ol { list-style: none; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); counter-reset: s; }
.how ol li { display: grid; grid-template-columns: 4em 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.how ol li::before { content: counter(s, decimal-leading-zero); color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.how ol h2 { font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.how ol p { color: #c4bdb3; margin-top: 8px; }
.how .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin-top: clamp(60px, 8vw, 100px); }
.how .facts h3 { font-weight: 600; font-size: 19px; }
.how .facts p { color: var(--dim); margin-top: 8px; }

@media (max-width: 820px) {
  .steps, .transcribe, .how .facts { grid-template-columns: 1fr; }
  .steps div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .transcribe .txt { border-left: 0; border-top: 1px solid var(--line); }
  .cover { grid-template-columns: 1fr 1fr; }
  .tile { width: 180px; }
  .hero-wrap::after { background: linear-gradient(rgba(12, 11, 10, 0.8), rgba(12, 11, 10, 0.78) 75%, var(--ink)); }
  .site-head nav a.hide-sm { display: none; }
}

/* ---------- Line-by-line assembly ---------- */

.cutter { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); align-items: start; }
.lined { min-width: 0; font-family: "Courier Prime", "Courier New", monospace; font-size: 15px; }
.lrow { display: grid; grid-template-columns: 1fr repeat(4, 3.2em); align-items: stretch; border-bottom: 1px solid #1d1a17; }
.lhead { border-bottom: 1px solid var(--line); color: #c4bdb3; }
.lhead .ltext { padding: 0 0 12px; }
.lcol { text-align: center; font-family: var(--sans); font-size: 13px; font-weight: 600; padding-bottom: 12px; }
.lcol small { display: block; font-weight: 400; color: var(--dim); font-size: 11.5px; }
.ltext { padding: 12px 12px 12px 0; min-width: 0; color: #8d877e; transition: color 0.2s; }
.ltext b { display: block; font-weight: 400; color: #c4bdb3; font-size: 13px; letter-spacing: 0.06em; }
.lrow.playing .ltext, .lrow.focus .ltext { color: var(--paper); }
.lrow.playing { background: rgba(201, 56, 42, 0.1); }
.cov { position: relative; background: none; border: 0; cursor: pointer; padding: 0; }
.cov::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: #4a4540; transition: background 0.15s, width 0.15s; }
.cov:hover::before { background: var(--paper); }
.cov.on::before { background: var(--red); width: 4px; }
.cov:disabled { cursor: default; }
.cov:disabled::before { display: none; }
.cov:focus-visible { outline: 1px solid var(--paper); outline-offset: -2px; }
.hint { margin-top: 14px; font-family: var(--sans); font-size: 14px; color: var(--dim); }

.monitor { min-width: 0; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.screen video.show { opacity: 1; }
.now-label { position: absolute; left: 12px; top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.now-line { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 15px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); padding: 0 14px; }
.controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 14px; font-size: 15px; }
.controls button { font: inherit; font-size: 14px; color: var(--paper); background: transparent; border: 1px solid #4a4540; padding: 7px 12px; cursor: pointer; }
.controls button:hover { border-color: var(--paper); }
.controls #play { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 600; }
.controls .trim { display: inline-flex; gap: 8px; align-items: center; color: var(--dim); }
.controls .overlap { color: var(--dim); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.controls .overlap input { accent-color: var(--red); }

.tl { position: relative; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
.tl-track { display: grid; grid-template-columns: 3em 1fr; align-items: center; height: 54px; }
.tl-track + .tl-track { height: 30px; margin-top: 6px; }
.tl-track b { font-weight: 400; font-size: 13px; color: var(--dim); }
.tl-lane { position: relative; height: 100%; background: #141210; }
.blk { position: absolute; top: 0; bottom: 0; background: #222 center / cover no-repeat; border-right: 2px solid var(--ink); transition: left 0.35s ease, width 0.35s ease; cursor: pointer; }
.blk span { position: absolute; left: 6px; bottom: 4px; font-size: 11.5px; color: #fff; text-shadow: 0 1px 4px #000; }
.blk.sel { box-shadow: inset 0 0 0 2px var(--red); }
.ablk { position: absolute; top: 4px; bottom: 4px; background: rgba(154, 146, 134, 0.22); border-left: 2px solid rgba(154, 146, 134, 0.55); transition: left 0.35s ease, width 0.35s ease; }
.tl-head { position: absolute; top: 8px; bottom: 26px; width: 2px; background: var(--red); left: 3em; pointer-events: none; }
.tl-meta { display: flex; justify-content: space-between; margin-top: 10px; padding-left: 3em; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }

@media (max-width: 820px) {
  .cutter { grid-template-columns: 1fr; }
  .lined { font-size: 13.5px; }
  .lrow { grid-template-columns: 1fr repeat(4, 2.6em); }
}

/* ---------- v3: six-step process ---------- */

.stat { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat .num { font-weight: 500; font-size: clamp(56px, 8vw, 120px); letter-spacing: -0.04em; line-height: 0.95; white-space: nowrap; }
.stat .stat-text p { color: #c4bdb3; font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; }
.stat .src { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--dim); border-bottom: 1px solid #4a4540; }

.step { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(90px, 11vw, 150px) 0 0; }
.step.flip .step-text { order: 2; }
.step.wide { grid-template-columns: 1fr; }
.step.wide .step-text { max-width: 40em; }
.step-text { min-width: 0; }
.step .no { display: block; color: var(--red); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.step h2 { font-weight: 500; font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.step p { color: var(--dim); margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); max-width: 32em; }
.step p.aside { color: #c4bdb3; border-left: 2px solid var(--red); padding-left: 16px; }
.btn.small { margin-top: 26px; padding: 9px 16px; font-size: 14px; }
.vis { min-width: 0; }

/* Step 1: script */
.script-vis { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: start; }
.page { background: #f1ede5; color: #22201c; font-family: "Courier Prime", "Courier New", monospace; font-size: clamp(9px, 0.85vw, 12.5px); line-height: 1.55; padding: 8% 9% 12%; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.page .pg-num { text-align: right; margin-bottom: 1.2em; }
.page .sl { text-transform: uppercase; }
.page .hl { background: rgba(201, 56, 42, 0.18); box-shadow: -0.4em 0 0 rgba(201, 56, 42, 0.18), 0.4em 0 0 rgba(201, 56, 42, 0.18); }
.page .ac { margin-top: 1.2em; }
.page .ch { margin-top: 1.2em; padding-left: 38%; }
.page .dl { padding: 0 16% 0 22%; }
.found { background: var(--ui-bg); border: 1px solid #3a3632; font-size: clamp(11px, 0.95vw, 13.5px); }
.found-head, .found-foot { display: flex; justify-content: space-between; gap: 10px; padding: 0.9em 1em; color: var(--ui-mute); }
.found-head { border-bottom: 1px solid var(--ui-line); }
.found-foot { border-top: 1px solid var(--ui-line); color: #c4bdb3; }
.frow { display: grid; grid-template-columns: 2.2em 1fr auto 3em; gap: 0.6em; padding: 0.75em 1em; border-bottom: 1px solid var(--ui-line); align-items: baseline; }
.frow b { font-weight: 600; font-variant-numeric: tabular-nums; }
.frow span { min-width: 0; }
.frow em { font-style: normal; color: var(--ui-mute); }
.frow i { font-style: normal; color: var(--ui-mute); text-align: right; font-variant-numeric: tabular-nums; }
.frow.on { background: #231f1c; box-shadow: inset 2px 0 0 var(--red); }

/* Step 2: drive + proxies */
.drive-vis { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 16px; align-items: start; font-size: clamp(11px, 0.95vw, 13.5px); }
.drive-vis .tree { background: var(--ui-bg); border: 1px solid #3a3632; padding: 1em; line-height: 2; color: #c4bdb3; font-family: "Courier Prime", "Courier New", monospace; }
.drive-vis .tree .in { padding-left: 1.4em; color: var(--ui-mute); }
.tree-head { color: var(--ui-mute); font-family: var(--sans); border-bottom: 1px solid var(--ui-line); margin-bottom: 0.6em; padding-bottom: 0.4em; }
.proxies { background: var(--ui-bg); border: 1px solid #3a3632; }
.px-head { display: flex; justify-content: space-between; padding: 0.9em 1em; color: var(--ui-mute); border-bottom: 1px solid var(--ui-line); font-variant-numeric: tabular-nums; }
.px { display: grid; grid-template-columns: 3.6em 1fr; gap: 0.9em; align-items: center; padding: 0.6em 1em; border-bottom: 1px solid var(--ui-line); }
.px img { width: 3.6em; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.px .meta { min-width: 0; }
.px .meta div { display: flex; justify-content: space-between; gap: 8px; }
.px .meta code { font-family: "Courier Prime", "Courier New", monospace; color: #c4bdb3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px .meta span { color: var(--ui-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.px .bar { height: 3px; background: #2b2724; margin-top: 0.5em; }
.px .bar i { display: block; height: 100%; width: 0; background: var(--red); }
.px.done .bar i { background: #6f8f6a; }

/* Step 3: sync */
.sync-vis { display: flex; flex-direction: column; gap: 16px; }
.wave-wrap { background: var(--ui-bg); border: 1px solid #3a3632; padding: 14px 16px; }
.wave-row { display: grid; grid-template-columns: 4.5em 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ui-mute); }
.wave-row + .wave-row { margin-top: 6px; }
.wave-row canvas { width: 100%; height: 44px; display: block; }
.wave-note { margin-top: 10px; font-size: 13px; color: #c4bdb3; font-variant-numeric: tabular-nums; }
.sync-vis .transcribe { margin-top: 0; grid-template-columns: 1.2fr 1fr; }

/* Step 4: bins */
.bins { display: grid; grid-template-columns: 5fr 3fr; column-gap: 2px; margin-top: clamp(40px, 5vw, 64px); }
.bin-label { font-size: 14px; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.bin-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.bin-grid figure { margin: 0; min-width: 0; }
.bin-grid .clip { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.bin-grid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bin-grid figcaption { padding: 10px 2px 0; font-size: 13.5px; line-height: 1.35; }
.bin-grid figcaption span { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.bin-grid figure.fixed .clip { box-shadow: inset 0 0 0 2px var(--red); }
.bin-grid figure.fixed figcaption span { color: var(--red); }
.was { text-decoration: line-through; color: var(--dim); margin-right: 4px; }

/* Step 5: lined script with five setups */
.lrow { grid-template-columns: 1fr repeat(5, 3.4em); }
.lcol small { font-size: 10.5px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 16px; font-family: var(--sans); font-size: 14px; color: var(--dim); }
.presets button { font: inherit; font-size: 13.5px; color: var(--paper); background: transparent; border: 1px solid #4a4540; padding: 6px 11px; cursor: pointer; }
.presets button:hover { border-color: var(--paper); }
#assemble .cutter { margin-top: clamp(40px, 5vw, 64px); }

/* Step 6: NLE */
.nle { background: var(--ui-bg); border: 1px solid #3a3632; font-size: clamp(11px, 0.95vw, 13.5px); }
.nle-bar { display: flex; justify-content: space-between; gap: 10px; padding: 0.8em 1em; border-bottom: 1px solid var(--ui-line); color: var(--ui-mute); }
.nle-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.bintree { list-style: none; padding: 0.8em 1em; border-right: 1px solid var(--ui-line); line-height: 2.05; color: #c4bdb3; }
.bintree .i1 { padding-left: 1.2em; }
.bintree .i2 { padding-left: 2.6em; color: var(--ui-mute); display: flex; justify-content: space-between; gap: 8px; }
.bintree .i2 span { color: var(--red); white-space: nowrap; }
.bintree .seq { color: var(--paper); }
.bintree .seq::before { content: ""; display: inline-block; width: 0.9em; height: 0.55em; background: var(--red); margin-right: 0.5em; vertical-align: 0.05em; }
.send-to { padding: 0.9em 1em; display: flex; flex-direction: column; gap: 8px; }
.send-opt { border: 1px solid var(--ui-line); padding: 0.7em 0.9em; }
.send-opt b { display: block; font-weight: 600; }
.send-opt span { color: var(--ui-mute); }
.send-opt.on { border-color: var(--paper); }
.checks { list-style: none; margin-top: 6px; color: #c4bdb3; line-height: 1.9; }
.checks li::before { content: "✓"; color: #8fb38a; margin-right: 0.6em; }

@media (max-width: 900px) {
  .stat { grid-template-columns: 1fr; }
  .step, .step.flip { grid-template-columns: 1fr; }
  .step.flip .step-text { order: 0; }
  .script-vis, .drive-vis, .nle-body { grid-template-columns: 1fr; }
  .bintree { border-right: 0; border-bottom: 1px solid var(--ui-line); }
  .bins { grid-template-columns: 1fr; }
  .bins .bin-label:nth-child(2) { display: none; }
  .bin-grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .sync-vis .transcribe { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 1fr repeat(5, 2.5em); }
  .lcol small { display: none; }
}
.how .footage { margin-top: clamp(60px, 8vw, 100px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.how .footage h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; }
.how .footage .facts { margin-top: 36px; }

/* v3 fixes */
.step { align-items: start; }
.step-text { position: sticky; top: 24px; }
.drive-vis { grid-template-columns: 0.9fr 1.1fr; }
.drive-vis .tree div { white-space: nowrap; }
.bins { display: block; }
.bin-grid { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
.bin-grid figcaption { font-size: 14.5px; }
@media (max-width: 900px) { .step-text { position: static; } .bin-grid { grid-template-columns: repeat(2, 1fr); } }
.drive-vis { grid-template-columns: auto 1fr; }

/* v4: dynamic script upload, count-up, scroll fixes */
.step.wide .step-text { position: static; }
.stat .num { font-variant-numeric: tabular-nums; }

.pages-view { position: relative; height: clamp(300px, 30vw, 420px); overflow: hidden; background: #1a1816; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.pages { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.pages .page { box-shadow: none; padding: 7% 9% 9%; }
.pages .trans { text-align: right; margin-top: 1.2em; }
.pages.scroll { animation: readpages 7s cubic-bezier(.45, 0, .55, 1) forwards; }
@keyframes readpages { from { transform: translateY(0); } to { transform: translateY(calc(-100% + clamp(300px, 30vw, 420px))); } }
.drop { position: absolute; inset: 14px; z-index: 2; border: 1.5px dashed #6a635b; background: rgba(20, 18, 16, 0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #c4bdb3; font-size: 14px; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.drop small { color: var(--dim); font-size: 13px; }
.drop.show { opacity: 1; }
.pdf { width: 54px; height: 68px; background: #f1ede5; color: var(--red); font-weight: 700; font-size: 13px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.drop.show .pdf { animation: dropin 0.7s cubic-bezier(.2, .8, .3, 1.2) both; }
@keyframes dropin { from { transform: translateY(-60px) rotate(-8deg); opacity: 0; } }
.upbar { height: 2px; background: var(--ui-line); }
.upbar i { display: block; height: 100%; width: 100%; background: var(--red); transition: width 1.4s ease; }
.frow { transition: opacity 0.4s, transform 0.4s, background 0.6s; }
.frow.hid { opacity: 0; transform: translateY(-6px); }
.frow.flash { background: rgba(201, 56, 42, 0.25); }
.found-foot.hid { opacity: 0; }
.found-foot { transition: opacity 0.5s; }

/* ---------- How-it-works illustrated guide ---------- */
.how .lede { margin-bottom: 0; }
.how-h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; }
.guide { margin: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 120px); }
.guide-stage { position: relative; aspect-ratio: 800 / 520; border: 3px solid #201b17; box-shadow: 0 0 0 1px #3a3632, 0 40px 90px rgba(0, 0, 0, 0.55); background: #efe4cc; cursor: pointer; overflow: hidden; max-width: 100%; }
.slide { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide svg { display: block; width: 100%; height: auto; flex: none; }
.slide figcaption { flex: 1; display: flex; gap: 18px; align-items: center; padding: 0 clamp(16px, 3vw, 32px); background: #201b17; color: #efe4cc; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.4; }
.slide figcaption span { flex: none; width: 2em; height: 2em; border-radius: 50%; background: #c9382a; color: #fff; font-weight: 700; display: grid; place-items: center; }
.slide figcaption b { display: block; font-weight: 700; font-size: 1.15em; letter-spacing: 0.01em; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guide-nav button { font: inherit; font-size: 14px; color: var(--dim); background: transparent; border: 1px solid #3a3632; padding: 7px 12px; cursor: pointer; }
.guide-nav button[aria-selected="true"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.guide-nav button:hover { border-color: var(--paper); }

.guide .ol { stroke: #201b17; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.guide .limb { fill: none; stroke: #201b17; stroke-width: 17; stroke-linecap: round; }
.guide .limb-in { fill: none; stroke: #3d6b66; stroke-width: 9; stroke-linecap: round; }
.guide .tally { animation: blink 1.2s steps(2) infinite; }
.guide .beam { animation: flicker 4s ease-in-out infinite; }
@keyframes flicker { 50% { opacity: 0.25; } }
.guide .clap { transform-box: fill-box; transform-origin: 0% 100%; animation: clap 2.4s ease-in-out infinite; }
@keyframes clap { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(-22deg); } 85% { transform: rotate(0); } }
.guide .drive { animation: nudge 3s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.guide .swap-a { animation: swapA 4s steps(1) infinite; }
.guide .swap-b { animation: swapB 4s steps(1) infinite; }
@keyframes swapA { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes swapB { 0% { opacity: 0; } 50% { opacity: 1; } }
.guide .zz { animation: floatz 3s ease-in-out infinite; }
.guide .z2 { animation-delay: 0.6s; } .guide .z3 { animation-delay: 1.2s; }
@keyframes floatz { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px); } }
.guide .pb { transform-box: fill-box; transform-origin: left; animation: fillbar 6s ease-in-out infinite; }
.guide .pb2 { animation-delay: 0.8s; } .guide .pb3 { animation-delay: 1.6s; } .guide .pb4 { animation-delay: 2.4s; }
@keyframes fillbar { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.guide .sun { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.guide .gtile { animation: tilein 5s ease infinite both; }
.guide .t2 { animation-delay: 0.25s; } .guide .t3 { animation-delay: 0.5s; } .guide .t4 { animation-delay: 0.75s; } .guide .t5 { animation-delay: 1s; } .guide .t6 { animation-delay: 1.25s; }
@keyframes tilein { 0% { opacity: 0; } 15%, 100% { opacity: 1; } }
.guide .steam { animation: steam 2.4s ease-in-out infinite; }
.guide .s2 { animation-delay: 0.8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
.guide .star { animation: blink 1.4s steps(2) infinite; }
.guide .st2 { animation-delay: 0.7s; }
.guide .tlb { animation: tilein 6s ease infinite both; }
.guide .b2 { animation-delay: 0.5s; } .guide .b3 { animation-delay: 1s; } .guide .b4 { animation-delay: 1.5s; } .guide .b5 { animation-delay: 2s; } .guide .b6 { animation-delay: 2.5s; }
.guide .ph { animation: scrubph 6s linear infinite; }
@keyframes scrubph { from { transform: translateX(0); } to { transform: translateX(369px); } }
.guide .plane { offset-path: path("M300 230 C 380 130, 450 120, 520 170"); offset-rotate: auto; animation: fly 2.6s ease-in-out infinite; }
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.guide .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }
.guide .sp2 { animation-delay: 0.8s; }
@keyframes twinkle { 50% { transform: scale(0.4); opacity: 0.4; } }
.guide .cheer { transform-box: fill-box; transform-origin: 50% 100%; animation: cheer 1.2s ease-in-out infinite; }
@keyframes cheer { 50% { transform: translateY(-5px); } }

@media (max-width: 700px) {
  .guide-stage { aspect-ratio: 800 / 600; }
}

/* ---------- How-it-works comic ---------- */
.comic { margin: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 120px); }
.comic-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; background: #c9382a; color: #f7efdc; border: 4px solid #201b17; border-radius: 14px; box-shadow: 7px 7px 0 #000; padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 32px); margin-bottom: 22px; }
.comic-title span { font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em; }
.comic-title b { font-weight: 900; font-stretch: 62%; font-size: clamp(46px, 6vw, 84px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em; text-shadow: 4px 4px 0 #201b17; }
.comic-title em { flex-basis: 100%; font-style: normal; font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); color: #f6d98a; }
.comic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { --pbg: #efe4cc; margin: 0; background: var(--pbg); border: 4px solid #201b17; border-radius: 14px; box-shadow: 7px 7px 0 #000; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.panel.wide { grid-column: 1 / -1; }
.panel.p-blue { --pbg: #a9cddc; }
.panel.p-mustard { --pbg: #ecc773; }
.panel.p-cream { --pbg: #efe4cc; }
.panel.p-red { --pbg: #ee9a83; }
.panel figcaption { display: flex; gap: 14px; align-items: flex-start; padding: clamp(14px, 2vw, 22px) clamp(16px, 2.4vw, 26px) 4px; color: #201b17; }
.panel .pn { flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: #c9382a; color: #fff; border: 3px solid #201b17; display: grid; place-items: center; font-weight: 900; font-size: clamp(18px, 2vw, 24px); }
.panel b { display: block; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95; letter-spacing: 0.01em; }
.panel p { margin-top: 6px; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.4; color: #3a322a; max-width: 34em; }
.panel svg { display: block; width: 100%; height: auto; margin-top: auto; }
.panel.wide svg { max-height: 460px; }
.panel .bg { fill: var(--pbg); }
.panel .ol { stroke: #201b17; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.panel .limb { fill: none; stroke: #201b17; stroke-width: 17; stroke-linecap: round; }
.panel .limb-in { fill: none; stroke: #3d6b66; stroke-width: 9; stroke-linecap: round; }
.panel .swap-a { display: none; }
.panel .plane { offset-path: path("M300 230 C 380 130, 450 120, 520 170"); offset-rotate: auto; offset-distance: 58%; }
.panel .ph { transform: translateX(230px); }
.panel .pb1 { transform: scaleX(1); } .panel .pb2 { transform: scaleX(1); }
.panel .pb3 { transform-box: fill-box; transform-origin: left; transform: scaleX(0.7); }
.panel .pb4 { transform-box: fill-box; transform-origin: left; transform: scaleX(0.35); }
.panel .z1 { transform: translateY(0); } .panel .z2 { transform: translateY(-6px); } .panel .z3 { transform: translateY(-12px); }
.panel .beam { opacity: 0.45; }

@media (max-width: 760px) {
  .comic-grid { grid-template-columns: 1fr; }
  .panel b { font-size: 30px; }
}
.panel.wide { flex-direction: row; align-items: stretch; }
.panel.wide figcaption { flex: 0 0 34%; flex-direction: column; padding-bottom: 24px; }
.panel.wide figcaption div { margin-top: 6px; }
.panel.wide svg { flex: 1; width: 66%; max-height: none; margin-top: 0; align-self: flex-end; }
@media (max-width: 760px) {
  .panel.wide { flex-direction: column; }
  .panel.wide figcaption { flex-basis: auto; flex-direction: row; }
  .panel.wide svg { width: 100%; }
}

/* v5: Step 5 inspector, takes and V2 alternates */
button.ltext { font: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
button.ltext:hover { color: #c4bdb3; }
button.ltext:focus-visible { outline: 1px solid var(--paper); outline-offset: -2px; }
.lrow.focus { background: rgba(239, 235, 228, 0.05); }
.insp { margin-top: 14px; border: 1px solid var(--line); background: var(--ui-bg); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.insp-line { color: #c4bdb3; line-height: 1.45; }
.insp-line b { color: var(--red); font-weight: 600; margin-right: 6px; }
.insp-row { display: grid; grid-template-columns: 4em 1fr; align-items: center; gap: 10px; }
.insp-row .k { color: var(--dim); font-size: 13.5px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.opts button { font: inherit; font-size: 13.5px; color: var(--paper); background: transparent; border: 1px solid #4a4540; padding: 5px 10px; cursor: pointer; }
.opts button:hover:not(:disabled) { border-color: var(--paper); }
.opts button.on { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 600; }
.opts button:disabled { opacity: 0.3; cursor: default; }
.opts .tail { color: var(--dim); font-variant-numeric: tabular-nums; min-width: 3.5em; }
.opts .overlap { margin-left: auto; }
.tl-track.v2 { height: 40px; margin-bottom: 6px; }
.tl-track.v2 .tl-lane { background: #110f0d; }
.blk.alt { opacity: 0.85; box-shadow: inset 0 0 0 2px #d8a13f; }
.blk.alt.sel { box-shadow: inset 0 0 0 2px #d8a13f, 0 0 0 1px var(--red); }
.tl-head { top: 8px; }
