/* ==========================================================================
   NexCam — "Spotlight" design system, translated to the web.
   One subject, one light, everything else gone.
   Tokens taken verbatim from docs/design.md.
   ========================================================================== */

:root {
  /* Neutrals */
  --void:   #08090B;
  --onyx:   #101115;
  --slate:  #1B1C21;
  --slate2: #22232A;
  --ash:    #3A3B42;
  --pewter: #7A7B85;
  --bone:   #EFEBE2;
  --paper:  #F8F5EE;

  /* Accent + signal */
  --spotlight:     #E8B547;
  --spotlight-dim: #8A6A2E;
  --signal:        #D94A3C;

  /* Type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-text:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing (4pt base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 80px;

  /* Radius — nothing past 28 */
  --r-chip: 10px; --r-compact: 14px; --r-card: 20px; --r-sheet: 28px; --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-micro: 180ms;
  --t-enter: 600ms;

  /* Film grain (desaturated fractal noise, tiled) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --maxw: 1200px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--spotlight); color: var(--void); }

/* The stage: a top pool of light + a faint grain field, both fixed behind content. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -8%,
      #1B1D24 0%, #0E0F13 38%, var(--void) 72%);
  animation: lights 1500ms var(--ease-out) both;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain);
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: 0.08;
}
@keyframes lights { from { opacity: 0; } to { opacity: 1; } }

/* --- Layout helpers ------------------------------------------------------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--s5)); margin-inline: auto; }
.section { padding-block: clamp(72px, 12vw, 148px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
section[id], [id].head { scroll-margin-top: 96px; }
.lit { position: relative; isolation: isolate; }
.lit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 30%,
    rgba(232,181,71,0.07) 0%, rgba(232,181,71,0.02) 35%, transparent 68%);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s4); top: -64px; z-index: 200;
  background: var(--bone); color: var(--void); padding: 10px 16px;
  border-radius: var(--r-compact); font-weight: 600; transition: top var(--t-micro);
}
.skip:focus { top: var(--s4); }

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

/* --- Typography ----------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--pewter);
  display: inline-flex; align-items: center; gap: var(--s2);
}
.eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--spotlight);
  box-shadow: 0 0 8px 1px rgba(232,181,71,0.7);
}
.mono {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--pewter);
}
.display {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: -0.02em; line-height: 0.98; color: var(--bone);
}
.display em { font-style: italic; color: var(--bone); }
h1.display { font-size: clamp(3.1rem, 9vw, 7rem); }
h2.display { font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.0; }
h3.display { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; }
.lead { color: var(--pewter); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 46ch; }
.amber { color: var(--spotlight); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-text); font-weight: 500; font-size: 16px;
  letter-spacing: 0.01em; min-height: 56px; padding-inline: 28px;
  border-radius: var(--r-pill); white-space: nowrap;
  transition: transform var(--t-micro) var(--ease-out),
              box-shadow var(--t-micro) var(--ease-out),
              background-color var(--t-micro) var(--ease-out),
              filter var(--t-micro) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--accent {
  background: var(--spotlight); color: var(--void); font-weight: 600; min-height: 60px;
  box-shadow: 0 12px 40px rgba(232,181,71,0.30);
  position: relative; overflow: hidden;
}
.btn--accent::after {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  background-size: 180px; mix-blend-mode: overlay; opacity: 0.12; pointer-events: none;
}
.btn--accent:hover { box-shadow: 0 16px 52px rgba(232,181,71,0.42); filter: brightness(1.03); }
.btn--accent:active { box-shadow: 0 8px 22px rgba(232,181,71,0.20); transform: scale(0.96); }

.btn--primary { background: var(--bone); color: var(--void); box-shadow: 0 10px 30px rgba(239,235,226,0.10); }
.btn--primary:hover { filter: brightness(0.96); }

.btn--secondary { background: var(--slate); color: var(--bone); }
.btn--secondary:hover { background: var(--slate2); }

.btn--ghost {
  min-height: 44px; padding-inline: 8px; color: var(--pewter);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.btn--ghost:hover { color: var(--bone); }
.btn--ghost .arrow { transition: transform var(--t-micro) var(--ease-out); }
.btn--ghost:hover .arrow { transform: translateX(3px); }

/* App Store badge */
.badge {
  display: inline-flex; align-items: center; gap: 15px;
  background: var(--onyx); color: var(--bone);
  border: 1px solid rgba(239,235,226,0.16);
  border-radius: var(--r-compact); padding: 13px 24px 13px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(239,235,226,0.06);
  transition: transform var(--t-micro) var(--ease-out), border-color var(--t-micro) var(--ease-out), background-color var(--t-micro);
}
.badge:hover { transform: translateY(-2px); border-color: rgba(239,235,226,0.32); background: #14151A; }
.badge:active { transform: translateY(0) scale(0.98); }
.badge .apple { width: 26px; height: 26px; fill: var(--bone); }
.badge .badge__txt { display: flex; flex-direction: column; gap: 5px; line-height: 1; text-align: left; }
.badge .badge__sm { font-family: var(--font-mono); font-size: 9px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pewter); }
.badge .badge__lg { font-size: 18px; line-height: 1; font-weight: 600; letter-spacing: -0.01em; }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--onyx); border-radius: var(--r-card); padding: var(--s6);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(239,235,226,0.06);
  position: relative; overflow: hidden;
  transition: transform var(--t-enter) var(--ease-out), box-shadow var(--t-enter) var(--ease-out);
}
.card--l2 { background: var(--slate); }
.card__grain::before {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  background-size: 180px; mix-blend-mode: overlay; opacity: 0.06; pointer-events: none;
}

