/* framewritten — landing (index.html only).
   The dark studio: the page is a production, the sections are scenes.
   Same acid-on-ink language as the app (pitch/dashboard), so landing → app
   is one continuous room. Self-hosted fonts, zero external requests. */

@font-face {
  font-family: 'Clash Display';
  src: url('/static/fonts/ClashDisplay-600.woff2') format('woff2');
  font-weight: 600; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/static/fonts/ClashDisplay-700.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/Switzer-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/Switzer-500.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/static/fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/static/fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/static/fonts/IBMPlexMono-700.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}

:root {
  --bg:        #0a0a0d;
  --bg-raise:  #101016;
  --bg-panel:  #14141b;
  --ink:       #f4f2ec;
  --ink-70:    rgba(244,242,236,.72);
  --dim:       #8b8a94;
  --hairline:  rgba(244,242,236,.09);
  --hairline-strong: rgba(244,242,236,.18);
  --acid:      #d4ff3f;
  --acid-dim:  rgba(212,255,63,.14);
  --acid-ink:  #0a0a0c;

  --font-display: 'Clash Display', 'Switzer', system-ui, sans-serif;
  --font-body:    'Switzer', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --fs-hero: clamp(2.6rem, 5.6vw, 5.4rem);
  --fs-h2:   clamp(1.9rem, 3.8vw, 3.6rem);
  --fs-h3:   clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-lede: clamp(1.05rem, 1.35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-mono: .8125rem;
  --fs-mono-sm: .72rem;

  --lh-tight: 1.02;
  --lh-body: 1.6;

  --sp-section: clamp(3.5rem, 6vw, 5.5rem);
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-spring: cubic-bezier(.34, 1.45, .45, 1);
  --ease-snap:   cubic-bezier(.2, .9, .25, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);

  --radius: 4px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--acid); color: var(--acid-ink); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .01em; }
.dim { color: var(--dim); }
.acid { color: var(--acid); }
.center { text-align: center; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }
p { margin: 0; }

/* film grain — one layer of texture so the dark reads as a room, not a void */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 12% { transform: translate(-2%,1%) }
  25% { transform: translate(1%,-2%) } 37% { transform: translate(-1%,2%) }
  50% { transform: translate(2%,1%) }  62% { transform: translate(-2%,-1%) }
  75% { transform: translate(1%,2%) }  87% { transform: translate(-1%,-2%) }
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--gutter);
  background: rgba(10,10,13,0);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(10,10,13,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
/* "1st try" comic burst — the spiky starburst seal tucked into the
   top-right corner of the screen: only its lower-left quarter pokes out
   from under the nav bar and in from the right screen edge, like a
   sticker slapped half off the page. .first-try-clip does the fixed
   positioning, the clipping, and the on/off fade (toggled by .is-on
   from main.js while the showcase carousel is in view); the burst
   inside is offset up and right, with its copy pushed down into the
   visible corner. */
.first-try-clip {
  position: fixed; top: 60px; right: 0; z-index: 39;
  width: clamp(250px, 27vw, 350px);
  aspect-ratio: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .35s, transform .35s;
}
.first-try-clip.is-on { opacity: 1; transform: translateY(0); }
.first-try-burst {
  position: absolute;
  top: -38%; right: -38%;
  width: 100%;
  aspect-ratio: 1;
  clip-path: polygon(50.0% 0.7%, 57.4% 20.0%, 73.5% 5.2%, 70.2% 27.2%, 91.3% 21.5%, 80.1% 38.6%, 97.9% 44.2%, 82.8% 54.0%, 95.0% 67.1%, 76.8% 68.5%, 82.0% 86.1%, 64.2% 77.0%, 61.9% 98.3%, 50.0% 85.0%, 38.4% 97.1%, 35.4% 77.7%, 16.5% 87.8%, 20.6% 70.3%, 3.0% 67.8%, 17.9% 53.9%, -1.5% 43.7%, 21.7% 39.3%, 7.7% 20.8%, 29.0% 26.2%, 27.4% 7.0%, 42.7% 20.2%);
  background: linear-gradient(155deg, #ff5b45, #e8362a);
  filter: drop-shadow(-6px 10px 14px rgba(0,0,0,.45));
  transform: rotate(9deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: #1a0503;
  line-height: 1.05;
  padding: 40% 42% 14% 10%;
}
/* owner 2026-07-26: copy sits ~1cm further right; the burst itself and the
   9deg angle stay put (translate is in the rotated frame, so the text slides
   along its own baseline) */
.first-try-burst > span { transform: translateX(.5cm); }
.ftb-line {
  font-size: clamp(.6rem, 1.05vw, .78rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.ftb-hero {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: .01em;
  margin: .12em 0;
  text-shadow: 1px 1px 0 rgba(255,255,255,.15);
}
@media (max-width: 720px) {
  .first-try-clip { top: 54px; width: clamp(190px, 52vw, 230px); }
  /* smaller badge on mobile — the full shift clips the copy off the
     visible corner, so it only gets a nudge */
  .first-try-burst > span { transform: translateX(.1cm); }
  .first-try-burst { top: -33%; padding: 36% 36% 18% 18%; }
  .ftb-hero { font-size: 1.15rem; }
  .ftb-line { font-size: .52rem; }
}

.logo { font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: .02em; }
.logo-caret { color: var(--acid); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  text-decoration: none; color: var(--dim); transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--acid); }
.nav-links a.nav-credits {
  padding: .3rem .75rem; border: 1px solid var(--acid); border-radius: 999px;
  color: var(--acid); background: var(--acid-dim);
}
.nav-links a.nav-credits:hover { background: var(--acid); color: var(--acid-ink); }
.nav-credits.just-purchased { animation: creditsPulse 1.2s ease 3; }
@keyframes creditsPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--acid-dim); }
  50% { box-shadow: 0 0 0 8px var(--acid-dim); }
}

/* ── buttons / forms ─────────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 700;
  padding: .85rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .15s var(--ease-snap);
}
.btn:active { transform: scale(.97); }
.btn-acid { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); }
.btn-acid:hover { background: transparent; color: var(--acid); box-shadow: 0 0 32px rgba(212,255,63,.22); }
.btn-small { padding: .5rem .95rem; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* the pitch form — the single most important element on the page: one
   composed console, glowing as a unit when the visitor commits to it */
.pitch-form {
  margin-top: 1.7rem;
  background: var(--bg-raise);
  border: 1px solid var(--hairline-strong); border-radius: 14px;
  padding: .65rem;
  box-shadow: 0 22px 55px rgba(0,0,0,.4);
  transition: border-color .25s, box-shadow .3s;
}
.pitch-form:focus-within {
  border-color: var(--acid);
  box-shadow: 0 0 0 4px var(--acid-dim), 0 22px 60px rgba(0,0,0,.45), 0 0 48px rgba(212,255,63,.1);
}
.pitch-row { display: flex; gap: .55rem; }
.pitch-row input, .pitch-form textarea {
  width: 100%;
  font-family: var(--font-mono); font-size: .95rem;
  color: var(--ink); background: transparent;
  border: 0; border-radius: 8px;
  padding: .95rem 1rem; outline: none;
}
.pitch-row .btn { padding: .95rem 1.5rem; border-radius: 9px; font-size: .875rem; flex: none; }
.pitch-form textarea {
  margin-top: .55rem; resize: none; min-height: 2.5rem;
  font-size: var(--fs-mono); color: var(--ink-70);
  border-top: 1px solid var(--hairline); border-radius: 0;
  padding: .8rem 1rem .5rem;
}
.pitch-form ::placeholder { color: var(--dim); opacity: .85; }
/* submitting: the form narrates the read and a strip fills under it */
.pitch-form.submitting { border-color: var(--acid); }
.pitch-form.submitting input, .pitch-form.submitting textarea { opacity: .45; pointer-events: none; }

/* ── the essentials console, v3 (2026-07-29) ──────────────────────────────
   The brief is a sentence, not a form. v2's fault wasn't its layout, it was
   its voice: all-mono at one size under a display headline reads as a config
   screen. Here the URL stays machine-typed and everything a human writes is
   set in Switzer — the contrast is the design. A blank in a sentence also
   can't hold a pasted GPT paragraph, so the shape does the instructing and no
   hint copy is needed. */
/* one padding for the whole console — with no dividers there's nothing left
   for the rows to align their own edges to. Never add overflow:hidden here, it
   clips the open dropdown. */
/* the closer section centres its children, which left the step headings and
   dial labels centred over left-aligned chips — the panel reads as one column
   wherever it is placed */
.pitch-console { text-align: left; }

/* ── no card ────────────────────────────────────────────────────────────
   Owner call 2026-07-31: the console sits *on* the page rather than in a
   raised box. .pitch-form's card (bg, border, radius, drop shadow and the
   acid focus glow) is undone here rather than edited out of .pitch-form
   itself, which the other forms on this page still use. Width is capped so
   that without a box to hold it the panel still reads as one column instead
   of chips scattered across a 1240px container. */
.pitch-console {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 0; max-width: 42rem; margin-inline: auto;
}
.pitch-console:focus-within { border-color: transparent; box-shadow: none; }
.pitch-console.submitting { border-color: transparent; }

/* the link: a labelled field, so it's obvious what goes here */
.pf-link { padding: 0; }
.pf-link-label {
  display: block; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--dim); margin-bottom: .45rem; transition: color .2s;
}
.pf-link:focus-within .pf-link-label { color: var(--acid); }
.pf-link-field {
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid rgba(244, 242, 236, .13);
  transition: border-color .2s;
}
.pf-link:focus-within .pf-link-field { border-bottom-color: var(--acid); }
.pf-link-mark { font-family: var(--font-mono); color: var(--acid); opacity: .55; font-size: .9rem; }
.pf-link input {
  width: 100%; font-family: var(--font-mono); font-size: 1rem;
  color: var(--ink); background: transparent; border: 0; padding: .15rem 0 .5rem;
  outline: none; caret-color: var(--acid);
}
.pf-link input::placeholder { color: var(--dim); opacity: .7; }

/* ── the numbered-steps console (v3, 2026-07-29) lived here. It was replaced
   on 2026-07-31 by the deck — see the .fw-deck block at the foot of this file
   and the note at the top of templates/_console.html. Its rail, numbers and
   .pf-head styles are gone with it; .pf-link, .chip, .pf-dial, .pf-readout,
   .pf-more and .pf-go below are still in use, on the cards. ── */

/* ── the chips ───────────────────────────────────────────────────────── */
.pf-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.35rem; padding: .48rem .82rem;
  font-family: var(--font-body); font-size: .88rem; font-weight: 400;
  line-height: 1; color: var(--ink-70);
  background: rgba(244,242,236,.035);
  border: 1px solid var(--hairline); border-radius: 999px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease-snap);
}
.chip:hover {
  border-color: rgba(212,255,63,.35); color: var(--ink);
  background: rgba(244,242,236,.06); transform: translateY(-1px);
}
.chip:active { transform: translateY(0); }
.chip:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.chip.is-on {
  background: var(--acid); border-color: var(--acid); color: var(--acid-ink);
  font-weight: 500; box-shadow: 0 6px 20px rgba(212,255,63,.16);
}
.chip.is-on:hover { transform: none; }
.chip-own { font-style: italic; color: var(--dim); }
.chip-own.is-on { font-style: normal; }
/* the dials are machine specs, so they stay machine-typed — same split the
   panel has always used: the URL in mono, the human's words in Switzer */
.chip-sm {
  font-family: var(--font-mono); font-size: .78rem;
  padding: .5rem .8rem; min-height: 2.25rem;
}
.pf-chips-tight { gap: .4rem; }

/* a tiny drawn proxy of the frame you'd get */
.sh { display: block; border: 1.5px solid currentColor; border-radius: 1.5px; opacity: .85; }
.sh-916 { width: 8px;  height: 13px; }
.sh-11  { width: 11px; height: 11px; }
.sh-169 { width: 15px; height: 9px; }

.pf-dial { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.pf-dial + .pf-dial { margin-top: .6rem; }
.pf-dial-label {
  width: 3.4rem; flex: none;
  font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--dim);
}

/* the free-text escape hatch, folded away until "something else" is tapped */
.pf-own {
  display: block; width: 100%; margin-top: .7rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(244,242,236,.13);
  padding: .35rem 0 .5rem; outline: none; caret-color: var(--acid);
  transition: border-color .2s;
}
.pf-own:focus { border-bottom-color: var(--acid); }
.pf-own::placeholder { color: var(--dim); opacity: .6; }
.pf-own[hidden] { display: none; }

