@charset "utf-8";
/* Auto Edit AI — the website.
   Tokens are the shipping ones from Sources/CEEditorUI/DesignSystem.swift.
   Blue is reserved for editing state, progress, selection and timing;
   amber for "needs you". Nothing else on the page is coloured. */

:root {
  --black:  #050505;   /* editing black  */
  --s1:     #111113;   /* deep surface   */
  --s2:     #1C1C1F;   /* raised surface */
  --s3:     #29292E;
  --sep:    #34343A;
  --sep-2:  #232326;
  --text:   #FFF8EB;   /* warm cream from the chosen icon */
  --text2:  #C2C0BB;
  --text3:  #9C9A96;
  --blue:   #5A9BFF;   /* royal blue from the chosen icon */
  --blue-d: #467CC5;
  --blue-w: rgba(90,155,255,.15);
  --amber:  #F6B84A;
  --amber-w: rgba(246,184,74,.15);
  --mint:   #43E6B0;

  --wrap: 1180px;
  --nav-h: 58px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }

html, body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;               /* a mistimed transform cannot scroll sideways */
  -webkit-font-smoothing: antialiased;
}

body { overscroll-behavior-y: none; }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.028em; font-weight: 640; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
b, strong { font-weight: 640; }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .06em;
}

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: fixed; left: 50%; top: 8px; translate: -50% -180%;
  z-index: 200; background: var(--blue); color: #001428;
  padding: .55rem 1rem; border-radius: 10px; font-weight: 650; text-decoration: none;
}
.skip:focus-visible { translate: -50% 0; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ───────────────────────────── nav ───────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) clamp(1rem, 3vw, 2rem) 0;
  display: flex; align-items: center; gap: 1.5rem;
  background: linear-gradient(180deg, rgba(5,5,5,.86), rgba(5,5,5,.5) 62%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background .25s var(--ease);
}
.nav.is-solid { background: rgba(5,5,5,.94); border-bottom: 1px solid var(--sep-2); }
.nav-page { position: sticky; top: 0; background: rgba(5,5,5,.94); border-bottom: 1px solid var(--sep-2); }

.brand {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 640; letter-spacing: -.02em; text-decoration: none; font-size: .98rem;
  margin-right: auto;
}
.brand img { border-radius: 0; }   /* the mark carries its own corner radius */

.nav-links { display: flex; gap: 1.45rem; }
.nav-links a {
  font-size: .87rem; color: var(--text2); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 24px;   /* SC 2.5.8 */
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -1px 0 var(--blue); }

.nav-cta {
  font-size: .85rem; font-weight: 640; text-decoration: none;
  padding: .5rem .95rem; border-radius: 999px;
  background: var(--blue); color: #00172E;
  white-space: nowrap;
}
.nav-cta:hover { background: #7BBBFF; }

.nav-menu {
  display: none; font: inherit; color: var(--text); background: transparent;
  border: 1px solid var(--sep); border-radius: 999px; padding: .4rem .8rem; font-size: .8rem;
  cursor: pointer;
}

/* ═══════════════════════ the opening journey ═══════════════════ */

.journey { position: relative; height: 100svh; }
.journey-pin { position: relative; height: 100svh; overflow: clip; }

.stage {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) minmax(0, 1fr) auto;
  --fs: 1; --fx: 0px; --fy: 0px; --frad: 18px; --fh: 70svh;
}

/* the wall — the same take, out of focus. This is why nothing is dead black. */
.wall { position: absolute; inset: 0; grid-row: 1 / -1; overflow: hidden; }
.wall-video {
  width: 100%; height: 100%; object-fit: cover;
  background: url(assets/media/take-raw-poster.jpg) center/cover no-repeat;
  filter: blur(30px) saturate(126%) brightness(.66);
  transform: scale(1.16);
}
.wall-grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(128% 86% at 50% 44%, transparent 26%, rgba(5,5,5,.34) 74%, rgba(5,5,5,.6) 100%),
    linear-gradient(180deg, rgba(5,5,5,.7) 0%, rgba(5,5,5,.18) 16%, rgba(5,5,5,.1) 56%, rgba(5,5,5,.82) 94%);
}

/* the picture area — everything that moves lives here */
.picture { position: relative; grid-row: 2; }

.frame {
  position: absolute; left: 50%; top: 50%;
  height: min(var(--fh), calc((100vw - 3rem) * 16 / 9));
  aspect-ratio: 9 / 16;
  translate: -50% -50%;
  transform: translate3d(var(--fx), var(--fy), 0) scale(var(--fs));
  transform-origin: center;
  border-radius: var(--frad);
  will-change: transform;
  z-index: 2;
}
.frame-inner {
  position: absolute; inset: 0;
  border-radius: inherit; overflow: hidden;
  background: #0A0A0C;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(246,247,251,.08);
}
.film {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s var(--ease);
}
.film-cut { opacity: 0; }
.stage[data-film="cut"] .film-cut { opacity: 1; }

.frame-edge {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(246,247,251,.12), inset 0 -60px 70px -62px rgba(5,5,5,.75);
}