/* monoline icon disc */
.disc {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--slate);
  box-shadow: inset 0 1px 0 rgba(239,235,226,0.06);
  color: var(--bone);
}
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* --- Nav ------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: 18px clamp(16px, 4vw, 40px);
  transition: background-color var(--t-enter) var(--ease-out),
              backdrop-filter var(--t-enter), border-color var(--t-enter);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(16,17,21,0.72); backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: rgba(58,59,66,0.5);
}
.wordmark { display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  letter-spacing: 0.18em; color: var(--bone); }
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--spotlight);
  box-shadow: 0 0 10px 1px rgba(232,181,71,0.8); }
.nav__links { display: flex; align-items: center; gap: var(--s6); }
.nav__links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pewter); transition: color var(--t-micro);
}
.nav__links a:hover { color: var(--bone); }
.nav__cta { display: flex; align-items: center; gap: var(--s4); }
.nav__badge { padding: 8px 16px; }
.nav__badge .badge__lg { font-size: 15px; }
.nav__badge .badge__sm { font-size: 8px; }

/* Hamburger toggle — hidden on desktop, shown ≤720px (see media query). */
.nav__toggle {
  display: none; flex: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px;
  color: var(--bone); border-radius: var(--r-chip);
  transition: color var(--t-micro);
}
.nav__toggle .icon { width: 26px; height: 26px; }
.nav__toggle-close { display: none; }
/* The App Store badge inside the panel is mobile-only. */
.nav__links > .badge { display: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin: var(--s5) 0 var(--s5); }
/* Keyword subline inside the hero H1 — Inter, pewter, subordinate to the serif line. */
.hero__kw { display: block; font-family: var(--font-text); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: 0; line-height: 1.4;
  color: var(--pewter); margin-top: var(--s4); max-width: 32ch; }
.hero .lead { margin-bottom: var(--s6); }
.hero__cta { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.hero__reassure { margin-top: var(--s6); color: var(--pewter); }
.hero__reassure b { color: var(--bone); font-weight: 500; }

/* cursor-follow glow (enhancement) */
.glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  left: 0; top: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(232,181,71,0.10), transparent 62%);
  opacity: 0; transition: opacity 400ms var(--ease-out); mix-blend-mode: screen;
}

/* --- iPhone teleprompter mock --------------------------------------------- */
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone {
  position: relative; width: min(330px, 80vw); aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #26272E, #0c0d10 55%);
  box-shadow:
    0 50px 90px rgba(0,0,0,0.65),
    0 0 70px rgba(232,181,71,0.10),
    inset 0 1px 0 rgba(239,235,226,0.10);
  transform: rotate(-2.5deg);
  transition: transform var(--t-enter) var(--ease-out);
}
.phone:hover { transform: rotate(-1deg) translateY(-6px); }
.phone__screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background:
    radial-gradient(120% 50% at 50% 0%, #15161b 0%, #000 60%);
  display: flex; flex-direction: column;
}
/* The showcase still references .lens (with .lens--show), so keep this. */
.lens {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3b42, #0a0a0c 70%);
  box-shadow: 0 0 0 3px rgba(232,181,71,0.16), 0 0 16px 3px rgba(232,181,71,0.30);
}