/* ── the read-out: the brief, writing itself as they choose ──────────── */
.pf-readout {
  margin-top: 1.7rem; padding: .9rem 0 0;
  border-top: 1px solid var(--hairline);
  opacity: 0; transform: translateY(4px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.pf-readout.is-live { opacity: 1; transform: none; }
.pf-readout-label {
  display: block; font-size: .62rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--dim); opacity: .75; margin-bottom: .35rem;
}
.pf-readout-line {
  margin: 0; font-family: var(--font-body); font-weight: 500;
  font-size: 1.12rem; line-height: 1.5; color: var(--ink);
}
.pf-readout-line::after {
  content: ""; display: inline-block; vertical-align: -1px;
  width: .5em; height: 1.05em; margin-left: .22em;
  background: var(--acid); opacity: .9; animation: pf-caret 1.1s steps(1) infinite;
}
@keyframes pf-caret { 0%, 55% { opacity: .9; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pf-readout-line::after { animation: none; }
}
.pf-readout-line b { color: var(--acid); font-weight: 500; }
/* each change is written on rather than swapped — the one metaphor this
   company is named after, moved to where it belongs: the output */
.pf-readout-line.is-writing {
  animation: pf-write .42s cubic-bezier(.22,.61,.36,1);
}
@keyframes pf-write {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ── the decision ───────────────────────────────────────────────────── */
.pf-go { margin-top: 1.5rem; }
/* full width on a phone, where it is the only thing on the row; capped on a
   desktop, where a container-wide slab of acid stops reading as a button */
.pf-submit {
  display: block; width: 100%; max-width: 24rem; margin: 0 auto;
  padding: 1.05rem 1.5rem; border-radius: 10px; font-size: .92rem;
}
.pf-go-meta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  flex-wrap: wrap; margin: .7rem 0 0; font-size: .7rem; color: var(--dim);
}
.pf-go-meta .pf-cost { margin: 0; padding: 0; }
.pf-go-note { opacity: .75; }
/* the note takes its own line rather than trailing the price — wrapped, a
   separator dot ended up stranded at the start of line two */
.pf-go-note { flex: 1 0 100%; text-align: center; }

/* suggestions: present only while a blank is being filled */
/* the optional line, folded until wanted */
.pf-more {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .6rem;
  padding: 1.5rem 0 0; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: .71rem; color: var(--dim);
  transition: color .2s;
}
.pf-more:hover { color: var(--ink); }
.pf-plus {
  font-style: normal; color: var(--acid); opacity: .6;
  margin-right: .5em; display: inline-block; transition: transform .25s, opacity .2s;
}
.pf-more[aria-expanded="true"] { color: var(--ink-70); }
.pf-more[aria-expanded="true"] .pf-plus { transform: rotate(45deg); opacity: 1; }
.pf-more-tag {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--dim); opacity: .6;
}
.pf-more[aria-expanded="true"] .pf-more-tag { opacity: .55; }
.pf-extra { padding: .9rem 0 0; }
.pf-oneline {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(244, 242, 236, .13);
  padding: .1rem 0 .45rem; outline: none; caret-color: var(--acid);
  transition: border-color .2s;
}
.pf-oneline:focus { border-bottom-color: var(--acid); }
.pf-oneline::placeholder { color: var(--dim); opacity: .6; }
/* footer: the dials, the price, the decision */
.pf-foot {
  display: flex; align-items: center; gap: 6px;
  padding: 1.6rem 0 0;
}
/* the first dial's text lines up with everything above it */
.pf-foot > .fw-select:first-child .fw-select-btn { padding-left: 0; }
.pf-cost {
  margin-left: auto; padding: 0 .8rem;
  font-family: var(--font-mono); font-size: .72rem; color: var(--dim); white-space: nowrap;
}
.pf-cost b { color: var(--acid); font-weight: 500; }
.pf-foot .btn { flex: none; padding: .85rem 1.35rem; border-radius: 9px; font-size: .84rem; }

.fw-select-native {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.fw-select { position: relative; flex: none; }
.fw-select-btn {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .01em;
  color: var(--dim); background: transparent;
  border: 0; border-radius: 999px;
  padding: .5rem 1.7rem .5rem .9rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
                     linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: right .85rem center, right .55rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  outline: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.fw-select-btn:hover { color: var(--ink); background-color: rgba(244,242,236,.05); }
.fw-select.is-open .fw-select-btn { color: var(--ink); background-color: var(--acid-dim); }
.fw-select-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  min-width: 100%; width: max-content;
  background: var(--bg-raise); border: 1px solid var(--hairline-strong);
  border-radius: 10px; padding: .3rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.fw-select.is-open .fw-select-menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* flipped: hangs above the dial instead of below it */
.fw-select.is-up .fw-select-menu { top: auto; bottom: calc(100% + 6px); transform: translateY(4px); }
.fw-select.is-up.is-open .fw-select-menu { transform: translateY(0); }
/* last resort — a menu with no room either side scrolls rather than clipping */
.fw-select-menu { max-height: min(58vh, 320px); overflow-y: auto; }
/* sections are all z-index:2, so a later one covers any menu overhanging its
   bottom edge — raise the section that currently owns an open dropdown */
.section.has-open-select { z-index: 30; }
.fw-select-opt {
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--ink-70); padding: .5rem .75rem; border-radius: 6px;
  cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s;
}
.fw-select-opt:hover { background: rgba(244,242,236,.07); color: var(--ink); }
.fw-select-opt.is-on { color: var(--acid); font-weight: 500; }
.submit-strip { height: 3px; border-radius: 3px; background: var(--hairline); margin-top: .55rem; overflow: hidden; }
.submit-strip i { display: block; height: 100%; width: 0; background: var(--acid); transition: width 1.4s var(--ease-out); }

.hero-cta { margin-top: 1.9rem; display: grid; gap: .95rem; justify-items: start; }
.btn-big { padding: 1.05rem 1.9rem; font-size: .95rem; border-radius: 10px; }

.form-perks {
  margin-top: .8rem; color: var(--dim); font-size: var(--fs-mono-sm);
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
}
.form-perks b { color: var(--acid); font-weight: 500; }
.form-perks--center { justify-content: center; }

/* one quiet way in at the end of every scene — convinced people don't scroll
   back up to hunt for the form */
.scene-cta {
  margin-top: clamp(2rem, 4vw, 3rem); color: var(--dim);
  padding-top: 1.1rem; border-top: 1px solid var(--hairline);
}
.scene-cta a {
  color: var(--ink); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid var(--acid); padding-bottom: .1em;
  transition: color .2s;
}
.scene-cta a:hover { color: var(--acid); }
.form-note { margin-top: .6rem; color: var(--acid); min-height: 1.2em; }
.pitch-hint { margin-top: .9rem; color: var(--dim); }
.pitch-hint.center { text-align: center; margin-top: 1.6rem; }

/* live preview chip row */
.live-preview {
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
  margin-top: .9rem; opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.live-preview.is-in { opacity: 1; transform: none; }
.live-preview[hidden] { display: none; }
.lp-label { color: var(--dim); }
.lp-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: .3rem .8rem; background: var(--bg-raise);
}
.lp-chip img { border-radius: 3px; }
.lp-swatches { display: inline-flex; gap: .3rem; }
.lp-swatches i {
  width: 14px; height: 14px; border-radius: 3px; display: inline-block;
  border: 1px solid rgba(255,255,255,.18);
  animation: swatch-pop .4s var(--ease-spring) backwards;
}
.lp-swatches i:nth-child(2) { animation-delay: .07s }
.lp-swatches i:nth-child(3) { animation-delay: .14s }
.lp-swatches i:nth-child(4) { animation-delay: .21s }
@keyframes swatch-pop { from { transform: scale(0) } }

/* ── reveal-on-scroll ────────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── sections shared ─────────────────────────────────────────────────────── */
.section { padding: var(--sp-section) 0; position: relative; z-index: 2; }
.section-head { max-width: 880px; margin-bottom: clamp(1.8rem, 3.2vw, 2.6rem); }
.eyebrow { color: var(--acid); margin-bottom: 1.1rem; letter-spacing: .06em; text-transform: lowercase; }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.01em; }
.lede { margin-top: 1.2rem; font-size: var(--fs-lede); color: var(--ink-70); max-width: 62ch; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── SCENE 01 — hero ─────────────────────────────────────────────────────── */
.hero { position: relative; z-index: 2; padding: clamp(6.5rem, 12vh, 8.5rem) 0 clamp(2.5rem, 3.6vw, 3.6rem); }
.hero::before {
  /* stage light: one soft acid spot bleeding from the top */
  content: ""; position: absolute; top: -30vh; left: 50%; width: 90vw; height: 70vh;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(212,255,63,.07), transparent 62%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center;
}
.kicker { color: var(--dim); margin-bottom: 1.3rem; }
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -.015em; }
h1 em { font-style: normal; position: relative; }
h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .08em;
  background: var(--acid); opacity: .85; border-radius: 2px;
  transform-origin: left; animation: underline-draw 1s var(--ease-out) .9s backwards;
}
@keyframes underline-draw { from { transform: scaleX(0) } }
/* when reveal-on-scroll is running, draw the line off the h1's reveal moment,
   not the page-load clock — otherwise it finishes while the text is invisible */
.js h1[data-reveal] em::after {
  animation: none; transform: scaleX(0);
  transition: transform 1s var(--ease-out) .9s;
}
.js h1[data-reveal].is-in em::after { transform: scaleX(1); }
/* with the sub-line and stats gone, the headline IS the copy — let it carry */
.hero-copy h1 { font-size: clamp(3rem, 6.6vw, 6.6rem); }
/* One letter of the headline lands in acid a beat after the line itself
   arrives — the hero's only colour, and where the eye stops. Acid is the
   letter's resting state, so a browser that never runs the transition
   (no JS, reduced motion) starts there rather than never getting there.
   The em underline is suppressed: a rule beneath a single character reads
   as a stray mark, not as emphasis. */
/* the last word of the headline writes itself (main.js types it in and out).
   The invisible sizer holds the word's full width so the line never reflows;
   the typed layer sits on top with the logo's own blinking caret. No-JS and
   reduced-motion never start the loop, so they land on the full static word. */
.hero-copy h1 .lit {
  position: relative; display: inline-block; color: var(--acid);
  white-space: nowrap;
}
.hero-copy h1 .lit::after { content: none; }
.hero-copy h1 .lit-size { visibility: hidden; }
.hero-copy h1 .lit-type { position: absolute; left: 0; top: 0; }
.hero-copy h1 .lit-type::after {
  content: '_'; margin-left: .02em;
  animation: blink 1.1s steps(1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 .lit-type::after { content: none; }
}
.hero-copy { margin-top: -48px; }

/* ── the signup offer, said loudest here ─────────────────────────────────────
   An acid-edged pill above the headline: the first thing read on the page,
   and a link, because someone convinced by it should not have to hunt for
   the button. The dot breathes so the eye catches it without motion noise. */
.hero-offer {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1.1rem; padding: .5rem 1rem .5rem .8rem;
  border: 1px solid rgba(212,255,63,.45); border-radius: 999px;
  background: rgba(212,255,63,.07);
  color: var(--ink); text-decoration: none;
  font-size: var(--fs-mono-sm); letter-spacing: .01em;
  transition: background .2s var(--ease-snap), border-color .2s var(--ease-snap), transform .2s var(--ease-snap);
}
.hero-offer b { color: var(--acid); font-weight: 700; }
.hero-offer:hover {
  background: rgba(212,255,63,.14); border-color: var(--acid);
  transform: translateY(-1px);
}
.hero-offer-dot {
  width: .5em; height: .5em; border-radius: 50%; background: var(--acid);
  box-shadow: 0 0 0 0 rgba(212,255,63,.55); animation: offerPulse 2.4s infinite;
}
@keyframes offerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,255,63,.5); }
  70%  { box-shadow: 0 0 0 .55em rgba(212,255,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,255,63,0); }
}
@media (prefers-reduced-motion: reduce) { .hero-offer-dot { animation: none; } }

/* the nav button carries the full offer on desktop and the short form on
   phones, where the long label crowded the logo */
.nav-cta-short { display: none; }
@media (max-width: 700px) {
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
}

.hero-sub {
  margin-top: 1.1rem; max-width: 34ch;
  color: var(--ink-70); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.5;
}

/* the stage — a live ad, no box, no barriers: it plays on the page itself */
.hero-stage-col { min-width: 0; }
.hero-stage-cta {
  display: flex; align-items: center; gap: .55em;
  width: max-content; margin: 1.3rem auto 0;
  padding: 1rem 2.2rem; font-size: .98rem;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0,0,0,.35), 0 0 26px rgba(212,255,63,.16);
}
.hero-stage-cta::after {
  content: "→"; font-family: inherit;
  transition: transform .25s var(--ease-snap);
}
.hero-stage-cta:hover {
  background: var(--acid); color: var(--acid-ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0,0,0,.4), 0 0 44px rgba(212,255,63,.35);
}
.hero-stage-cta:hover::after { transform: translateX(.3em); }
.hero-stage-cta:active { transform: translateY(0) scale(.98); }