.frame-hud {
  position: absolute; top: .8rem; left: .9rem; z-index: 3;
  display: flex; align-items: center; gap: .42rem;
  font-size: .62rem; color: var(--text);
  background: rgba(5,5,5,.6); border-radius: 999px; padding: .26rem .6rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rec { width: 6px; height: 6px; border-radius: 50%; background: #FF4D67; }
.stage[data-chapter="0"] .rec { animation: pulse 1.6s infinite; }
.stage:not([data-chapter="0"]) .rec { background: var(--blue); }
@keyframes pulse { 50% { opacity: .25; } }

/* the decisions, as the pass makes them — the app's own reasons, from the
   labelled take, not a made-up log */
.readout {
  position: absolute; z-index: 4;
  right: clamp(1.25rem, 4vw, 3rem); top: 50%; translate: 0 -50%;
  width: min(30ch, 27vw);
  display: grid; gap: .5rem;
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.readout-row {
  display: grid; grid-template-columns: 3.6em 1fr; gap: .55rem;
  padding: .5rem .65rem; border-radius: 9px;
  background: rgba(8,8,11,.8); border: 1px solid rgba(246,247,251,.09);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .72rem; line-height: 1.35;
  animation: readIn .4s var(--ease) both;
}
@keyframes readIn { from { opacity: 0; transform: translateY(8px); } }
.readout-row:not(.is-new) { opacity: .72; }
.readout-row.is-new { border-color: rgba(246,247,251,.16); }
.readout-t { font-family: var(--mono); font-size: .62rem; color: var(--text3); }
.readout-w { color: var(--text2); }
.readout-n { font-family: var(--mono); font-size: .58rem; letter-spacing: .07em; display: block; }
.readout-row[data-a="cut"]    .readout-n,
.readout-row[data-a="choice"] .readout-n { color: var(--amber); }
.readout-row[data-a="keep"]   .readout-n { color: var(--blue); }
.readout-row[data-a="tighten"] .readout-n,
.readout-row[data-a="trim"]    .readout-n { color: var(--text3); }

/* per-chapter copy — the only words over the footage. The first chapter
   says just enough to orient; the product's name and promise wait until the
   edit has happened. */
.chapter {
  position: absolute; z-index: 4;
  left: clamp(1.25rem, 5vw, 4rem); top: 50%; translate: 0 -50%;
  max-width: min(30ch, 36vw);
  pointer-events: none;
}
.chapter-k { color: var(--blue); font-size: .68rem; margin-bottom: .6rem; }
.chapter-t {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.chapter-b {
  margin-top: .7rem; color: var(--text2);
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.chapter-cta { margin-top: 1.3rem; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.stage[data-chapter="3"] .chapter-cta { opacity: 1; pointer-events: auto; }

.wordmark {
  position: absolute; z-index: 4; top: .6rem; left: clamp(1.25rem, 5vw, 4rem);
  font-size: .62rem; color: var(--text3);
  display: flex; gap: .7rem; align-items: center;
}
.wordmark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF4D67; }

.replay {
  position: absolute; z-index: 4; left: 50%; bottom: .5rem; translate: -50% 0;
  font: inherit; font-family: var(--mono); font-size: .6rem; letter-spacing: .08em;
  color: var(--text2); background: rgba(5,5,5,.55); border: 1px solid rgba(246,247,251,.14);
  border-radius: 999px; padding: .4rem .85rem; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), color .18s var(--ease);
}
.stage[data-done="1"] .replay { opacity: 1; pointer-events: auto; }
.replay:hover { color: var(--text); border-color: rgba(246,247,251,.3); }

/* ───────────────────────── the spine ───────────────────────── */

.spine {
  grid-row: 3; position: relative; z-index: 5;
  padding: .55rem clamp(1rem, 3.5vw, 2.5rem) calc(.85rem + env(safe-area-inset-bottom, 0px));
}
.spine-head {
  display: flex; align-items: baseline; gap: .7rem;
  margin-bottom: .5rem; flex-wrap: wrap;
}
.dur {
  font-size: clamp(1.45rem, 3.3vw, 2.3rem); font-weight: 600;
  letter-spacing: -.02em; line-height: 1;
}
.dur-state {
  font-size: .63rem; padding: .2rem .45rem; border-radius: 5px;
  background: var(--s2); color: var(--text2);
}
.stage[data-done="1"] .dur-state { background: var(--blue-w); color: var(--blue); }
.spine-note {
  font-size: .78rem; color: var(--text3); margin-left: auto;
  text-align: right; max-width: 46ch;
}

.track-wrap { position: relative; width: var(--track-w, 100%); }
.track {
  display: flex; align-items: stretch;
  height: clamp(42px, 7.2svh, 66px);
  border-radius: 6px; overflow: hidden;
  background: var(--s1);
}
.seg {
  flex: var(--g, 1) 1 0; min-width: 0;
  padding-right: calc(2px * var(--c, 1));
  position: relative;
  overflow: hidden;              /* a label can never spill into its neighbour */
}
.seg-fill {
  height: 100%; border-radius: 3px; overflow: hidden; position: relative;
  background: var(--s2) center/cover no-repeat;
}
.seg[data-a="cut"] .seg-fill { filter: grayscale(1) brightness(.42); }
.seg[data-a="keep"] .seg-fill { box-shadow: inset 0 0 0 1.5px rgba(90,169,255,.55); }
.seg[data-a="choice"] .seg-fill { box-shadow: inset 0 0 0 1.5px var(--amber); }
.seg-fill::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(5,5,5,.72));
}
.seg.is-gap .seg-fill { background: repeating-linear-gradient(135deg, #131316 0 5px, #0D0D10 5px 10px); }
.seg-label {
  display: none;                 /* only drawn where it genuinely fits */
  position: absolute; left: 3px; bottom: 2px; z-index: 2;
  font-family: var(--mono); font-size: .5rem; letter-spacing: .08em;
  color: var(--text2); white-space: nowrap;
  opacity: 0; transition: opacity .25s var(--ease);
}
.seg[data-a="cut"] .seg-label,
.seg[data-a="choice"] .seg-label { color: var(--amber); }
.seg[data-a="keep"] .seg-label { color: var(--blue); }
.seg.wide .seg-label { display: block; }
.seg.lit.wide .seg-label { opacity: 1; }
.seg-wave {
  position: absolute; inset: auto 2px 2px 2px; height: 26%; z-index: 1;
  background: repeating-linear-gradient(90deg, var(--blue) 0 1.5px, transparent 1.5px 3.5px);
  opacity: 0; transition: opacity .3s var(--ease);
  mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.seg.lit .seg-wave { opacity: .5; }
.seg[data-a="cut"].lit .seg-wave { opacity: .1; }

.playhead {
  position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px;
  background: var(--text); border-radius: 2px; z-index: 4;
  box-shadow: 0 0 12px rgba(246,247,251,.6);
  opacity: 0; transition: opacity .3s var(--ease);
  will-change: transform;
}
.playhead::before {
  content: ""; position: absolute; top: -3px; left: 50%; translate: -50% 0;
  width: 9px; height: 9px; border-radius: 2px; background: var(--text); rotate: 45deg;
}
.stage[data-playhead="1"] .playhead { opacity: 1; }

.legend {
  display: flex; gap: 1rem; margin-top: .45rem;
  font-size: .56rem; color: var(--text3);
}
.legend span { display: flex; align-items: center; gap: .32rem; }
.legend span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--s3); }
.legend [data-k="keep"]::before   { background: var(--blue); }
.legend [data-k="cut"]::before    { background: var(--s3); }
.legend [data-k="choice"]::before { background: var(--amber); }

/* the static before and after, for reduced motion and no-JS */
.ba {
  width: min(var(--wrap), 100% - 2.5rem); margin: 0 auto 4rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 4vw, 3rem);
}
.ba img {
  width: 100%; height: auto; max-height: 46svh;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 34%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(246,247,251,.09);
}
.ba figcaption { margin-top: .9rem; color: var(--text2); font-size: .9rem; }
.ba figcaption .mono { display: block; color: var(--blue); font-size: .78rem; margin-bottom: .3rem; }
.ba-track {
  margin-top: .9rem; display: flex; gap: 2px; height: 40px;
  border-radius: 6px; overflow: hidden; background: var(--s1);
}
.ba-track i { border-radius: 3px; background: var(--s2) center/cover no-repeat; }
.ba-track i[data-cut] { background: repeating-linear-gradient(135deg, #131316 0 5px, #0D0D10 5px 10px); }
@media (max-width: 700px) { .ba { grid-template-columns: 1fr; gap: 2.5rem; } }

/* the readable story — what reduced motion and no-JS get */
.story { position: relative; z-index: 6; background: var(--black); padding: 4rem 0 1rem; }
.story ol {
  width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem;
}
.story li { max-width: 52ch; padding-top: 1.2rem; border-top: 1px solid var(--sep-2); }
.story .mono { color: var(--blue); font-size: .7rem; margin-bottom: .5rem; }
.story h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.story h2 + p { margin-top: .55rem; color: var(--text2); font-size: .95rem; }
.js .story { display: none; }
@media (max-width: 700px) { .story ol { grid-template-columns: 1fr; } }

/* ═══════════════════════════ sections ═══════════════════════════ */

.band { position: relative; padding: clamp(3.5rem, 7vh, 5.5rem) 0; }
.band + .band { border-top: 1px solid var(--sep-2); }
.band-alt { background: var(--s1); }

.eyebrow { font-size: .66rem; color: var(--blue); margin-bottom: .7rem; }
.band h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); max-width: 22ch; }
.lede { margin-top: .9rem; color: var(--text2); font-size: clamp(1rem, 1.25vw, 1.1rem); max-width: 58ch; }
.note { margin-top: 1rem; color: var(--text3); font-size: .86rem; max-width: 62ch; }
.note a, .lede a { color: var(--text); text-decoration-color: var(--text3); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 640;
  padding: .8rem 1.45rem; border-radius: 12px; font-size: .96rem;
  transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary { background: var(--blue); color: #00172E; }
.btn-primary:hover { background: #7BBBFF; }
.btn-ghost { border: 1px solid var(--sep); color: var(--text); }
.btn-ghost:hover { border-color: var(--text3); }
.btn:active { transform: translateY(1px); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }

.device { margin: 0; }
.device img { border-radius: 20px; box-shadow: 0 30px 80px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(246,247,251,.09); }
.device figcaption { margin-top: .8rem; color: var(--text3); font-size: .8rem; }

/* the footage keeps lighting the page below the fold — never a dead field */
.lit { position: relative; overflow: hidden; }
.lit-wall {
  position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background: center/cover no-repeat;
  filter: blur(44px) saturate(110%) brightness(.62);
}
.hero-motion { background: center/cover no-repeat url("assets/media/hayli-cut-poster.jpg"); }
.hero-motion video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 68%;
}
.lit-grade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--black) 0%, rgba(5,5,5,.55) 40%, rgba(5,5,5,.7) 100%);
}
.comparison-hero .lit-grade { background: linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.70) 42%, rgba(5,5,5,.77) 100%); }
.lit > .wrap { position: relative; z-index: 1; }

