/* composermp3 landing — Electric Arcade Kinetic.
   Tokens come from assets/webkitcomposer/design/tokens.css. Standalone: it does
   not load or touch /assets/site.css. No inline styles anywhere (strict CSP). */

@font-face { font-family: "Anton"; src: url("/composermp3/fonts/Anton-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/composermp3/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/composermp3/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/composermp3/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/composermp3/fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/composermp3/fonts/Inter-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --canvas: #002be2;
  --canvas-deep: #0a1a5c;
  --card: rgba(92, 117, 237, 0.4);
  --card-subtle: rgba(255, 255, 255, 0.19);
  --card-border: rgba(255, 255, 255, 0.12);
  --rule: rgba(255, 255, 255, 0.28);
  --rail: rgba(255, 255, 255, 0.1);
  --on: #ffffff;
  --on-muted: rgba(255, 255, 255, 0.78);
  --chrome: #eceffb;
  --on-chrome: #002be2;
  --dock-shadow: 0 8px 24px rgba(0, 20, 120, 0.25);

  --r-row: 8px; --r-card: 16px; --r-md: 24px; --r-lg: 32px; --r-full: 9999px;
  --s-xs: 4px; --s-sm: 8px; --s-md: 12px; --s-lg: 20px; --s-xl: 32px;
  --s-section: clamp(88px, 13vw, 176px);
  --gutter: max(20px, 5vw);
  --shell: min(100% - 2 * var(--gutter), 1200px);

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-display: 0.02em; --track-action: 0.03em; --track-badge: 0.06em;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms; --t-base: 260ms; --t-slow: 700ms; --stagger: 70ms;

  --phone-w: clamp(200px, 58vw, 300px);
  --t: clamp(2.5rem, 14.2vw, 12.5rem);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; --stagger: 0ms; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--on);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--chrome); outline-offset: 3px; }
.on-chrome :focus-visible { outline-color: var(--on-chrome); }

.skip {
  position: absolute; left: var(--s-md); top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-full);
  background: var(--chrome); color: var(--on-chrome); font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s-md); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shell { width: var(--shell); margin-inline: auto; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1;
}

/* The four lanes of the game run through every section: they are the grid. */
.ruled { position: relative; }
.ruled::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--rail), var(--rail)) 14% 0 / 1px 100% no-repeat,
    linear-gradient(var(--rail), var(--rail)) 38% 0 / 1px 100% no-repeat,
    linear-gradient(var(--rail), var(--rail)) 62% 0 / 1px 100% no-repeat,
    linear-gradient(var(--rail), var(--rail)) 86% 0 / 1px 100% no-repeat;
}
.ruled .shell, .hero__stage { position: relative; z-index: 1; }

.section { padding-block: var(--s-section); }
.section--deep { background: var(--canvas-deep); }
.section--chrome { background: var(--chrome); color: var(--on-chrome); --rail: rgba(0, 43, 226, 0.14); --rule: rgba(0, 43, 226, 0.35); }

/* Section head: a hairline, a bracketed index, then one big title */
.head { padding-top: var(--s-md); border-top: 1px solid var(--rule); display: grid; gap: var(--s-lg); }
.idx { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; opacity: 0.8; }
.h2 { font-size: clamp(3rem, 11.5vw, 9rem); line-height: 0.92; text-wrap: balance; }