/* --- Hero recording phone — faithful to the in-app Recording screen ----- */
/* All inner values use cqw (1% of the screen's inline size) so layout       */
/* scales cleanly from the desktop 330px phone down to the mobile 260px one. */
.phone--record .phone__screen {
  container-type: inline-size;
  background: #000;
}
.rec-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("screens/recording-bg.jpg") center / cover no-repeat #000;
}
.rec-island {
  position: absolute; top: 3cqw; left: 50%; transform: translateX(-50%);
  width: 32cqw; height: 8cqw; border-radius: 999px; background: #000;
  z-index: 4;
}
.rec-top {
  position: absolute; left: 0; right: 0; top: 13cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5cqw; z-index: 3;
}
.rec-x, .rec-expand, .rec-pause {
  border: 0; padding: 0; cursor: default;
  background: rgba(0,0,0,0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--bone); display: grid; place-items: center;
  border-radius: 50%;
}
.rec-x, .rec-expand { width: 11cqw; height: 11cqw; }
.rec-x svg, .rec-expand svg, .rec-pause svg {
  stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.rec-x svg, .rec-expand svg { width: 5.4cqw; height: 5.4cqw; }
.rec-timer {
  font-size: 4.4cqw; letter-spacing: 0.04em; color: var(--bone);
}

/* translucent prompter band — spans roughly the top 40% of the screen, just
   below the dynamic island; sized from measurements of the real screen capture. */
.rec-band {
  position: absolute; top: 18cqw; left: 5cqw; right: 5cqw; height: 72cqw;
  border-radius: 5cqw; overflow: hidden; z-index: 2;
  background: rgba(8,9,11,0.55);
  box-shadow: inset 0 1px 0 rgba(239,235,226,0.05);
}
.rec-band__handle {
  position: absolute; top: 1.8cqw; left: 50%; transform: translateX(-50%);
  width: 9cqw; height: 1cqw; border-radius: 999px;
  background: rgba(239,235,226,0.35);
}
.rec-band__fade {
  position: absolute; inset: 6cqw 5cqw 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.rec-band__track {
  position: absolute; inset-inline: 0; top: 0;
  animation: rec-prompt 28s linear infinite; will-change: transform;
}
@keyframes rec-prompt {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.rec-line {
  /* Mirror the app: SF Pro Rounded semibold via the CSS rounded generic.
     Apple visitors render the real system font; everyone else hits the
     bundled rounded fallbacks. */
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 8.4cqw; line-height: 1.28; letter-spacing: -0.01em;
  color: var(--bone); margin: 0; padding: 1.2cqw 0;
}
.rec-line--dim { color: var(--pewter); opacity: 0.75; }
.rec-mark {
  display: inline-block; vertical-align: -1.2cqw;
  width: 6cqw; height: 6cqw; border-radius: 50%;
  background: var(--spotlight);
  box-shadow: 0 0 1.8cqw rgba(232,181,71,0.35);
}

/* vertical sliders — pinned mid-screen, just below the prompter band */
.rec-slider {
  position: absolute; top: 93cqw; bottom: 80cqw;
  display: flex; flex-direction: column; align-items: center; gap: 0.6cqw;
  z-index: 2;
}
.rec-slider--left  { left: 3cqw; }
.rec-slider--right { right: 3cqw; }
.rec-slider__num   { font-size: 5cqw; color: var(--bone); line-height: 1; }
.rec-slider__label {
  font-size: 2.8cqw; color: var(--pewter);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.rec-slider__track {
  flex: 1; width: 1cqw; border-radius: 999px;
  background: rgba(239,235,226,0.22);
  position: relative;
  margin-top: 1.2cqw;
}
.rec-slider__thumb {
  position: absolute; left: 50%;
  top: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 5cqw; height: 11cqw; border-radius: 999px;
  background: var(--bone);
  box-shadow: 0 1cqw 2.2cqw rgba(0,0,0,0.55);
}

/* mode pill */
.rec-mode {
  position: absolute; left: 50%; bottom: 30cqw; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 1.6cqw;
  padding: 1.8cqw 4.4cqw; border-radius: 999px;
  background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-text); font-size: 3.6cqw; color: var(--bone);
  z-index: 2; white-space: nowrap;
}
.rec-mode svg {
  width: 4cqw; height: 4cqw; stroke: var(--bone);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none;
}

/* bottom controls (scrolling variant: small pause off to the left, big record stop centered) */
.rec-bottom {
  position: absolute; left: 0; right: 0; bottom: 5cqw;
  height: 20cqw; z-index: 3;
}
.rec-pause {
  position: absolute; bottom: 3.5cqw;
  left: calc(50% - 26cqw);
  width: 13cqw; height: 13cqw;
}
.rec-pause svg { width: 4.4cqw; height: 4.4cqw; }
.rec-stop {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20cqw; height: 20cqw; border-radius: 50%; padding: 0;
  background: transparent;
  border: 1cqw solid var(--bone);
  display: grid; place-items: center;
  cursor: default;
}
.rec-stop__inner {
  width: 8cqw; height: 8cqw; border-radius: 1.8cqw;
  background: var(--signal);
  box-shadow: 0 0 3cqw rgba(217,74,60,0.55);
}

/* --- Section heading block ------------------------------------------------ */
.head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .eyebrow { margin-bottom: var(--s4); }
.head .lead { margin-top: var(--s5); }

/* --- Wedges --------------------------------------------------------------- */
.wedges { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.wedge { padding: var(--s7) var(--s6) var(--s6); }
.wedge:nth-child(2) { transform: translateY(28px); }
.wedge:nth-child(3) { transform: translateY(56px); }
.wedge__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--spotlight); margin-bottom: var(--s6); }
.wedge h3 { margin-bottom: var(--s4); }
.wedge p { color: var(--pewter); font-size: 1.02rem; }
.wedge .disc { margin-bottom: var(--s5); }

/* --- Features grid -------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.feature { grid-column: span 2; padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.feature.wide { grid-column: span 3; }
.feature.tall { grid-column: span 3; }
.feature .disc { margin-bottom: var(--s2); }
.feature h3 { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.08; letter-spacing: -0.01em; }
.feature p { color: var(--pewter); font-size: 0.98rem; }
.feature .tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; padding-top: var(--s4); }
.tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pewter); border: 1px solid var(--ash); border-radius: var(--r-pill); padding: 5px 11px; }
.feature.spotlight-card { background: var(--slate); }
.feature.spotlight-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* --- Showcase (sticky phone + scrolling steps) --------------------------- */
.showcase { position: relative; isolation: isolate; }
.showcase::before {
  /* a faint amber wash, anchored to the phone column */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 28% 38%,
    rgba(232,181,71,0.08) 0%, rgba(232,181,71,0.02) 38%, transparent 70%);
}
.show-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.show-stage {
  position: sticky; top: 110px;
  height: min(82vh, 720px);
  display: flex; flex-direction: column; align-items: center; gap: var(--s5);
}
.show-phone {
  position: relative; height: 100%; aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #26272E, #0c0d10 55%);
  box-shadow:
    0 50px 90px rgba(0,0,0,0.6),
    0 0 70px rgba(232,181,71,0.10),
    inset 0 1px 0 rgba(239,235,226,0.10);
  transform: rotate(-1.5deg);
  transition: transform var(--t-enter) var(--ease-out);
}
.show-phone:hover { transform: rotate(0deg) translateY(-4px); }
.show-phone__screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: #000; isolation: isolate;
}
.show-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0;
  transition: opacity 480ms var(--ease-out);
  pointer-events: none;
}
.show-shot.is-active { opacity: 1; }
.lens--show {
  top: 22px;   /* tucks above the dynamic-island in the screenshot */
  z-index: 2;
}