/* ───────────────────────── the hero, after the edit ───────────── */

.hero { padding: clamp(3.5rem, 8vh, 6rem) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: end;
}
.hero-copy { padding-bottom: clamp(3rem, 7vh, 5.5rem); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -.04em; max-width: 12ch; }
.hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); margin-top: 1.2rem; max-width: 50ch; }
.hero .actions { margin-top: 1.8rem; }
.facts {
  margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sep-2);
}
.facts div { padding: 1rem 1rem 0 0; border-right: 1px solid var(--sep-2); margin-right: 1rem; }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts .mono { display: block; font-size: .62rem; color: var(--blue); margin-bottom: .3rem; }
.facts p { color: var(--text2); font-size: .88rem; line-height: 1.4; }

.hero-shot { position: relative; align-self: end; }
.hero-shot img {
  width: min(100%, 360px); margin-inline: auto; height: auto;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 90px -30px rgba(90,169,255,.35), 0 0 0 1px rgba(246,247,251,.1);
  clip-path: inset(0 0 26% 0 round 22px 22px 0 0);
  margin-bottom: -26%;              /* the phone runs under the next section */
}
.hero-shot figcaption {
  position: absolute; left: 50%; top: -2.2rem; translate: -50% 0;
  white-space: nowrap; font-size: .62rem; color: var(--text3);
}