/* sits under the hero CTA, signed out only — the reason to click, not a
   second CTA competing with it */
.hero-bonus {
  margin: .7rem 0 0; text-align: center;
  color: var(--dim); font-size: var(--fs-mono-sm);
}

.stage-frame {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; position: relative;
}
.stage {
  position: relative; overflow: hidden;
  background: rgba(244,242,236,.02); border-radius: 14px;
  width: 100%; aspect-ratio: 16/9;
  transition: width .5s var(--ease-out);
  container-type: inline-size;
}
.stage-frame.a11 .stage { width: min(66%, 360px); aspect-ratio: 1/1; }
.stage-frame.a916 .stage { width: min(56%, 300px); aspect-ratio: 9/16; }

/* ambient stage light — a slow drift so no frame is ever dead */
.stage-glow {
  position: absolute; inset: -30%;
  background:
    radial-gradient(42% 34% at 30% 30%, rgba(212,255,63,.075), transparent 70%),
    radial-gradient(36% 30% at 72% 68%, rgba(139,208,255,.05), transparent 70%);
  animation: stage-glow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes stage-glow {
  0%,100% { transform: translate(0,0) scale(1) }
  33% { transform: translate(4%,-4%) scale(1.07) }
  66% { transform: translate(-4%,3%) scale(.96) }
}

/* sound: the ad is voiced by the studio voice — one obvious control */
/* just a speaker you click on or off — no label, no chrome */
.sound-toggle {
  position: absolute; right: 3.5%; bottom: 4.5%; transform: none;
  width: 34px; height: 34px; padding: 0; display: grid; place-items: center;
  color: var(--acid); background: rgba(10,10,13,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 0; border-radius: 99px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 0 0 rgba(212,255,63,.35);
  animation: sound-pulse 2.2s ease-in-out infinite;
  transition: transform .2s var(--ease-snap), background .2s, opacity .25s;
}
.sound-toggle svg { width: 19px; height: 19px; display: block; overflow: visible; }
.sound-toggle .spk-body { fill: currentColor; stroke: none; }
.sound-toggle .spk-off, .sound-toggle .spk-on {
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.sound-toggle .spk-on { opacity: 0; transition: opacity .18s var(--ease-out); }
.sound-toggle .spk-off { opacity: 1; transition: opacity .18s var(--ease-out); }
.sound-toggle:hover { transform: scale(1.08); }
.sound-toggle:active { transform: scale(.94); }
/* once sound is on the job is done — the waves come in, the pulse stops */
.sound-toggle.is-on { animation: none; opacity: .8; }
.sound-toggle.is-on .spk-off { opacity: 0; }
.sound-toggle.is-on .spk-on { opacity: 1; }
.sound-toggle.is-on .spk-w2 { transition-delay: .06s; }
.sound-toggle.is-on:hover { opacity: 1; }
@keyframes sound-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(0,0,0,.45), 0 0 0 0 rgba(212,255,63,.35) }
  50% { box-shadow: 0 6px 24px rgba(0,0,0,.45), 0 0 0 var(--pulse-ring, 12px) rgba(212,255,63,0) }
}

.stage-progress { height: 2px; background: var(--hairline); margin-top: .9rem; border-radius: 2px; overflow: hidden; }
.stage-progress i { display: block; height: 100%; width: 0; background: var(--acid); }

/* under the stage: live caption on the left, big aspect controls on the right */
.stage-under { display: flex; justify-content: flex-end; margin-top: .7rem; }
.aspect-switch {
  display: inline-flex; gap: .3rem; flex: none;
  border: 1px solid var(--hairline); border-radius: 8px; padding: .25rem;
}
.aspect-switch button {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  color: var(--dim); background: transparent; border: 0; cursor: pointer;
  padding: .45rem .85rem; border-radius: 6px; transition: background .2s, color .2s;
}
.aspect-switch button:hover { color: var(--ink); background: rgba(244,242,236,.05); }
.aspect-switch button.is-on { background: var(--acid); color: var(--acid-ink); font-weight: 700; }

/* in-stage ad scenes (built by JS, styled here) */
.stage .sc {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4%;
  opacity: 0; pointer-events: none; padding: 7%; text-align: center;
  transition: opacity .22s var(--ease-out);
}
.stage .sc.on { opacity: 1; }
.stage .sc-line {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.05rem, 8.4cqw, 2.2rem); line-height: 1.1; letter-spacing: -.01em;
  margin: 0;
}
.stage .sc-line2 { margin-top: -.5%; }
/* word-by-word: each word springs in on its own beat offset */
.stage .sc-line i {
  font-style: normal; display: inline-block;
  opacity: 0; transform: translateY(.55em) scale(.92); filter: blur(3px);
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-spring), filter .3s;
  transition-delay: calc(var(--w, 0) * 70ms);
}
.stage .sc.on .sc-line i { opacity: 1; transform: none; filter: blur(0); }
.stage .sc-line .strike { position: relative; color: var(--dim); }
.stage .sc-line .strike::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 54%; height: .09em;
  background: #ff4d5e; border-radius: 2px; transform: scaleX(0) rotate(-4deg);
  transform-origin: left; transition: transform .35s var(--ease-snap) .75s;
}
.stage .sc.on .sc-line .strike::after { transform: scaleX(1) rotate(-4deg); }
.stage .sc-line .cursor { color: var(--acid); animation: blink 1s steps(1) infinite; }
.stage .sc-live { gap: .55em; }
.stage .live-dot {
  width: .55em; height: .55em; border-radius: 50%; background: #ff4d5e;
  animation: rec 1.4s ease-in-out infinite;
}
.stage .sc-endurl {
  font-family: var(--font-mono); color: var(--acid);
  font-size: clamp(.6rem, 3.4cqw, .9rem); font-weight: 700;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s, transform .5s var(--ease-out); transition-delay: .8s;
}
.stage .sc.on .sc-endurl { opacity: 1; transform: none; }
.stage .sc-chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: clamp(.55rem, 3.4cqw, .85rem); color: var(--ink);
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: .45em 1em; background: rgba(244,242,236,.04);
  opacity: 0; transform: scale(.6);
  transition: opacity .4s, transform .5s var(--ease-spring); transition-delay: .25s;
}
.stage .sc.on .sc-chip { opacity: 1; transform: none; }
/* re-staging (aspect switch / tab return): everything snaps into place with
   no transitions for one frame, so the film continues instead of replaying */
.stage.jump *, .stage.jump *::before, .stage.jump *::after {
  transition: none !important; animation: none !important;
}

/* cinematic depth: edges fall away, the middle is the set */
.stage-vig {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0,0,0,.5) 100%);
}

/* the mini-engine's actor system: .el enters when its scene goes .on,
   each on its own inline transition-delay — art direction per element */
.stage .sc .el {
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s var(--ease-out), transform .55s var(--ease-spring);
}
.stage .sc.on .el { opacity: 1; transform: none; }
.stage .sc .el-slam { transform: scale(2.1) rotate(-7deg); display: inline-block; }
.stage .sc .el-stamp {
  transform: scale(2.6) rotate(-14deg); display: inline-block;
  transition: opacity .2s var(--ease-out), transform .38s var(--ease-snap);
}
.stage .sc.on .el-slam, .stage .sc.on .el-stamp { transform: none; }
.stage .sc.on .el-stamp { transform: rotate(-7deg); }

/* shared card material */
.stage .sc .card, .stage .inv, .stage .site, .stage .script, .stage .code-card, .stage .prev-card {
  background: rgba(16,16,22,.92); border: 1px solid var(--hairline-strong);
  border-radius: .6em; box-shadow: 0 1.4em 3em rgba(0,0,0,.45);
}

/* beat 1 — the invoice */
.stage .inv {
  width: min(78%, 24em); font-family: var(--font-mono); text-align: left;
  font-size: clamp(.5rem, 2.6cqw, .78rem); padding: .9em 1.1em; position: relative;
}
.stage .inv-head {
  display: flex; justify-content: space-between; color: var(--dim);
  font-size: .82em; letter-spacing: .08em; padding-bottom: .6em;
  border-bottom: 1px solid var(--hairline); margin-bottom: .6em;
}
.stage .inv-row { display: flex; align-items: baseline; gap: .6em; color: var(--ink-70); padding: .22em 0; }
.stage .inv-row i { flex: 1; border-bottom: 1px dotted var(--hairline-strong); }
.stage .inv-row b { font-weight: 500; color: var(--ink); }
.stage .inv-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--hairline-strong); margin-top: .5em; padding-top: .55em;
}
.stage .inv-total span { color: var(--dim); }
.stage .inv-total b {
  font-family: var(--font-display); font-weight: 700; color: #ff8d9b;
  font-size: 1.75em;
}
.stage .inv-foot { margin-top: .45em; color: var(--dim); font-size: .85em; }
.stage .inv-foot b { color: #ff8d9b; font-weight: 500; }

/* beat 2 — the URL types itself */
.stage .urlbar {
  display: flex; align-items: center; width: min(80%, 22em);
  font-family: var(--font-mono); font-size: clamp(.55rem, 3cqw, .85rem);
  background: rgba(16,16,22,.92); border: 1px solid var(--hairline-strong);
  border-radius: .5em; padding: .8em 1em; text-align: left; min-height: 2.6em;
  box-shadow: 0 0 0 3px var(--acid-dim), 0 1.4em 3em rgba(0,0,0,.45);
  color: var(--ink);
}
.stage .btnchip {
  font-family: var(--font-mono); font-size: clamp(.55rem, 2.8cqw, .8rem); font-weight: 700;
  color: var(--acid-ink); background: var(--acid); border-radius: .45em; padding: .55em 1.2em;
}

/* beat 3 — the site scan */
.stage .site { width: min(72%, 20em); overflow: hidden; position: relative; font-size: clamp(.5rem, 2.6cqw, .78rem); }
.stage .site-bar {
  display: flex; align-items: center; gap: .35em; padding: .55em .8em;
  border-bottom: 1px solid var(--hairline); color: var(--dim);
  font-family: var(--font-mono); font-size: .8em;
}
.stage .site-bar i { width: .55em; height: .55em; border-radius: 50%; background: var(--hairline-strong); }
.stage .site-bar span { margin-left: .4em; }
.stage .site-body { padding: 1em .9em 1.1em; display: grid; gap: .55em; }
.stage .sk { display: block; height: .6em; border-radius: .3em; background: rgba(244,242,236,.13); }
.stage .scanbeam {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(212,255,63,.16) 85%, rgba(212,255,63,.55));
  transform: translateY(-110%); opacity: 0;
}
.stage .sc.on .scanbeam { animation: scan .9s var(--ease-out) .25s forwards; }
@keyframes scan { 0% { transform: translateY(-110%); opacity: 1 } 100% { transform: translateY(360%); opacity: 0 } }
.stage .found { display: flex; gap: .6em; flex-wrap: wrap; justify-content: center; font-size: clamp(.5rem, 2.4cqw, .72rem); color: var(--ink-70); }
.stage .found span {
  display: inline-flex; align-items: center; gap: .35em;
  border: 1px solid var(--hairline-strong); border-radius: 99px; padding: .3em .8em;
  background: rgba(16,16,22,.9);
}
.stage .found i { width: .8em; height: .8em; border-radius: .2em; display: inline-block; }

/* beat 4 — the script sheet + approval stamp */
.stage .script {
  width: min(82%, 24em); font-family: var(--font-mono); text-align: left;
  font-size: clamp(.5rem, 2.6cqw, .76rem); padding: .8em 1em 2.6em; position: relative;
}
.stage .script-head {
  display: flex; justify-content: space-between; color: var(--dim); font-size: .82em;
  letter-spacing: .06em; border-bottom: 1px solid var(--hairline);
  padding-bottom: .5em; margin-bottom: .6em;
}
.stage .script-line { display: flex; gap: .7em; color: var(--ink-70); padding: .22em 0; }
.stage .script-line span { color: var(--acid); opacity: .8; flex: none; width: 3.4em; }
.stage .stamp {
  position: absolute; right: .7em; bottom: .55em;
  font-weight: 700; color: var(--acid); border: 2px solid var(--acid);
  border-radius: .3em; padding: .18em .6em; letter-spacing: .06em;
  background: rgba(212,255,63,.07);
}