/* step dots beneath the phone */
.show-dots {
  list-style: none; padding: 0; margin: 0;
  display: inline-flex; gap: 10px;
  background: rgba(16,17,21,0.5);
  border: 1px solid rgba(58,59,66,0.5);
  backdrop-filter: blur(10px) saturate(1.05);
  padding: 10px 14px; border-radius: var(--r-pill);
}
.show-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ash); padding: 0;
  transition: background-color var(--t-micro) var(--ease-out),
              transform var(--t-micro) var(--ease-out),
              box-shadow var(--t-micro) var(--ease-out);
}
.show-dot:hover { background: var(--pewter); }
.show-dot.is-active {
  background: var(--spotlight);
  transform: scale(1.25);
  box-shadow: 0 0 10px 1px rgba(232,181,71,0.55);
}

/* scrollable steps column */
.show-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(120px, 18vh, 220px);
  padding-block: clamp(40px, 8vh, 120px);
}
.show-step {
  display: grid; gap: var(--s4);
  padding: var(--s4) 0;
}
.show-step__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--spotlight); text-transform: uppercase;
}
.show-step h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.0; letter-spacing: -0.015em;
  color: var(--bone);
}
.show-step p {
  color: var(--pewter); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.55;
  max-width: 44ch;
}
.show-step__caption {
  margin-top: var(--s2); color: var(--ash);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.show-step.is-active .show-step__num { color: var(--spotlight); }
.show-step.is-active h3 { color: var(--bone); }
.show-step.is-active .show-step__caption { color: var(--pewter); }
/* Inactive steps fade slightly so the in-view step holds attention */
.show-step:not(.is-active) {
  opacity: 0.42;
  transition: opacity var(--t-enter) var(--ease-out);
}
.show-step.is-active { opacity: 1; }

@media (max-width: 960px) {
  .show-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .show-stage {
    /* Stays sticky on mobile so the phone is always in view as steps scroll past. */
    top: 84px;
    height: 58vh; min-height: 380px;
    width: 100%; margin-inline: auto;
    gap: var(--s3);
  }
  .show-phone { transform: none; }
  .show-steps { gap: clamp(48px, 14vh, 120px); padding-block: var(--s5) 0; }
  .show-step { text-align: center; justify-items: center; }
  .show-step p { margin-inline: auto; }
  .show-step:not(.is-active) { opacity: 1; }
}
@media (max-width: 720px) {
  .show-stage { height: 52vh; min-height: 340px; }
  .show-dots { padding: 8px 12px; }
  .show-dot { width: 7px; height: 7px; }
}

/* --- Audience ------------------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
.aud h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: var(--s3); }
.aud p { color: var(--pewter); font-size: 0.98rem; }
.aud .eyebrow { margin-bottom: var(--s4); }

/* --- Privacy band --------------------------------------------------------- */
.privacy-band { text-align: center; }
.privacy-band h2 { margin: 0 auto; max-width: 16ch; }
.privacy-band .lead { margin: var(--s5) auto 0; text-align: center; }
.privacy-row { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s5) var(--s7);
  margin-top: var(--s7); }