/* ───────────────────────── what it did ─────────────────────────── */

.did-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.25rem; }
.did-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem;
}
.plate {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--s2); border: 1px solid var(--sep-2);
}
.plate img { width: 100%; height: auto; }
.plate figcaption {
  padding: .9rem 1rem 1rem; border-top: 1px solid var(--sep-2); background: var(--s1);
  font-size: .9rem; color: var(--text2);
}
.plate figcaption b { color: var(--text); display: block; margin-bottom: .2rem; }
.plate-4 { grid-column: span 4; }
.plate-5 { grid-column: span 5; }
.plate-6 { grid-column: span 6; }
.plate-7 { grid-column: span 7; }
.plate-8 { grid-column: span 8; }

/* the cut list — the real 44 stretches, from the labelled take */
.cutlist { grid-column: span 12; border: 1px solid var(--sep-2); border-radius: 14px; background: var(--s1); overflow: hidden; }
.cutlist-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1rem; border-bottom: 1px solid var(--sep-2);
}
.cutlist-head h3 { font-size: 1rem; }
.cutlist-head .mono { color: var(--text3); font-size: .62rem; margin-left: auto; }
.cutlist ol {
  columns: 3; column-gap: 0; column-rule: 1px solid var(--sep-2);
  max-height: 22rem; overflow: auto; padding: .4rem 0;
}
.cutlist li {
  break-inside: avoid; display: grid; grid-template-columns: 2.8em 5.2em 1fr; gap: .6rem;
  padding: .32rem 1rem; font-size: .78rem; line-height: 1.35; color: var(--text2);
}
.cutlist li:hover { background: var(--s2); }
.cutlist .t { font-family: var(--mono); font-size: .66rem; color: var(--text3); letter-spacing: .04em; }
.cutlist .n { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; padding-top: .12em; }
.cutlist li[data-a="cut"] .n, .cutlist li[data-a="choice"] .n { color: var(--amber); }
.cutlist li[data-a="keep"] .n { color: var(--blue); }
.cutlist li[data-a="tighten"] .n, .cutlist li[data-a="trim"] .n { color: var(--text3); }
.cutlist-foot { padding: .75rem 1rem; border-top: 1px solid var(--sep-2); color: var(--text3); font-size: .8rem; }

/* ───────────────────────── six screens ─────────────────────────── */

.screens-head { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.screens-head .lede { margin-top: 0; }
.more { display: inline-flex; align-items: center; min-height: 28px; }
.screens-head a.more { margin-left: auto; font-size: .88rem; color: var(--text); }
.screens {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.screen { text-decoration: none; display: block; }
.screen img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(246,247,251,.09);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.screen:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(90,169,255,.5), 0 20px 40px -20px rgba(0,0,0,.9); }
.screen .mono { display: block; margin-top: .7rem; font-size: .6rem; color: var(--blue); }
.screen p { margin-top: .25rem; font-size: .84rem; color: var(--text2); line-height: 1.35; }

/* ───────────────────────── privacy ─────────────────────────────── */

.privacy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.privacy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 14ch; }
.privacy dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.privacy dt { font-weight: 640; padding-top: .8rem; border-top: 1px solid var(--sep-2); }
.privacy dd { color: var(--text2); font-size: .92rem; margin-top: .3rem; }

/* ───────────────────────── plans ──────────────────────────────── */

