/* Zoomcut — the app's own world on the web: near-black ground, one amber accent, rounded display
   type with a serif italic word, glass where the app uses glass, and real iPhone hardware. */

:root {
  --bg: #09090b;
  --surface: #131316;
  --raised: #1d1d21;
  --elevated: #26262b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #ffb547;
  --accent-soft: rgba(255, 181, 71, 0.16);
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, 0.74);
  --dim: #8e8e98;
  --on-light: #0a0a0b;

  --display: ui-rounded, 'SF Pro Rounded', 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-font: system-ui, -apple-system, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --serif: ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;

  /* The app's motion tokens (src/ui/theme.ts): calm, nothing overshoots. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-card: 22px;
  --radius-panel: 30px;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 14vw, 180px);

  /* the app's mesh presets (src/engine/backdrops.ts), drawn as glows over a base */
  --mesh-aurora: radial-gradient(55% 55% at 15% 12%, rgba(34, 211, 238, 0.55), transparent 70%),
    radial-gradient(50% 50% at 92% 38%, rgba(168, 85, 247, 0.5), transparent 70%),
    radial-gradient(60% 60% at 25% 90%, rgba(16, 185, 129, 0.42), transparent 70%), linear-gradient(#060a18, #0b1124);
  --mesh-nebula: radial-gradient(60% 60% at 10% 25%, rgba(124, 58, 237, 0.62), transparent 70%),
    radial-gradient(55% 55% at 95% 68%, rgba(236, 72, 153, 0.5), transparent 70%),
    radial-gradient(45% 45% at 50% 102%, rgba(245, 158, 11, 0.38), transparent 70%), linear-gradient(#09050f, #0f0718);
  --mesh-lagoon: radial-gradient(60% 60% at 85% 8%, rgba(6, 182, 212, 0.6), transparent 70%),
    radial-gradient(60% 60% at 5% 60%, rgba(59, 130, 246, 0.5), transparent 70%),
    radial-gradient(50% 50% at 75% 95%, rgba(45, 212, 191, 0.45), transparent 70%), linear-gradient(#021820, #03222d);
  --mesh-magma: radial-gradient(75% 75% at 50% 108%, rgba(239, 68, 68, 0.72), transparent 70%),
    radial-gradient(50% 50% at 8% 72%, rgba(249, 115, 22, 0.55), transparent 70%),
    radial-gradient(55% 55% at 95% 18%, rgba(159, 18, 57, 0.6), transparent 70%), linear-gradient(#0e0303, #160505);
  --mesh-dusk: radial-gradient(80% 80% at 50% 110%, rgba(251, 113, 133, 0.7), transparent 70%),
    radial-gradient(60% 60% at 50% 130%, rgba(253, 186, 116, 0.65), transparent 70%),
    radial-gradient(50% 50% at 10% 5%, rgba(99, 102, 241, 0.45), transparent 70%), linear-gradient(#14123a, #2a2470);
  --mesh-rose: radial-gradient(60% 60% at 18% 18%, rgba(244, 114, 182, 0.55), transparent 70%),
    radial-gradient(55% 55% at 92% 60%, rgba(251, 146, 60, 0.45), transparent 70%),
    radial-gradient(50% 50% at 30% 98%, rgba(192, 132, 252, 0.42), transparent 70%), linear-gradient(#22091a, #2e0d20);
  --mesh-citrus: radial-gradient(60% 60% at 8% 10%, rgba(253, 186, 116, 0.85), transparent 70%),
    radial-gradient(55% 55% at 92% 32%, rgba(253, 224, 71, 0.75), transparent 70%),
    radial-gradient(60% 60% at 60% 98%, rgba(251, 113, 133, 0.55), transparent 70%), linear-gradient(#fff7e8, #ffebd2);
  --mesh-glacier: radial-gradient(70% 70% at 10% 10%, rgba(191, 219, 254, 0.95), transparent 70%),
    radial-gradient(60% 60% at 95% 50%, rgba(199, 210, 254, 0.85), transparent 70%),
    radial-gradient(60% 60% at 35% 98%, rgba(165, 243, 252, 0.75), transparent 70%), linear-gradient(#f1f5ff, #e8f0ff);
  --mesh-matcha: radial-gradient(60% 60% at 10% 90%, rgba(163, 230, 53, 0.5), transparent 70%),
    radial-gradient(60% 60% at 92% 15%, rgba(134, 239, 172, 0.65), transparent 70%),
    radial-gradient(45% 45% at 60% 50%, rgba(253, 230, 138, 0.45), transparent 70%), linear-gradient(#f2f6ec, #e7eedd);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  color-scheme: dark;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scrollbar-color: var(--elevated) var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font: 400 17px/1.55 var(--text-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

::selection {
  background: rgba(255, 181, 71, 0.32);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--elevated);
  border-radius: 10px;
  border: 2px solid var(--bg);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--on-light);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ── Type ─────────────────────────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 32em;
  margin: 0;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.muted {
  color: var(--dim);
}

/* ── Nav ──────────────────────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(9, 9, 11, 0.62);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--text);
  color: var(--on-light) !important;
  font-weight: 700;
  transition: transform 0.16s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav-cta:active {
  transform: scale(0.97);
}

@media (max-width: 760px) {
  .nav-links .hide-sm {
    display: none;
  }
}

/* ── Download ─────────────────────────────────────────────────────────────────────────────── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.store {
  display: inline-block;
  line-height: 0;
  border-radius: 13px;
  transition: transform 0.16s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
}

.store img {
  height: 56px;
  width: auto;
}

.store:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .store:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  }
  .nav-cta:hover {
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
  }
}

.store-note {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.4;
}

.store-note strong {
  color: var(--text);
  font-weight: 650;
}

/* ── The world: a full-bleed backdrop behind the whole page ───────────────────────────────── */

.world {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.world .mesh {
  position: absolute;
  inset: -10%;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.world .mesh.on {
  opacity: 1;
}

.world .shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55)),
    rgba(9, 9, 11, var(--shade, 0.42));
}

/* ── The iPhone (proportions from src/engine/devices.ts: 71.9 × 150 mm body, 1206 × 2622 screen) ─ */

.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 71.9 / 150;
  border-radius: calc(var(--w) * 0.205);
  padding: calc(var(--w) * 0.012);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 5%, transparent 95%, rgba(255, 255, 255, 0.2)),
    linear-gradient(var(--sheen, 160deg), #7a7c83 0%, #2c2d32 20%, #17181b 50%, #303237 78%, #565860 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex: none;
}

.phone .bezel {
  position: relative;
  height: 100%;
  border-radius: calc(var(--w) * 0.193);
  background: #020203;
  padding: calc(var(--w) * 0.024);
}

.phone .screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--w) * 0.168);
  overflow: hidden;
  background: #09090b;
  isolation: isolate;
}

/* glass on the screen: a sweep of reflected light that moves as the phone turns */
.phone .screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(var(--glare-a, 118deg), rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 44%);
  mix-blend-mode: screen;
}

.phone .key {
  position: absolute;
  width: calc(var(--w) * 0.012);
  border-radius: 2px;
  background: linear-gradient(90deg, #26272b, #6a6c72 60%, #2a2b2f);
}
.phone .key.l {
  left: calc(var(--w) * -0.009);
}
.phone .key.r {
  right: calc(var(--w) * -0.009);
}
.phone .k1 {
  top: 21%;
  height: 4.5%;
}
.phone .k2 {
  top: 31%;
  height: 7.7%;
}
.phone .k3 {
  top: 40.4%;
  height: 7.7%;
}
.phone .k4 {
  top: 34.7%;
  height: 11.7%;
}
.phone .k5 {
  top: 67.3%;
  height: 12.7%;
  width: calc(var(--w) * 0.006);
  right: calc(var(--w) * -0.004);
}

/* ── The film ─────────────────────────────────────────────────────────────────────────────── */

.film {
  position: relative;
  height: 1150vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}



.device .phone.big {
  --w: var(--dw);
  position: absolute;
  inset: 0;
  transform: translateZ(0.5px);
}

/* the body's thickness: stacked layers of the frame behind the front, so the edge shows as it turns */
.device .slab {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--dw) * 0.205);
  background: linear-gradient(90deg, #4b4d53, #1b1c1f 12%, #151619 88%, #44464c);
}
.device .s1 {
  transform: translateZ(-2.5px);
}
.device .s2 {
  transform: translateZ(-5px);
  filter: brightness(0.85);
}
.device .s3 {
  transform: translateZ(-7.5px);
  filter: brightness(0.7);
}
.device .s4 {
  transform: translateZ(-10px);
  filter: brightness(0.55);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.85), 0 20px 40px rgba(0, 0, 0, 0.35);
}


/* Captions: one at a time, film titles beside the phone */
.captions {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}







.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
}

.scroll-hint span {
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), transparent);
  animation: hint 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}