.privacy-row .item { display: inline-flex; align-items: center; gap: var(--s3); color: var(--bone); }
.privacy-row .mono { color: var(--pewter); }

/* --- Pricing -------------------------------------------------------------- */
.pricing { display: grid; place-items: center; }
.price-card { width: min(540px, 100%); margin-inline: auto; text-align: center; padding: clamp(32px, 5vw, 56px); }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: var(--s4) 0 var(--s2); }
.price-amount .num { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 6.5rem); line-height: 0.9; color: var(--bone); }
.price-amount .once { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--pewter); }
.price-sub { color: var(--pewter); margin-bottom: var(--s6); }
.price-list { list-style: none; display: grid; gap: var(--s3); text-align: left;
  max-width: 340px; margin: 0 auto var(--s7); }
.price-list li { display: flex; align-items: flex-start; gap: var(--s3); color: var(--bone); font-size: 1rem; }
.price-list .check { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--bone); }
.price-card .btn { width: 100%; }
.price-fine { margin-top: var(--s4); }

/* --- Final CTA ------------------------------------------------------------ */
.final { text-align: center; }
.final h2 { margin-bottom: var(--s6); }
.final .badge { margin-inline: auto; }

/* --- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--ash); padding-block: var(--s8) var(--s6); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s6); }
.footer__brand .wordmark { margin-bottom: var(--s4); }
.footer__brand .tag { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--pewter); }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pewter); margin-bottom: var(--s4); font-weight: 500; }
.footer__col a { display: block; color: var(--bone); padding: 6px 0; font-size: 0.95rem; transition: color var(--t-micro); }
.footer__col a:hover { color: var(--spotlight); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(58,59,66,0.4); }
.footer__bottom .mono a { color: var(--pewter); }
.footer__bottom .mono a:hover { color: var(--bone); }

/* --- Legal pages ---------------------------------------------------------- */
.legal { padding-top: clamp(120px, 16vh, 180px); padding-bottom: var(--s8); }
.legal__wrap { width: min(740px, 100% - 2*var(--s5)); margin-inline: auto; }
.legal h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1; }
.legal .updated { margin-top: var(--s4); margin-bottom: var(--s7); }
.legal h2 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--spotlight); margin: var(--s7) 0 var(--s4); font-weight: 500; }
.legal h3 { font-size: 1.2rem; margin: var(--s5) 0 var(--s2); color: var(--bone); }
.legal p, .legal li { color: #C9C6BE; font-size: 1.02rem; line-height: 1.7; }
.legal p { margin-bottom: var(--s4); }
.legal ul { padding-left: var(--s5); margin-bottom: var(--s4); display: grid; gap: var(--s2); }
.legal a { color: var(--spotlight); text-underline-offset: 3px; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--bone); font-weight: 600; }
.legal .ph { color: var(--spotlight); background: rgba(232,181,71,0.10); padding: 1px 7px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 0.85em; }
.legal .backlink { margin-top: var(--s7); }