/* beat 5 — code and the picture it makes */
.stage .duo { display: flex; gap: .8em; align-items: stretch; justify-content: center; width: 88%; }
.stage .code-card {
  margin: 0; text-align: left; font-family: var(--font-mono); color: var(--acid);
  font-size: clamp(.42rem, 2.2cqw, .68rem); line-height: 1.6; padding: .9em 1em; flex: 1.2; min-width: 0;
  white-space: pre; overflow: hidden;
}
.stage .prev-card {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .7em; padding: .8em;
}
.stage .pv-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1rem, 6.5cqw, 2.1rem); text-align: center; line-height: 1; }
.stage .pv-bars { display: flex; gap: .35em; align-items: flex-end; height: 2.6em; }
.stage .pv-bars i { width: .9em; border-radius: .2em .2em 0 0; background: var(--acid); opacity: .85; transform-origin: bottom; }
.stage .sc .pv-bars i.el { transform: scaleY(0); }
.stage .sc.on .pv-bars i.el { transform: scaleY(1); }
/* stack the pair only when the stage is actually tall (9:16 / 1:1) — a phone's
   16:9 stage is also under 400px wide, and stacking there overflows the box */
@container (max-width: 400px) and (orientation: portrait) { .stage .duo { flex-direction: column; align-items: center; } .stage .code-card, .stage .prev-card { width: 84%; flex: none; } }
@container (max-width: 400px) and (orientation: landscape) { .stage .duo { width: 94%; gap: .6em; } }

/* beat 6 — the filmstrip QC pass */
.stage .strip { display: flex; gap: .5em; justify-content: center; }
.stage .fr {
  position: relative; width: 3em; aspect-ratio: 9/14; border-radius: .35em;
  background: linear-gradient(160deg, rgba(212,255,63,.14), rgba(139,208,255,.08) 60%, rgba(16,16,22,.8));
  border: 1px solid var(--hairline-strong);
  font-size: clamp(.5rem, 2.8cqw, .8rem);
}
.stage .fr b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--acid); font-size: 1.1em;
}
.stage .fr .warn { color: #ffb74d; }
.stage .fr .fix { background: #101016; border-radius: .35em; }
/* the moment the repair lands, the warning is gone — not layered under */
.stage .sc.on .fr .warn { animation: warn-out .01s linear 1.45s forwards; }
@keyframes warn-out { to { opacity: 0 } }
.stage .strip-note { color: var(--dim); font-size: clamp(.45rem, 2.2cqw, .68rem); }

/* beat 7 — the price tag */
.stage .price-wrap { display: flex; flex-direction: column; align-items: center; gap: .4em; }
.stage .pricetag {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.2rem, 7.5cqw, 2.3rem); line-height: 1;
  color: var(--acid-ink); background: var(--acid);
  border-radius: .18em; padding: .16em .45em;
  box-shadow: 0 .5em 2em rgba(212,255,63,.25);
}
.stage .price-note {
  font-family: var(--font-mono); color: var(--dim);
  font-size: clamp(.5rem, 2.2cqw, .75rem); letter-spacing: .04em;
}

.stage .sc-swatches { display: inline-flex; gap: .35em; }
.stage .sc-swatches i { width: .9em; height: .9em; border-radius: 3px; }
.stage .sc-script {
  font-family: var(--font-mono); font-size: clamp(.5rem, 3cqw, .8rem);
  color: var(--ink-70); text-align: left; display: grid; gap: .55em;
}
.stage .sc-script span {
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s, transform .4s var(--ease-out);
}
.stage .sc.on .sc-script span.w { opacity: 1; transform: none; }
.stage .sc-code {
  font-family: var(--font-mono); font-size: clamp(.45rem, 2.7cqw, .72rem);
  color: var(--acid); opacity: .9; text-align: left; white-space: pre; line-height: 1.5;
}
.stage .sc-checks {
  font-family: var(--font-mono); font-size: clamp(.55rem, 3.2cqw, .85rem);
  display: grid; gap: .6em; text-align: left; color: var(--ink-70);
}
.stage .sc-checks span { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease-out); }
.stage .sc-checks span.w { opacity: 1; transform: none; }
.stage .sc-checks b { color: var(--acid); font-weight: 500; }
.stage .sc-render { width: 70%; display: grid; gap: .8em; }
.stage .sc-renderbar { height: .5em; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.stage .sc-renderbar i { display: block; height: 100%; width: 0; background: var(--acid); transition: width 1.15s linear .25s; }
.stage .sc.on .sc-renderbar i { width: 100%; }
.stage .sc-file {
  font-family: var(--font-mono); font-size: clamp(.55rem, 3.2cqw, .85rem); color: var(--ink);
  opacity: 0; transition: opacity .4s; transition-delay: 1.3s;
}
.stage .sc.on .sc-file { opacity: 1; }
.stage .sc-endlogo {
  font-family: var(--font-mono); font-weight: 700; color: var(--acid-ink);
  background: var(--acid); border-radius: .28em; padding: .32em .55em;
  font-size: clamp(.9rem, 5.6cqw, 1.7rem);
  opacity: 0; transform: scale(.5);
  transition: opacity .4s, transform .55s var(--ease-spring);
}
.stage .sc.on .sc-endlogo { opacity: 1; transform: none; }
.stage .sc-endline {
  font-family: var(--font-mono); color: var(--ink-70);
  font-size: clamp(.55rem, 3.2cqw, .85rem);
  opacity: 0; transition: opacity .5s; transition-delay: .3s;
}
.stage .sc.on .sc-endline { opacity: 1; }

/* ── SCENE 02 — your turn: the pitch console, the form promoted ─────────── */
.console { position: relative; padding-top: clamp(2.5rem, 3.6vw, 3.6rem); }
.console::before {
  /* the same stage light the hero gets — the form is the performer here */
  content: ""; position: absolute; top: -8vh; left: 50%; width: 72vw; height: 60vh;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(212,255,63,.055), transparent 62%);
}
.console-wrap { max-width: 720px; scroll-margin-top: 96px; position: relative; }
.console .eyebrow { text-align: center; }
.console h2 { text-align: center; }
.console-h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.1; }
.console-h2 em { font-style: normal; }
.console-form { margin-top: clamp(1.8rem, 3.4vw, 2.6rem); }
.console-form .pitch-row input { font-size: 1.05rem; }
.console-form .pitch-row .btn { padding: 1.05rem 1.7rem; font-size: .92rem; }
.console .live-preview { justify-content: center; }
/* ── SCENE 03 — formats: a full-bleed marquee, rotating endlessly.
   The cards are doubled in the DOM; when the scroll passes the first set it
   wraps invisibly, so the reel never ends. Hover or grab it and it waits. ── */