@keyframes hint {
  0% {
    transform: scaleY(0.2);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* chapter rail: the film's own timeline */
.chapters {
  position: absolute;
  z-index: 3;
  left: max(var(--gutter), calc(50vw - 600px));
  bottom: 30px;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 5px;
  list-style: none;
  border-radius: 20px;
  background: rgba(20, 20, 24, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font: 650 0.78rem/1 var(--text-font);
  color: var(--dim);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.chapters.show {
  opacity: 1;
}

.chapters li {
  padding: 8px 12px;
  border-radius: 14px;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.chapters li.on {
  background: var(--text);
  color: var(--on-light);
}

/* ── Zoomcut's UI, at its real size in iOS points ─────────────────────────────────────────── */

.ui {
  position: absolute;
  left: 0;
  top: 0;
  width: 402px;
  height: 874px;
  transform-origin: 0 0;
  transform: scale(var(--k, 1));
  background: #09090b;
  color: #f5f5f7;
  font: 500 15px/1.3 var(--text-font);
  overflow: hidden;
  letter-spacing: -0.01em;
}

.ui svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.ui .sb {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 30px 0 48px;
  font-size: 17px;
  font-weight: 650;
}

.sb-i {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.sb-i i {
  width: 3.4px;
  border-radius: 1px;
  background: #fff;
}
.sb-i i:nth-child(1) {
  height: 4px;
}
.sb-i i:nth-child(2) {
  height: 6.5px;
}
.sb-i i:nth-child(3) {
  height: 9px;
}
.sb-i i:nth-child(4) {
  height: 12px;
}
.sb-i b {
  width: 25px;
  height: 12px;
  margin-left: 6px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

.scr {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  translate: 40px 0;
  transition: opacity 0.45s var(--ease-out), translate 0.6s var(--ease-out), visibility 0s linear 0.6s;
}

.scr.on {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.45s var(--ease-out), translate 0.6s var(--ease-out), visibility 0s;
}

.scr.gone {
  translate: -40px 0;
}

.u-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: rgba(245, 245, 247, 0.55);
}

.seg3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 40px;
  padding: 4px;
  border-radius: 14px;
  background: #1d1d21;
}

.seg3 span {
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  color: #8e8e98;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.seg3 span.on {
  background: #2e2e34;
  color: #f5f5f7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.seg3.tall {
  height: 66px;
}

.seg3.tall span {
  font-size: 11px;
  font-weight: 550;
  gap: 2px;
}

.seg3.tall b {
  font-size: 16px;
  font-weight: 700;
}

.seg3.tall span.on b {
  color: #ffb547;
}

.circ {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.circ svg {
  width: 18px;
  height: 18px;
}

.circ.sm {
  width: 34px;
  height: 34px;
}

.circ.dim {
  opacity: 0.4;
}

.pill-w {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #f5f5f7;
  color: #0a0a0b;
  font-size: 15px;
  font-weight: 750;
}

.pill-w.sm {
  height: 34px;
  font-size: 14px;
  padding: 0 14px 0 10px;
}

.pill-w svg {
  width: 15px;
  height: 15px;
}

.tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  height: 62px;
  display: flex;
  gap: 10px;
}

.tabs3,
.tabs4 {
  flex: 1;
  display: grid;
  border-radius: 31px;
  background: rgba(40, 40, 46, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tabs3 {
  grid-template-columns: repeat(3, 1fr);
}

.tabs3 span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 650;
  color: #c9c9d0;
}

.tabs3 svg {
  width: 22px;
  height: 22px;
}

.plus {
  display: grid;
  place-items: center;
  width: 62px;
  border-radius: 31px;
  background: rgba(40, 40, 46, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #ffb547;
}

.plus svg {
  width: 26px;
  height: 26px;
}

/* Create */












/* Analysing */
.an-bg {
  position: absolute;
  inset: 0;
  background: var(--mesh-aurora);
}












/* Studio */
.st-bg {
  position: absolute;
  inset: 0;
  background: var(--stmesh, var(--mesh-aurora));
}

.st-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.62);
}

.st-top {
  position: absolute;
  z-index: 2;
  top: 56px;
  left: 16px;
  right: 16px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.st-name {
  flex: 1;
  display: grid;
}

.st-name b {
  font-size: 17px;
  font-weight: 700;
}

.st-name small {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.6);
}

.preview {
  position: absolute;
  z-index: 1;
  top: 114px;
  left: 46px;
  width: 310px;
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--pmesh, var(--mesh-aurora));
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pcam {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-origin: 0 0;
}

.pphone {
  width: 128px;
  height: 268px;
  padding: 3px;
  border-radius: 24px;
  background: var(--pframe, linear-gradient(160deg, #3f4046, #18191c 50%, #3a3c42));
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.25), 0 16px 30px -10px rgba(0, 0, 0, 0.7);
}

.pbezel {
  height: 100%;
  padding: 3px;
  border-radius: 21px;
  background: #000;
}

.pscreen {
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f4f7;
}

.pscreen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.psb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 9px 0 12px;
  background: #f4f4f7;
  color: #0b0b12;
  font-size: 6.4px;
  font-weight: 700;
}

.psb .t {
  padding: 0.5px 3px;
  border-radius: 4px;
  background: #ff3b30;
  color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

.psb.clean .t {
  background: transparent;
  color: #0b0b12;
}

.psb-r {
  display: flex;
  align-items: flex-end;
  gap: 0.8px;
}

.psb-r i {
  width: 1.4px;
  background: #0b0b12;
  border-radius: 0.5px;
}
.psb-r i:nth-child(1) {
  height: 2px;
}
.psb-r i:nth-child(2) {
  height: 3px;
}
.psb-r i:nth-child(3) {
  height: 4px;
}
.psb-r i:nth-child(4) {
  height: 5px;
}
.psb-r i.dim {
  opacity: 0.25;
}
.psb.clean .psb-r i.dim {
  opacity: 1;
}
.psb-r b {
  width: 10px;
  height: 5px;
  margin-left: 2px;
  border-radius: 1.5px;
  background: linear-gradient(90deg, #0b0b12 30%, rgba(11, 11, 18, 0.25) 30%);
}
.psb.clean .psb-r b {
  background: #0b0b12;
}

.pisland {
  position: absolute;
  top: 3.3px;
  left: 50%;
  width: 31%;
  height: 10px;
  translate: -50% 0;
  border-radius: 6px;
  background: #000;
}

.pscreen .ripple {
  position: absolute;
  z-index: 5;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(60, 60, 72, 0.3) 0 40%, transparent 41%);
  border: 1.5px solid rgba(90, 90, 104, 0.6);
}

.badge-made {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 7px 0 5px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.95);
  font-size: 7.5px;
  font-weight: 650;
  transition: opacity 0.4s;
}

.badge-made svg {
  width: 9px;
  height: 9px;
  color: #fff;
}

.panel {
  position: absolute;
  z-index: 2;
  top: 440px;
  left: 12px;
  right: 12px;
  height: 336px;
  border-radius: 30px;
  background: rgba(24, 24, 28, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.pan {
  position: absolute;
  inset: 0;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.pan.on {
  opacity: 1;
}

.ed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.mono {
  font-size: 13px;
  color: rgba(245, 245, 247, 0.6);
  font-variant-numeric: tabular-nums;
  width: 120px;
}

.mono b {
  color: #f5f5f7;
  font-weight: 650;
}

.circ.play {
  width: 44px;
  height: 44px;
  background: #f5f5f7;
  color: #0a0a0b;
}

.ud {
  display: flex;
  gap: 8px;
  width: 120px;
  justify-content: flex-end;
}

.ruler {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 2px;
  font-size: 10px;
  color: rgba(245, 245, 247, 0.4);
  font-variant-numeric: tabular-nums;
}

.strip {
  position: relative;
  height: 48px;
  margin-top: 6px;
  border-radius: 9px;
  background: url(assets/recording-poster.jpg) repeat-x 0 0 / auto 100%;
  box-shadow: inset 0 0 0 2px #ffb547;
}

.strip .trim {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9px;
  background: #ffb547;
}
.strip .trim.l {
  left: 0;
  border-radius: 9px 0 0 9px;
}
.strip .trim.r {
  right: 0;
  border-radius: 0 9px 9px 0;
}

.dots {
  position: relative;
  height: 22px;
  margin-top: 10px;
}

.dots i {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  translate: -50% -50%;
  background: rgba(255, 255, 255, 0.92);
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}

.dots i.on {
  background: #ffb547;
  transform: scale(1.35);
}

.curve {
  height: 40px;
  margin-top: 4px;
}

.curve svg {
  width: 100%;
  height: 100%;
}

.curve path {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.head {
  position: absolute;
  top: 86px;
  left: 16px;
  width: 2px;
  height: 150px;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.head::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.ed-foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-foot b {
  display: block;
  font-size: 16px;
}

.ed-foot small {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.55);
}

.hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: 11px;
  color: rgba(245, 245, 247, 0.42);
}

.pan-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  margin-bottom: 12px;
}

.pan-h b {
  font-size: 14px;
  font-weight: 700;
}

.seg3.flat {
  height: 36px;
}

.chips-ui {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chips-ui span {
  height: 30px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #1d1d21;
  font-size: 13px;
  font-weight: 650;
  color: #8e8e98;
}

.chips-ui span.on {
  background: #f5f5f7;
  color: #0a0a0b;
}

.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 9px;
  margin-top: 14px;
}

.grid5 span {
  display: grid;
  gap: 5px;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  color: rgba(245, 245, 247, 0.75);
}

.grid5 i {
  aspect-ratio: 1;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: outline-color 0.2s;
  outline: 2.5px solid transparent;
  outline-offset: 2px;
}

.grid5 span.on i {
  outline-color: #ffb547;
}

.row-s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.row-s b {
  color: rgba(245, 245, 247, 0.7);
  font-weight: 600;
}

.sl {
  margin-top: 18px;
}

.sl-h {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.sl-h b {
  font-variant-numeric: tabular-nums;
  color: #ffb547;
}

.track {
  position: relative;
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: #ffb547;
}

.track em {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  translate: -50% -50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sw {
  position: relative;
  width: 50px;
  height: 30px;
  border-radius: 15px;
  background: #3a3a40;
  transition: background-color 0.3s;
}

.sw i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease-out);
}

.sw.on {
  background: #ffb547;
}

.sw.on i {
  transform: translateX(20px);
}

.devs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.devs span {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  height: 112px;
  align-content: center;
  border-radius: 18px;
  background: #1d1d21;
  font-size: 10.5px;
  font-weight: 650;
  text-align: center;
  line-height: 1.15;
  outline: 2px solid transparent;
  transition: outline-color 0.2s;
}

.devs span.on {
  outline-color: #ffb547;
}

.devs em {
  position: absolute;
  top: 7px;
  right: 7px;
  font: 800 7.5px/1 var(--text-font);
  letter-spacing: 0.4px;
  color: #ffb547;
}

.dv {
  width: 24px;
  height: 48px;
  border-radius: 7px;
  border: 2.5px solid #c9c9d0;
}

.dv.air {
  width: 22px;
  border-width: 1.8px;
}

.dv.duo {
  width: 36px;
}

.fin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.fins {
  display: flex;
  gap: 12px;
}

.fins i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  outline: 2.5px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s;
}

.fins i.on {
  outline-color: #ffb547;
}

.protag {
  font: 800 9px/1 var(--text-font);
  color: #ffb547;
  margin-left: 4px;
  letter-spacing: 0.4px;
  font-style: normal;
}

.tabbar.st {
  height: 60px;
}

.tabs4 {
  grid-template-columns: repeat(4, 1fr);
  padding: 5px;
  border-radius: 30px;
}

.tabs4 span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 650;
  color: #d9d9de;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.tabs4 span svg {
  width: 16px;
  height: 16px;
}

.tabs4 span.on {
  background: #f5f5f7;
  color: #0a0a0b;
}

.scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s;
}

.scrim.on {
  opacity: 1;
}

.sheet {
  position: absolute;
  z-index: 11;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 340px;
  border-radius: 40px;
  background: rgba(30, 30, 34, 0.97);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out);
}

.sheet.on {
  transform: translateY(0);
}

.rend,
.done {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 26px 30px;
  text-align: center;
  transition: opacity 0.4s;
}

.done {
  opacity: 0;
}

.sheet.ready .rend {
  opacity: 0;
}

.sheet.ready .done {
  opacity: 1;
}

.ring {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
}

.ring svg {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 6;
}

.ring .bg {
  stroke: rgba(255, 255, 255, 0.12);
}

.ring .fg {
  stroke: #ffb547;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 19px/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.sh-t {
  font: 750 21px/1.2 var(--display);
}

.rend small,
.done small {
  font-size: 13px;
  color: rgba(245, 245, 247, 0.65);
}

.rend small.dim {
  color: rgba(245, 245, 247, 0.45);
  max-width: 260px;
}

.done-v {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}

.done-v svg {
  width: 34px;
  height: 34px;
}

.sh-btns {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}

.sh-btns span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  border-radius: 27px;
  font-size: 16px;
  font-weight: 750;
}

.b-w {
  background: #f5f5f7;
  color: #0a0a0b;
}

.b-d {
  background: #2e2e34;
}

.b-d svg {
  width: 18px;
  height: 18px;
}

/* the finger and its tap ring, on Zoomcut's own screen */
.finger {
  position: absolute;
  z-index: 50;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18) 70%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  will-change: transform, opacity;
}

.uring {
  position: absolute;
  z-index: 49;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 181, 71, 0.95);
  pointer-events: none;
}