/* ---------- Header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: calc(var(--s-md) + env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--ease-out);
}
.bar.is-hidden { transform: translate3d(0, -140%, 0); }
.bar__inner {
  pointer-events: auto;
  width: min(100%, 1200px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
  min-height: 56px; padding: 4px 6px 4px 20px;
  border-radius: var(--r-full);
  background: rgba(0, 28, 170, 0.78); border: 1px solid var(--card-border);
  box-shadow: var(--dock-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bar__inner { background: rgba(60, 86, 232, 0.5); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
}
.brand { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.brand img { width: 64px; height: 28px; }
.bar__links { display: flex; align-items: center; gap: var(--s-sm); }
.bar__studio {
  display: none; align-items: center; min-height: 48px; padding-inline: 16px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--on-muted);
}
.bar__studio:hover { color: var(--on); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--r-full);
  background: var(--chrome); color: var(--on-chrome);
  font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: var(--track-action); text-transform: uppercase;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.96); }
.btn--sm { white-space: nowrap; }
.btn--store { flex-direction: column; align-items: flex-start; min-height: 60px; padding: 8px 28px 8px 24px; text-align: left; }
.btn__k { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.2; }
.btn__v { font-size: 1.5rem; line-height: 1.1; }
.btn:disabled { cursor: default; opacity: 1; }
button.btn { font: inherit; font-family: var(--font-display); }

.stores { display: flex; flex-wrap: wrap; gap: var(--s-md); }
.stores__soon {
  flex-basis: 100%; margin-top: var(--s-xs);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-muted);
}

/* ---------- Hero ---------- */
.hero {
  --t: clamp(2.5rem, 14.2vw, 12.5rem);
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(104px + env(safe-area-inset-top)); padding-bottom: var(--s-xl);
  overflow: hidden; isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: var(--s-lg); }
.hero__kind { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-muted); margin-bottom: var(--s-md); }
.hero__title { font-size: var(--t); line-height: 0.92; margin-left: -0.03em; }
.hero__title span { display: inline-block; overflow: hidden; padding-block: 0.04em; vertical-align: top; }
.hero__title b { display: block; font-weight: 400; }
.hero__copy { margin-top: var(--s-lg); }
.hero__tag { font-size: clamp(1.6rem, 6.2vw, 2.75rem); line-height: 1.02; }
.hero__tag span { display: block; }
.hero__sub { margin-top: var(--s-lg); max-width: 34ch; font-size: clamp(1rem, 2.6vw, 1.1875rem); color: var(--on-muted); }
.hero .stores { margin-top: var(--s-lg); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: var(--s-lg); padding-top: var(--s-md); border-top: 1px solid var(--rule); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-muted); }
.hero__facts li:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px; border-radius: 50%; background: currentColor; }

.hero__stage { position: relative; display: grid; place-items: center; padding-block: var(--s-lg); }
.hero__stage::before { /* one flat circle behind the phone: the Bauhaus note */
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: calc(var(--phone-w) * 1.7); aspect-ratio: 1; border-radius: 50%;
  background: var(--canvas-deep); opacity: 0.7; transform: translate(-50%, -50%);
}
.hero__phone { animation: float 6s ease-in-out infinite; }
.hero__tilt { transform: perspective(1400px) rotateY(-10deg) rotateX(3deg); will-change: transform; }
@keyframes float { 50% { transform: translate3d(0, -8px, 0); } }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes mask-in { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translate3d(0, 90px, 0) rotate(2.5deg); } to { opacity: 1; transform: none; } }
.hero__kind { animation: rise var(--t-slow) var(--ease-out) 60ms both; }
.hero__title b { animation: mask-in 1000ms var(--ease-out) 120ms both; }
.hero__title span:nth-child(2) b { animation-delay: 220ms; }
.hero__tag { animation: rise var(--t-slow) var(--ease-out) 420ms both; }
.hero__sub { animation: rise var(--t-slow) var(--ease-out) 490ms both; }
.hero .stores { animation: rise var(--t-slow) var(--ease-out) 560ms both; }
.hero__facts { animation: rise var(--t-slow) var(--ease-out) 640ms both; }
.hero__stage .phone { animation: phone-in 1200ms var(--ease-out) 450ms both; }