.carousel {
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.format-grid {
  display: flex; gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: .25rem clamp(1.25rem, 4vw, 4rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.format-grid::-webkit-scrollbar { display: none; }
.format-grid .format-card { flex: 0 0 min(400px, 82vw); min-width: 0; }
.toolkit {
  margin-top: clamp(1.6rem, 3vw, 2.2rem); color: var(--dim); text-align: center;
}
.toolkit b { color: var(--acid); font-weight: 700; }
.format-card {
  background: var(--bg-raise); border: 1px solid var(--hairline);
  border-radius: 10px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.format-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.fc-stage {
  position: relative; height: 190px; background: #0c0c11; overflow: hidden;
  border-bottom: 1px solid var(--hairline); flex: none;
}
.fc-meta { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .55rem; }
.fc-meta h3 { font-size: var(--fs-h3); }
.fc-meta p { color: var(--ink-70); font-size: .93rem; }
.fc-specs { color: var(--dim); font-size: var(--fs-mono-sm); margin-top: .2rem; }
.fc-specs .acid { font-weight: 500; }

/* ── SCENE 03 — the showcase: real pipeline output in the marquee.
   Portrait cards; each holds a real mp4 (preload none, poster only) with a
   play chip. The marquee pauses while anything is playing. ── */
.show-title { font-size: clamp(3rem, 6.6vw, 6.6rem); font-weight: 700; }
.format-grid .show-card { flex: 0 0 min(280px, 72vw); }
.sc-stage {
  position: relative; aspect-ratio: 9 / 16; background: #0c0c11;
  border-bottom: 1px solid var(--hairline); flex: none; overflow: hidden;
}
/* contain, not cover: the showcase mixes 9:16 and 1:1 renders — portrait fills
   the stage exactly, square letterboxes on the stage background instead of
   being cropped to a vertical slice */
.sc-stage video { width: 100%; height: 100%; display: block; object-fit: contain; }
.sc-stage video:fullscreen { object-fit: contain; background: #000; }
.sc-stage video:-webkit-full-screen { object-fit: contain; background: #000; }
.sc-play {
  position: absolute; inset: auto auto 12px 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(10,10,14,.72); color: var(--acid);
  font-size: .8rem; cursor: pointer; backdrop-filter: blur(6px);
  transition: transform .25s var(--ease-out), background .25s;
}
.sc-play:hover { transform: scale(1.08); background: rgba(10,10,14,.9); }
.show-card.is-playing .sc-play { opacity: 0; pointer-events: none; }
/* under each video: the brand, its domain, and the one sentence that made
   the ad — set as a quote in the site's own voice, no field labels */
.fc-top { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; min-width: 0; }
.fc-domain { color: var(--dim); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-brief { color: var(--ink-70); font-size: 1rem; line-height: 1.45; }
.fc-brief .acid { font-family: var(--font-display); font-weight: 700; }
.sc-note {
  margin-top: clamp(.9rem, 1.6vw, 1.2rem); text-align: center;
  color: var(--dim); font-size: var(--fs-mono-sm); opacity: .75;
}

/* ═══ the six mini-ads — beat-driven like the hero stage. Elements carry
   data-b (fire time in ms); JS toggles .w when the card's clock passes it.
   Everything below is entrance/exit choreography for those states. ═══ */
.fc2 { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; height: 210px; }
.fc2 .m-tc {
  position: absolute; top: 8px; right: 10px; font-size: .58rem; color: var(--dim);
  opacity: .55; letter-spacing: .04em;
}
.fc2 [data-b] { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring); }
.fc2 [data-b].w { opacity: 1; transform: none; }

/* social feed — hook slams, brand bar, claim, live like counter, swipe cta */
.ms-hook {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 1.7rem; line-height: 1; margin: 0;
}
.ms-hook[data-b] { transform: scale(2.1); filter: blur(4px); transition: opacity .3s, transform .45s var(--ease-spring), filter .35s; }
.ms-hook.w { transform: scale(1); filter: blur(0); }
.ms-h2 { color: var(--acid); margin-top: .1rem; }
.ms-brand { display: flex; align-items: center; gap: .45rem; margin-top: .8rem; font-size: .66rem; color: var(--ink-70); }
.ms-brand i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--acid), #8bd0ff); }
.ms-brand em { font-style: normal; color: var(--dim); font-size: .58rem; }
.ms-claim { font-family: var(--font-body); font-size: .82rem; color: var(--ink-70); margin-top: .55rem; text-align: center; line-height: 1.4; }
.ms-row { display: flex; gap: 1.1rem; margin-top: .7rem; font-size: .68rem; color: var(--dim); }
.ms-row .acid b { font-weight: 700; }
.ms-swipe { margin-top: .55rem; font-size: .62rem; color: var(--ink); }
.ms-swipe.w { animation: ms-swipe 1.4s ease-in-out .5s infinite; }
@keyframes ms-swipe { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }

/* paid ad — price slash, live countdown, cta pulse */
.mp-kicker { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.mp-prices { display: flex; align-items: baseline; gap: .9rem; margin-top: .5rem; }
.mp-old {
  position: relative; font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; color: var(--dim);
}
.mp-old i {
  position: absolute; left: -6%; right: -6%; top: 52%; height: 3px; border-radius: 2px;
  background: #ff4d5e; transform: scaleX(0) rotate(-6deg); transform-origin: left;
  transition: transform .35s var(--ease-snap); opacity: 1;
}
.mp-old i.w { transform: scaleX(1) rotate(-6deg); }
.mp-new {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--acid);
  line-height: 1;
}
.mp-new[data-b] { transform: scale(2.2) rotate(-8deg); transition: opacity .25s, transform .5s var(--ease-spring); }
.mp-new.w { transform: scale(1) rotate(0); }
.mp-count { margin-top: .7rem; font-size: .66rem; color: var(--ink-70); }
.mp-count b { font-weight: 700; font-variant-numeric: tabular-nums; }
.mp-cta {
  margin-top: .6rem; font-size: .66rem; font-weight: 700;
  color: var(--acid-ink); background: var(--acid); border-radius: 4px; padding: .3rem .85rem;
}
.mp-cta.w { animation: mp-pulse 1.6s ease-in-out .4s infinite; }
@keyframes mp-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,255,63,.4) } 50% { box-shadow: 0 0 0 7px rgba(212,255,63,0) } }

/* launch post — deploy bar hands over to the reveal + confetti burst */
.ml-deploy { width: 62%; display: grid; gap: .5rem; text-align: left; }
.ml-deploy p { font-size: .64rem; color: var(--ink-70); }
.ml-deploy b { color: var(--acid); font-variant-numeric: tabular-nums; }
.ml-bar { height: 5px; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.ml-bar i { display: block; height: 100%; width: 0; background: var(--acid); }
.fc2 .ml-deploy.done { opacity: 0; transform: translateY(-8px); }
.ml-live { position: absolute; left: 0; right: 0; top: 30%; text-align: center; }
.ml-big { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.fc2 .ml-live[data-b] { transform: scale(.6); }
.fc2 .ml-live.w { transform: scale(1); }
.ml-burst { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.ml-burst i { position: absolute; width: 4px; height: 10px; border-radius: 2px; background: var(--acid); opacity: 0; }
.ml-live.w .ml-burst i { animation: ml-burst 1s var(--ease-out) forwards; }
.ml-burst i:nth-child(2n) { background: #8bd0ff; }
.ml-burst i:nth-child(3n) { background: #ff9ecb; }
.ml-burst i:nth-child(1)  { --dx: -74px; --dy: -48px; --r: 130deg }
.ml-burst i:nth-child(2)  { --dx: -52px; --dy: -74px; --r: 250deg; animation-delay: .02s }
.ml-burst i:nth-child(3)  { --dx: -20px; --dy: -84px; --r: 170deg; animation-delay: .05s }
.ml-burst i:nth-child(4)  { --dx: 18px;  --dy: -80px; --r: 300deg; animation-delay: .01s }
.ml-burst i:nth-child(5)  { --dx: 54px;  --dy: -68px; --r: 210deg; animation-delay: .06s }
.ml-burst i:nth-child(6)  { --dx: 78px;  --dy: -40px; --r: 150deg; animation-delay: .03s }
.ml-burst i:nth-child(7)  { --dx: 86px;  --dy: -6px;  --r: 280deg; animation-delay: .07s }
.ml-burst i:nth-child(8)  { --dx: -88px; --dy: -10px; --r: 190deg; animation-delay: .04s }
.ml-burst i:nth-child(9)  { --dx: 60px;  --dy: 30px;  --r: 320deg; animation-delay: .08s }
.ml-burst i:nth-child(10) { --dx: -60px; --dy: 26px;  --r: 240deg; animation-delay: .05s }
.ml-burst i:nth-child(11) { --dx: 26px;  --dy: 46px;  --r: 160deg; animation-delay: .09s }
.ml-burst i:nth-child(12) { --dx: -24px; --dy: 44px;  --r: 290deg; animation-delay: .06s }
@keyframes ml-burst {
  0% { opacity: 1; transform: translate(0,0) rotate(0) }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) }
}
.ml-chips { position: absolute; left: 0; right: 0; bottom: 16%; display: flex; gap: .4rem; justify-content: center; }
.ml-chips span {
  font-size: .58rem; color: var(--ink-70);
  border: 1px solid var(--hairline-strong); border-radius: 99px; padding: .18rem .55rem;
  background: rgba(244,242,236,.03);
}
.ml-chips span[data-b] { transform: translateY(10px) scale(.7); }
.ml-chips span.w { transform: none; }

/* explainer — the pipeline drawn as a diagram: nodes pop, lines draw, a dot travels */
.me-flow { display: flex; align-items: center; gap: 0; width: 84%; justify-content: center; }
.me-node { display: grid; justify-items: center; gap: .35rem; flex: none; }
.me-node b {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--hairline-strong); background: var(--bg-panel);
  color: var(--ink); font-size: .62rem; font-weight: 700;
}
.me-node[data-b] { transform: scale(.4); }
.me-node.w { transform: scale(1); }
.me-fw b { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.me-node span { font-size: .54rem; color: var(--dim); white-space: nowrap; }
.me-node span[data-b] { transform: translateY(4px); }
.me-seg { position: relative; flex: 1; height: 2px; margin: 0 .5rem 1.1rem; background: var(--hairline); min-width: 34px; }
.me-seg i {
  position: absolute; inset: 0; background: var(--acid);
  transform: scaleX(0); transform-origin: left; opacity: 1;
  transition: transform 1s var(--ease-out);
}
.me-seg i.w { transform: scaleX(1); }
.me-seg em {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid); box-shadow: 0 0 10px var(--acid); opacity: 0;
  transition: left 1s var(--ease-out), opacity .2s;
}
.me-seg em.w { left: calc(100% - 8px); opacity: 1; transition: left 1s var(--ease-out), opacity .2s; }
.me-cap { position: absolute; bottom: 12%; left: 0; right: 0; text-align: center; font-size: .6rem; color: var(--dim); }

/* website hero — living hero section in a browser frame, seamless by design */
.mh-stage { justify-content: flex-start; align-items: stretch; }
.mh-blob {
  position: absolute; width: 150%; height: 150%; left: -25%; top: -25%;
  background:
    radial-gradient(38% 34% at 32% 36%, rgba(212,255,63,.16), transparent 70%),
    radial-gradient(30% 30% at 68% 62%, rgba(139,208,255,.12), transparent 70%);
  animation: mh-blob 7.5s ease-in-out infinite;
}
@keyframes mh-blob {
  0%,100% { transform: translate(0,0) scale(1) }
  33% { transform: translate(3%,-3%) scale(1.06) }
  66% { transform: translate(-3%,2%) scale(.97) }
}
.mh-chrome {
  position: relative; display: flex; align-items: center; gap: .32rem;
  padding: .45rem .7rem; border-bottom: 1px solid var(--hairline);
  font-size: .56rem; color: var(--dim); background: rgba(10,10,13,.45);
}
.mh-chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--hairline-strong); }
.mh-chrome span { margin-left: .4rem; }
.mh-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; }
.mh-head { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.mh-word { display: inline-block; min-width: 4.2ch; text-align: left; }
.mh-word.flip { animation: mh-flip .5s var(--ease-snap); }
@keyframes mh-flip {
  0% { opacity: 0; transform: translateY(.6em) rotateX(80deg) }
  100% { opacity: 1; transform: none }
}
.mh-sub { font-size: .58rem; color: var(--dim); }
.mh-btn {
  font-size: .6rem; font-weight: 700; color: var(--acid-ink); background: var(--acid);
  border-radius: 4px; padding: .28rem .8rem; position: relative; overflow: hidden;
}
.mh-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  animation: mh-sheen 3.75s linear infinite;
}
@keyframes mh-sheen { 0%,60% { transform: translateX(-110%) } 90%,100% { transform: translateX(110%) } }
.mh-badge {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-size: .56rem; color: var(--dim); letter-spacing: .05em; white-space: nowrap;
}

/* launch page loop — the product card assembles itself, then earns its votes */
.mg-card {
  position: relative; width: 52%; border: 1px solid var(--hairline-strong); border-radius: 9px;
  background: var(--bg-panel); padding: .8rem .9rem; display: grid; gap: .55rem;
}
.mg-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--acid); }
.mg-logo[data-b] { transform: translateY(-26px) scale(.5); transition: opacity .3s, transform .55s var(--ease-spring); }
.mg-logo.w { transform: none; }
.mg-title { display: grid; gap: 5px; }
.mg-title i { display: block; height: 7px; border-radius: 3px; background: rgba(244,242,236,.16); }
.mg-title i:last-child { width: 58%; opacity: .6; }
.mg-shot { display: flex; gap: 4px; align-items: flex-end; height: 30px; }
.mg-shot i { flex: 1; border-radius: 2px 2px 0 0; background: rgba(212,255,63,.28); }
.mg-shot i:nth-child(1) { height: 45% } .mg-shot i:nth-child(2) { height: 80% } .mg-shot i:nth-child(3) { height: 60% }
.mg-shot[data-b] { transform: scaleY(.1); transform-origin: bottom; }
.mg-shot.w { transform: none; }
.mg-stars { display: flex; gap: .2rem; font-size: .6rem; }
.mg-stars span { color: var(--acid); }
.mg-stars span[data-b] { transform: scale(0); transition: opacity .2s, transform .35s var(--ease-spring); }
.mg-stars span.w { transform: none; }
.mg-upvote {
  position: absolute; right: 13%; bottom: 15%;
  font-size: .66rem; color: var(--acid); border: 1px solid var(--acid);
  border-radius: 6px; padding: .22rem .55rem; background: rgba(212,255,63,.06);
}
.mg-upvote b { font-weight: 700; font-variant-numeric: tabular-nums; }
.mg-upvote.w { animation: mg-vote 2.2s var(--ease-spring) .3s infinite; }
@keyframes mg-vote { 0%,100% { transform: translateY(0) } 8% { transform: translateY(-4px) } 16% { transform: translateY(0) } }

/* voiceover line — one quiet centred caption under the showcase, wave inline */
.voice-line {
  margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: center;
  color: var(--ink-70); font-size: var(--fs-mono-sm);
}
.scv-wave {
  display: inline-flex; gap: 2px; align-items: center; height: 12px;
  vertical-align: -1px; margin-right: .55em;
}
.scv-wave i {
  width: 2px; border-radius: 1px; background: var(--acid); height: 30%;
  animation: vs-wave 1.15s ease-in-out infinite;
}
.scv-wave i:nth-child(2) { animation-delay: .12s } .scv-wave i:nth-child(3) { animation-delay: .24s }
.scv-wave i:nth-child(4) { animation-delay: .36s } .scv-wave i:nth-child(5) { animation-delay: .48s }
@keyframes vs-wave { 0%,100% { height: 26% } 50% { height: 96% } }

/* ── SCENE 04 — revisions: the edit bay ──────────────────────────────────
   A live ad runs as DOM in the frame; the chips are revision notes.
   Sending one rebuilds the ad in front of the visitor — the section IS
   the feature. --racc is the demo brand's accent, and one of the notes
   swaps it, so every accent-coloured part inherits the change. */
.rev-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy phone";
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.rev-copy { grid-area: copy; max-width: 51rem; }
.rev-copy h2 {
  font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.9rem);
  line-height: 1.08; letter-spacing: -.015em;
  margin: .9rem 0 1.2rem;
}
.rev-copy h2 .nowrap { white-space: nowrap; }
.rev-lede {
  color: var(--ink-70); font-size: var(--fs-lede); max-width: 44ch;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.2rem);
}

/* the conversation — one exchange at a time, space reserved so nothing jumps */
.rev-chat { display: flex; flex-direction: column; gap: .9rem; }
.rev-msg {
  width: fit-content; max-width: 92%; min-height: 3.4rem;
  padding: .95rem 1.25rem; border-radius: 16px; border-bottom-left-radius: 5px;
  background: var(--bg-raise); border: 1px solid var(--hairline); color: var(--ink);
  font-size: 1.05rem; line-height: 1.6;
  animation: rev-msg-in .3s var(--ease-snap);
}
.rev-msg[hidden] { display: block; visibility: hidden; animation: none; }
.rev-msg.typing::after { content: "▮"; color: var(--acid); animation: rev-caret .7s steps(1) infinite; }
@keyframes rev-caret { 50% { opacity: 0 } }
@keyframes rev-msg-in { from { opacity: 0; transform: translateY(8px) scale(.97) } }
.rev-msg.from-fw {
  margin-left: auto; min-height: 0;
  border-radius: 16px; border-bottom-right-radius: 5px;
  background: var(--acid); border-color: var(--acid); color: var(--acid-ink);
  font-size: var(--fs-mono); letter-spacing: .04em; font-weight: 700;
}
.term-caret {
  display: inline-block; width: .55em; height: 1.05em; vertical-align: -0.15em;
  background: var(--acid); animation: blink 1s steps(1) infinite;
}
.rev-msg.from-fw .term-caret { background: var(--acid-ink); }

/* the one way out — a single CTA that lands after the last rebuild */
.rev-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.rev-chips:empty { display: none; }
.rev-chip {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: var(--ink-70); background: transparent; text-decoration: none;
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: .55rem 1.05rem; cursor: pointer;
  animation: rev-msg-in .35s var(--ease-snap);
  transition: color .2s, border-color .2s, background .2s, transform .15s var(--ease-snap);
}
.rev-chip:active { transform: scale(.96); }
.rev-go { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); font-weight: 700; }
.rev-go:hover { background: transparent; color: var(--acid); box-shadow: 0 0 32px rgba(212,255,63,.22); }