/* ── After the film ───────────────────────────────────────────────────────────────────────── */

.section {
  padding-block: var(--section);
  position: relative;
}

.section-head {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.private h2 {
  font-size: clamp(2.6rem, 6.6vw, 5.8rem);
  max-width: 14ch;
}

.private-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.08rem;
  color: var(--text-2);
}

.private-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.private-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 32px);
}

.plan {
  border-radius: var(--radius-panel);
  padding: clamp(28px, 4vw, 44px);
  background: rgba(19, 19, 22, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid;
  align-content: start;
  gap: 22px;
}

.plan.pro {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 181, 71, 0.16), transparent 70%),
    rgba(19, 19, 22, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.36);
}

.plan h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
}

.plan .price {
  color: var(--dim);
  font-size: 0.98rem;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.plan.pro ul {
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.plan li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 12px;
  align-items: start;
}

.plan li svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
  grid-row: span 2;
}

.plan li b {
  font-weight: 650;
}

.plan li span {
  color: var(--dim);
  font-size: 0.93rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .plans,
  .plan.pro ul {
    grid-template-columns: 1fr;
  }
}

.close {
  text-align: center;
  padding-block: clamp(110px, 16vw, 200px);
  position: relative;
}

.close .inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.close .big-mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
}

.close .big-mark svg {
  width: 66px;
  height: 66px;
}

.close h2 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 56px;
  font-size: 0.9rem;
  color: var(--dim);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: start;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-weight: 600;
}

.footer nav a {
  color: var(--text-2);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--text);
}

.footer .legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  max-width: 60em;
  line-height: 1.5;
}

.footer .legal a {
  color: var(--text-2);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ── Docs pages (privacy, support) ────────────────────────────────────────────────────────── */

.doc {
  padding-top: clamp(130px, 16vh, 180px);
  padding-bottom: var(--section);
}

.doc-head {
  display: grid;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 44rem;
}

.doc-head h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
}

.prose {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
}

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 56px 0 14px;
  line-height: 1.2;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 14px;
}

.prose ul {
  padding-left: 1.2em;
  margin: 0;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

.prose a {
  color: var(--accent);
}

.faq {
  display: grid;
  max-width: 44rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-weight: 650;
  font-size: 1.08rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  translate: 0 -70%;
  rotate: 45deg;
  transition: rotate 0.25s var(--ease-out), translate 0.25s var(--ease-out);
}

.faq details[open] summary::after {
  rotate: 225deg;
  translate: 0 -20%;
}

.faq details p {
  padding: 0 0 24px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 40em;
}

.contact {
  margin-top: 64px;
  max-width: 44rem;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  gap: 14px;
}

.contact h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.contact .mail {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: var(--text);
  color: var(--on-light);
  font-weight: 700;
  text-decoration: none;
}

.pending {
  color: var(--accent);
  font-weight: 600;
}

/* ── Reduced motion: the story still plays as you scroll, without the camera flying around ── */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    translate: none;
    transition: opacity 0.4s ease;
  }
  .scr,
  .scr.on,
  .scr.gone {
    translate: none;
  }
  .scroll-hint span {
    animation: none;
  }
  .finger,
  .uring,
  .pscreen .ripple {
    display: none;
  }
}

/* Without JavaScript the film can't play: show its opening frame as a normal hero instead. */
html:not(.js) .film {
  height: auto;
}
html:not(.js) .stage {
  position: relative;
  height: 100vh;
}
html:not(.js) .cap-hero {
  opacity: 1;
}

/* ══ The film, chapter by chapter ════════════════════════════════════════════════════════════ */

.film {
  height: 900vh;
}

.rig {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 2200px;
  pointer-events: none;
}

/* the phone and everything around it move together; the phone turns on its own */
.cluster {
  --dw: calc(min(82vh, 880px) * 0.4793);
  --dh: calc(var(--dw) / 0.4793);
  position: relative;
  width: var(--dw);
  height: var(--dh);
  transform-style: preserve-3d;
  transform: translate3d(var(--cx, 16vw), var(--cy, 2vh), 0);
  transition: transform 1.5s var(--ease-out);
}

.hover {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: hover 7s var(--ease-in-out) infinite alternate;
}

@keyframes hover {
  from {
    transform: translate3d(0, -6px, 0) rotateZ(-0.4deg);
  }
  to {
    transform: translate3d(0, 8px, 0) rotateZ(0.5deg);
  }
}

.device {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -24deg)) rotateX(var(--rx, 8deg)) rotateZ(var(--rz, 2deg)) scale(var(--s, 0.92));
  transition: transform 1.5s var(--ease-out);
}

.device .phone.big {
  --w: var(--dw);
  position: absolute;
  inset: 0;
  transform: translateZ(0.5px);
}

.device .slab {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--dw) * 0.205);
  background: linear-gradient(90deg, #4b4d53, #1b1c1f 12%, #151619 88%, #44464c);
}
.device .s1 {
  transform: translateZ(-2.5px);
}
.device .s2 {
  transform: translateZ(-5px);
  filter: brightness(0.85);
}
.device .s3 {
  transform: translateZ(-7.5px);
  filter: brightness(0.7);
}
.device .s4 {
  transform: translateZ(-10px);
  filter: brightness(0.55);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.85), 0 20px 40px rgba(0, 0, 0, 0.35);
}

.cluster .floor {
  position: absolute;
  left: 50%;
  bottom: calc(var(--dh) * -0.06);
  width: calc(var(--dw) * 1.2);
  height: 44px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
  filter: blur(8px);
}

/* captions: each chapter has its own place */
.captions {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.cap {
  position: absolute;
  top: 50%;
  width: min(36vw, 520px);
  display: grid;
  gap: 22px;
  opacity: 0;
  transform: translate3d(0, calc(-50% + 30px), 0);
  transition: opacity 0.7s var(--ease-out), transform 1s var(--ease-out);
}

.cap.L {
  left: max(var(--gutter), calc(50vw - 600px));
}

.cap.R {
  right: max(var(--gutter), calc(50vw - 600px));
}

.cap.LT {
  left: max(var(--gutter), calc(50vw - 600px));
  top: 30%;
}

.cap.on {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  transition-delay: 0.25s;
  pointer-events: auto;
}

.cap.gone {
  transform: translate3d(0, calc(-50% - 30px), 0);
}

.cap h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
}

.cap > p {
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  color: var(--text-2);
  max-width: 28em;
}

.cap .pro {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 750;
}

.cap-hero {
  gap: 26px;
  width: min(40vw, 560px);
}

.cap.N {
  width: min(28vw, 400px);
}

/* ── Floating things around the phone ────────────────────────────────────────────────────── */

.chips,
.tiles,
.twins,
.loupe,
.outputs {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* tap chips: fly out of the screen to beside the phone */
.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 22px;
  white-space: nowrap;
  background: rgba(22, 22, 26, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  font: 650 0.92rem/1 var(--text-font);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) translate3d(var(--ox), var(--oy), 0) scale(0.4);
  transition: opacity 0.5s var(--ease-out), transform 1s var(--ease-out);
}

.chip i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.22);
}

.chip small {
  font: 600 0.8rem/1 var(--text-font);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.chip.on {
  opacity: 1;
  transform: translate3d(0, -50%, 0) translate3d(var(--tx), var(--ty), 60px) scale(1);
}

.chip.left.on {
  transform: translate3d(-100%, -50%, 0) translate3d(var(--tx), var(--ty), 60px) scale(1);
}

/* backdrop tiles, big, to the right of the phone */
.tiles {
  inset: auto;
  left: calc(100% + var(--dw) * 0.3);
  top: 50%;
  width: calc(var(--dw) * 1.05);
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  transform: translate3d(40px, -50%, 0) rotateY(-14deg);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 1.1s var(--ease-out);
}

.tiles.on {
  opacity: 1;
  transform: translate3d(0, -50%, 0) rotateY(-14deg);
}

.tiles span {
  display: grid;
  gap: 8px;
  font: 650 0.9rem/1 var(--text-font);
  color: var(--text-2);
}

.tiles i {
  aspect-ratio: 1;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 24px 40px -18px rgba(0, 0, 0, 0.7);
  outline: 3px solid transparent;
  outline-offset: 4px;
  transition: outline-color 0.3s, transform 0.5s var(--ease-out);
}

.tiles span.on i {
  outline-color: var(--accent);
  transform: scale(1.05);
}

.tiles span.on {
  color: var(--text);
}

/* twins: the same demo in other iPhones */
.twin {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--dw);
  height: var(--dh);
  display: grid;
  justify-items: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 1.3s var(--ease-out);
}

.twin .phone {
  --w: var(--dw);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 6%, transparent 94%, rgba(255, 255, 255, 0.25)), var(--frame);
}

.twin .phone .screen {
  background: #f4f4f7;
}

.twin img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twin .island {
  position: absolute;
  left: 50%;
  top: 1.26%;
  width: 31.3%;
  height: 4.27%;
  translate: -50% 0;
  border-radius: 99px;
  background: #000;
}

.twin span {
  margin-top: 18px;
  font: 650 0.95rem/1 var(--text-font);
  color: var(--text-2);
  white-space: nowrap;
}

.twin.t1 {
  transform: translate3d(0, 0, -80px) scale(0.7);
}
.twin.t2 {
  transform: translate3d(0, 0, -160px) scale(0.6);
}
.twins.on .twin {
  opacity: 1;
}
.twins.on .t1 {
  transform: translate3d(calc(var(--dw) * 1.05), 4%, -120px) rotateY(-16deg) scale(0.78);
}
.twins.on .t2 {
  transform: translate3d(calc(var(--dw) * 1.95), 8%, -240px) rotateY(-22deg) scale(0.66);
  transition-delay: 0.12s;
}