/* Decorative notes drift down the same four lanes as the page rails */
.hero__notes { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__notes .n {
  position: absolute; top: 0; left: var(--x); width: var(--sz, 64px); height: var(--sz, 64px);
  margin-left: calc(var(--sz, 64px) / -2);
  border-radius: var(--r-full); background: #fff; opacity: 0.08;
  animation: fall var(--d, 14s) linear var(--dl, 0s) infinite;
}
.hero__notes .n--hold { height: calc(var(--sz, 64px) * 2.6); }
@keyframes fall { from { transform: translate3d(0, -300px, 0); } to { transform: translate3d(0, 120vh, 0); } }
.hero__notes .l1 { --x: 14%; } .hero__notes .l2 { --x: 38%; } .hero__notes .l3 { --x: 62%; } .hero__notes .l4 { --x: 86%; }
.hero__notes .n:nth-child(3n) { --sz: 48px; }
.hero__notes .n:nth-child(1) { --d: 15s; --dl: -2s; } .hero__notes .n:nth-child(2) { --d: 18s; --dl: -9s; }
.hero__notes .n:nth-child(3) { --d: 13s; --dl: -5s; } .hero__notes .n:nth-child(4) { --d: 17s; --dl: -12s; }
.hero__notes .n:nth-child(5) { --d: 16s; --dl: -7s; } .hero__notes .n:nth-child(6) { --d: 19s; --dl: -1s; }
.hero__notes .n:nth-child(7) { --d: 14s; --dl: -10s; } .hero__notes .n:nth-child(8) { --d: 20s; --dl: -15s; }

/* ---------- iPhone mockup ---------- */
.phone {
  position: relative; flex: none; align-self: flex-start;
  width: var(--phone-w); aspect-ratio: 390 / 844;
  padding: calc(var(--phone-w) * 0.026);
  border-radius: calc(var(--phone-w) * 0.141);
  background: #14161f; text-align: left;
  box-shadow: inset 0 0 0 2px #8f95a8, inset 0 0 0 4px #2a2d3a, 0 40px 80px rgba(0, 20, 120, 0.45);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #5d6376; }
.phone::before { left: -3px; top: 17%; height: 8%; box-shadow: 0 calc(var(--phone-w) * 0.19) 0 #5d6376; }
.phone::after { right: -3px; top: 24%; height: 13%; }
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--phone-w) * 0.115);
  background: var(--canvas);
  container-type: size;
}
.phone__screen::before {
  content: ""; position: absolute; z-index: 20; left: 50%; top: 2.2%;
  width: 30%; height: 3.6%; margin-left: -15%; border-radius: var(--r-full); background: #000;
}
.phone__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 19; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) calc(var(--sh, 10%) - 28%), rgba(255, 255, 255, 0.13) var(--sh, 10%), rgba(255, 255, 255, 0) calc(var(--sh, 10%) + 22%));
}
.screen { position: absolute; inset: 0; }