/* the frame — same phone silhouette, but the screen is a live set */
.rev-phone {
  grid-area: phone; position: relative; margin: 0;
  width: clamp(250px, 21vw, 310px);
  transition: width .5s var(--ease-out);
}
.rev-phone.a11 { width: clamp(300px, 26vw, 380px); }
.rev-frame {
  --racc: var(--acid); --racc-ink: #0a0a0c;
  position: relative; overflow: hidden;
  aspect-ratio: 9/16; background: #0c0c10;
  border: 1px solid var(--hairline-strong); border-radius: 20px;
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
  container-type: inline-size;
  transition: border-color .4s, box-shadow .5s;
}
.rev-phone.a11 .rev-frame { aspect-ratio: 1/1; }
.rev-phone.is-glow .rev-frame {
  border-color: rgba(212,255,63,.4);
  box-shadow: 0 0 0 4px var(--acid-dim), 0 40px 90px rgba(0,0,0,.55), 0 0 64px rgba(212,255,63,.14);
}
.rev-cut {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: var(--fs-mono-sm); color: var(--ink-70);
  background: rgba(10,10,13,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hairline); border-radius: 99px; padding: .22rem .7rem;
}
.rev-cut.pop { animation: cut-pop .5s var(--ease-spring); }
@keyframes cut-pop {
  0% { transform: scale(1.45); background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
}
.rev-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(244,242,236,.07); z-index: 3; }
.rev-prog i { display: block; height: 100%; width: 0; background: var(--racc); transition: background .5s; }
.rev-rebuild {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: .45em;
  background: rgba(8,8,11,.88); backdrop-filter: blur(3px);
  color: var(--acid); font-size: var(--fs-mono-sm); letter-spacing: .05em;
}
.rev-rebuild[hidden] { display: none; }
.rev-log {
  margin: .7rem 0 0; text-align: center;
  color: var(--dim); font-size: var(--fs-mono-sm); min-height: 1.2em;
}

/* the demo ad itself — same beat grammar as the hero stage, coffee brand */
.rev-stage { position: absolute; inset: 0; }
.rev-stage .sc {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5%;
  opacity: 0; padding: 9%; text-align: center;
  transition: opacity .22s var(--ease-out);
}
.rev-stage .sc.on { opacity: 1; }
.rev-stage .el {
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease-out), transform .55s var(--ease-spring);
}
.rev-stage .sc.on .el { opacity: 1; transform: none; }
.r-brand {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: clamp(.5rem, 3.4cqw, .72rem); color: var(--ink-70);
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: .35em 1em; background: rgba(244,242,236,.04);
}
.r-brand i { width: .6em; height: .6em; border-radius: 50%; background: var(--racc); transition: background .5s; }
.r-hook {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(1.1rem, 10.5cqw, 2rem); line-height: 1.08; letter-spacing: -.01em; margin: 0;
}
.r-hook i {
  font-style: normal; display: inline-block;
  opacity: 0; transform: translateY(.55em) scale(.92); filter: blur(3px);
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-spring), filter .3s;
  transition-delay: calc(var(--w, 0) * 90ms);
}
.rev-stage .sc.on .r-hook i { opacity: 1; transform: none; filter: blur(0); }
.r-hook .r-em { color: var(--racc); transition: color .5s; }
.r-sub { color: var(--dim); font-size: clamp(.5rem, 3.2cqw, .75rem); letter-spacing: .04em; }
.r-line {
  font-family: var(--font-display); font-weight: 600; color: var(--ink-70);
  font-size: clamp(.8rem, 6cqw, 1.2rem); margin: 0;
}
.r-card {
  width: min(88%, 17em);
  background: rgba(16,16,22,.92); border: 1px solid var(--hairline-strong);
  border-radius: .7em; box-shadow: 0 1.4em 3em rgba(0,0,0,.45);
  padding: 1em .8em; display: grid; gap: .6em; justify-items: center;
  font-size: clamp(.55rem, 3.6cqw, .85rem);
}
/* grid tracks must never outgrow the card — everything wraps inside it */
.r-card > * { min-width: 0; max-width: 100%; }
.r-card b { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.12em; }
.r-notes { display: flex; gap: .4em; flex-wrap: wrap; justify-content: center; }
.r-notes i {
  font-style: normal; border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: .2em .7em; color: var(--ink-70); font-size: .85em;
}
.r-price { font-family: var(--font-display); font-weight: 700; color: var(--racc); font-size: 1.9em; line-height: 1; transition: color .5s; }
.r-price em { font-style: normal; font-family: var(--font-mono); font-weight: 400; color: var(--dim); font-size: .42em; }
.r-logo {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(1.4rem, 12cqw, 2.4rem); line-height: 1;
}
.r-logo i { font-style: normal; color: var(--racc); transition: color .5s; }
.r-cta {
  font-weight: 700; font-size: clamp(.6rem, 3.8cqw, .85rem);
  color: var(--racc-ink); background: var(--racc);
  border-radius: 99px; padding: .7em 1.8em; transition: background .5s;
}
.r-url { color: var(--racc); font-weight: 700; font-size: clamp(.55rem, 3.4cqw, .8rem); transition: color .5s; margin: 0; }

/* ── SCENE 06 — pricing ──────────────────────────────────────────────────── */
.section-head.center-head { margin-left: auto; margin-right: auto; }
/* five across only while the free card is in the row (signed out), and only
   on desktop — the narrow breakpoints below drop to 2 then 1 column, and this
   selector is more specific than they are, so it must not apply there */
@media (min-width: 1280px) {
  .tier-grid.has-free { grid-template-columns: repeat(5, 1fr); max-width: 1240px; }
}
/* laptop widths: five cards will not shrink below their min-content and the
   last one spills off screen, so this band runs 3 + 2 instead */
@media (min-width: 1021px) and (max-width: 1279px) {
  .tier-grid.has-free { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
}
/* grid items default to min-width:auto, which is what let a card push past
   the grid box in the first place */
.tier-card { min-width: 0; }
.tier-card.is-free {
  border-color: rgba(212,255,63,.5);
  background: linear-gradient(180deg, rgba(212,255,63,.06) 0%, var(--bg-raise) 60%);
}
.tier-card.is-free .tier-price { color: var(--acid); }
.tier-badge-free { background: var(--acid); }

.tier-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.3rem); max-width: 1080px; margin: 0 auto;
  align-items: stretch;
}
.tier-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 1.7rem 1.5rem 1.5rem;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.tier-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.tier-card.is-popular {
  border-color: rgba(212,255,63,.5);
  box-shadow: 0 0 0 3px var(--acid-dim), 0 24px 60px rgba(0,0,0,.4);
}
.tier-badge {
  position: absolute; top: -.75em; left: 50%; transform: translateX(-50%);
  background: var(--acid); color: var(--acid-ink); font-weight: 700;
  font-size: var(--fs-mono-sm); letter-spacing: .06em; white-space: nowrap;
  padding: .28rem .75rem; border-radius: 99px;
}
.tier-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.tier-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; margin: .4rem 0 .25rem;
}
.tier-card.is-popular .tier-price { color: var(--acid); }
.tier-sub { color: var(--ink-70); font-size: var(--fs-mono); margin-bottom: 1rem; }
.tier-card.is-popular .tier-sub { color: var(--ink); }
.tier-bonus { display: block; }
.tier-feat-sub { display: block; }
.tier-feats {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: grid; gap: .5rem; color: var(--ink-70); font-size: .92rem;
}
.tier-feats li::before { content: "\2713  "; color: var(--acid); }
.tier-cta { margin-top: auto; text-align: center; }
.tier-note { margin-top: 1.7rem; color: var(--dim); font-size: var(--fs-mono-sm); }
/* the signup bonus, said where the money is discussed — dim like the note
   above it, with the number itself carrying the acid so it reads at a glance */
.tier-bonus-note { margin-top: .6rem; color: var(--dim); font-size: var(--fs-mono-sm); }
.tier-bonus-note b { color: var(--acid); font-weight: inherit; }

/* ── SCENE 07 — end card ─────────────────────────────────────────────────── */
.closer { text-align: center; padding-bottom: clamp(5rem, 8vw, 7.5rem); position: relative; }
.closer::before {
  content: ""; position: absolute; bottom: -20vh; left: 50%; width: 90vw; height: 60vh;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(212,255,63,.06), transparent 60%);
}
.closer-title { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -.015em; }
.closer-go {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; margin-top: 2rem;
}
.closer-alt {
  font-size: var(--fs-mono-sm); color: var(--dim);
  text-decoration: none; transition: color .2s;
}
.closer-alt:hover { color: var(--ink); }
/* last word before they decide */
.closer-bonus { margin: .95rem 0 .2rem; color: var(--ink-70); font-size: var(--fs-mono-sm); }
.closer-bonus b { color: var(--acid); font-weight: 700; }
.form-note.center { text-align: center; }

/* ── footer / noscript ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--hairline); padding: 2.2rem 0; position: relative; z-index: 2; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--dim); flex-wrap: wrap; }

.noscript {
  position: fixed; inset: auto 0 0 0; padding: 1rem; text-align: center;
  background: var(--acid); color: var(--acid-ink); z-index: 60;
}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { margin-top: 0; }
  
  .rev-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "phone"; justify-items: start; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-phone { justify-self: center; margin-top: 1.8rem; width: min(66vw, 300px); }
  .rev-phone.a11 { width: min(82vw, 380px); }
  .rev-copy { max-width: 100%; }
  /* single column: the no-wrap lines size off the viewport so the longest
     one always clears the edge */
  .rev-copy h2 { font-size: clamp(1.3rem, 6.8vw, 3.4rem); }
}
@media (max-width: 640px) {
  .console { padding-top: 4.2rem; padding-bottom: 5.5rem; }
  .console-form { margin-top: 2.4rem; }
  .nav-links { gap: .9rem; }
  .nav-links a:not(.btn) { display: none; }
  /* the two that survive a phone: the balance, and the way in. Everything
     else on this bar is a jump link the page already provides by scrolling. */
  .nav-links a.nav-credits {
    display: inline-block; padding: .24rem .6rem; font-size: .72rem;
  }
  .nav-links a.nav-login { display: inline-block; }
  .pitch-row { flex-direction: column; }
  /* the sound chip is fixed-px, so it has to shrink with the stage */
  .sound-toggle {
    width: 30px; height: 30px;
    right: 3.5%; bottom: 5.5%; --pulse-ring: 8px;
  }
  .sound-toggle svg { width: 17px; height: 17px; }
  /* the chip stays visually small but keeps a finger-sized hit area */
  .sound-toggle::after { content: ""; position: absolute; inset: -9px; border-radius: 99px; }
  /* the console on a phone — where nearly all of it is used */
  .pitch-console { padding: 0; }
  .pf-step { padding-top: 1.15rem; }
  /* a narrower gutter on a phone buys a chip per row back; the dot still
     centres on the rail because it hangs off .pf-steps' own left edge */
  .pf-steps { padding-left: 2rem; }
  .pf-num { left: -2rem; }
  .pf-title { font-size: .98rem; }
  /* a finger, not a mouse: every chip clears the 44px target */
  .chip { min-height: 2.6rem; padding: .55rem .9rem; font-size: .9rem; }
  .chip-sm { min-height: 2.4rem; font-size: .78rem; padding: .5rem .8rem; }
  .pf-dial { gap: .5rem; }
  .pf-dial-label { width: 100%; margin-bottom: .1rem; }
  .pf-more { padding-top: 1.35rem; }
  .pf-readout-line { font-size: 1rem; }
}
/* narrow phones: the dials fill row one, so the price shares row two with the
   button rather than sitting on a line of its own */
@media (max-width: 384px) {
  /* keep the optional row on one line at 320px */
  .pf-more { font-size: .655rem; }
  .sound-toggle { font-size: .6rem; padding: .34rem .66rem; }
  .pf-more-tag { font-size: .58rem; padding: .2rem .42rem; }
  .tier-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   THE ORDER PANEL — one screen (2026-07-31, third pass)

   Two questions, both visible, then the button. This replaced a five-card
   swipeable deck that was, by a real customer's account, impossible to work
   out. Anything you are tempted to add here, add to the page around it — the
   panel itself must stay something a stranger can finish in ten seconds.
   ══════════════════════════════════════════════════════════════════════════ */

.fw-simple { max-width: 30rem; margin-inline: auto; text-align: left; }

.sc-step + .sc-step { margin-top: 1.9rem; }
.sc-label {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1.12rem;
  letter-spacing: -.012em; color: var(--ink);
}
.sc-num {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--bg-raise); border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono); font-size: .68rem; color: var(--dim);
  transition: background-color .25s, border-color .25s, color .25s;
}
/* answered: the number fills in. The panel can be read at a glance as "what
   have I still got to do" without one word of error copy. */
.sc-step.is-done .sc-num {
  background: var(--acid); border-color: var(--acid); color: var(--acid-ink);
}
/* asked for and not given — only ever set by a submit attempt */
.sc-step.is-missing .sc-num {
  border-color: var(--acid); color: var(--acid);
  animation: sc-ask .5s var(--ease-snap) 2;
}
@keyframes sc-ask {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,255,63,0); }
  40%      { box-shadow: 0 0 0 5px rgba(212,255,63,.22); }
}