/* the loupe: the status bar, up close, without cropping the phone */
.loupe {
  inset: auto;
  left: calc(var(--dw) * -0.66);
  top: calc(var(--dh) * 0.5);
  width: calc(var(--dw) * 0.8);
  display: grid;
  justify-items: center;
  gap: 14px;
  opacity: 0;
  transform: translate3d(30px, 10px, 80px) scale(0.85);
  transition: opacity 0.5s var(--ease-out), transform 0.9s var(--ease-out);
}

.loupe.on {
  opacity: 1;
  transform: translate3d(0, 0, 80px) scale(1);
}

.lens {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f4f7;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9), inset 0 0 0 5px rgba(0, 0, 0, 0.12), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.lbar {
  width: 86%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0b0b12;
  font: 700 calc(var(--dw) * 0.085) / 1 var(--text-font);
}

.lbar .lt {
  padding: 3px 10px;
  border-radius: 14px;
  background: #ff3b30;
  color: #fff;
  transition: background-color 0.4s, color 0.4s;
}

.lbar.clean .lt {
  background: transparent;
  color: #0b0b12;
  padding-left: 0;
}

.li {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.li i {
  width: 5px;
  border-radius: 1.5px;
  background: #0b0b12;
  transition: opacity 0.4s;
}
.li i:nth-child(1) {
  height: 7px;
}
.li i:nth-child(2) {
  height: 11px;
}
.li i:nth-child(3) {
  height: 15px;
}
.li i:nth-child(4) {
  height: 19px;
}
.li i.d {
  opacity: 0.22;
}
.lbar.clean .li i.d {
  opacity: 1;
}
.li b {
  width: 34px;
  height: 17px;
  margin-left: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #0b0b12 28%, rgba(11, 11, 18, 0.2) 28%);
  transition: background 0.4s;
}
.lbar.clean .li b {
  background: #0b0b12;
}

.ltag {
  font: 700 0.9rem/1 var(--text-font);
  color: var(--text-2);
}

.ltag.pro {
  color: var(--accent);
}

/* export: the finished demo, in every format, flying out of the phone */
.out {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.3);
  transition: opacity 0.5s var(--ease-out), transform 1.3s var(--ease-out);
}

.out figcaption {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(10, 10, 12, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 600 0.78rem/1 var(--text-font);
  color: var(--text-2);
  white-space: nowrap;
}

.out figcaption b {
  color: var(--text);
  font-family: var(--display);
  margin-right: 4px;
}

.ocv {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mesh-magma);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 50px -20px rgba(0, 0, 0, 0.8);
}

.ophone {
  height: 86%;
  aspect-ratio: 0.48;
  padding: 3px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f4a06a, #b8561e 45%, #e2702e 80%);
}

.ophone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}

.o916 .ocv {
  width: calc(var(--dw) * 0.42);
  aspect-ratio: 9 / 16;
}
.o11 .ocv {
  width: calc(var(--dw) * 0.62);
  aspect-ratio: 1;
}
.o169 .ocv {
  width: calc(var(--dw) * 0.9);
  aspect-ratio: 16 / 9;
}

.outputs.on .out {
  opacity: 1;
}
.outputs.on .o916 {
  transform: translate3d(calc(-50% - var(--dw) * 2.3), calc(-50% + var(--dh) * 0.1), 40px) rotateY(14deg);
}
.outputs.on .o11 {
  transform: translate3d(calc(-50% - var(--dw) * 1.62), calc(-50% + var(--dh) * 0.15), 70px) rotateY(10deg);
  transition-delay: 0.1s;
}
.outputs.on .o169 {
  transform: translate3d(calc(-50% - var(--dw) * 1.12), calc(-50% + var(--dh) * 0.3), 140px) rotateY(8deg);
  transition-delay: 0.2s;
}

/* ── Zoomcut screens, faithful to the app ─────────────────────────────────────────────────── */

.segs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(40, 40, 46, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.segs span {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(245, 245, 247, 0.6);
  transition: background-color 0.3s, color 0.3s;
}

.segs span.on {
  background: #f5f5f7;
  color: #0a0a0b;
}

/* Create · Setup */
.c-amb {
  position: absolute;
  inset: 0;
  background: var(--mesh-aurora);
}

.c-amb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.42);
}

.c-title {
  position: absolute;
  top: 66px;
  left: 20px;
  font: 800 28px/1 var(--display);
  letter-spacing: -0.8px;
}

.c-title em {
  font-size: 30px;
}

.c-stage {
  position: absolute;
  top: 112px;
  left: 0;
  right: 0;
  height: 360px;
  display: grid;
  place-items: center;
}

.mcv {
  position: relative;
  width: 352px;
  height: 352px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--pmesh, var(--mesh-aurora));
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mcv .pphone {
  width: 148px;
  height: 310px;
  border-radius: 27px;
}

.mcv .pbezel {
  border-radius: 24px;
}

.mcv .pscreen {
  border-radius: 21px;
}

.c-format {
  position: absolute;
  top: 474px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.c-format .segs {
  width: 190px;
}

.c-format small {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.55);
}

.c-panel {
  position: absolute;
  top: 516px;
  left: 16px;
  right: 16px;
  padding: 12px 0 4px;
  border-radius: 28px;
  background: rgba(30, 30, 36, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.c-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 16px;
  margin-bottom: 10px;
}

.c-head b {
  font-size: 14px;
  font-weight: 700;
}

.c-tabs {
  display: flex;
  gap: 20px;
  padding: 0 16px;
}

.c-tabs span {
  position: relative;
  padding-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.5);
}

.c-tabs span.on {
  color: #f5f5f7;
}

.c-tabs span.on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: #ffb547;
}

.c-tiles {
  display: flex;
  gap: 10px;
  padding: 10px 16px 0;
}

.c-tiles i {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  padding: 1px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: var(--t) content-box;
  background-clip: content-box;
}

.c-tiles i.on {
  border-color: #ffb547;
}

.c-tiles em,
.grid5 em {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #ffb547 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.grid5 i {
  position: relative;
}

.grid5 em {
  display: none;
}

.grid5 span.on em {
  display: block;
}

.c-div {
  height: 0.5px;
  margin: 12px 0 0 16px;
  background: rgba(255, 255, 255, 0.12);
}

.c-cam {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
}

.c-cam > div:first-child {
  flex: 1;
  display: grid;
  gap: 2px;
}

.c-cam small {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.6);
}

.c-cam .segs {
  width: 200px;
}

.c-cam .segs span {
  font-size: 12px;
  height: 26px;
}

.glow-btn {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 728px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 30px;
  background: #f5f5f7;
  color: #0a0a0b;
  font: 800 17px/1 var(--display);
  letter-spacing: -0.3px;
  box-shadow: 0 0 24px rgba(255, 181, 71, 0.45);
  transition: transform 0.15s var(--ease-out);
}

.glow-btn svg {
  width: 20px;
  height: 20px;
}

[data-scr='create'] .tabbar {
  bottom: 14px;
  height: 56px;
}

/* the system photo picker */
.picker {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 58px;
  bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #1c1c1e;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease-out);
}

.picker.on {
  transform: translateY(0);
}

.pk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 18px;
  font-size: 17px;
}

.pk-c {
  color: #0a84ff;
}

.pk-a {
  color: rgba(10, 132, 255, 0.4);
  font-weight: 650;
}

.pk-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0 16px 12px;
  padding: 2px;
  border-radius: 9px;
  background: #2c2c2e;
  font-size: 13px;
  font-weight: 600;
}

.pk-seg span {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 7px;
  color: #c7c7cc;
}

.pk-seg span.on {
  background: #636366;
  color: #fff;
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.pk-grid span {
  position: relative;
  aspect-ratio: 1;
  background: var(--g, #333);
  overflow: hidden;
}

.pk-grid .rec img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.pk-grid .rec small {
  position: absolute;
  right: 6px;
  bottom: 5px;
  font-size: 12px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.pk-grid .rec.sel::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px #0a84ff;
}

/* Create · Analysing */
.an-bg {
  position: absolute;
  inset: 0;
  background: var(--mesh-aurora);
}

.an-phone {
  position: absolute;
  top: 88px;
  left: 50%;
  width: 196px;
  height: 426px;
  margin-left: -98px;
  padding: 5px;
  border-radius: 34px;
  background: linear-gradient(160deg, #4a4c52, #17181b 50%, #3a3c42);
  box-shadow: 0 0 40px rgba(255, 181, 71, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pscreen.big {
  height: 100%;
  border-radius: 29px;
  background: #000;
}

.pscreen.big video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: rgba(255, 181, 71, 0.16);
  border-bottom: 2px solid #ffb547;
  animation: scan 1.6s var(--ease-in-out) infinite alternate;
  transition: opacity 0.3s;
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(376px);
  }
}

.scr[data-scr='analyze'].found .scan {
  opacity: 0;
}

.marks {
  position: absolute;
  inset: 0;
}

.marks span {
  position: absolute;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.marks span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid #ffb547;
  animation: mark 1.8s cubic-bezier(0.33, 1, 0.68, 1) infinite;
}

.marks span::after {
  content: '';
  position: absolute;
  inset: 9.6px;
  border-radius: 50%;
  background: #ffb547;
  border: 2px solid #fff;
}

.marks span.on {
  opacity: 1;
}

@keyframes mark {
  from {
    opacity: 1;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

.an-done {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: #4ade80;
  color: #0a0a0b;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}

.an-done svg {
  width: 30px;
  height: 30px;
}

.an-done.on {
  opacity: 1;
  transform: scale(1);
}

.an-phase {
  position: absolute;
  top: 586px;
  left: 0;
  right: 0;
  text-align: center;
  font: 800 26px/1.2 var(--display);
  letter-spacing: -0.6px;
}

.an-phase span {
  color: #ffb547;
}

.an-bar {
  position: absolute;
  top: 634px;
  left: 28px;
  right: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.an-bar i {
  position: absolute;
  inset: 0;
  background: #ffb547;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.an-pct {
  position: absolute;
  top: 648px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #85858f;
  font-variant-numeric: tabular-nums;
}

.an-tiles {
  position: absolute;
  top: 676px;
  left: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.an-tiles span {
  display: grid;
  place-items: center;
  padding: 12px 0;
  border-radius: 18px;
  background: rgba(20, 20, 24, 0.72);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #85858f;
}

.an-tiles b {
  font: 800 24px/1.2 var(--text-font);
  color: #f5f5f7;
  font-variant-numeric: tabular-nums;
}

.an-cancel {
  position: absolute;
  top: 778px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.7);
  transition: opacity 0.3s;
}

/* the finger travels instead of jumping */
.finger {
  transition: transform 0.7s var(--ease-out), opacity 0.3s var(--ease-out);
}

.finger.press {
  transition: transform 0.12s ease-out, opacity 0.3s;
}

/* ── Phones and small screens: phone up top, words underneath ─────────────────────────────── */

@media (max-width: 860px) {
  .film {
    height: 820vh;
  }
  .cluster {
    --dw: min(calc(56svh * 0.4793), 60vw);
  }
  .cap,
  .cap.L,
  .cap.R,
  .cap.LT {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: auto;
    bottom: calc(env(safe-area-inset-bottom) + 26px);
    gap: 12px;
    transform: translate3d(0, 24px, 0);
  }
  .cap.on {
    transform: translate3d(0, 0, 0);
  }
  .cap.gone {
    transform: translate3d(0, -24px, 0);
  }
  .cap h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.4rem);
  }
  .cap > p {
    font-size: 0.98rem;
  }
  .cap-hero,
  .cap.cap-hero {
    top: 90px;
    bottom: auto;
    gap: 18px;
  }
  .cap-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.3rem);
  }
  .cap-hero .lead {
    font-size: 1rem;
  }
  .scroll-hint,
  .chapters,
  .cluster .floor {
    display: none;
  }
  .stage::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(9, 9, 11, 0.88) 45%);
  }
  /* floating pieces sit closer and smaller */
  .chip {
    height: 34px;
    font-size: 0.78rem;
    padding: 0 11px 0 9px;
  }
  .chip small {
    display: none;
  }
  .tiles {
    left: calc(100% - var(--dw) * 0.05);
    width: calc(var(--dw) * 0.62);
    gap: 10px;
  }
  .tiles span {
    font-size: 0.72rem;
  }
  .tiles i {
    border-radius: 14px;
  }
  .loupe {
    left: calc(var(--dw) * -0.38);
    width: calc(var(--dw) * 0.62);
  }
  .twins.on .t1 {
    transform: translate3d(calc(var(--dw) * 0.62), 6%, -160px) rotateY(-18deg) scale(0.62);
  }
  .twins.on .t2 {
    transform: translate3d(calc(var(--dw) * -0.62), 6%, -160px) rotateY(18deg) scale(0.62);
  }
  .twin span {
    display: none;
  }
  .outputs.on .o916 {
    transform: translate3d(calc(-50% - var(--dw) * 0.72), calc(-50% + var(--dh) * 0.12), 80px) rotateY(12deg) scale(0.7);
  }
  .outputs.on .o11 {
    transform: translate3d(calc(-50% + var(--dw) * 0.7), calc(-50% + var(--dh) * 0.2), 90px) rotateY(-10deg) scale(0.7);
  }
  .outputs.on .o169 {
    transform: translate3d(-50%, calc(-50% - var(--dh) * 0.38), 100px) scale(0.62);
  }
  .out figcaption {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover,
  .scan,
  .marks span::before {
    animation: none;
  }
  .cluster,
  .device,
  .chip,
  .tiles,
  .twin,
  .loupe,
  .out,
  .cap,
  .finger {
    transition-duration: 0.01s !important;
  }
}

/* ══ After the film: why, who, roadmap, questions ═════════════════════════════════════════════ */

/* why: what Zoomcut replaces */
.vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 32px);
}