.plans-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 1.75rem; }
.billing { display: inline-flex; gap: .2rem; padding: .22rem; background: var(--s2); border-radius: 11px; }
.billing-opt {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 0; background: transparent; color: var(--text3);
  padding: .46rem 1.05rem; border-radius: 9px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.billing-opt.is-on { background: var(--s3); color: var(--text); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.plan {
  padding: 1.6rem 1.7rem; border-radius: 18px;
  background: var(--s1); border: 1px solid var(--sep);
  display: grid; grid-template-rows: auto auto auto 1fr; gap: 0;
}
.band-alt .plan { background: var(--black); }
.plan-lead { border-color: var(--blue-d); }
.plan-top { display: flex; align-items: baseline; gap: 1rem; }
.plan h3 { font-size: 1.3rem; }
.plan-for { color: var(--text3); font-size: .86rem; margin-left: auto; text-align: right; }
.price { margin-top: 1.1rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.amount { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; }
.per { color: var(--text3); font-size: .8rem; }
.plan-save { font-size: .68rem; color: var(--mint); margin-left: .5rem; }
.plan-save[hidden] { display: none; }
.meter { margin-top: 1.1rem; height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--fill) * 100%); background: var(--blue); border-radius: 3px; }
.meter-label { margin-top: .45rem; font-size: .66rem; color: var(--text2); }
.plan ul { margin-top: 1.2rem; display: grid; gap: .5rem; align-content: start; }
.plan li { color: var(--text2); font-size: .9rem; padding-left: 1.1rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--text3); }
.plans-foot { margin-top: 1.25rem; color: var(--text3); font-size: .84rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: baseline; }
.plans-foot a { color: var(--text); }
.plan-trial { margin-top: .5rem; color: var(--mint); font-size: .84rem; }
.plan-trial.muted { color: var(--text3); }
.plan-trial + .meter { margin-top: .8rem; }
.plan-terms { margin-top: 2rem; padding: 1.4rem 1.5rem; border: 1px solid var(--sep-2); border-radius: 14px; background: var(--s1); max-width: 78ch; }
.plan-terms h3 { font-size: 1.05rem; }
.plan-terms ul { margin-top: .8rem; display: grid; gap: .55rem; }
.plan-terms li { color: var(--text2); font-size: .88rem; line-height: 1.5; padding-left: 1.1rem; position: relative; }
.plan-terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--text3); }
.plan-terms strong { color: var(--text); }
.plan-terms p { margin-top: .9rem; color: var(--text3); font-size: .86rem; }
.plan-terms a { color: var(--text); }
.plan-terms p a { display: inline-block; }

/* plan strip on the home page */
.plan-strip {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; align-items: stretch;
}
.plan-strip > div { padding: 1.2rem 1.3rem; border: 1px solid var(--sep-2); border-radius: 14px; background: var(--s1); }
.plan-strip h3 { font-size: 1rem; display: flex; align-items: baseline; gap: .6rem; }
.plan-strip h3 .amount { font-size: 1.4rem; margin-left: auto; }
.plan-strip p { margin-top: .5rem; color: var(--text2); font-size: .88rem; }
.plan-strip .rule { background: transparent; border-style: dashed; display: grid; align-content: center; }
.plan-strip .rule p { color: var(--text2); }
.plan-strip .rule a { color: var(--text); }

/* how the monthly edits work */
.credits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.credits div { padding: 1.1rem 1.2rem; border: 1px solid var(--sep-2); border-radius: 14px; background: var(--s1); }
.credits .big { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; display: block; }
.credits .big small { font-size: .62rem; color: var(--text3); letter-spacing: .06em; margin-left: .3rem; }
.credits p { margin-top: .5rem; color: var(--text2); font-size: .86rem; line-height: 1.4; }