/* 1 — the link. Both questions are typed now, so both wear the same box:
   two identical fields read as two of the same thing to do, where a ruled
   line above a bordered box reads as two unrelated controls. */
.fw-simple .pf-link-field {
  gap: .55rem; padding: .8rem .9rem;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  transition: border-color .2s, background-color .2s;
}
.fw-simple .pf-link:focus-within .pf-link-field {
  border-color: var(--acid); background: rgba(0,0,0,.4);
}
.fw-simple .pf-link input { font-size: 1.05rem; padding: 0; }
.fw-simple .live-preview { justify-content: flex-start; margin-top: .7rem; }

/* 2 — they type it, and examples rotate behind the field.

   The ghost is a real element rather than the placeholder attribute, for two
   reasons: a placeholder cannot be cross-faded, and the last console that
   rotated hint text did it *inside* the field's own placeholder, which left
   the box looking empty for a beat of every cycle. This never goes empty —
   one example fades straight into the next — and it disappears the instant
   the field is touched, so it can never be mistaken for typed text. */
.sc-field { position: relative; }
.pitch-form .sc-input, .sc-input {
  width: 100%; margin: 0; position: relative; z-index: 1;
  font-family: var(--font-body); font-size: 1.05rem; color: var(--ink);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  padding: .8rem .9rem; outline: none; caret-color: var(--acid);
  transition: border-color .2s, background-color .2s;
}
.pitch-form .sc-input:focus, .sc-input:focus {
  border-color: var(--acid); background: rgba(0,0,0,.4);
}
.sc-ghost {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center;
  padding: .8rem .9rem;
  font-family: var(--font-body); font-size: 1.05rem; line-height: 1.2;
  color: var(--dim); opacity: .72;
  white-space: nowrap; overflow: hidden;
  transition: opacity .32s var(--ease-out);
}
.sc-ghost.is-out { opacity: 0; }        /* mid-rotation, and when not wanted */

/* ── THE ORDER PAD (2026-08-15) ──────────────────────────────────────────
   One object: the link line, their words, and the studio's own voice, all
   inside a single frame. The compact words-area is deliberate — the size of
   the box is the loudest statement of how much writing is expected, and the
   expectation is: a sentence. */
.fw-pad { max-width: 33rem; }
.pad {
  border: 1px solid var(--hairline-strong); border-radius: 16px;
  background: rgba(0,0,0,.32);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.pad:focus-within {
  border-color: var(--acid); background: rgba(0,0,0,.44);
  box-shadow: 0 0 0 1px rgba(212,255,63,.25), 0 14px 40px -22px rgba(212,255,63,.28);
}
/* asked for a link and not given one — only ever set by a submit attempt */
.pad.is-missing { animation: pad-ask .5s var(--ease-snap) 2; }
@keyframes pad-ask {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,255,63,0); }
  40%      { box-shadow: 0 0 0 5px rgba(212,255,63,.22); border-color: var(--acid); }
}
.pad-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.05rem .7rem;
}
.pad-link .pf-link-mark { color: var(--acid); opacity: .8; flex: none; }
.pad-link input {
  flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; outline: none;
  background: transparent; color: var(--ink); caret-color: var(--acid);
  font-family: var(--font-mono); font-size: 1rem;
}
.pad-link input::placeholder { color: var(--dim); opacity: .75; }
.pad .live-preview { justify-content: flex-start; margin: 0; padding: 0 1.05rem .55rem; }
.pad-say { position: relative; border-top: 1px solid var(--hairline); }
.pad-say textarea {
  display: block; width: 100%; margin: 0; border: 0; outline: none; resize: none;
  background: transparent; color: var(--ink); caret-color: var(--acid);
  font-family: var(--font-body); font-size: 1.05rem; line-height: 1.5;
  padding: .85rem 1.05rem .4rem; min-height: 4.4rem;
}
.pad-ghost {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: block; padding: .85rem 1.05rem .4rem;
  font-family: var(--font-body); font-size: 1.05rem; line-height: 1.5;
  color: var(--dim); opacity: .72; white-space: normal; overflow: hidden;
  transition: opacity .32s var(--ease-out);
}
.pad-ghost.is-out { opacity: 0; }
/* the studio's line inside the pad. It flips to the anti-prompt answer when
   a paste reads as generated — a change of words and colour, never a block. */
.pad-note {
  margin: 0; padding: .15rem 1.05rem .8rem;
  font-size: .66rem; line-height: 1.5; color: var(--dim); opacity: .8;
  transition: color .3s, opacity .3s;
}
.pad-note.is-slop { color: var(--acid); opacity: 1; }

/* the dials — quiet, one row when there's room */
.pad-dials {
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem;
  margin-top: 1rem; padding: 0 .2rem;
}
.pad-dial { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.pad-dial-label {
  flex: none; font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
}

/* the optional line. Folded, because it is optional — and the note inside
   says what happens if it is ignored, so ignoring it feels safe. */
.sc-more { margin-top: 1.5rem; }
.sc-more-btn {
  display: flex; align-items: center; gap: .5rem; width: 100%;
  padding: .7rem .85rem; cursor: pointer;
  background: transparent; border: 1px dashed var(--hairline-strong);
  border-radius: 11px;
  font-family: var(--font-body); font-size: .9rem; color: var(--ink-70);
  transition: color .2s, border-color .2s, background-color .2s;
}
.sc-more-btn:hover { color: var(--ink); border-color: var(--dim); }
.sc-more-btn:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.sc-plus {
  font-style: normal; font-family: var(--font-mono); color: var(--acid);
  transition: transform .25s var(--ease-snap);
}
.sc-more-btn[aria-expanded="true"] .sc-plus { transform: rotate(45deg); }
.sc-more-label { flex: 1; text-align: left; }
.sc-more-tag {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
  border: 1px solid var(--hairline); border-radius: 999px; padding: .2rem .45rem;
}
.sc-extra { padding: .9rem .1rem 0; }
.pitch-form .sc-extra-input, .sc-extra-input {
  width: 100%; margin: 0; position: relative; z-index: 1;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  padding: .75rem .85rem; outline: none; caret-color: var(--acid);
  transition: border-color .2s, background-color .2s;
}
.pitch-form .sc-extra-input:focus { border-color: var(--acid); background: rgba(0,0,0,.4); }
.sc-extra .sc-ghost { padding: .75rem .85rem; font-size: 1rem; }
.sc-extra-note {
  margin: .6rem 0 0; font-family: var(--font-mono); font-size: .68rem;
  line-height: 1.55; color: var(--dim);
}

/* Chrome paints a white (or pale blue) background over any field it thinks it
   autofilled, which turned the URL box white the moment a saved address was
   used. background-color is ignored on -webkit-autofill; an inset box-shadow
   is the only thing that covers it, and the long transition stops the flash
   before the shadow lands. */
.fw-simple input:-webkit-autofill,
.fw-simple input:-webkit-autofill:hover,
.fw-simple input:-webkit-autofill:focus,
.fw-simple input:-webkit-autofill:active {
  -webkit-box-shadow: inset 0 0 0 1000px #07070a !important;
  box-shadow: inset 0 0 0 1000px #07070a !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--acid);
  transition: background-color 9999s ease-in-out 0s;
}

/* the button, and the settings it already made */
.sc-go { margin-top: 1.6rem; }
.sc-submit {
  width: 100%; padding: 1.1rem 1.4rem; border-radius: 12px;
  font-size: .95rem; letter-spacing: .01em;
}
.sc-under {
  margin: .8rem 0 0; text-align: center;
  font-size: .74rem; color: var(--dim);
}
.sc-under b { color: var(--acid); font-weight: 500; }
.sc-note { margin: .55rem 0 0; text-align: center; font-size: .68rem; color: var(--dim); opacity: .8; }

/* 3 — the dials, in plain sight. They were a fold, and a fold nobody opens is
   a fold nobody knew was there (owner call). Every option is on the surface. */
.sc-dial { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.sc-dial + .sc-dial { margin-top: .7rem; }
.sc-dial-label {
  flex: none; width: 3.4rem;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}
.sc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ③ fills only once a dial has actually been chosen — same rule the chips
   inside it follow. Nothing on this panel lights for a default. */
.sc-step-dials.is-touched .sc-num {
  background: var(--acid); color: var(--acid-ink); border-color: var(--acid);
}
.sc-label .sc-more-tag { margin-left: auto; }
/* what happens if they skip it, said in words instead of in lit chips */
.sc-dial-note {
  margin: .75rem 0 0; font-size: .66rem; color: var(--dim); opacity: .85;
  transition: opacity .3s;
}
.sc-dial-note[hidden] { display: none; }

@media (max-width: 384px) {
  .sc-label { font-size: 1.04rem; }
  .pitch-form .sc-input, .sc-input, .sc-ghost { font-size: 1rem; }
  /* the pill pushed "How long, what shape?" onto two lines and then wrapped
     itself; the note under the dials carries the same meaning */
  .sc-label .sc-more-tag { display: none; }
  .sc-dial-label { width: auto; flex: 1 0 100%; }
}

/* ── reduced motion: everything lands, nothing moves ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .grain { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   2026-08-05 — the positioning pass.

   The page used to open with a slogan and close with a price, and nothing in
   between told a stranger what arrives, what it costs to be wrong, or who we
   are. These are the sections that answer that: the chain (what we actually
   do), the case study (proof it came from the website), the trust grid and
   FAQ (the terms, said out loud). They share one shape — a hairline card on
   --bg-panel — so the new half of the page reads as the same room as the old.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── hero ────────────────────────────────────────────────────────────── */
.hero-kicker {
  color: var(--dim); font-size: var(--fs-mono-sm);
  letter-spacing: .04em; margin-bottom: 1.1rem;
}
.hero-kicker::before { content: '// '; color: var(--acid); opacity: .7; }

/* ── the chain: five jobs ────────────────────────────────────────────── */
.chain {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
  grid-template-columns: repeat(5, 1fr);
}
.chain-step { background: var(--bg-panel); padding: 1.5rem 1.25rem 1.6rem; }
.chain-n {
  display: block; color: var(--acid); font-size: var(--fs-mono-sm);
  margin-bottom: .85rem; letter-spacing: .06em;
}
.chain-step h3 {
  font-family: var(--font-display); font-size: 1.12rem;
  margin: 0 0 .55rem; letter-spacing: -.01em;
}
.chain-step p { margin: 0; color: var(--ink-70); font-size: .93rem; line-height: 1.55; }

/* ── the deliverable, itemised ───────────────────────────────────────── */
.deliver {
  margin-top: 1.6rem; border: 1px solid var(--hairline);
  border-radius: 14px; background: var(--bg-raise); padding: 1.5rem 1.6rem 1.7rem;
}
.deliver-h {
  color: var(--acid); font-size: var(--fs-mono-sm);
  letter-spacing: .06em; margin: 0 0 1.15rem;
}
.deliver-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 2rem;
}
.deliver-list li { display: flex; flex-direction: column; gap: .2rem; }
.deliver-list b { font-size: 1rem; font-weight: 500; }
.deliver-list span { color: var(--dim); font-size: .88rem; }

/* ── pricing additions ───────────────────────────────────────────────── */
.tier-card.is-intro { border-color: rgba(212,255,63,.35); }
.tier-badge-intro { background: var(--acid); color: var(--acid-ink); }
.tier-guarantee {
  margin-top: 1rem; color: var(--ink-70); font-size: .95rem;
  max-width: 60ch; margin-left: auto; margin-right: auto;
}
.tier-guarantee b { color: var(--ink); }
.tier-guarantee a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }

/* a length the free tier cannot buy */
.chip.is-locked { opacity: .34; }
.chip.is-locked:hover { opacity: .5; }

/* ── trust grid ──────────────────────────────────────────────────────── */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline);
  border-radius: 14px; overflow: hidden;
}
.trust-card { background: var(--bg-panel); padding: 1.5rem 1.4rem 1.6rem; }
.trust-h {
  color: var(--acid); font-size: var(--fs-mono-sm);
  letter-spacing: .05em; margin: 0 0 .8rem;
}
.trust-card p:not(.trust-h) {
  margin: 0; color: var(--ink-70); font-size: .93rem; line-height: 1.6;
}
.trust-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.trust-card a:hover { color: var(--acid); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { margin-top: clamp(2.2rem, 4vw, 3.4rem); max-width: 78ch; }
.faq-h {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 0 0 1.2rem; letter-spacing: -.015em;
}
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2.2rem 1.05rem 0;
  font-size: 1.03rem; position: relative; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: .35rem; top: 50%;
  transform: translateY(-50%); color: var(--acid);
  font-family: var(--font-mono); font-size: 1.2rem; line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--acid); }