.vs-col {
  border-radius: var(--radius-panel);
  padding: clamp(26px, 3.6vw, 40px);
  display: grid;
  align-content: start;
  gap: 22px;
}

.vs-col h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.vs-col ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.vs-col.old {
  background: rgba(19, 19, 22, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
}

.vs-col.old h3 {
  color: var(--dim);
}

.vs-col.old ol {
  counter-reset: s;
}

.vs-col.old li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 28px 1fr;
  color: var(--dim);
  font-size: 1rem;
  text-decoration: line-through;
  text-decoration-color: rgba(142, 142, 152, 0.5);
}

.vs-col.old li::before {
  content: counter(s);
  font: 700 0.85rem/1.7 var(--display);
  color: var(--faint, #4a4a52);
  text-decoration: none;
}

.vs-col.new {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 181, 71, 0.14), transparent 70%),
    rgba(19, 19, 22, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.vs-col.new li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 1.04rem;
  color: var(--text-2);
}

.vs-col.new li svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 1px;
}

.vs-col.new li b {
  color: var(--text);
  font-weight: 650;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  margin: clamp(36px, 5vw, 56px) 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.specs div {
  flex: 1 1 160px;
  padding: 22px 20px 22px 0;
  display: grid;
  gap: 6px;
}

.specs div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.specs dt {
  font-size: 0.85rem;
  color: var(--dim);
}

.specs dd {
  margin: 0;
  font: 800 clamp(1.4rem, 2.2vw, 1.9rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .vs {
    grid-template-columns: 1fr;
  }
  .specs div + div {
    border-left: 0;
    padding-left: 0;
  }
  .specs div {
    flex-basis: 45%;
    border-bottom: 1px solid var(--line);
  }
}

/* who */
.who-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.who-list li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(26px, 3.4vw, 40px) clamp(0px, 3vw, 40px) clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}

.who-list li:nth-child(even) {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.who-list h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
}

.who-list p {
  color: var(--text-2);
  max-width: 34em;
}

.who-list span {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent);
}

@media (max-width: 760px) {
  .who-list {
    grid-template-columns: 1fr;
  }
  .who-list li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

/* roadmap: a timeline like the Studio's, with a dot per stage */
.road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-top: 46px;
}

.road-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
}

.road-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent) 0 34%, rgba(255, 181, 71, 0.4) 34% 67%, rgba(255, 255, 255, 0.14) 67%);
}

.road-track i {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.road-track .now {
  left: 0;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 181, 71, 0.2);
}

.road-track .next {
  left: calc(33.33% + 13px);
  background: var(--bg);
  border: 3px solid var(--accent);
}

.road-track .later {
  left: calc(66.66% + 26px);
  background: var(--bg);
  border: 2px dashed rgba(255, 255, 255, 0.4);
}

.lane {
  display: grid;
  align-content: start;
  gap: 16px;
}

.lane .tag {
  font: 800 0.8rem/1 var(--text-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.now {
  color: var(--accent);
}

.tag.next {
  color: var(--text);
}

.tag.later {
  color: var(--dim);
}

.lane ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.lane li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(19, 19, 22, 0.66);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.45;
}

.lane li b {
  color: var(--text);
  font-weight: 650;
}

.lane:last-child li:last-child {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  border: 0;
  outline: 1px dashed rgba(255, 255, 255, 0.22);
  outline-offset: -1px;
  box-shadow: none;
  color: var(--dim);
}

.road-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 21px;
  background: var(--text);
  color: var(--on-light);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s var(--ease-out);
}

.road-cta:active {
  transform: scale(0.97);
}

@media (max-width: 860px) {
  .road {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-left: 34px;
  }
  .road-track {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 18px;
    height: auto;
  }
  .road-track::before {
    left: 8px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent) 0 34%, rgba(255, 181, 71, 0.4) 34% 67%, rgba(255, 255, 255, 0.14) 67%);
  }
  .road-track .now {
    left: 0;
    top: 0;
  }
  .road-track .next {
    left: 0;
    top: 36%;
  }
  .road-track .later {
    left: 0;
    top: 70%;
  }
}

/* questions */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq-wrap .faq {
  max-width: none;
}

.faq-more {
  grid-column: 2;
  color: var(--dim);
}

.faq-more a {
  color: var(--accent);
}

@media (max-width: 860px) {
  .faq-wrap {
    grid-template-columns: 1fr;
  }
  .faq-more {
    grid-column: 1;
  }
}

@media (max-width: 860px) {
  .road-track i {
    display: none;
  }
  .lane .tag {
    position: relative;
  }
  .lane .tag::before {
    content: '';
    position: absolute;
    left: -34px;
    top: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-sizing: border-box;
  }
  .tag.now::before {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(255, 181, 71, 0.2);
  }
  .tag.next::before {
    background: var(--bg);
    border: 3px solid var(--accent);
  }
  .tag.later::before {
    background: var(--bg);
    border: 2px dashed rgba(255, 255, 255, 0.4);
  }
}

/* ══ The app's vibe after the film: living backdrops, glass, motion that explains ═════════════ */

/* the backdrop drifts slowly, like the app's mesh background */
.world .mesh.on {
  animation: drift 26s var(--ease-in-out) infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: scale(1.14) translate3d(-2.5%, 1.8%, 0) rotate(2.5deg);
  }
}

.world .shade {
  transition: background-color 0.8s var(--ease-out);
}