/* --- Reveal on scroll ----------------------------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(20px);
  transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* Hero staggered "lights come up" */
html.js .rise { opacity: 0; transform: translateY(22px);
  animation: rise var(--t-enter) var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; margin-bottom: var(--s5); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature, .feature.wide, .feature.tall { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* --- Mobile nav: hamburger button + dropdown panel --- */
  .nav { padding-block: 14px; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }                 /* panel carries the CTA; hero has one too */
  .nav.is-open {
    background: rgba(16,17,21,0.96);
    backdrop-filter: blur(16px) saturate(1.1);
    border-bottom-color: transparent;
  }
  .nav.is-open .nav__toggle-open { display: none; }
  .nav.is-open .nav__toggle-close { display: block; }

  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s2) clamp(16px, 4vw, 40px) var(--s5);
    background: rgba(16,17,21,0.96);
    backdrop-filter: blur(16px) saturate(1.1);
    border-bottom: 1px solid rgba(58,59,66,0.5);
    box-shadow: 0 26px 40px rgba(0,0,0,0.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--t-micro) var(--ease-out),
                transform var(--t-micro) var(--ease-out),
                visibility 0s linear var(--t-micro);   /* stays visible through the fade-out */
  }
  .nav.is-open .nav__links {
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    transition: opacity var(--t-micro) var(--ease-out),
                transform var(--t-micro) var(--ease-out),
                visibility 0s;                         /* visible at once on open → focusable */
  }
  .nav__links a {
    font-size: 14px; padding: 15px 2px;
    border-bottom: 1px solid rgba(58,59,66,0.4);
  }
  .nav__links > .badge { display: inline-flex; justify-content: center; margin-top: var(--s4); }

  /* --- Hero: lead with the copy, drop the phone below as a supporting visual --- */
  .hero { padding-top: 96px; }
  .phone-wrap { order: 0; margin-bottom: 0; margin-top: var(--s6); }
  .phone { width: min(260px, 62vw); }

  /* --- Let desktop-tuned line breaks reflow naturally --- */
  .brk { display: none; }

  .wedges { grid-template-columns: 1fr; }
  .wedge:nth-child(2), .wedge:nth-child(3) { transform: none; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature.wide, .feature.tall { grid-column: span 1; }
  .audience { grid-template-columns: 1fr; gap: var(--s6); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col a { padding: 10px 0; }            /* ≥44px tap targets */
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; }
  .rec-band__track { animation: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html.js .rise { opacity: 1 !important; transform: none !important; }
  .phone { transform: rotate(-2.5deg); }
}