/* ---------- Game board (cq units scale with the phone) ---------- */
.board { position: absolute; inset: 0; background: var(--canvas); overflow: hidden; }
.board__rail {
  position: absolute; top: 0; bottom: 0; left: var(--x);
  width: max(1.5px, 0.64cqw); margin-left: calc(max(1.5px, 0.64cqw) / -2);
  background: linear-gradient(to bottom, transparent 0, #fff 30%);
}
.board__rail:nth-of-type(1) { --x: 14%; } .board__rail:nth-of-type(2) { --x: 38%; }
.board__rail:nth-of-type(3) { --x: 62%; } .board__rail:nth-of-type(4) { --x: 86%; }
.board[data-board="play"] .note { will-change: transform; }
.board__hit { position: absolute; left: 0; right: 0; top: 70%; height: max(1.5px, 0.64cqw); background: var(--card-border); }
.board__fade { position: absolute; inset: 0 0 70% 0; z-index: 3; background: linear-gradient(to bottom, var(--canvas), transparent); }
.note {
  position: absolute; top: 0; left: var(--x); z-index: 1;
  width: 15.4cqw; height: 15.4cqw; margin-left: -7.7cqw;
  border-radius: var(--r-full); background: #f0f0f0;
  transform: translate3d(0, -40cqh, 0);
  transition: opacity var(--t-fast) linear;
}
.note--hold { height: calc(var(--len) * 1cqh); }
.note.is-hit { opacity: 0; }
.hud { position: absolute; z-index: 5; left: 5cqw; right: 5cqw; top: 8cqh; display: flex; align-items: center; justify-content: space-between; }
.hud__btn { width: 9.5cqw; height: 9.5cqw; border-radius: var(--r-full); background: var(--card); display: grid; place-items: center; color: #fff; }
.hud__btn svg { width: 5.2cqw; height: 5.2cqw; }
.hud__score { text-align: center; }
.hud__score b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 15cqw; line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.hud__score small { display: block; margin-top: 1cqw; font-size: 3.3cqw; font-weight: 700; letter-spacing: 0.12em; color: var(--on-muted); }
.hud__player { flex: 1; margin-inline: 3cqw; display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; border-radius: var(--r-full); background: var(--card); }
.hud__player i { display: block; width: 1.2cqw; height: 4cqw; background: #fff; border-radius: 1px; box-shadow: 2.4cqw 0 0 #fff; margin-right: 2.4cqw; }
.hud__bar { flex: 1; height: 1.4cqw; border-radius: var(--r-full); background: var(--card-subtle); position: relative; overflow: hidden; }
.hud__bar::after { content: ""; position: absolute; inset: 0 45% 0 0; background: #fff; border-radius: inherit; }
.hud__time { position: absolute; z-index: 5; left: 9cqw; right: 9cqw; top: 17.4cqh; display: flex; justify-content: space-between; font-size: 2.6cqw; font-weight: 600; color: var(--on-muted); }
.fb {
  position: absolute; z-index: 4; left: 50%; top: 63%; opacity: 0; pointer-events: none;
  font-family: var(--font-display); font-size: 6.2cqw; letter-spacing: var(--track-badge); text-transform: uppercase;
  transform: translateX(-50%);
}

.create { padding: 8cqh 6cqw 0; display: flex; flex-direction: column; gap: 3.2cqw; }
.create__top { display: flex; justify-content: space-between; align-items: center; }
.create__top b { font-family: var(--font-display); font-weight: 400; font-size: 8cqw; text-transform: uppercase; letter-spacing: 0.03em; }
.create__lede { font-size: 4.2cqw; margin: 3cqw 0 1cqw; }
.opt { display: flex; gap: 4cqw; padding: 4.6cqw; border-radius: 9cqw; background: var(--card); border: 1px solid var(--card-border); }
.opt__ico { flex: none; width: 13cqw; height: 13cqw; border-radius: 4.5cqw; background: var(--card-subtle); display: grid; place-items: center; }
.opt__ico svg { width: 7cqw; height: 7cqw; }
.opt b { display: block; font-size: 5cqw; font-weight: 700; }
.opt span { display: block; margin-top: 1cqw; font-size: 3.4cqw; line-height: 1.45; color: var(--on-muted); }
.opt em { font-style: normal; font-weight: 700; color: #fff; }
.tier { padding: 4.6cqw; border-radius: 8cqw; background: var(--card); border: 1px solid var(--card-border); font-size: 3.4cqw; }
.tier__row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 3.6cqw; }
.tier__bar { margin: 3cqw 0 2cqw; height: 1.6cqw; border-radius: var(--r-full); background: rgba(0, 20, 120, 0.35); position: relative; overflow: hidden; }
.tier__bar::after { content: ""; position: absolute; inset: 0 34% 0 0; background: #fff; border-radius: inherit; }
.tier__foot { display: flex; justify-content: space-between; color: var(--on-muted); }
.tier__foot b { color: #fff; }
.chip { display: inline-flex; align-items: center; padding: 1.4cqw 3.4cqw; border-radius: var(--r-full); background: var(--chrome); color: var(--on-chrome); font-weight: 800; font-size: 3cqw; letter-spacing: var(--track-badge); text-transform: uppercase; }
.dock {
  position: absolute; z-index: 6; left: 14%; right: 14%; bottom: 4.5cqh; height: 8.6cqh;
  display: flex; align-items: center; justify-content: space-around;
  border-radius: var(--r-full); background: var(--chrome); box-shadow: var(--dock-shadow); color: #8f97b8;
}
.dock svg { width: 6.4cqw; height: 6.4cqw; }
.dock .on { color: var(--on-chrome); }

.song { padding: 8cqh 5cqw 0; display: flex; flex-direction: column; gap: 3.4cqw; }
.song__top { display: flex; justify-content: space-between; align-items: center; }
.song__top b { font-family: var(--font-display); font-weight: 400; font-size: 6.6cqw; text-transform: uppercase; letter-spacing: 0.03em; }
.panel { padding: 4.4cqw; border-radius: 8cqw; background: var(--card); border: 1px solid var(--card-border); }
.song__head { display: flex; gap: 4cqw; align-items: center; }
.cover { flex: none; width: 21cqw; height: 21cqw; border-radius: 3cqw; background: var(--card-subtle); display: grid; place-items: center; }
.cover svg { width: 9cqw; height: 9cqw; }
.song__head div b { display: block; font-size: 5.6cqw; }
.song__head div span { display: block; font-size: 3.6cqw; color: var(--on-muted); margin-top: 0.6cqw; }
.diffs { display: flex; padding: 1.2cqw; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--card-border); font-size: 3.4cqw; font-weight: 600; color: var(--on-muted); }
.diffs span { flex: 1; text-align: center; padding: 2.4cqw 0; border-radius: var(--r-full); }
.diffs .on { background: #fff; color: var(--on-chrome); font-weight: 700; }
.best__label { font-size: 3cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-muted); margin-top: 3cqw; }
.best__score { font-family: var(--font-display); font-size: 15cqw; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rec { display: flex; align-items: center; gap: 3.4cqw; padding: 3.2cqw 4cqw; border-radius: 7cqw; background: var(--card); border: 1px solid var(--card-border); }
.rec i { flex: none; width: 8.6cqw; height: 8.6cqw; border-radius: var(--r-full); background: var(--card-subtle); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 3.6cqw; }
.rec .r1 { background: #fff; color: var(--on-chrome); }
.rec b { display: block; font-size: 4cqw; }
.rec span { font-size: 3cqw; color: var(--on-muted); }
.rec em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 3.6cqw; }
.eyebrow-s { font-size: 3.2cqw; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-muted); margin-top: 1.4cqw; }
.cta-bar { position: absolute; z-index: 6; left: 5cqw; right: 5cqw; bottom: 4.5cqh; display: flex; gap: 2cqw; padding: 2cqw; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--card-border); }
.cta-bar span { display: grid; place-items: center; height: 9.5cqw; padding-inline: 4cqw; border-radius: var(--r-full); font-size: 3.4cqw; font-weight: 700; }
.cta-bar .play { flex: 1; background: #fff; color: var(--on-chrome); font-family: var(--font-display); font-size: 4.4cqw; letter-spacing: var(--track-action); text-transform: uppercase; }

/* ---------- How it works ---------- */
.how { padding-top: var(--s-section); }
.how__track { margin-top: var(--s-xl); }
.how__grid { display: flex; flex-direction: column; gap: var(--s-xl); }
.how__phone { order: -1; display: flex; justify-content: center; }
.how__tilt { will-change: transform; }
.how__meter { display: none; }
.steps { display: grid; gap: var(--s-xl); }
.step__n { font-size: 1rem; letter-spacing: var(--track-badge); color: var(--on-muted); }
.step h3 { font-size: clamp(3.4rem, 15vw, 6rem); margin-top: var(--s-sm); }
.step p { margin-top: var(--s-md); max-width: 30ch; font-size: clamp(1.0625rem, 2.6vw, 1.3125rem); color: var(--on-muted); }
.step p em { display: block; margin-top: var(--s-md); font-style: normal; font-weight: 700; color: var(--on); }
.how .screen { opacity: 0; }
.how .screen[data-i="0"] { opacity: 1; }

/* Pinned, scroll-driven version (script on, motion allowed). Phone on top,
   copy fading in over its lower edge. */
.js:not(.still) .how__track { height: 300vh; margin-top: 0; }
.js:not(.still) .how__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js:not(.still) .how__grid { position: relative; display: block; height: 100%; width: 100%; max-width: none; margin: 0; }
.js:not(.still) .how__phone {
  --phone-w: min(54vw, 27svh);
  position: absolute; left: 0; right: 0; top: calc(84px + env(safe-area-inset-top)); order: 0;
}
.js:not(.still) .how__text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 88px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--canvas-deep) 64%, rgba(10, 26, 92, 0));
}
.js:not(.still) .how__meter { display: flex; gap: 6px; margin-bottom: var(--s-md); max-width: 1200px; margin-inline: auto; }
.how__meter i { flex: 1; height: 3px; border-radius: 3px; background: var(--card-subtle); position: relative; overflow: hidden; }
.how__meter i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
.js:not(.still) .steps { display: grid; gap: 0; max-width: 1200px; margin-inline: auto; }
.js:not(.still) .step { grid-area: 1 / 1; opacity: 0; will-change: transform, opacity; }
.js:not(.still) .step h3 { font-size: clamp(2.8rem, 13vw, 4.2rem); margin-top: 2px; }
.js:not(.still) .step p { margin-top: 6px; font-size: 1rem; }
.js:not(.still) .step p em { margin-top: 6px; }
.js:not(.still) .step[data-i="0"] { opacity: 1; }

/* ---------- Features: an editorial index, not a card grid ---------- */
.rows { margin-top: var(--s-xl); }
.row {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-lg); row-gap: var(--s-lg);
  padding-block: var(--s-xl); border-top: 1px solid var(--rule);
}
.rows .row:first-child { border-top: 0; }
.row__n { font-size: 1rem; letter-spacing: var(--track-badge); color: var(--on-muted); padding-top: 0.5em; transition: color var(--t-base); }
.row__t h3 { font-size: clamp(2.1rem, 8.2vw, 3.6rem); line-height: 1; }
.row__t p { margin-top: var(--s-sm); max-width: 38ch; color: var(--on-muted); font-size: 1.0625rem; }
.row__t code { font-family: inherit; font-weight: 700; color: var(--on); }
.row .art { grid-column: 2; }
.art { display: flex; align-items: center; gap: var(--s-sm); min-height: 72px; }
.art i { display: block; background: #fff; }
.art--grid { display: grid; grid-template-columns: repeat(4, 44px); gap: 8px; }
.art--grid i { aspect-ratio: 1; border-radius: var(--r-row); background: var(--card-subtle); transition: background var(--t-base); }
.art--grid i:nth-child(3n + 1) { background: var(--chrome); }
.art--lanes { position: relative; display: block; width: min(100%, 260px); height: 96px; }
.art--lanes i { position: absolute; }
.art--lanes .ln { top: 0; bottom: 0; width: 2px; background: #fff; opacity: 0.35; }
.art--lanes .ln:nth-child(1) { left: 14%; } .art--lanes .ln:nth-child(2) { left: 38%; } .art--lanes .ln:nth-child(3) { left: 62%; } .art--lanes .ln:nth-child(4) { left: 86%; }
.art--lanes .hd { left: 14%; top: 22px; width: 28px; height: 60px; margin-left: -13px; border-radius: var(--r-full); transition: transform var(--t-slow) var(--ease-out); }
.art--lanes .tp { width: 28px; height: 28px; margin-left: -13px; border-radius: var(--r-full); transition: transform var(--t-slow) var(--ease-out); }
.art--lanes .t2 { left: 38%; top: 12px; } .art--lanes .t4 { left: 86%; top: 56px; }
.art--diff span, .art--os span { padding: 10px 18px; border-radius: var(--r-full); border: 1px solid var(--rule); font-size: 0.875rem; font-weight: 600; color: var(--on-muted); }
.art--diff, .art--os { flex-wrap: wrap; }
.art--diff .on { background: #fff; border-color: #fff; color: var(--on-chrome); font-weight: 700; }
.art--pkg b { padding: 12px 20px; border-radius: var(--r-full); background: var(--chrome); color: var(--on-chrome); font-family: var(--font-display); font-weight: 400; letter-spacing: var(--track-action); }
.art--pkg .ar, .art--backup .ar { width: 48px; height: 2px; opacity: 0.6; }
.art--pkg .dt { width: 14px; height: 14px; border-radius: var(--r-full); }
.art--backup i:not(.ar) { width: 36px; height: 36px; border-radius: var(--r-row); background: var(--card-subtle); }
.art--backup .one { background: var(--chrome); width: 48px; height: 48px; border-radius: 12px; }

@media (hover: hover) {
  .row { transition: transform var(--t-base) var(--ease-out); }
  .row:hover .row__n { color: #fff; }
  .row:hover .art--grid i:nth-child(odd) { background: var(--chrome); }
  .row:hover .art--lanes .hd { transform: translate3d(0, 14px, 0); }
  .row:hover .art--lanes .tp { transform: translate3d(0, 12px, 0); }
}

/* ---------- Showcase: zig-zag, one phone per idea ---------- */
.show { display: grid; gap: calc(var(--s-section) * 0.7); margin-top: var(--s-xl); }
.show__item { display: grid; gap: var(--s-xl); justify-items: start; }
.show__phone { justify-self: center; }
.show__text h3 { font-size: clamp(2.6rem, 10vw, 5.2rem); }
.show__text p { margin-top: var(--s-md); color: var(--on-muted); max-width: 30ch; font-size: 1.125rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: var(--s-md); margin-top: var(--s-xl); }
.plan { display: flex; flex-direction: column; gap: var(--s-lg); padding: var(--s-xl); border-radius: var(--r-lg); border: 2px solid var(--on-chrome); }
.plan--main { background: var(--on-chrome); color: #fff; }
.plan__name { font-size: clamp(2rem, 6vw, 3rem); }
.plan p { font-size: 1.0625rem; max-width: 40ch; }
.plan__never { font-weight: 700; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.amounts li { padding: var(--s-lg) 0 0; font-size: clamp(1.9rem, 8vw, 3.2rem); font-variant-numeric: tabular-nums; }
.amounts li + li { padding-left: var(--s-md); border-left: 1px solid rgba(255, 255, 255, 0.35); }
.plans__line { margin-top: var(--s-xl); font-size: clamp(1.0625rem, 2.6vw, 1.3125rem); font-weight: 600; max-width: 46ch; }
.claim { margin-top: var(--s-xl); font-size: clamp(2.4rem, 9vw, 6rem); }

/* ---------- Trust ---------- */
.trust { padding-block: var(--s-section); overflow: hidden; }
.marquee { position: relative; z-index: 1; display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee__run { display: flex; flex: none; align-items: center; gap: 0.6em; padding-right: 0.6em; font-size: clamp(3rem, 12vw, 9rem); white-space: nowrap; }
.marquee__run i { width: 0.26em; height: 0.26em; border-radius: var(--r-full); background: #fff; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.trust__copy { margin-top: var(--s-xl); max-width: 40ch; font-size: 1.125rem; color: var(--on-muted); }
.trust__copy b { color: var(--on); }

/* ---------- Footer ---------- */
.foot { background: var(--canvas-deep); padding: var(--s-section) 0 var(--s-xl); }
.foot__logo { width: min(100%, 560px); margin-inline: auto; }
.foot__logo path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .foot__logo path { stroke-dashoffset: 1; }
.js .foot__logo.is-in path { animation: draw 1800ms var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.foot__row { margin-top: var(--s-xl); display: flex; flex-direction: column; align-items: center; gap: var(--s-md); text-align: center; color: var(--on-muted); font-size: 0.9375rem; }
.foot__row nav { display: flex; flex-wrap: wrap; justify-content: center; }
.foot__row a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 14px; font-weight: 600; text-decoration: none; }
.foot__row a:hover { color: var(--on); text-decoration: underline; }

/* ---------- Reveal on scroll (hidden only once the script is running) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .reveal.is-in { opacity: 1; transform: none; }
.show__phone .phone { transform: translate3d(0, var(--fy, 0px), 0); will-change: transform; }

/* ---------- Breakpoints ---------- */
@media (min-width: 40rem) {
  :root { --phone-w: clamp(240px, 36vw, 300px); }
  .bar__studio { display: inline-flex; }
  .row { grid-template-columns: 3.5rem 1fr; }
  .plans { grid-template-columns: 1fr 1.4fr; }
}

@media (min-width: 64rem) {
  :root { --phone-w: min(clamp(260px, 23vw, 340px), calc((100svh - 190px) * 0.462)); }
  .hero { --t: clamp(6.5rem, 11.4vw, 10.5rem); padding-top: 120px; padding-bottom: 56px; }
  .hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-lg); align-items: center; }
  .hero__main { grid-column: 1 / 8; }
  .hero__title span { display: block; }
  .hero__copy { margin-top: var(--s-lg); }
  .hero__tag { font-size: clamp(1.4rem, 1.95vw, 1.9rem); white-space: nowrap; }
  .hero__tag span { display: inline; }
  .hero__stage { grid-column: 8 / 13; padding-block: 0; }
  .head { grid-template-columns: 1fr 3fr; align-items: start; gap: var(--s-xl); }
  .idx { padding-top: 0.6em; }

  .row { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 340px); align-items: center; padding-block: 40px; }
  .row .art { grid-column: 3; justify-content: flex-end; }
  .row__t h3 { font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
  .art--lanes { margin-left: auto; }

  .show { gap: calc(var(--s-section) * 0.8); }
  .show__item { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: var(--s-lg); justify-items: stretch; }
  .show__phone { grid-column: 2 / 6; display: flex; justify-content: center; }
  .show__text { grid-column: 7 / 13; }
  .show__item--r .show__phone { grid-column: 8 / 12; grid-row: 1; }
  .show__item--r .show__text { grid-column: 2 / 7; grid-row: 1; }

  .plan { padding: 48px; }
  .trust__copy { margin-left: 38%; }

  /* Pinned layout becomes two columns: copy left, phone right */
  .js:not(.still) .how__phone { --phone-w: min(300px, 40svh); left: auto; right: 0; top: 50%; transform: translate3d(0, -50%, 0); width: 50%; }
  .js:not(.still) .how__grid { width: var(--shell); margin-inline: auto; }
  .js:not(.still) .how__text {
    left: 0; right: auto; width: 50%; top: 50%; bottom: auto; transform: translate3d(0, -50%, 0);
    padding: 0; background: none;
  }
  .js:not(.still) .step h3 { font-size: clamp(4.5rem, 9vw, 8.5rem); }
  .js:not(.still) .step p { font-size: 1.3125rem; margin-top: var(--s-md); max-width: 28ch; }
  .js:not(.still) .how__meter { margin-inline: 0; margin-bottom: var(--s-xl); max-width: 22rem; }
  .js:not(.still) .steps { margin-inline: 0; }
  .how__grid { flex-direction: row; align-items: center; justify-content: space-between; }
  .how__phone { order: 1; }
}

@media (max-height: 640px) and (min-width: 64rem) {
  .js:not(.still) .how__phone { --phone-w: min(220px, 36svh); }
}

@media (max-width: 23rem) {
  .brand img { width: 56px; height: 24px; }
  .btn--sm { padding-inline: 16px; font-size: 1rem; }
}

section[id] { scroll-margin-top: 0; }
.features, #features, #pricing { content-visibility: auto; contain-intrinsic-size: auto 900px; }

@media (prefers-reduced-motion: reduce) {
  .hero__kind, .hero__title b, .hero__tag, .hero__sub, .hero .stores, .hero__facts, .hero__stage .phone { animation: none; }
  .hero__notes .n { animation: none; transform: translate3d(0, 30vh, 0); }
  .hero__phone { animation: none; }
  .marquee { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .foot__logo path { stroke-dashoffset: 0 !important; animation: none !important; }
  .bar { transition: none; }
}