/* glass, the app's material */
.vs-col.old,
.who-list li,
.lane li,
.plan,
.faq-wrap .faq,
.compare {
  background: rgba(18, 18, 22, 0.42);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.vs-col.new {
  background: radial-gradient(80% 70% at 100% 0%, rgba(255, 181, 71, 0.16), transparent 70%), rgba(18, 18, 22, 0.42);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.plan.pro {
  background: radial-gradient(70% 60% at 100% 0%, rgba(255, 181, 71, 0.18), transparent 70%), rgba(18, 18, 22, 0.42);
}

.footer {
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* headings rise out of a mask instead of fading */
.js .section h2[data-reveal],
.js .close h2[data-reveal] {
  clip-path: inset(0 -10% 100% -10%);
  translate: 0 0.5em;
  opacity: 1;
  transition: clip-path 1.1s var(--ease-out), translate 1.1s var(--ease-out);
}

.js .section h2[data-reveal].is-in,
.js .close h2[data-reveal].is-in {
  clip-path: inset(-20% -10% -30% -10%);
  translate: 0 0;
}

/* ── Why ─────────────────────────────────────────────────────────────────────────────────── */

.kf {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.kf-ruler {
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 8.33%);
}

.kf-lane {
  position: relative;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* by hand: diamonds pile up one at a time */
.kf-lane i {
  position: absolute;
  top: calc(30% + var(--row) * 40%);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  rotate: 45deg;
  border-radius: 2px;
  background: #c9c9d0;
  opacity: 0;
  scale: 0.3;
}

.old.play .kf-lane i {
  animation: kf-pop 0.4s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 95ms);
}

@keyframes kf-pop {
  to {
    opacity: 0.9;
    scale: 1;
  }
}

.kf-note {
  font-size: 0.82rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.kf-note b {
  color: var(--text);
}

/* the manual steps get crossed out once the diamonds are in */
.vs-col.old li {
  position: relative;
  text-decoration: none;
}

.vs-col.old li::after {
  content: '';
  position: absolute;
  left: 28px;
  right: 0;
  top: 0.8em;
  height: 1.5px;
  background: rgba(142, 142, 152, 0.7);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.old.play li::after {
  animation: strike 0.6s var(--ease-out) forwards;
}
.old.play li:nth-child(1)::after { animation-delay: 2.5s; }
.old.play li:nth-child(2)::after { animation-delay: 2.65s; }
.old.play li:nth-child(3)::after { animation-delay: 2.8s; }
.old.play li:nth-child(4)::after { animation-delay: 2.95s; }
.old.play li:nth-child(5)::after { animation-delay: 3.1s; }
.old.play li:nth-child(6)::after { animation-delay: 3.25s; }

@keyframes strike {
  to {
    transform: scaleX(1);
  }
}

/* Zoomcut: one scan, and every tap lands */
.zc .sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
  box-shadow: -30px 0 30px rgba(255, 181, 71, 0.25);
  opacity: 0;
}

.new.play .sweep {
  animation: sweep 1.5s var(--ease-in-out) 0.3s forwards;
}

@keyframes sweep {
  0% {
    opacity: 1;
    left: 0;
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 100%;
  }
}

.zc .kf-lane i {
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  rotate: 0deg;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.22);
}

.new.play .kf-lane i {
  animation: kf-pop 0.45s var(--ease-out) forwards;
  animation-delay: calc(0.3s + var(--at) * 1.4s);
}

.vs-col.new li {
  opacity: 0;
  translate: 0 10px;
}

.new.play li {
  animation: rise 0.6s var(--ease-out) forwards;
}
.new.play li:nth-child(1) { animation-delay: 1.9s; }
.new.play li:nth-child(2) { animation-delay: 2.05s; }
.new.play li:nth-child(3) { animation-delay: 2.2s; }
.new.play li:nth-child(4) { animation-delay: 2.35s; }

@keyframes rise {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.specs {
  border-color: rgba(255, 255, 255, 0.18);
}

/* ── Who: a live output per audience ─────────────────────────────────────────────────────── */

.who-list {
  border-top: 0;
  gap: clamp(16px, 2.4vw, 24px);
}

.who-list li,
.who-list li:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(16px, 2.4vw, 28px);
  padding: clamp(22px, 3vw, 32px);
  border: 0;
  border-radius: var(--radius-panel);
}

.who-list li > :not(.who-vis) {
  grid-column: 1;
}

.who-vis {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.who-vis small {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--dim);
}

.wv-cam {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--mesh-magma);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 40px -18px rgba(0, 0, 0, 0.7);
}

.who-list li:nth-child(1) .wv-cam { background: var(--mesh-aurora); }
.who-list li:nth-child(2) .wv-cam { background: var(--mesh-lagoon); }
.who-list li:nth-child(3) .wv-cam { background: var(--mesh-rose); }
.who-list li:nth-child(4) .wv-cam { background: var(--mesh-nebula); }

.v916 .wv-cam { width: 96px; aspect-ratio: 9 / 16; }
.v43 .wv-cam { width: 132px; aspect-ratio: 4 / 3; }
.v11 .wv-cam { width: 122px; aspect-ratio: 1; }
.v169 .wv-cam { width: 160px; aspect-ratio: 16 / 9; }

.wv-phone {
  position: relative;
  height: 84%;
  aspect-ratio: 0.47;
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(160deg, #4a4c52, #17181b 50%, #3a3c42);
  transform-origin: var(--ox) var(--oy);
  animation: dive 5.2s var(--ease-in-out) infinite;
}

.who-list li:nth-child(2) .wv-phone { animation-delay: -1.3s; }
.who-list li:nth-child(3) .wv-phone { animation-delay: -2.6s; }
.who-list li:nth-child(4) .wv-phone { animation-delay: -3.9s; }

.wv-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.wv-ring {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: 22%;
  aspect-ratio: 1;
  margin: -11% 0 0 -11%;
  border-radius: 50%;
  border: 1.5px solid rgba(90, 90, 104, 0.8);
  background: rgba(60, 60, 72, 0.25);
  opacity: 0;
  animation: wv-ring 5.2s var(--ease-out) infinite;
  animation-delay: inherit;
}

.who-list li:nth-child(2) .wv-ring { animation-delay: -1.3s; }
.who-list li:nth-child(3) .wv-ring { animation-delay: -2.6s; }
.who-list li:nth-child(4) .wv-ring { animation-delay: -3.9s; }

/* the camera glides in on the tap, holds, glides back out */
@keyframes dive {
  0%, 12% { transform: scale(1); }
  32%, 62% { transform: scale(2.1); }
  82%, 100% { transform: scale(1); }
}

@keyframes wv-ring {
  0%, 30% { opacity: 0; transform: scale(0.4); }
  34% { opacity: 1; transform: scale(0.6); }
  48% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; }
}

@media (max-width: 760px) {
  .who-list li,
  .who-list li:nth-child(even) {
    padding: 22px;
  }
  .v169 .wv-cam { width: 120px; }
  .v43 .wv-cam { width: 104px; }
  .v11 .wv-cam { width: 92px; }
  .v916 .wv-cam { width: 74px; }
}

/* ── Privacy: recordings circle inside the phone and never leave ─────────────────────────── */

.private-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.vault {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.vault-phone {
  position: relative;
  width: clamp(120px, 14vw, 170px);
  aspect-ratio: 0.48;
  border-radius: 30px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: rgba(18, 18, 22, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 40px rgba(255, 181, 71, 0.12), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
}

.vault-lock {
  width: 34%;
  height: auto;
  color: var(--accent);
}

.vault-orbit {
  position: absolute;
  inset: 16% 12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 181, 71, 0.45);
  animation: orbit 9s linear infinite;
}

.vault-orbit i {
  position: absolute;
  width: 28%;
  aspect-ratio: 0.6;
  border-radius: 5px;
  background: url(assets/recording-poster.jpg) center / cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 8px 18px rgba(0, 0, 0, 0.5);
}

.vault-orbit i:nth-child(1) { left: 50%; top: -10%; translate: -50% 0; }
.vault-orbit i:nth-child(2) { left: -8%; bottom: 8%; }
.vault-orbit i:nth-child(3) { right: -8%; bottom: 8%; }

.vault-orbit i {
  animation: orbit 9s linear infinite reverse;
}

@keyframes orbit {
  to {
    rotate: 360deg;
  }
}

.vault-cloud {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: rgba(245, 245, 247, 0.5);
  font-size: 0.82rem;
  font-weight: 650;
}

.vault-cloud svg {
  width: 64px;
  height: auto;
}

@media (max-width: 860px) {
  .private-grid {
    grid-template-columns: 1fr;
  }
  .vault {
    justify-self: start;
  }
}

/* ── Free / Pro, side by side in one frame ───────────────────────────────────────────────── */

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-panel);
}

.cmp-stage {
  display: grid;
  place-items: center;
}

.cmp-canvas {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mesh-nebula);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 70px -30px rgba(0, 0, 0, 0.8);
}

.cmp-phone {
  height: 86%;
  aspect-ratio: 0.47;
  padding: 5px;
  border-radius: 34px;
  background: linear-gradient(160deg, #4a4c52, #17181b 50%, #3a3c42);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8);
  transition: background 0.6s var(--ease-out);
}

.pro .cmp-phone {
  background: linear-gradient(160deg, #f4a06a, #b8561e 45%, #e2702e 80%, #f2a274);
}

.cmp-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #f4f4f7;
}

.cmp-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmp-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 11%;
  background: #f4f4f7;
  color: #0b0b12;
  font: 700 11px/1 var(--text-font);
}

.cmp-t {
  padding: 2px 6px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  transition: background-color 0.4s, color 0.4s, padding 0.4s;
}

.pro .cmp-t {
  background: transparent;
  color: #0b0b12;
  padding-left: 0;
}

.cmp-i {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
}
.cmp-i i {
  width: 2.5px;
  background: #0b0b12;
  border-radius: 1px;
  transition: opacity 0.4s;
}
.cmp-i i:nth-child(1) { height: 4px; }
.cmp-i i:nth-child(2) { height: 6px; }
.cmp-i i:nth-child(3) { height: 8px; }
.cmp-i i:nth-child(4) { height: 10px; }
.cmp-i i.d { opacity: 0.22; }
.pro .cmp-i i.d { opacity: 1; }
.cmp-i b {
  width: 18px;
  height: 9px;
  margin-left: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0b0b12 28%, rgba(11, 11, 18, 0.2) 28%);
}
.pro .cmp-i b {
  background: #0b0b12;
}

.cmp-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px 0 7px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 650 11px/1 var(--text-font);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}

.cmp-badge svg {
  width: 13px;
  height: 13px;
}

.pro .cmp-badge {
  opacity: 0;
  transform: translateY(8px);
}

.cmp-res {
  position: absolute;
  left: 12px;
  top: 12px;
  height: 26px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 800 12px/1 var(--display);
  transition: background-color 0.4s, color 0.4s;
}

.pro .cmp-res {
  background: var(--accent);
  color: var(--on-light);
}

.cmp-side {
  display: grid;
  gap: 22px;
}