.faq-item p {
  margin: 0 0 1.25rem; color: var(--ink-70);
  font-size: .95rem; line-height: 1.65; max-width: 68ch;
}

/* ── footer ──────────────────────────────────────────────────────────── */
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; }
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--acid); }

/* ── narrower ────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .deliver-list { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .chain { grid-template-columns: 1fr; }
  .deliver-list { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-links { gap: .3rem .9rem; }
}

/* once the introductory price is spent, the ladder is three cards, not four —
   a four-column grid with one empty cell reads as a missing option */
@media (min-width: 861px) {
  .tier-grid.has-three { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
}

/* generic to any stage: the play glyph gets out of the way once playing, and
   `hidden` has to beat display on the sound toggle (it is display:grid) */
.sc-play.is-hidden { opacity: 0; pointer-events: none; }
.sound-toggle[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT PACKAGES (2026-08-06)
   The main offer: a week or a month of video content bought as one campaign.
   Shares the site's tokens, radii and motion — a package card is a tier card
   that has more to say, not a new visual language. Used on the landing
   pricing section and on /packages.
   ═══════════════════════════════════════════════════════════════════════════ */

.pack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.4rem); max-width: 1080px; margin: 0 auto;
  align-items: stretch;
}
.pack-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 1.9rem 1.6rem 1.6rem; color: inherit; font: inherit;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.pack-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.pack-card.is-popular {
  border-color: rgba(212,255,63,.5);
  box-shadow: 0 0 0 3px var(--acid-dim), 0 24px 60px rgba(0,0,0,.4);
}
.pack-badge {
  position: absolute; top: -.75em; left: 1.4rem;
  background: var(--bg-panel); color: var(--ink-70); border: 1px solid var(--hairline-strong);
  font-size: var(--fs-mono-sm); letter-spacing: .06em; white-space: nowrap;
  padding: .28rem .75rem; border-radius: 99px;
}
.pack-badge.is-popular { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); font-weight: 700; }
.pack-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.pack-count { color: var(--dim); font-size: var(--fs-mono-sm); letter-spacing: .04em; margin-top: .15rem; }
.pack-count b { color: var(--ink); font-weight: 700; }
.pack-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 2.8vw, 2.8rem); line-height: 1; margin: .55rem 0 .2rem;
}
.pack-card.is-popular .pack-price { color: var(--acid); }
.pack-price-note {
  font-family: var(--font-mono); font-size: var(--fs-mono-sm); font-weight: 400;
  color: var(--dim); letter-spacing: .04em; margin-left: .35rem; vertical-align: .35em;
}
.pack-per { color: var(--ink-70); font-size: var(--fs-mono); }
/* the subscription line is a saving offered inside the card, never a second
   product — it sits under the one-off price rather than beside it */
.pack-sub {
  margin-top: .55rem; padding-top: .55rem; border-top: 1px dashed var(--hairline);
  color: var(--dim); font-size: var(--fs-mono-sm); line-height: 1.5;
}
.pack-sub b { font-weight: 600; }
.pack-line { color: var(--ink-70); font-size: .92rem; margin-top: .8rem; }
.pack-feats {
  list-style: none; padding: 0; margin: 1rem 0 1.6rem;
  display: grid; gap: .5rem; color: var(--ink-70); font-size: .92rem;
}
.pack-feats li::before { content: "\2713  "; color: var(--acid); }
.pack-feats li.dim { color: var(--dim); font-family: var(--font-mono); font-size: var(--fs-mono-sm); }
.pack-feats li.dim::before { content: "\00B7  "; }
.pack-cta { margin-top: auto; text-align: center; }
.pack-strip { margin-top: 1.7rem; color: var(--dim); font-size: var(--fs-mono-sm); letter-spacing: .04em; }
.pack-single {
  max-width: 1080px; margin: 1.3rem auto 0; text-align: center;
  color: var(--dim); font-size: .92rem;
}
.pack-single a { color: var(--ink-70); text-decoration: underline; text-underline-offset: 3px; }
.pack-single a:hover { color: var(--acid); }
.pack-single b { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .pack-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ── /packages — the builder ─────────────────────────────────────────────── */
.pkg-page { background: var(--bg); }
.pkg-hero { padding: clamp(6.5rem, 11vw, 9rem) 0 clamp(2rem, 4vw, 3rem); }
.pkg-eyebrow { color: var(--acid); letter-spacing: .18em; text-transform: uppercase; font-size: var(--fs-mono-sm); }
.pkg-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: var(--lh-tight);
  letter-spacing: -.02em; margin: .5rem 0 0; max-width: 16ch;
}
.pkg-lede { font-size: var(--fs-lede); color: var(--ink-70); max-width: 62ch; margin-top: 1.1rem; }
.pkg-promises {
  list-style: none; padding: 0; margin: 2rem 0 0; max-width: 900px;
  display: grid; gap: .6rem; color: var(--ink-70); font-size: .95rem;
}
.pkg-promises li { padding-left: 1.5rem; position: relative; }
.pkg-promises li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--acid); font-weight: 700;
}
.pkg-promises b { color: var(--ink); font-weight: 600; }

.pkg-order { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.pkg-form { display: grid; gap: clamp(1.8rem, 3.4vw, 2.8rem); }
.pkg-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.pkg-step > legend {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.01em;
  padding: 0; margin-bottom: .35rem; display: flex; align-items: baseline; gap: .7rem;
}
.pkg-step-n { color: var(--acid); font-size: var(--fs-mono-sm); letter-spacing: .1em; }
.pkg-hint { color: var(--dim); font-size: .92rem; max-width: 68ch; margin-bottom: 1rem; }
.pkg-label { display: block; font-weight: 600; margin-bottom: .3rem; }
.pkg-single-note { margin-top: 1rem; color: var(--dim); font-size: var(--fs-mono-sm); font-family: var(--font-mono); }
.pkg-single-note a { color: var(--ink-70); text-decoration: underline; text-underline-offset: 3px; }
.pkg-single-note a:hover { color: var(--acid); }

/* a selectable package card: the same card, with a pressed state */
.pkg-choose { max-width: none; }
.pkg-pick { cursor: pointer; text-align: left; }
.pkg-pick.is-on {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px var(--acid-dim), 0 24px 60px rgba(0,0,0,.4);
}
.pkg-pick.is-on .pack-price { color: var(--acid); }
.pkg-pick::after {
  content: ""; position: absolute; top: 1.1rem; right: 1.1rem;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); transition: all .2s var(--ease-snap);
}
.pkg-pick.is-on::after {
  background: var(--acid); border-color: var(--acid);
  box-shadow: inset 0 0 0 4px var(--bg-raise);
}

.pkg-input {
  width: 100%; background: var(--bg-panel); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: .95rem 1.1rem; font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.pkg-input::placeholder { color: var(--dim); }
.pkg-input:focus {
  outline: none; border-color: var(--acid); box-shadow: 0 0 0 3px var(--acid-dim);
}
.pkg-textarea { resize: vertical; line-height: 1.6; font-family: var(--font-body); }
.pkg-other { margin-top: .9rem; }

/* plan modes: three stacked choices, each carrying its own explanation —
   the note is the whole reason a customer can pick between them confidently */
.pkg-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.pkg-mode,
.pkg-deliv {
  display: flex; flex-direction: column; gap: .3rem; text-align: left; cursor: pointer;
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 1.1rem 1.2rem; color: inherit; font: inherit;
  transition: border-color .2s, background .2s, transform .2s var(--ease-out);
}
.pkg-mode:hover, .pkg-deliv:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }
.pkg-mode.is-on, .pkg-deliv.is-on {
  border-color: var(--acid); background: rgba(212,255,63,.05);
  box-shadow: 0 0 0 3px var(--acid-dim);
}
.pkg-mode-t, .pkg-deliv-t { font-weight: 600; font-size: 1rem; }
.pkg-mode.is-on .pkg-mode-t, .pkg-deliv.is-on .pkg-deliv-t { color: var(--acid); }
.pkg-mode-n { color: var(--dim); font-size: .88rem; line-height: 1.5; }
.pkg-deliv-n { color: var(--dim); font-size: var(--fs-mono-sm); }
.pkg-mode-panel {
  margin-top: 1.1rem; padding: 1.2rem; border-radius: 12px;
  background: var(--bg-raise); border: 1px solid var(--hairline);
}
.pkg-briefs { display: grid; gap: .5rem; max-height: 26rem; overflow-y: auto; padding-right: .3rem; }
.pkg-brief-row { display: flex; align-items: center; gap: .7rem; }
.pkg-brief-n { color: var(--dim); font-size: var(--fs-mono-sm); width: 1.8rem; flex: none; }
.pkg-brief-input { padding: .7rem .9rem; font-size: .94rem; }

/* video types: multi-select chips. Nothing here is exclusive, and the free
   text row beside them is what keeps the product from reading as presets. */
.pkg-types { display: flex; flex-wrap: wrap; gap: .5rem; }
.pkg-type {
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 99px;
  padding: .6rem 1.05rem; color: var(--ink-70); font: inherit; font-size: .92rem;
  cursor: pointer; transition: all .18s var(--ease-snap);
}
.pkg-type:hover { border-color: var(--hairline-strong); color: var(--ink); }
.pkg-type.is-on {
  background: var(--acid); border-color: var(--acid); color: var(--acid-ink); font-weight: 600;
}
.pkg-delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }

.pkg-format { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 720px; }
.pkg-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.pkg-chip {
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 8px;
  padding: .55rem .9rem; color: var(--ink-70); font-family: var(--font-mono);
  font-size: var(--fs-mono); cursor: pointer; transition: all .18s var(--ease-snap);
}
.pkg-chip i { color: var(--dim); font-style: normal; font-size: var(--fs-mono-sm); }
.pkg-chip:hover { border-color: var(--hairline-strong); color: var(--ink); }
.pkg-chip.is-on { border-color: var(--acid); color: var(--acid); background: rgba(212,255,63,.06); }
.pkg-chip.is-on i { color: var(--acid); }

/* the receipt: sticky at the bottom on desktop so the price is never something
   you have to scroll back up to check before committing */
.pkg-summary {
  position: sticky; bottom: 1rem; z-index: 5;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--bg-panel); border: 1px solid var(--hairline-strong); border-radius: 14px;
  padding: 1.4rem 1.6rem; box-shadow: 0 24px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}
.pkg-sum-name { color: var(--acid); font-size: var(--fs-mono-sm); letter-spacing: .06em; }
.pkg-sum-line { font-size: 1.02rem; margin-top: .2rem; }
.pkg-sum-facts {
  list-style: none; padding: 0; margin: .55rem 0 0;
  display: flex; flex-wrap: wrap; gap: .3rem .9rem;
  color: var(--dim); font-size: var(--fs-mono-sm);
}
.pkg-sum-facts li::before { content: "\00B7  "; }
.pkg-summary-buy { text-align: right; display: grid; gap: .35rem; justify-items: end; }
.pkg-sum-total { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.pkg-sum-per { color: var(--dim); font-size: var(--fs-mono-sm); }
.pkg-sub-toggle {
  display: flex; align-items: center; gap: .45rem; cursor: pointer;
  color: var(--ink-70); font-size: .85rem;
}
.pkg-sub-toggle input { accent-color: var(--acid); width: 1rem; height: 1rem; }
.pkg-sub-toggle b { color: var(--acid); font-weight: 600; }
.pkg-buy { margin-top: .3rem; white-space: nowrap; }
.pkg-sum-fine { color: var(--dim); font-size: var(--fs-mono-sm); }
.pkg-err {
  color: #ff8b7a; font-size: .88rem; max-width: 34ch; text-align: right;
}

.pkg-what { padding-top: clamp(3rem, 5vw, 4.5rem); }
.pkg-what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1080px; margin: 0 auto; }
.pkg-what-card {
  background: var(--bg-raise); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 1.6rem 1.5rem; color: var(--ink-70); font-size: .93rem;
}
.pkg-what-n { color: var(--acid); font-size: var(--fs-mono-sm); letter-spacing: .1em; }
.pkg-what-t { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: .35rem 0 .5rem; }

@media (max-width: 900px) {
  .pkg-modes, .pkg-delivery, .pkg-what-grid { grid-template-columns: 1fr; }
  .pkg-format { grid-template-columns: 1fr; }
  .pkg-summary {
    grid-template-columns: 1fr; gap: 1rem; position: static;
    padding: 1.2rem 1.2rem 1.3rem;
  }
  .pkg-summary-buy { text-align: left; justify-items: stretch; }
  .pkg-err { text-align: left; max-width: none; }
  .pkg-buy { width: 100%; }
}