/* ───────────────────────── faq ────────────────────────────────── */

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.faq details { border-top: 1px solid var(--sep-2); }
.faq details:last-child { border-bottom: 1px solid var(--sep-2); }
.faq summary {
  cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details:not([open]) > p { display: none; }
.faq details p { padding-bottom: 1.1rem; color: var(--text2); max-width: 66ch; font-size: .95rem; }

/* ───────────────────────── the last frame ───────────────────────── */

.launch { padding-top: clamp(3.5rem, 7vh, 5.5rem); padding-bottom: clamp(3.5rem, 7vh, 5.5rem); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.launch h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 16ch; }
.launch-strip { display: flex; gap: 2px; height: 46px; border-radius: 6px; overflow: hidden; margin-bottom: 1.5rem; max-width: 520px; }
.launch-strip i { flex: 1; background: var(--s2) center/cover no-repeat; border-radius: 3px; }
.launch-action { margin-top: 1.75rem; }
.launch-note {
  color: var(--text2); font-size: .92rem; max-width: 52ch;
  padding: 1.1rem 1.3rem; border: 1px solid var(--sep); border-radius: 14px; background: rgba(17,17,19,.8);
}
.launch-note b { color: var(--text); display: block; margin-bottom: .3rem; }
.launch-note .mono { display: block; margin-top: .6rem; font-size: .62rem; color: var(--amber); }

.lform { display: flex; gap: .6rem; flex-wrap: wrap; }
.lform input {
  font: inherit; font-size: .97rem; color: var(--text);
  background: var(--s1); border: 1px solid var(--sep); border-radius: 12px;
  padding: .8rem 1rem; min-width: min(300px, 100%);
}
.lform input::placeholder { color: var(--text3); }
.lform button { font: inherit; border: 0; cursor: pointer; }
.lform[data-state="sending"] button { opacity: .6; pointer-events: none; }
.lmsg { margin-top: 1rem; font-size: .9rem; min-height: 1.4em; }
.lmsg[data-tone="ok"]   { color: var(--mint); }
.lmsg[data-tone="bad"]  { color: #FF8A9C; }

/* ═══════════════════════ features page ═══════════════════════ */

.page-head { padding: calc(var(--nav-h) + 3rem) 0 2.5rem; border-bottom: 1px solid var(--sep-2); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.038em; max-width: 16ch; }
.page-head .lede { margin-top: 1rem; }
.page-head nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.75rem; }
.page-head nav a {
  font-size: .78rem; text-decoration: none; color: var(--text2);
  padding: .42rem .8rem; border: 1px solid var(--sep-2); border-radius: 999px;
  min-height: 24px; display: inline-flex; align-items: center;
}
.page-head nav a:hover { color: var(--text); border-color: var(--sep); }

.feat { padding: clamp(3rem, 6vh, 4.5rem) 0; border-bottom: 1px solid var(--sep-2); }
.feat-grid {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feat-grid.flip { grid-template-columns: minmax(0, 1fr) 280px; }
.feat-grid.flip .device { order: 2; }
.feat h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 20ch; }
.feat .device img { width: 100%; }
.feat-body { display: grid; gap: 1.5rem; }
.feat-body .plate { max-width: 640px; }
.decisions { display: grid; gap: .9rem; }
.decisions li {
  display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: baseline;
  padding-bottom: .9rem; border-bottom: 1px solid var(--sep-2);
}
.decisions li:last-child { border-bottom: 0; }
.decisions b { color: var(--text); }
.decisions p { color: var(--text2); font-size: .95rem; }
.tag { font-size: .56rem; padding: .28rem .4rem; border-radius: 5px; text-align: center; }
.tag-keep   { background: var(--blue-w); color: var(--blue); }
.tag-cut    { background: var(--s2); color: var(--text3); }
.tag-choice { background: var(--amber-w); color: var(--amber); }

.lines { display: grid; gap: 1rem; }
.lines dt { font-size: .62rem; color: var(--blue); margin-bottom: .25rem; }
.lines dd { color: var(--text); font-size: 1.02rem; }
.lines dd em { display: block; color: var(--text3); font-size: .82rem; font-style: normal; margin-top: .2rem; }
.lines s { color: var(--text3); }

.tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.tools li {
  font-size: .74rem; padding: .45rem .8rem; border-radius: 8px;
  background: var(--s1); border: 1px solid var(--sep-2); color: var(--text2);
}
.toolbar { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; max-width: 640px; }
.toolbar li {
  text-align: center; font-size: .62rem; color: var(--text2); padding: .55rem .2rem;
  border: 1px solid var(--sep-2); border-radius: 8px; background: var(--s1);
}
.toolbar li.on { color: var(--blue); border-color: var(--blue-d); }

.spec { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; max-width: 520px; font-size: .95rem; }
.spec dt { color: var(--text3); }
.spec dd { color: var(--text); font-family: var(--mono); font-size: .86rem; letter-spacing: .02em; }
.spec-tight { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--sep-2); gap: .35rem 1rem; font-size: .8rem; }
.spec-tight dd { font-size: .72rem; color: var(--text2); }
.plate figcaption .spec-tight dt { color: var(--text3); }

/* ═══════════════════════ legal pages ═══════════════════════ */

.legal { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: .4rem; }
.legal-side a {
  font-size: .86rem; color: var(--text2); text-decoration: none; padding: .4rem 0;
  border-bottom: 1px solid var(--sep-2); min-height: 24px; display: flex; align-items: center;
}
.legal-side a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -1px 0 var(--blue); }
.legal-body { max-width: 72ch; }
.legal-body h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.legal-body h2 { font-size: 1.35rem; margin: 2.4rem 0 .7rem; }
.legal-body h3 { font-size: 1.05rem; margin: 1.7rem 0 .5rem; }
.legal-body p, .legal-body li { color: var(--text2); }
.legal-body p + p { margin-top: .8rem; }
.legal-body ul, .legal-body ol { margin: .6rem 0 .8rem 1.2rem; }
.legal-body li { list-style: disc; margin-bottom: .35rem; }
.legal-body ol li { list-style: decimal; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--text); text-decoration-color: var(--text3); }
.legal-body .support-contact { margin: 1.2rem 0 1rem; }
.legal-body .support-contact a.btn { color: #00172E; text-decoration: none; overflow-wrap: anywhere; }
.legal-body code { color: var(--text); background: var(--s2); padding: 2px 6px; border-radius: 5px; font-size: .9em; font-family: var(--mono); }
.pending {
  color: var(--amber); background: var(--amber-w);
  border: 1px dashed rgba(246,184,74,.45); border-radius: 5px;
  padding: 1px 6px; font-size: .9em; white-space: nowrap;
}
.draft {
  margin: 0 0 2rem; padding: 1rem 1.1rem;
  border: 1px solid rgba(246,184,74,.4); border-radius: 12px;
  background: rgba(246,184,74,.07); color: var(--text2); font-size: .92rem;
}
.draft strong { color: var(--amber); }

/* ───────────────────────── footer ───────────────────────────── */

.foot { border-top: 1px solid var(--sep-2); padding: 2.25rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0px)); }
.foot-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }
.foot-brand img { border-radius: 0; }
.foot nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot a {
  color: var(--text2); font-size: .87rem; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 24px;   /* SC 2.5.8 */
}
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot-note { color: var(--text3); font-size: .78rem; text-align: right; }

/* ═══════════════════════ responsive ═══════════════════════ */