.cmp-toggle {
  justify-self: start;
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(40, 40, 46, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cmp-toggle button {
  height: 38px;
  min-width: 92px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 700 0.95rem/1 var(--text-font);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.cmp-toggle button[aria-pressed='true'] {
  background: var(--text);
  color: var(--on-light);
}

.cmp-toggle button[data-mode='pro'][aria-pressed='true'] {
  background: var(--accent);
}

.cmp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.cmp-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cmp-list b {
  font-weight: 650;
}

.cmp-list span {
  color: var(--dim);
  text-align: right;
  transition: color 0.4s;
}

.pro .cmp-list span {
  color: var(--accent);
}

@media (max-width: 860px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* ── Roadmap: a line that fills with scroll ──────────────────────────────────────────────── */

.road-track::before {
  background: rgba(255, 255, 255, 0.16);
}

.road-track .fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.road-track i {
  scale: 0.6;
  opacity: 0.5;
  transition: scale 0.5s var(--ease-out), opacity 0.4s, box-shadow 0.5s;
}

.road-track i.lit {
  scale: 1;
  opacity: 1;
}

.road-track .now.lit {
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.5); }
  100% { box-shadow: 0 0 0 16px rgba(255, 181, 71, 0); }
}

.lane li {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s var(--ease-out), translate 0.7s var(--ease-out);
}

.road-track:has(.now.lit) ~ .lane:nth-of-type(2) li,
.road-track:has(.next.lit) ~ .lane:nth-of-type(3) li,
.road-track:has(.later.lit) ~ .lane:nth-of-type(4) li {
  opacity: 1;
  translate: 0 0;
}

.lane li:nth-child(2) { transition-delay: 60ms; }
.lane li:nth-child(3) { transition-delay: 120ms; }
.lane li:nth-child(4) { transition-delay: 180ms; }
.lane li:nth-child(5) { transition-delay: 240ms; }
.lane li:nth-child(6) { transition-delay: 300ms; }

@media (max-width: 860px) {
  .road-track .fill {
    left: 8px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform-origin: 50% 0;
    transform: scaleY(var(--p, 0));
  }
}

/* ── FAQ: answers open smoothly ──────────────────────────────────────────────────────────── */

.faq-wrap .faq {
  border-top: 0;
  padding: 6px 24px;
  border-radius: var(--radius-panel);
}

.faq-wrap .faq details:last-child {
  border-bottom: 0;
}

.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

:root {
  interpolate-size: allow-keywords;
}

/* ── Close: the mark draws itself ────────────────────────────────────────────────────────── */

.big-mark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.big-mark circle {
  scale: 0;
  transform-origin: 73px 73px;
}

.big-mark.drawn path {
  transition: stroke-dashoffset 1.2s var(--ease-in-out) 0.3s;
  stroke-dashoffset: 0;
}

.big-mark.drawn circle {
  transition: scale 0.5s var(--ease-out) 1.4s;
  scale: 1;
}

.close .big-mark {
  width: 120px;
  height: 120px;
  border-radius: 30px;
}

.close .big-mark svg {
  width: 82px;
  height: 82px;
}

/* ── Reduced motion: everything lands in place, nothing travels ──────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .world .mesh.on,
  .wv-phone,
  .wv-ring,
  .vault-orbit,
  .vault-orbit i,
  .road-track .now.lit {
    animation: none;
  }
  .js .section h2[data-reveal],
  .js .close h2[data-reveal] {
    clip-path: none;
    translate: none;
  }
  .kf-lane i,
  .vs-col.new li,
  .lane li {
    opacity: 1 !important;
    scale: 1 !important;
    translate: none !important;
    animation: none !important;
  }
  .vs-col.old li::after {
    transform: scaleX(1);
    animation: none !important;
  }
  .big-mark path {
    stroke-dashoffset: 0;
  }
  .big-mark circle {
    scale: 1;
  }
}

/* Who: clean cards, no thumbnails; the channels light up one after another */
.who-list li,
.who-list li:nth-child(even) {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .who-list li:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

.who-list span {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.6s var(--ease-out) 0.35s, translate 0.7s var(--ease-out) 0.35s;
}

.who-list li.is-in span {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .who-list span {
    opacity: 1;
    translate: none;
  }
}

.js .who-list li[data-reveal] {
  transition: opacity 0.9s var(--ease-out) var(--d, 0ms), translate 1.1s var(--ease-out) var(--d, 0ms), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Privacy: the words carry it. A fine line draws under the promise once the heading is in. */
.private h2 {
  max-width: 13ch;
}

.private .uline {
  position: relative;
  display: inline-block;
}

.private .uline::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.02em;
  height: 0.06em;
  min-height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-in-out) 0.7s;
}

.private h2.is-in .uline::after {
  transform: scaleX(1);
}

.private-list li {
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .private .uline::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* ── Free / Pro: one demo, two exports, a line you drag between them ─────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ba {
  --x: 50%;
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 26px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 70px -30px rgba(0, 0, 0, 0.8);
}

.ba-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ba-layer.free {
  background: var(--mesh-aurora);
}

.ba-layer.pro {
  background: var(--mesh-nebula);
  clip-path: inset(0 0 0 var(--x));
}

.ba-phone {
  height: 86%;
  aspect-ratio: 0.47;
  padding: 5px;
  border-radius: 34px;
  background: linear-gradient(160deg, #4a4c52, #17181b 50%, #3a3c42);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8);
}

.pro .ba-phone {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 6%, transparent 94%, rgba(255, 255, 255, 0.25)),
    linear-gradient(160deg, #f4a06a, #b8561e 45%, #e2702e 80%, #f2a274);
}

.ba-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #f4f4f7;
}

.ba-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 720p reads a touch softer than 4K */
.free .ba-screen img {
  filter: blur(0.6px) saturate(0.92);
}

.ba-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 11%;
  background: #f4f4f7;
  color: #0b0b12;
  font: 700 11px/1 var(--text-font);
}

.ba-t {
  padding: 2px 6px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
}

.ba-bar.clean .ba-t {
  padding: 0;
  background: none;
  color: #0b0b12;
}

.ba-i {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
}
.ba-i i {
  width: 2.5px;
  background: #0b0b12;
  border-radius: 1px;
}
.ba-i i:nth-child(1) { height: 4px; }
.ba-i i:nth-child(2) { height: 6px; }
.ba-i i:nth-child(3) { height: 8px; }
.ba-i i:nth-child(4) { height: 10px; }
.ba-i i.d { opacity: 0.22; }
.ba-i b {
  width: 18px;
  height: 9px;
  margin-left: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0b0b12 28%, rgba(11, 11, 18, 0.2) 28%);
}
.ba-bar.clean .ba-i b {
  background: #0b0b12;
}

.ba-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px 0 7px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 650 11px/1 var(--text-font);
}

.ba-badge svg {
  width: 13px;
  height: 13px;
}

.ba-tag {
  position: absolute;
  top: 12px;
  height: 28px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font: 750 12px/1 var(--text-font);
  letter-spacing: 0.02em;
}

.free .ba-tag {
  left: 12px;
}

.pro .ba-tag {
  right: 12px;
  background: var(--accent);
  color: var(--on-light);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0b;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  transition: scale 0.18s var(--ease-out);
}

.ba.dragging .ba-handle span {
  scale: 0.92;
}

.ba-handle svg {
  width: 20px;
  height: 20px;
}

.ba-range {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ba:has(.ba-range:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.cmp-hint {
  color: var(--text-2);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.cmp-table th,
.cmp-table td {
  padding: 13px 10px 13px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cmp-table thead th {
  font: 800 0.78rem/1 var(--text-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.cmp-table thead th:last-child {
  color: var(--accent);
}

.cmp-table tbody th {
  font-weight: 650;
  color: var(--text);
  width: 30%;
}

.cmp-table td {
  color: var(--dim);
}

.cmp-table td:last-child {
  color: var(--text);
}

.ba {
  container-type: size;
}

.ba-phone {
  height: 86cqh;
  width: calc(86cqh * 0.47);
  aspect-ratio: auto;
}

/* the slider's phones are the real iPhone: titanium frame, bezel, buttons, Dynamic Island */
.ba-iphone {
  --w: calc(84cqh * 0.4793);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 calc(var(--w) * 0.08) calc(var(--w) * 0.18) calc(var(--w) * -0.06) rgba(0, 0, 0, 0.75);
}

.ba-iphone .screen {
  background: #f4f4f7;
}

.ba-iphone .screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Cosmic Orange, lit like the titanium in the hero */
.ba-iphone.orange {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 5%, transparent 95%, rgba(255, 255, 255, 0.3)),
    linear-gradient(160deg, #f7b083 0%, #c9632a 22%, #a84f1c 50%, #d4703a 78%, #f0a072 100%);
}

.ba-iphone.orange .key {
  background: linear-gradient(90deg, #a24a18, #f0a072 60%, #b0561f);
}

/* the status bar sits either side of the island, as on iOS */
.ba-iphone .ba-bar {
  z-index: 2;
  height: 6.2%;
  padding: 0.6% 9% 0 12%;
  background: #f4f4f7;
  font-size: calc(var(--w) * 0.045);
}

.ba-iphone .ba-t {
  padding: 1px calc(var(--w) * 0.02);
  border-radius: calc(var(--w) * 0.03);
}

.ba-iphone .ba-bar.clean .ba-t {
  padding: 0;
}

.ba-iphone .island {
  z-index: 3;
}

.free .ba-iphone .screen > img {
  filter: blur(0.6px) saturate(0.92);
}

/* Dynamic Island in the slider phones: 126 × 37 pt, 11 pt from the top of a 402 pt screen */
.ba-iphone .screen .island {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--w) * 0.0254);
  width: calc(var(--w) * 0.291);
  height: calc(var(--w) * 0.0855);
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}

/* one steady backdrop crossfade, slow enough never to flash */
.world .mesh {
  transition: opacity 1.6s var(--ease-in-out);
}

.world .shade {
  transition: background-color 1.4s var(--ease-in-out);
}

@property --shade {
  syntax: '<number>';
  inherits: true;
  initial-value: 0.42;
}

.world .shade {
  transition: --shade 1.4s var(--ease-in-out);
}

/* before: the island shows iOS's red screen-recording dot, as in the raw recording */
.free .ba-iphone .screen .island::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14%;
  width: calc(var(--w) * 0.026);
  height: calc(var(--w) * 0.026);
  translate: 0 -50%;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 calc(var(--w) * 0.012) rgba(255, 59, 48, 0.8);
  animation: rec 1.6s ease-in-out infinite;
}

@keyframes rec {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .free .ba-iphone .screen .island::after {
    animation: none;
  }
}

/* On Dynamic Island iPhones the recording shows as a dot in the island; the clock stays plain. */
.ba-iphone .ba-t,
.psb .t,
.lbar .lt {
  padding: 0 !important;
  background: none !important;
  color: #0b0b12 !important;
}

/* Studio preview: the same dot in its little island until the clean status bar is on */
.pisland::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14%;
  width: 3px;
  height: 3px;
  translate: 0 -50%;
  border-radius: 50%;
  background: #ff3b30;
  transition: opacity 0.3s;
}

.psb.clean ~ .pisland::after {
  opacity: 0;
}

/* the loupe: an island between the clock and the icons, with the dot before, clean after */
.lbar {
  position: relative;
}

.lbar::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 1.15em;
  translate: -50% -50%;
  border-radius: 999px;
  background: radial-gradient(circle at 82% 50%, #ff3b30 0 0.16em, transparent 0.17em), #000;
  transition: background 0.4s;
}

.lbar.clean::after {
  background: #000;
}

.lbar::after {
  width: 24%;
}

/* mid-size screens (small laptops, tablets in landscape): a smaller phone and narrower captions */
@media (min-width: 861px) and (max-width: 1200px) {
  .cluster {
    --dw: calc(min(72vh, 780px) * 0.4793);
  }
  .cap,
  .cap.N {
    width: min(30vw, 400px);
  }
  .cap-hero {
    width: min(36vw, 460px);
  }
  .cap h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
  }
}

/* tighter rhythm between sections */
:root {
  --section: clamp(64px, 8vw, 112px);
}

.section-head {
  margin-bottom: clamp(30px, 4.2vw, 52px);
}

.close {
  padding-block: clamp(72px, 9vw, 120px);
}

.close .inner {
  gap: 24px;
}

.specs {
  margin-top: clamp(28px, 3.6vw, 44px);
}

.footer {
  padding-block: 32px 40px;
}

.footer .legal {
  font-size: 0.82rem;
  color: rgba(142, 142, 152, 0.85);
}

.plan .price a {
  color: var(--text-2);
}

/* The mark drawing itself: white stroke, then the amber tap dot lands (as in the app's intro) */
.zdraw {
  width: clamp(84px, 9vw, 120px);
  height: auto;
  overflow: visible;
}

.zdraw path {
  fill: none;
  stroke: #f5f5f7;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.zdraw circle {
  fill: var(--accent);
  scale: 0;
  transform-origin: 73px 73px;
}

.zdraw.drawn path {
  transition: stroke-dashoffset 1.3s var(--ease-in-out) 0.2s;
  stroke-dashoffset: 0;
}

.zdraw.drawn circle {
  transition: scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s;
  scale: 1;
}

@media (prefers-reduced-motion: reduce) {
  .zdraw path {
    stroke-dashoffset: 0;
  }
  .zdraw circle {
    scale: 1;
  }
}

.zdraw.drawn circle {
  transition: scale 0.6s var(--ease-out) 1.4s;
}

/* ══ Coming soon ══════════════════════════════════════════════════════════════════════════════ */

.soon {
  padding-top: clamp(96px, 12vh, 140px);
}

.soon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  min-height: calc(100svh - 140px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.soon-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.soon-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

/* countdown */
.cd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 92px));
  gap: 10px;
  margin-top: 6px;
}

.cd > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 0 12px;
  border-radius: 18px;
  background: rgba(18, 18, 22, 0.45);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.cd b {
  display: block;
  font: 800 clamp(1.9rem, 3.4vw, 2.6rem) / 1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cd b.tick {
  animation: cd-tick 0.42s var(--ease-out);
}

@keyframes cd-tick {
  from {
    transform: translateY(-40%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.cd span {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cd-date {
  margin-top: -10px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.cd-out {
  display: grid;
  gap: 14px;
}

.cd-out-t {
  font: 800 clamp(1.6rem, 2.6vw, 2.2rem) / 1.1 var(--display);
}

/* waitlist */
.wl {
  display: flex;
  gap: 8px;
  width: min(100%, 470px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.5);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.3s var(--ease-out);
}

.wl:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.wl input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 500 1rem var(--text-font);
  caret-color: var(--accent);
  outline: none;
}

.wl input::placeholder {
  color: rgba(245, 245, 247, 0.4);
}

.wl button {
  flex: none;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--on-light);
  font: 750 0.98rem var(--text-font);
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.3s;
}

.wl button:active {
  transform: scale(0.97);
}

.wl button:disabled {
  opacity: 0.7;
  cursor: default;
}

.wl.done button {
  background: var(--accent);
  opacity: 1;
}

.wl-note {
  margin-top: -12px;
  font-size: 0.88rem;
  color: var(--dim);
}

.wl-note[data-kind='error'] {
  color: #ff9b8f;
}

.wl-note[data-kind='ok'] {
  color: var(--accent);
}

/* live demo */
.soon-demo {
  perspective: 1800px;
  display: grid;
  justify-items: center;
}

.sd-tilt {
  display: grid;
  gap: 16px;
  justify-items: center;
  transform: rotateY(-16deg) rotateX(6deg);
  transform-style: preserve-3d;
  animation: sd-float 7s var(--ease-in-out) infinite alternate;
}

@keyframes sd-float {
  from {
    transform: rotateY(-16deg) rotateX(6deg) translateY(-6px);
  }
  to {
    transform: rotateY(-10deg) rotateX(4deg) translateY(8px);
  }
}

.sd-canvas {
  position: relative;
  width: min(100%, 500px, 64vh);
  aspect-ratio: 1;
  overflow: hidden;
  container-type: size;
  border-radius: 28px;
  background: var(--mesh-nebula);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 90px -40px rgba(0, 0, 0, 0.85);
}

.sd-cam {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-origin: 0 0;
  will-change: transform;
}

.sd-phone {
  --w: calc(84cqh * 0.4793);
}

.sd-phone .screen {
  background: #f4f4f7;
}

.sd-phone .screen > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-phone .island {
  z-index: 3;
}

.sd-ripple {
  position: absolute;
  z-index: 4;
  width: 15%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px solid rgba(90, 90, 104, 0.6);
  background: radial-gradient(circle, rgba(60, 60, 72, 0.3) 0 40%, transparent 41%);
  pointer-events: none;
}

.sd-cap {
  font-size: 0.85rem;
  color: var(--dim);
}

/* what it does */
.soon-steps {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.soon-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.soon-steps li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius-panel);
  background: rgba(18, 18, 22, 0.42);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.soon-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font: 800 0.95rem/1 var(--display);
}

.soon-steps h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.soon-steps p {
  color: var(--text-2);
}

.soon-facts {
  margin-top: 22px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--dim);
}

@media (max-width: 860px) {
  .soon-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .soon-demo {
    order: -1;
  }
  .sd-canvas {
    width: min(100%, 360px);
  }
  .soon-steps ol {
    grid-template-columns: 1fr;
  }
  .cd {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .wl {
    width: 100%;
  }
  .wl button {
    padding: 0 16px;
  }
}

@media (max-width: 400px) {
  .wl {
    flex-direction: column;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-tilt,
  .cd b.tick {
    animation: none;
  }
}

.cd-out[hidden],
.cd[hidden],
.cd-date[hidden] {
  display: none;
}

.sd-tilt {
  width: 100%;
}

.sd-canvas {
  width: min(36vw, 520px, 66vh);
}

@media (max-width: 860px) {
  .sd-canvas {
    width: min(86vw, 380px);
  }
}

/* ── Coming soon, round two: a real iPhone standing on its own ───────────────────────────── */

.soon-demo {
  position: relative;
  perspective: 1800px;
  display: grid;
  justify-items: center;
  padding-block: 10px 40px;
}

.sd-float {
  position: relative;
  transform-style: preserve-3d;
  animation: sd-float2 8s var(--ease-in-out) infinite alternate;
}

@keyframes sd-float2 {
  from {
    transform: rotateY(-18deg) rotateX(7deg) rotateZ(1.5deg) translateY(-6px);
  }
  to {
    transform: rotateY(-10deg) rotateX(4deg) rotateZ(0.5deg) translateY(8px);
  }
}

.sd-iphone {
  --w: min(28vw, 300px, calc(66vh * 0.4793));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.26) calc(var(--w) * -0.08) rgba(0, 0, 0, 0.8);
}

.sd-iphone .screen {
  background: #f4f4f7;
}

.sd-iphone .screen > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-iphone .screen .island {
  z-index: 3;
}

.sd-floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(26vw, 280px);
  height: 34px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  filter: blur(8px);
}

/* chips beside the phone, at the height of the tap */
.sd-chips {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 18px);
  width: 0;
  pointer-events: none;
}

.sd-chip {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 11px;
  border-radius: 20px;
  white-space: nowrap;
  background: rgba(22, 22, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  font: 650 0.86rem/1 var(--text-font);
  transform: translate3d(0, -50%, 0);
  opacity: 0;
}

.sd-chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.22);
}

.sd-chip b {
  color: var(--accent);
  font-weight: 750;
}

.sd-chip small {
  font-size: 0.76rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

/* phones: the words come first, the phone sits below, smaller */
@media (max-width: 860px) {
  .soon {
    padding-top: 92px;
  }
  .soon-hero {
    gap: 28px;
  }
  .soon-demo {
    order: 0;
    padding-bottom: 32px;
  }
  .sd-iphone {
    --w: min(52vw, 230px);
  }
  .sd-floor {
    width: min(46vw, 210px);
  }
  /* chips sit over the lower edge of the screen instead of beside it */
  .sd-chips {
    left: 50%;
    width: 0;
  }
  .sd-chip {
    left: auto;
    right: auto;
    translate: -50% 0;
    font-size: 0.78rem;
    height: 34px;
  }
  .sd-chip small {
    display: none;
  }
  .soon-copy .zdraw {
    width: 64px;
  }
  .soon-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-float {
    animation: none;
    transform: rotateY(-12deg) rotateX(5deg);
  }
}

/* ── Coming soon, round three: the export itself, with the raw recording beside it ──────── */

.soon-demo {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
  perspective: none;
  padding: 0;
}

.sx {
  position: relative;
  width: min(40vw, 560px, 70vh);
  aspect-ratio: 1;
  overflow: hidden;
  container-type: size;
  border-radius: 28px;
  background: var(--mesh-nebula);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 90px -40px rgba(0, 0, 0, 0.85);
}

.sx-cam {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-origin: 0 0;
  will-change: transform;
}

.sx-phone {
  --w: calc(82cqh * 0.4793);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 calc(var(--w) * 0.1) calc(var(--w) * 0.22) calc(var(--w) * -0.08) rgba(0, 0, 0, 0.75);
}

.sx-phone .screen {
  background: #f4f4f7;
}

.sx-phone .screen > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-phone .screen .island {
  z-index: 3;
}

.sx-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 9px;
  border-radius: 15px;
  background: rgba(10, 10, 12, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font: 700 0.78rem/1 var(--text-font);
}

.sx-tag svg {
  width: 15px;
  height: 15px;
}

/* the raw recording, pinned in the corner like picture-in-picture */
.sx-raw {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.sx-raw canvas {
  width: calc(100cqw * 0.16);
  height: auto;
  aspect-ratio: 160 / 348;
  border-radius: 10px;
  background: #f4f4f7;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 14px 30px -10px rgba(0, 0, 0, 0.7);
}

.sx-raw span {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.55);
  font: 650 0.68rem/1 var(--text-font);
  color: var(--text-2);
  white-space: nowrap;
}

.sx-cap {
  max-width: 34em;
  text-align: center;
  font-size: 0.88rem;
  color: var(--dim);
}

/* ── Phones: a centred, even hero ────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .soon {
    padding-top: 88px;
  }
  .soon-hero {
    gap: 30px;
    padding-bottom: 40px;
  }
  .soon-copy {
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .soon-copy .zdraw {
    width: 52px;
    margin-bottom: -4px;
  }
  .soon-copy h1 {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
    line-height: 1.04;
  }
  .soon-copy h1 em {
    display: block;
  }
  .soon-copy .lead {
    font-size: 1rem;
    max-width: 30ch;
  }
  .cd {
    margin-top: 4px;
  }
  .cd > div {
    padding: 12px 0 10px;
  }
  .cd b {
    font-size: 1.8rem;
  }
  .cd-date {
    margin-top: -6px;
    font-size: 0.85rem;
  }
  .wl-note {
    margin-top: -8px;
  }
  .soon-demo {
    width: 100%;
  }
  .sx {
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
  }
  .sx-raw canvas {
    width: calc(100cqw * 0.2);
  }
  .sx-cap {
    font-size: 0.82rem;
    max-width: 30ch;
  }
  .soon-facts {
    font-size: 0.84rem;
  }
}