@media (max-width: 1000px) {
  .did-grid { grid-template-columns: repeat(6, 1fr); }
  .plate-4, .plate-5 { grid-column: span 3; }
  .plate-6, .plate-7, .plate-8 { grid-column: span 6; }
  .cutlist { grid-column: span 6; }
  .cutlist ol { columns: 2; }
  .screens { grid-template-columns: repeat(3, 1fr); }
  .credits { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: repeat(4, 1fr); }
  .feat-grid, .feat-grid.flip { grid-template-columns: 1fr; }
  .feat-grid.flip .device { order: 0; }
  .feat .device { position: static; max-width: 260px; }
  .legal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-side { position: static; grid-auto-flow: column; gap: 1rem; justify-content: start; }
  .legal-side a { border-bottom: 0; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .5rem 1rem 1rem;
    background: rgba(5,5,5,.97); border-bottom: 1px solid var(--sep-2);
  }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid var(--sep-2); font-size: 1rem; }
  .nav.is-open .nav-links { display: flex; }
  .nav-menu { display: inline-block; }

  .journey { height: 400svh; }
  /* The frame takes what the screen has left once the file label above it
     (2.4rem), the copy below it (about 10rem at its longest) and the timeline
     (about 7.6rem) are paid for. A share of the viewport — 48svh, centred at 37% —
     put it over the label and into the copy on any phone with its browser
     bars showing, and left a hole under it on a tall one. */
  .stage { --fh: calc(100svh - var(--nav-h) - 20rem); }

  /* copy moves out from over the creator */
  .chapter {
    left: 1.1rem; right: 1.1rem; top: auto; bottom: .5rem; translate: 0 0;
    max-width: none; text-align: left;
  }
  .chapter-t { font-size: clamp(1.25rem, 5.6vw, 1.7rem); }
  .chapter-b { font-size: .89rem; }
  .wordmark { left: 1.1rem; }

  /* the frame sits above the copy, not behind it — hung from its top edge */
  .frame { top: calc(2.4rem + min(var(--fh), calc((100vw - 3rem) * 16 / 9)) / 2); }

  /* the chapter copy sits under the frame here, so Replay joins the file
     label's row instead of standing on the text */
  .replay { top: .2rem; bottom: auto; left: auto; right: clamp(1.25rem, 5vw, 4rem); translate: 0 0; }
  .spine-note { display: none; }
  .readout { display: none; }   /* no room beside the frame on a phone */
  .track { height: clamp(34px, 6svh, 48px); }
  .seg-label { font-size: .44rem; }
  .legend { font-size: .5rem; gap: .7rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { padding-bottom: 0; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts div { border-right: 0; margin-right: 0; padding: .8rem 0; border-bottom: 1px solid var(--sep-2); }
  .facts div:last-child { border-bottom: 0; }
  .hero-shot img { width: min(100%, 300px); }

  .did-head { grid-template-columns: 1fr; gap: .8rem; }
  .did-grid { grid-template-columns: 1fr; }
  .plate-4, .plate-5, .plate-6, .plate-7, .plate-8, .cutlist { grid-column: auto; }
  .cutlist ol { columns: 1; max-height: 18rem; }

  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; padding-bottom: .5rem; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .screen { flex: 0 0 58%; scroll-snap-align: start; }
  .screens-head a.more { margin-left: 0; }

  .privacy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .privacy dl { grid-template-columns: 1fr; gap: .9rem; }

  .plans-head { grid-template-columns: 1fr; gap: 1rem; }
  .plans { grid-template-columns: 1fr; }
  .plan-strip { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; gap: 1rem; }
  .launch-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .decisions li { grid-template-columns: 1fr; gap: .35rem; }
  .tag { justify-self: start; padding: .24rem .5rem; }
  .foot-wrap { grid-template-columns: 1fr; gap: 1rem; }
  .foot-note { text-align: left; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .nav-cta { padding: .45rem .8rem; font-size: .8rem; }
  .nav { gap: .6rem; }
  .brand span { font-size: .92rem; white-space: nowrap; }
  .nav-menu { padding: .38rem .65rem; }
}

/* A short phone screen (an SE, or any iPhone with Safari's bars up and a call
   banner): the sentence under each chapter title goes, the picture stays. */
@media (max-width: 860px) and (max-height: 600px) {
  .chapter-b { display: none; }
  .stage { --fh: calc(100svh - var(--nav-h) - 15rem); }
}

@media (max-width: 360px) {
  .brand span { display: none; }      /* the mark alone; the aria-label still names it */
  .nav-cta { padding: .42rem .7rem; font-size: .76rem; }
  .plan { padding: 1.3rem; }
  .lform input { min-width: 100%; }
  .lform button { width: 100%; }
  .screen { flex-basis: 68%; }
  .screens { margin-inline: -1rem; padding-inline: 1rem; }
  .toolbar { grid-template-columns: repeat(4, 1fr); }
  .cutlist li { grid-template-columns: 2.6em 4.6em 1fr; }
  .credits { grid-template-columns: 1fr; }
}

/* ═══════════════════════ reduced motion ═══════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Set by site.js when the visitor asks for reduced motion: the opening
   is replaced outright by the readable story, and no video is ever fetched. */
.reduced .journey { height: auto; }
.reduced .journey-pin { position: static; height: auto; }
.reduced .stage { display: none; }
.reduced .story { display: block; padding-top: calc(var(--nav-h) + 4rem); }
.reduced .story::before {
  content: "2:27 RAW → 1:51 EDITED";
  display: block; width: min(var(--wrap), 100% - 2.5rem); margin: 0 auto 2rem;
  font-family: var(--mono); font-size: clamp(1.1rem, 3.4vw, 1.8rem);
  color: var(--blue); letter-spacing: .02em;
}
.reduced .replay { display: none; }

/* one wide tile: the referral line under the monthly-edit tiles */
.credits-one { grid-template-columns: 1fr; }
.credits-one p { max-width: 62ch; }

/* The landing view: a still, legible transformation. The slight tilt makes
   the two pieces of footage feel handled without making the page move. */
.comparison-hero { min-height: min(850px, 100svh); padding: calc(var(--nav-h) + 3rem) 0 2.5rem; }
.comparison-hero .lit-grade { background: linear-gradient(90deg, rgba(5,5,5,.95), rgba(5,5,5,.74) 52%, rgba(5,5,5,.79)), linear-gradient(180deg, transparent 72%, var(--black)); }
.comparison-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; column-gap: clamp(2rem, 4vw, 5rem); row-gap: 1.5rem; min-height: calc(min(850px, 100svh) - var(--nav-h) - 5.5rem); }
.comparison-copy { position: relative; z-index: 1; }
.comparison-copy h1 { max-width: 11ch; font-size: clamp(2.7rem, 5.3vw, 5.25rem); letter-spacing: -.055em; }
.comparison-copy h1 span { color: var(--blue); }
.comparison-copy .lede { max-width: 42ch; margin-top: 1.3rem; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.comparison-copy .actions { margin-top: 1.6rem; }
.comparison-flow { display: grid; grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr); align-items: center; min-width: 0; padding: 1.8rem 0; }
.comparison-screen { min-width: 0; padding: .65rem; background: #121316; border: 1px solid #44464f; border-radius: 20px; box-shadow: 0 25px 55px rgba(0,0,0,.5); }
.comparison-raw { transform: rotate(-5deg) translate(7px, 12px); }
.comparison-cut { transform: rotate(5deg) translate(-7px, -12px); border-color: rgba(90,169,255,.62); }
.comparison-screen-top { display: flex; justify-content: space-between; gap: .3rem; padding: .2rem .2rem .6rem; font-size: clamp(.54rem, .68vw, .65rem); color: var(--text2); }
.comparison-screen-top span:last-child { color: var(--text); }
.comparison-cut .comparison-screen-top span:last-child { color: var(--blue); }
.comparison-picture { width: 100%; aspect-ratio: 9/15; overflow: hidden; background: #08090b; border-radius: 10px; }
.comparison-picture img,
.comparison-picture video { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.comparison-picture video { background: #08090b; object-position: center; }
.comparison-cut { box-shadow: 0 25px 55px rgba(0,0,0,.5), 0 0 28px rgba(90,155,255,.16); }
@media (prefers-reduced-motion: reduce) {
  .hero-motion video { display: none; }
}
.comparison-track { display: flex; gap: 2px; height: 22px; margin-top: .6rem; }
.comparison-track i { flex: 1; min-width: 0; border-radius: 2px; background: #7f8797; }
.comparison-raw .comparison-track i:nth-child(3n) { background: #30343b; }
.comparison-cut .comparison-track i { background: var(--blue); }
.comparison-screen figcaption { min-height: 3.2em; padding: .65rem .15rem .15rem; color: var(--text2); font-size: .69rem; line-height: 1.4; }
.comparison-arrow { position: relative; z-index: 2; display: grid; justify-items: center; color: var(--blue); text-shadow: 0 2px 14px var(--black); }
.comparison-arrow span { font: 700 .58rem var(--mono); letter-spacing: .08em; white-space: nowrap; }
.comparison-arrow b { font-size: 3rem; line-height: 1; font-weight: 400; }
.comparison-proof { grid-column: 1 / -1; color: var(--text2); text-align: center; font-size: .67rem; }
@media (max-width: 860px) {
  .comparison-hero { padding: calc(var(--nav-h) + 2rem) 0 2.25rem; min-height: 0; }
  .comparison-inner { display: block; min-height: 0; }
  .comparison-copy h1 { max-width: 12ch; font-size: clamp(2.55rem, 10vw, 4.2rem); }
  .comparison-copy .lede { max-width: 50ch; }
  .comparison-flow { max-width: 650px; margin: 1.6rem auto 0; grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr); padding: .6rem 0 1.4rem; }
  .comparison-arrow b { font-size: 2.3rem; }
  .comparison-arrow span { font-size: .5rem; }
  .comparison-proof { margin-top: .8rem; }
}
@media (max-width: 420px) {
  .comparison-hero { padding-top: calc(var(--nav-h) + 1.2rem); }
  .comparison-copy .lede { margin-top: .85rem; }
  .comparison-copy .actions { margin-top: 1.2rem; }
  .comparison-copy .actions .btn-ghost { display: none; }
  .comparison-flow { margin-top: 1.25rem; }
  .comparison-picture { aspect-ratio: 9/14; }
  .comparison-flow { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); }
  .comparison-screen { padding: .43rem; border-radius: 14px; }
  .comparison-screen figcaption { display: none; }
  .comparison-screen-top { font-size: .52rem; letter-spacing: .02em; }
  .comparison-arrow span { writing-mode: vertical-rl; transform: rotate(180deg); }
  .comparison-proof { font-size: .57rem; letter-spacing: .02em; }
}
