/* Faves — landing, first draft.
   The brand stays quiet so the IP can be loud: a near-black ground, posters
   lit like objects on a table, and gold reserved for the second line of a
   thought — the part that matters. Gold → steel is the app's ladder ramp
   (#8C683B → #5D7DAE, src/theme/gradeRamp.ts); ranks are sampled from it. */

:root {
  --ground: #070707;
  --ground-2: #0d0d0f;
  --card: #121216;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f2f7;
  --text-2: #a3a1a8;
  --text-3: #6d6b72;
  --gold: #d8a35f;
  --gold-hi: #f1c27d;
  --gold-deep: #8c683b;
  --steel: #5d7dae;
  --steel-hi: #93b2e2;

  --sans: "Iosevka Charon", ui-monospace, "SF Mono", Menlo, monospace;
  /* rank numerals stay a heavy grotesk, like the app's SF Pro Heavy */
  --num: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --serif: var(--sans); /* one family now: Iosevka Charon, from the deck */

  /* the app's own palette (src/theme/darkTheme.ts, rankDesign.ts) for the screens we redraw */
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --app-ground: #0a0a0a;
  --a-slot: #1b1b1b;
  --a-slot-b: #3e4759;
  --a-rule: #242833;
  --a-primary: #f5f5f5;
  --a-secondary: #919499;
  --a-placeholder: #727272;
  --a-title: #ffffff;
  --a-chip: #f3f7ff;
  --a-accent: #a5b4fc;
  --a-blue: #0088ff;
  --a-glass: rgba(20, 20, 28, 0.55);
  --a-hair: rgba(255, 255, 255, 0.18);
  --a-hair2: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(216, 163, 95, 0.35); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-3); }

/* film grain — barely there, but it takes the digital edge off the black */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ── type ─────────────────────────────────────────── */
.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(42px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display.md { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -0.025em; }
.display span { display: block; }
.gold {
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, #b98545 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  /* the gradient only paints inside the box, and descenders (y, g) hang below a tight line-height:
     grow the box down and give the space back, so the tails show and the rhythm doesn't move */
  padding-bottom: .16em; margin-bottom: -.16em;
}
.eyebrow {
  font-size: 15px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 22px;
}
.eyebrow i { font-style: normal; color: var(--gold); padding: 0 0.5em; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--text-2); max-width: 34em; margin-top: 28px; }
.body { color: var(--text-2); max-width: 30em; margin-top: 24px; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: 0;
  transition: transform .5s var(--ease), background .4s, box-shadow .5s var(--ease), color .3s;
  will-change: transform;
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 16px; }
.btn-light { background: var(--text); color: #0a0a0a; box-shadow: 0 0 0 0 rgba(216,163,95,0); }
.btn-light:hover { box-shadow: 0 10px 40px -8px rgba(216, 163, 95, 0.55), 0 0 0 1px rgba(241,194,125,.6); }
.btn-blue {
  background: linear-gradient(180deg, #1a95ff, var(--a-blue)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(0,136,255,.6), 0 10px 30px -8px rgba(0,136,255,.65);
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 0 0 1px rgba(80,170,255,.9), 0 16px 44px -8px rgba(0,136,255,.85); }
.btn-blue:focus-visible, .btn-light:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.btn-blue .arrow, .btn-light .arrow { transition: transform .5s var(--ease); }
.btn-blue:hover .arrow { transform: translateX(4px); }
.btn-light:hover .arrow { transform: translateX(4px); }
.btn-ghost { color: var(--text); padding: 0 8px; }
.btn-ghost:hover { color: var(--gold-hi); }
.btn-glass {
  background: rgba(22, 22, 30, 0.55); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.btn-glass:hover { border-color: rgba(241, 194, 125, 0.5); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }

/* ── reveal ─────────────────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(22px); filter: blur(10px);
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ── nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
  transition: background .6s, backdrop-filter .6s, border-color .6s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 7, 0.6); border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-end { display: flex; align-items: center; gap: 8px; }
@media (min-width: 901px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-mark { justify-self: start; }
  .nav-end { justify-self: end; }
}
.nav-login { padding: 8px 14px; font-size: 16px; color: var(--text-2); transition: color .35s; white-space: nowrap; }
.nav-login:hover { color: var(--text); }

.wordmark { width: 88px; height: auto; fill: var(--text); }
.wordmark.sm { width: 68px; }
.nav-links { position: relative; display: flex; gap: 6px; font-size: 16px; color: var(--text-2); font-weight: 400; }
.nav-links a { position: relative; padding: 8px 14px; transition: color .35s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.on { color: var(--gold-hi); }
/* ── hero ─────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate; text-align: center;
  --mx: 50%; --my: 45%;
}
.wall {
  position: absolute; inset: -20% -15%; z-index: -4;
  display: flex; gap: 18px; justify-content: center;
  transform: rotate(-7deg) scale(1.08);
}
.wall-col { display: flex; flex-direction: column; gap: 18px; flex: 0 0 clamp(110px, 12vw, 190px); }
.wall-track { display: flex; flex-direction: column; gap: 18px; animation: drift var(--dur, 90s) linear infinite; }
.wall-col:nth-child(even) .wall-track { animation-direction: reverse; }
.wall img {
  width: 100%; border-radius: 10px; background: #141418;
  box-shadow: 0 20px 40px -20px #000; filter: saturate(0.9);
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* darkness with a hole of warm light in it. Posters stay present everywhere;
   where the light falls, you can see what they are. */
.hero-dark {
  position: absolute; inset: 0; z-index: -3; background: rgba(7, 7, 7, 0.9);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0,0,0,.18) 0, rgba(0,0,0,.55) 180px, #000 440px);
          mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0,0,0,.18) 0, rgba(0,0,0,.55) 180px, #000 440px);
}
.hero-warm {
  position: absolute; inset: 0; z-index: -2; mix-blend-mode: soft-light; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(241, 194, 125, 0.55), transparent 70%);
}
.hero-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(7,7,7,.72), transparent 70%),
    linear-gradient(180deg, rgba(7,7,7,.75) 0%, transparent 18%, transparent 70%, var(--ground) 100%);
}
.hero-copy { position: relative; padding: 120px var(--gutter) 90px; display: flex; flex-direction: column; align-items: center; }
.hero-copy .display { text-shadow: 0 2px 40px rgba(0,0,0,.6); }
.hero-copy .lede { text-align: center; text-wrap: balance; }
@media (min-width: 701px) { .hero-copy .lede span { display: inline-block; } }
.hero .cta-row { justify-content: center; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 22px; height: 36px; border-radius: 12px; border: 1px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* ── manifesto ─────────────────────────────────────────── */
.manifesto { position: relative; padding: clamp(120px, 18vw, 220px) 0 clamp(80px, 12vw, 160px); isolation: isolate; }
/* a fine dot grid: the "record" the internet keeps, everything at the same weight */
.manifesto::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 10%, transparent 75%); }
.manifesto::after { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse, rgba(93,125,174,.14), transparent 65%); filter: blur(20px); }
.pairs { margin-top: clamp(64px, 9vw, 120px); max-width: 980px; }
.pairs-head, .pair { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 24px; }
.pairs-head { font-size: 15px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pairs-head span:last-child { color: var(--gold); }
.pair { padding: 30px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.pair .was { color: var(--text-3); transition: color 1.6s var(--ease) .3s; }
.pair .now { color: var(--text); }
.pair .line { height: 1px; background: linear-gradient(90deg, var(--line-2), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .35s); position: relative; }
.pair .line::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.pair.in .line { transform: scaleX(1); }
.pair.in .was { color: #4a4950; }

/* ── a few become part of us ─────────────────────────────────────────── */
.few { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.few-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(8px, 1.2vw, 18px);
  width: min(1320px, 112vw); margin: 0 auto; transform: perspective(1600px) rotateX(18deg) translateY(-2%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
}
.few-grid .tile {
  position: relative; border-radius: 8px; overflow: hidden; background: #141418;
  transition: opacity 1.8s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease), box-shadow 1.8s var(--ease);
  transition-delay: var(--td, 0s);
}
.few-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
.few.lit .tile { opacity: .14; filter: grayscale(1) blur(1px); }
.few.lit .tile.keep {
  opacity: 1; filter: none; transform: translateY(-6px) scale(1.04); z-index: 2;
  box-shadow: 0 0 0 1px rgba(241,194,125,.85), 0 0 34px 2px rgba(216,163,95,.45), 0 30px 60px -20px #000;
}
.few-copy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.few-copy .display { text-shadow: 0 0 60px #000, 0 0 20px #000; }

/* ── rank: the app's own Top 10 board (src/theme/rankDesign.ts) ───────────── */
.rank { position: relative; padding: clamp(100px, 14vw, 200px) 0; isolation: isolate;
  background: linear-gradient(180deg, var(--ground) 0%, #090c13 18%, #0a0e17 50%, #090c13 82%, var(--ground) 100%); }
/* the board's own row rules, carried out across the section */
.rank::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 135px, rgba(147,178,226,.07) 135px 136px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.rank-grid { position: relative; }
/* the ladder ramp as a column of light: gold at the top seat, steel at the foot */
.rank-grid::after { content: ""; position: absolute; z-index: -1; right: clamp(40px, 10vw, 160px); top: -10%; bottom: -10%; width: clamp(120px, 14vw, 220px);
  background: linear-gradient(180deg, #f1c27d, #8c683b 35%, #5d7dae 80%, transparent); filter: blur(70px); opacity: .32; border-radius: 50%; }
.rank-grid { display: grid; grid-template-columns: 1fr minmax(340px, 440px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.rank-cats { display: flex; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.rank-cats span {
  font-size: 16px; padding: 8px 16px; border-radius: 999px; color: var(--text-3); border: 1px solid var(--line);
  transition: color .5s, border-color .5s, background .5s;
}
.rank-cats span.on { color: var(--text); border-color: rgba(241,194,125,.55); background: rgba(216,163,95,.08); }

.board {
  position: relative; background: var(--app-ground); border-radius: 30px; padding: 22px 0 6px;
  border: 1px solid var(--line); box-shadow: 0 60px 120px -40px #000, inset 0 1px 0 rgba(255,255,255,.04);
  font-family: var(--app-font); overflow: hidden;
}
.board-head { padding: 0 24px 18px; display: grid; gap: 12px; }
.heart { width: 14px; height: 14px; flex: none; fill: currentColor; }
.avatar {
  --h: 28; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  font-size: 11px; font-weight: 600; color: #fff; font-family: var(--app-font);
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 70% 62%), hsl(var(--h) 55% 30%));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.avatar.lg { width: 52px; height: 52px; font-size: 20px; font-family: var(--sans); font-weight: 400; }
img.avatar { object-fit: cover; background: #222; }
.avatar.xs { width: 22px; height: 22px; font-size: 10px; margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }
.avatar.xs:first-child { margin-left: 0; }
.board-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; letter-spacing: .4px; color: var(--a-primary); }
.board-title span { transition: opacity .4s; }
.board-by { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: -.2px; color: var(--a-chip); }
.board-by .date { margin-left: auto; color: var(--a-placeholder); font-weight: 700; font-size: 12px; }
.board-rows { transition: opacity .45s var(--ease); }
.board-rows.dim { opacity: .2; }
/* rows 4 and 5 start filled and trail off, so the board reads as ten seats with the top three in play */
.trow { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--a-rule); }
.trow.ghost { opacity: .7; }
.trow.ghost + .trow.ghost { opacity: .35; }
.trow::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none;
  background: linear-gradient(90deg, rgba(216,163,95,.7) 0%, rgba(218,146,52,.7) 7.51%, rgba(199,131,59,.7) 11.25%, rgba(199,131,59,0) 32.49%); }
.trow.crown::before { opacity: 1; }
.tnum {
  flex: none; width: 42px; text-align: center; font-family: var(--num); font-weight: 900; font-size: 56px; letter-spacing: -1.31px; line-height: 1;
  background: linear-gradient(198.125deg, #fff 39.882%, var(--c) 97.552%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 11px var(--g)); position: relative;
}
.tart {
  flex: none; position: relative; height: 112px; width: calc(112px * var(--ar, .6623)); margin-left: 8px; border-radius: 6.13px; overflow: hidden;
  background: var(--a-slot); border: .5px solid var(--a-slot-b); transition: width .5s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.tart img { width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.trow.filled .tart img { opacity: 1; }
.trow.just .tart { border-color: #fff; box-shadow: 0 0 0 .5px #fff; }
.trow.crown.filled .tart { border-color: #e4a15e; box-shadow: 0 0 0 .5px #e4a15e, 0 0 24px rgba(216,163,95,.4); }
.ttext { min-width: 0; margin-left: 8px; display: grid; gap: 3px; opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.trow.filled .ttext { opacity: 1; transform: none; }
.ttext b { font-size: 18px; line-height: 20px; letter-spacing: -.25px; font-weight: 600; color: var(--a-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttext small { font-size: 13px; letter-spacing: -.25px; color: var(--a-secondary); }
.ttext em { font-style: normal; font-size: 13px; color: var(--a-accent); font-weight: 500; }
.board-fly { position: absolute; inset: 0; pointer-events: none; }
.bflyer { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: 16px; overflow: hidden; opacity: 0; box-shadow: 0 40px 80px -20px #000, 0 0 0 .5px var(--a-slot-b); }
.bflyer img { width: 100%; height: 100%; object-fit: cover; }
.bflyer .badge { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(10,10,12,.72); backdrop-filter: blur(8px); font-family: var(--num); font-weight: 800; font-size: 26px; color: #fff; }

/* ── how it works: pinned phone, copy that trades places ───────────── */
.how { position: relative; height: 460vh; background: linear-gradient(180deg, var(--ground), #0c0a08 10%, #0c0a08 90%, var(--ground)); }
.how-sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 72% 52%, rgba(216,163,95,.13), transparent 70%), radial-gradient(ellipse 30% 14% at 72% 92%, rgba(216,163,95,.10), transparent 70%); }
/* rings behind the phone: a turntable, quietly turning */
.phone-stage::before, .phone-stage::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; z-index: 0; }
/* the rings, glow and floor sit behind; the phone sits on top of all of them */
.phone-glow, .phone-floor { z-index: 0; }
.phone-stage > .iphone { z-index: 2; }
.phone-stage::before { width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  background: repeating-radial-gradient(circle, transparent 0 89px, rgba(241,194,125,.07) 90px, transparent 91px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 65%); mask-image: radial-gradient(circle, #000 20%, transparent 65%); }
.phone-stage::after { width: 620px; height: 620px; margin: -310px 0 0 -310px; border: 1px dashed rgba(241,194,125,.22); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.how-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(40px, 7vw, 120px); align-items: center; }
.how-steps { position: relative; min-height: 300px; }
.hstep { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); filter: blur(8px); pointer-events: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.hstep.past { transform: translateY(-26px); }
.hstep.on { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .15s; }
.hstep p { margin-top: 26px; color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 26em; }
.how-nav { display: flex; gap: 10px; margin-top: 40px; }
.how-nav button {
  font: inherit; font-size: 18px; color: var(--text-3); background: none; border: 0; cursor: pointer; padding: 0; display: grid; gap: 12px; width: 116px; text-align: left; transition: color .4s;
}
.how-nav button i { display: block; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; position: relative; }
.how-nav button i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform: scaleX(0); transform-origin: left; }
.how-nav button.on { color: var(--gold-hi); }
.how-nav button.on i { box-shadow: 0 0 10px rgba(241,194,125,.45); }
.how-nav button.on i::after { transform: scaleX(var(--p, 0)); }
.how-nav button.done i::after { transform: scaleX(1); opacity: .5; }
.how-nav button:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }

/* the phone: titanium, a rim of warm light, a hair of tilt toward the copy */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1800px; }
.phone-glow { position: absolute; width: 90%; height: 70%; border-radius: 50%; filter: blur(80px); opacity: .32; background: radial-gradient(circle, var(--gold), transparent 70%); }
.phone-floor { position: absolute; bottom: -4%; width: 70%; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.9), transparent 70%); filter: blur(10px); }
.iphone {
  --w: min(360px, 34vw, calc((100svh - 120px) * 0.474));
  --b: calc(var(--w) * .021); /* the edge: titanium only, no black border */
  position: relative; width: var(--w); height: calc((var(--w) - 2 * var(--b)) * 2.16410 + 2 * var(--b)); border-radius: calc(var(--w) * .155);
  background: linear-gradient(140deg, #4a4540 0%, #1d1b19 22%, #2c2925 50%, #141312 78%, #3d3832 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.2), inset 0 2px 1px rgba(255,255,255,.14),
    0 0 0 .5px rgba(241,194,125,.35), 0 60px 120px -40px #000, 0 30px 60px -30px rgba(0,0,0,.8),
    -18px 0 60px -30px rgba(216,163,95,.35);
  transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 3deg));
  transform-style: preserve-3d; transition: transform .9s var(--ease);
}
.iphone::before { /* the warm rim, as in the deck */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; transform: translateZ(2px);
  background: conic-gradient(from 210deg, rgba(241,194,125,0) 0deg, rgba(241,194,125,.9) 40deg, rgba(241,194,125,0) 110deg, rgba(241,194,125,0) 250deg, rgba(241,194,125,.5) 300deg, rgba(241,194,125,0) 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ibtn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2724, #5a534b, #2a2724);
  transform: translateZ(calc(var(--depth) * -.5)); }
/* thickness: titanium slices stacked behind the face, so a turned phone shows its edge */
.iphone { --depth: calc(var(--w) * .1); }
.iedge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  transform: translateZ(calc(var(--depth) * var(--t) * -1));
  background: linear-gradient(90deg, #8a8176 0%, #4d473f 18%, #9a9083 50%, #4d473f 82%, #8a8176 100%);
  box-shadow: inset 0 0 0 1px rgba(241,194,125,.18); }
.iedge.back { background: #141312; box-shadow: 0 50px 100px -30px #000; }
.ibtn-a { left: -3px; top: 17%; height: 4%; } .ibtn-u { left: -3px; top: 24%; height: 7.5%; } .ibtn-d { left: -3px; top: 33%; height: 7.5%; } .ibtn-p { right: -3px; top: 27%; height: 11%; }
/* The face's layers sit a hair in front of the body (translateZ): in a preserve-3d phone a child on the body's own plane
   is depth-sorted, not painted in order, and macOS Safari can draw the body over a coplanar screen, a black phone. */
.iscreen { position: absolute; inset: var(--b); border-radius: calc(var(--w) * .155 - var(--b)); overflow: hidden; background: var(--app-ground); box-shadow: 0 0 0 .5px #000; transform: translateZ(1px); }
.island { position: absolute; top: calc(var(--b) + var(--w) * .028); left: 50%; width: 31%; height: calc(var(--w) * .088); transform: translateX(-50%) translateZ(2px); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px #111; }
.glare { position: absolute; inset: var(--b); border-radius: calc(var(--w) * .155 - var(--b)); pointer-events: none; transform: translateZ(1.5px);
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.035) 100%); }

/* ── the app itself, drawn at iPhone points (390 × 844) and scaled to fit ── */
.app {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; overflow: hidden;
  font-family: var(--app-font); color: var(--a-primary); background: var(--app-ground); -webkit-font-smoothing: antialiased;
  letter-spacing: -.2px; font-size: 15px; line-height: 1.3;
}
.app * { box-sizing: border-box; }
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scene.on { opacity: 1; transform: none; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; z-index: 7; font-weight: 600; font-size: 17px; letter-spacing: -.3px; }
.sb svg { height: 13px; width: auto; fill: currentColor; }
.sb-r { display: flex; gap: 6px; align-items: center; }
.hdr { position: absolute; top: 62px; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 44px; }
.hdr .back { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.hdr .back svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; }
.hdr-t { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.seg { position: absolute; top: 118px; left: 50%; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 999px; border: 1px solid var(--a-hair2); background: rgba(22,22,30,.6); }
.seg span { white-space: nowrap; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--a-secondary); }
.seg span.on { background: rgba(255,255,255,.13); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.tabbar { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 62px; border-radius: 999px; display: flex; align-items: center; justify-content: space-around; padding: 0 6px;
  background: rgba(22,22,30,.62); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 4; }
.tabbar span { width: 64px; height: 50px; border-radius: 999px; display: grid; place-items: center; }
.tabbar span.on { background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.tabbar svg { width: 24px; height: 24px; stroke: rgba(255,255,255,.52); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar span.on svg { stroke: #f4f2f7; }
.finger { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; z-index: 20; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,.22) 60%, rgba(255,255,255,.05)); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.45); }
.finger .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); opacity: 0; }
.toast { position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 20px); opacity: 0; z-index: 6; white-space: nowrap;
  padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(28,28,36,.92); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 40px -10px #000;
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: #f1c27d; font-weight: 600; }

/* scene: collect — My Faves (the app's home), then a new list */
.mf { position: absolute; inset: 0; }
.mf-head { position: absolute; top: 60px; left: 20px; right: 16px; display: flex; align-items: center; gap: 10px; }
.mf-title { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 800; letter-spacing: -.8px; }
.mf-title svg { width: 22px; height: 22px; fill: #fff; transform: rotate(14deg) translateY(-8px); }
.mf-me { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 3px rgba(255,255,255,.15); }
.mf-me img { width: 100%; height: 100%; object-fit: cover; }
.mf-bell { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.mf-bell svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.mf-chips { top: 124px; }
.mf-all { position: absolute; top: 172px; left: 20px; }
.mf-all b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.mf-all small { font-size: 15px; color: var(--a-secondary); }
.mf-fan { position: absolute; top: 234px; left: 0; right: 0; height: 200px; }
.mf-fan img { position: absolute; object-fit: cover; border-radius: 8px; box-shadow: 0 16px 30px -10px #000; }
.mf-fan img[data-i="3"] { left: 129px; top: 0; width: 132px; height: 198px; z-index: 4; }
.mf-fan img[data-i="2"] { left: 47px; top: 18px; width: 108px; height: 162px; z-index: 3; } .mf-fan img[data-i="4"] { left: 235px; top: 18px; width: 108px; height: 162px; z-index: 3; }
.mf-fan img[data-i="1"] { left: -23px; top: 30px; width: 92px; height: 138px; z-index: 2; } .mf-fan img[data-i="5"] { left: 321px; top: 30px; width: 92px; height: 138px; z-index: 2; }
.mf-fan img[data-i="0"] { left: -80px; top: 40px; width: 80px; height: 120px; z-index: 1; } .mf-fan img[data-i="6"] { left: 390px; top: 40px; width: 80px; height: 120px; z-index: 1; }
.mf-grid { position: absolute; top: 464px; left: 16px; display: flex; gap: 12px; }
.mf-card { flex: none; width: 111px; }
.mf-deck { position: relative; height: 178px; }
.mf-deck img { position: absolute; object-fit: cover; border-radius: 8px; background: #1c1c24; }
.mf-deck .c { left: 0; right: 0; bottom: 0; width: 111px; height: 166px; box-shadow: 0 10px 20px -8px #000; }
.mf-deck .b1 { left: 6px; top: 6px; width: 99px; height: 150px; opacity: .55; }
.mf-deck .b2 { left: 12px; top: 0; width: 87px; height: 140px; opacity: .3; }
.mf-n { position: absolute; right: 6px; bottom: 6px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: rgba(20,20,22,.78); border: 1px solid rgba(255,255,255,.25); }
.mf-card > b { display: block; margin-top: 8px; font-size: 16px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-card > small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 13.5px; color: var(--a-secondary); }
.mf-card > small svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* the new list deals in at the front, the others slide along */
.mf-new { width: 0; margin-right: -12px; opacity: 0; transform: scale(.85) translateY(10px); overflow: hidden;
  transition: width .6s var(--ease), margin .6s var(--ease), opacity .5s var(--ease) .25s, transform .7s var(--ease) .2s; }
.mf-new.in { width: 111px; margin-right: 0; opacity: 1; transform: none; }
.mf-new.in .mf-deck .c { box-shadow: 0 0 0 2px #fff, 0 10px 20px -8px #000; }
.mf-tabs { right: 100px; left: 18px; }
.mf-fab { position: absolute; right: 18px; bottom: 25px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; z-index: 4;
  background: var(--a-blue); box-shadow: 0 10px 24px -6px rgba(0,136,255,.6); }
.mf-fab svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 2.6; fill: none; }
.deck-sheet { position: absolute; inset: 0; z-index: 6; background: var(--app-ground); transform: translateY(102%); transition: transform .55s cubic-bezier(.32,.72,0,1); box-shadow: 0 -20px 40px rgba(0,0,0,.6); }
.deck-sheet.up { transform: none; }
.pgrid.movies .pt { aspect-ratio: 2 / 3; }
/* scene: collect */
.chips { position: absolute; top: 116px; left: 16px; right: 0; display: flex; gap: 8px; overflow: hidden; }
.chips span { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(22,22,30,.9); border: 1px solid rgba(255,255,255,.14); color: #d1d5db; }
.chips span.on { background: var(--a-blue); border-color: var(--a-blue); color: #fff; }
.hint { position: absolute; top: 164px; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 600; color: #f3f4f6; }
.pgrid-wrap { position: absolute; top: 196px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 200px; }
.pt { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: #1c1c24; transition: transform .35s var(--ease), box-shadow .35s; }
.pt img { width: 100%; height: 100%; object-fit: cover; }
.pt .add { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,20,28,.6); border: 1px solid rgba(255,255,255,.3); transition: background .3s, border-color .3s; }
.pt .add svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.6; fill: none; }
.pt.sel { box-shadow: 0 0 0 2.5px #fff; }
.pt.sel .add { background: var(--a-blue); border-color: var(--a-blue); }
.dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 34px; display: grid; gap: 10px; background: linear-gradient(180deg, rgba(10,10,10,0), #0a0a0a 38%); z-index: 3; }
.search { height: 44px; border-radius: 12px; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 15px; color: #8e8e93; background: rgba(118,118,128,.18); }
.cta { height: 52px; border-radius: 26px; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: #8e8e93; background: rgba(22,22,30,.9); border: 1px solid rgba(255,255,255,.14); transition: background .35s, color .35s, border-color .35s, transform .2s; }
.cta.go { background: var(--a-blue); border-color: var(--a-blue); color: #fff; }
.ready { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: var(--app-ground); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.ready.on { opacity: 1; }
.fan { position: relative; width: 240px; height: 190px; margin-bottom: 20px; }
.fan img { position: absolute; left: 50%; top: 10px; width: 112px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 20px 40px -10px #000; transform-origin: 50% 120%; }
.ready h4 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin: 0; }
.ready p { font-size: 15px; color: var(--a-secondary); margin: 0; }

/* scene: rank (rows at the board's real metrics) */
.rboard { position: absolute; top: 172px; left: 0; right: 0; }
.rslot { position: absolute; left: 0; right: 0; height: 136px; border-top: 1px solid var(--a-rule); }
.rslot .tnum { position: absolute; left: 16px; top: 40px; }
.ritem { position: absolute; left: 74px; right: 16px; height: 136px; display: flex; align-items: center; gap: 0; will-change: transform; }
.ritem .tart { margin-left: 0; height: 112px; width: 84px; border: .5px solid var(--a-slot-b); }
.ritem .tart img { opacity: 1; }
.ritem .ttext { opacity: 1; transform: none; margin-left: 16px; }
.ritem.lift { z-index: 3; }
.ritem.lift .tart { box-shadow: 0 24px 40px -10px rgba(0,0,0,.9), 0 0 0 1px #fff; }
.ritem.top .tart { border: .5px solid #e4a15e; box-shadow: 0 0 0 .5px #e4a15e, 0 0 20px rgba(216,163,95,.35); }

/* scene: rank — head to head (headToHeadDesign.ts: arena, ladder, next-up, neon) */
.h2h { position: absolute; inset: 0; }
.h2h-grab { position: absolute; top: 62px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(235,235,245,.3); }
.h2h-top { position: absolute; top: 86px; left: 22px; right: 16px; display: flex; align-items: flex-start; justify-content: space-between; }
.h2h-top b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.45px; }
.h2h-top small { font-size: 14px; color: var(--a-secondary); }
.h2h-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.h2h-x svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.h2h-help, .h2h-blessed { position: absolute; top: 170px; left: 20px; right: 20px; text-align: center; transition: opacity .25s; }
.h2h-help b, .h2h-blessed b { display: block; font-size: 14.5px; line-height: 18px; font-weight: 500; }
.h2h-help small, .h2h-blessed small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--a-secondary); }
.h2h-help.off { opacity: 0; }
.h2h-blessed { opacity: 0; } .h2h-blessed.on { opacity: 1; } .h2h-blessed b { color: #8e8e93; } .h2h-blessed small { color: #5f6168; }
.h2h-arena { position: absolute; top: 250px; left: 0; right: 0; height: 320px; }
.h2h-splash { position: absolute; top: 10px; width: 260px; height: 300px; opacity: .7; filter: blur(30px); transition: opacity .42s, background .42s; }
.h2h-splash.l { left: -50px; } .h2h-splash.r { right: -50px; }
.lean-l .h2h-splash.l, .lean-r .h2h-splash.r { opacity: 1; } .lean-l .h2h-splash.r, .lean-r .h2h-splash.l { opacity: .46; }
.h2h-pair { position: absolute; inset: 0; }
.h2h-card { position: absolute; top: 40px; width: 155px; height: 234px; border-radius: 11px; overflow: hidden; background: #1c1c24; box-shadow: 0 24px 40px -14px #000; }
.h2h-card.l { left: 47px; transform: rotate(-5.54deg); z-index: 1; } .h2h-card.r { left: 190px; transform: rotate(4.89deg); z-index: 2; }
.h2h-card img { width: 100%; height: 100%; object-fit: cover; }
.h2h-card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
.h2h-card.won::after { opacity: 1; }
.h2h-ok { position: absolute; left: 50%; top: 50%; z-index: 2; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transform: translate(-50%,-50%);
  background: rgba(40,40,46,.55); box-shadow: inset 0 0 0 3px rgba(229,229,234,.9); backdrop-filter: blur(6px); }
.h2h-ok svg { width: 38px; height: 38px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h2h-vs { position: absolute; left: 180px; top: 132px; width: 38px; height: 42px; z-index: 3; display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.h2h-vs svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h2h-vs b { position: relative; font-size: 15px; font-weight: 900; letter-spacing: -1.5px; color: #fff; font-style: italic; }
.h2h-chev { position: absolute; top: 140px; display: flex; gap: 0; }
.h2h-chev.l { left: 2px; flex-direction: row-reverse; } .h2h-chev.r { right: 2px; }
.h2h-chev i { width: 13px; height: 26px; opacity: .22; animation: chev 1.15s linear infinite;
  background: linear-gradient(#81c6f4, #fafafa); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 26'%3E%3Cpath d='M2 2l9 11-9 11' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 26'%3E%3Cpath d='M2 2l9 11-9 11' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px #5caae5); }
.h2h-chev.l i { transform: scaleX(-1); }
.h2h-chev i:nth-child(2) { animation-delay: .38s; } .h2h-chev i:nth-child(3) { animation-delay: .76s; }
@keyframes chev { 0%, 100% { opacity: .22; } 30% { opacity: 1; } }
.h2h-low { position: absolute; top: 586px; left: 18px; right: 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.h2h-ladder { display: flex; gap: 6px; }
.h2h-slot { width: 50px; display: grid; justify-items: center; gap: 6px; }
.h2h-slot img { width: 50px; height: 75px; border-radius: 7px; object-fit: cover; background: rgba(120,120,128,.36); }
.h2h-slot.ring img { box-shadow: 0 0 0 2px #a5b4fc, 0 0 12px rgba(165,180,252,.5); }
.h2h-slot b { font-size: 18px; font-weight: 700; }
.h2h-next { width: 76px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.h2h-next small { font-size: 12px; color: var(--a-secondary); }
.h2h-next-cards { position: relative; width: 70px; height: 105px; }
.h2h-next-cards img { position: absolute; width: 66px; height: 99px; border-radius: 8px; object-fit: cover; box-shadow: 0 8px 16px -6px #000; }
.h2h-next-cards img:first-child { left: 6px; top: 0; opacity: .5; } .h2h-next-cards img:last-child { left: 0; top: 6px; }
.h2h-stop { position: absolute; left: 20px; right: 20px; bottom: 36px; height: 52px; border-radius: 26px; display: grid; place-items: center; font-size: 17px; font-weight: 600;
  background: rgba(22,22,30,.9); border: 1px solid rgba(255,255,255,.1); }
/* scene: rank — drag and drop, the chooser, then head to head */
.rk-drag, .rk-choose, .h2h { position: absolute; inset: 0; background: var(--app-ground); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.rk-choose, .h2h { opacity: 0; transform: translateX(44px); pointer-events: none; }
.scene.to-choose .rk-drag { opacity: 0; transform: translateX(-44px); }
.scene.to-choose .rk-choose { opacity: 1; transform: none; }
.scene.to-h2h .rk-choose { opacity: 0; transform: translateY(-30px); }
.scene.to-h2h .h2h { opacity: 1; transform: none; }
.rk-back { position: absolute; top: 62px; left: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.rk-back svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; }
.rk-choose h4 { position: absolute; top: 116px; left: 20px; margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.4px; }
.rk-opt { position: absolute; left: 16px; right: 16px; border-radius: 18px; overflow: hidden; background: #15151c; border: 1px solid rgba(255,255,255,.08); }
.rk-opt[data-o="h2h"] { top: 166px; height: 320px; } .rk-opt[data-o="dnd"] { top: 500px; height: 280px; }
.rk-art { position: relative; height: calc(100% - 62px); overflow: hidden; }
.rk-art .a, .rk-art .b { position: absolute; top: 34px; width: 128px; height: 192px; border-radius: 10px; object-fit: cover; box-shadow: 0 20px 30px -12px #000; }
.rk-art .a { left: 64px; transform: rotate(-6deg); } .rk-art .b { left: 164px; transform: rotate(5deg); }
.rk-vs { position: absolute; left: 160px; top: 108px; width: 44px; height: 48px; display: grid; place-items: center; font-weight: 900; font-style: italic; font-size: 17px; letter-spacing: -1.5px;
  background: linear-gradient(#9fb0c8, #4b5a73); clip-path: path('M22 1l20 7v14c0 13-9 21-20 26C11 43 2 35 2 22V8z'); }
.rk-art.dnd { display: flex; align-items: center; gap: 12px; padding: 0 22px; background: linear-gradient(90deg, rgba(216,163,95,.55) 0%, rgba(199,131,59,.3) 20%, transparent 45%); }
.rk-art.dnd .rk-n { font-family: var(--num); font-weight: 900; font-size: 52px; color: #fff; }
.rk-art.dnd img { width: 84px; height: 126px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px #e4a15e; }
.rk-t { font-size: 17px; font-weight: 600; } .rk-t small { display: block; font-size: 13px; font-weight: 400; color: var(--a-secondary); margin-top: 2px; }
.rk-row { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid rgba(255,255,255,.06); }
.rk-row b { font-size: 18px; font-weight: 500; }
.rk-row span { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); }
.rk-drag .rboard { top: 172px; }

/* scene: reflect — one fave's detail: notes, a voice memo, and how it moved */
.dt { position: absolute; inset: 0; overflow: hidden; }
.dt-back { position: absolute; top: -20px; left: -30px; right: -30px; height: 280px; background-size: cover; background-position: center 30%; filter: blur(16px) brightness(.5) saturate(1.2);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.dt-scroll { position: absolute; inset: 0; will-change: transform; }
.dt::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: 2; pointer-events: none; background: linear-gradient(#0a0a0a 62%, rgba(10,10,10,0)); }
.dt-arc { position: absolute; top: 150px; left: 0; width: 390px; height: 120px; fill: none; stroke: #4a4848; stroke-width: 1; stroke-dasharray: 2 3; }
.dt-card { position: absolute; top: 96px; left: 134px; width: 122px; aspect-ratio: 3 / 4; border-radius: 10px; object-fit: cover; box-shadow: 0 20px 40px -14px #000, 0 0 0 .5px #e4a15e; }
.dt-rank { position: absolute; top: 176px; left: 66px; font-size: 64px; }
.dt-title { position: absolute; top: 268px; left: 0; right: 0; text-align: center; }
.dt-title b { display: block; font-size: 22px; line-height: 28px; font-weight: 500; }
.dt-title small { font-size: 15px; color: #949494; }
.dt-notes, .dt-moved { position: absolute; left: 16px; right: 16px; padding: 16px; border-radius: 18px; background: rgba(57,57,55,.4); }
.dt-notes { top: 340px; }
.dt-h { display: flex; align-items: center; justify-content: space-between; }
.dt-h b { font-size: 15px; font-weight: 500; }
.dt-h small { font-size: 13px; color: var(--a-secondary); }
.dt-mic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.dt-mic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.dt-text { margin: 10px 0 0; min-height: 63px; font-size: 15px; line-height: 21px; color: #f3f4f6; }
.dt-ph { color: #727272; }
.dt-caret { display: none; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: #0a84ff; animation: blink 1s steps(2) infinite; }
.dt-caret.on { display: inline-block; }
.dt-rec, .dt-voice { display: none; align-items: center; gap: 10px; margin-top: 12px; }
.dt-rec.on, .dt-voice.on { display: flex; }
.dt-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff453a; box-shadow: 0 0 10px #ff453a; animation: blink 1s steps(2) infinite; }
.dt-live { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.dt-live i { flex: 1; height: 6px; border-radius: 2px; background: #ff6961; animation: lv .5s ease-in-out infinite alternate; }
.dt-live i:nth-child(3n) { animation-duration: .38s; } .dt-live i:nth-child(4n+1) { animation-duration: .62s; } .dt-live i:nth-child(5n+2) { animation-duration: .44s; animation-delay: .1s; }
@keyframes lv { to { height: 24px; } }
.dt-clock, .dt-len { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f3f4f6; }
.dt-voice { padding: 6px 14px 6px 6px; border-radius: 24px; background: rgba(255,255,255,.07); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.dt-play { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--a-blue); flex: none; }
.dt-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.dt-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.dt-wave i { flex: 1; border-radius: 2px; background: #8e8e93; }
.dt-wave i:nth-child(-n+9) { background: #fff; }
.dt-len { color: var(--a-secondary); font-weight: 500; }
.dt-moved { top: 566px; }
.dt-steps { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.dt-grid line { stroke: rgba(255,255,255,.1); stroke-dasharray: 2 4; }
.dt-grid text { font-family: var(--app-font); font-size: 11px; fill: #8e8e93; }
.dt-line { fill: none; stroke: #f1c27d; stroke-width: 2.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(241,194,125,.55)); }
.dt-area { fill: rgba(216,163,95,.12); opacity: 0; transition: opacity .8s .9s; }
.dt-pts circle { fill: #f1c27d; stroke: #0a0a0a; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dt-moved.on .dt-line { transition: stroke-dashoffset 1.6s var(--ease-io); stroke-dashoffset: 0; }
.dt-moved.on .dt-area { opacity: 1; }
.dt-moved.on .dt-pts circle { animation: dot .45s var(--ease) both; animation-delay: calc(.2s + var(--k) * .55s); }
@keyframes dot { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
.dt-log { list-style: none; margin: 10px 0 0; padding: 0; }
.dt-log li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dt-log li b { width: 30px; font-family: var(--num); font-weight: 800; color: var(--gold-hi); }
.dt-log li span { margin-left: auto; color: var(--a-secondary); font-size: 13px; }
.dt-moved.on .dt-log li { opacity: 1; transform: none; }
.dt-moved.on .dt-log li:nth-child(1) { transition-delay: 1.4s; } .dt-moved.on .dt-log li:nth-child(2) { transition-delay: 1.6s; } .dt-moved.on .dt-log li:nth-child(3) { transition-delay: 1.8s; }
/* scene: reflect (tiers) */
.tboard { position: absolute; top: 172px; left: 12px; right: 12px; display: grid; gap: 6px; }
.tier { display: flex; min-height: 104px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.03); }
.plate { flex: none; width: 70px; display: grid; place-items: center; font-family: var(--num); font-weight: 900; font-size: 40px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35);
  background: linear-gradient(180deg, var(--lit), var(--base)); }
.tposters { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; padding: 10px; flex: 1; }
.tposters img { width: 66px; aspect-ratio: 3 / 4; border-radius: 6px; object-fit: cover; will-change: transform; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; padding: 10px 20px 40px; border-radius: 28px 28px 0 0; background: #15151c; border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -30px 60px -10px rgba(0,0,0,.8); transform: translateY(105%); transition: transform .6s var(--ease); }
.sheet.on { transform: none; }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: 0 auto 18px; }
.sheet-row { display: flex; gap: 14px; align-items: center; }
.sheet-row img { width: 60px; aspect-ratio: 3 / 4; border-radius: 6px; object-fit: cover; }
.sheet-row b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.sheet-row small { font-size: 14px; color: var(--a-secondary); }
.sheet-row .gchip { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; color: #fff; background: linear-gradient(180deg, #cd9856, #8c683b); }
.hist { margin-top: 18px; }
.hist svg { width: 100%; height: auto; overflow: visible; }
.hist .line { fill: none; stroke: #f1c27d; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sheet.on .hist .line { transition: stroke-dashoffset 1.6s var(--ease-io) .3s; stroke-dashoffset: 0; }
.hist .area { opacity: 0; transition: opacity 1s .9s; }
.sheet.on .hist .area { opacity: 1; }
.hist text { font-family: var(--app-font); font-size: 12px; fill: var(--a-secondary); }
.hist .end { opacity: 0; transition: opacity .4s 1.8s; }
.sheet.on .hist .end { opacity: 1; }
.hist-cap { margin-top: 10px; font-size: 14px; color: #d1d5db; }
.hist-cap b { color: #f1c27d; }

/* scene: share */
.slabel { position: absolute; top: 118px; left: 20px; right: 20px; }
.slabel b { display: block; font-size: 17px; font-weight: 700; }
.slabel small { font-size: 13px; color: var(--a-secondary); }
/* the Top 10 share card: components/share/BackdropPodiumCard.tsx, drawn in its 372 × 464 reference units and scaled */
.scard { position: absolute; top: 172px; left: 20px; width: 350px; height: 436.6px; border-radius: 19px; overflow: hidden; background: #0a0a0a; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.scard-in { position: absolute; left: 0; top: 0; width: 372px; height: 464px; transform: scale(.9409); transform-origin: 0 0; }
.sback { position: absolute; left: -20px; right: -20px; top: -40px; height: 330px; background-size: cover; background-position: center 30%; filter: blur(5px) saturate(1.25) brightness(.62); }
.sback-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.25) 30%, #0a0a0a 58%); }
.sdisc { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,20,22,.78); box-shadow: 0 0 0 1px rgba(255,255,255,.08); z-index: 3; }
.sdisc svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard { position: absolute; border-radius: 8px; overflow: hidden; background: #16151b; transform: rotate(var(--rot)); box-shadow: 0 -2.76px 22px 0 rgba(0,0,0,.35); }
.fcard.hard { box-shadow: 0 0 22px 0 rgba(0,0,0,.75); }
.fcard img { width: 100%; height: 100%; object-fit: cover; }
.fplate { position: absolute; transform: rotate(var(--rot)); pointer-events: none; }
.fplate i { position: absolute; inset: 0; display: flex; align-items: flex-end; font-style: normal; font-family: var(--num); font-weight: 900; }
/* the gradient lives on the glyph's own box, so it runs top to foot of the number (rankDesign: white to 39.9%, colour at 97.6%) */
.fplate b { display: block; line-height: 1; padding-bottom: .02em; font-weight: 900;
  background: linear-gradient(180deg, #fff 39.9%, var(--glyph) 97.6%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.slock { position: absolute; left: 16px; right: 16px; display: grid; justify-items: center; text-align: center; }
.slock svg { width: 72px; fill: #fff; margin-bottom: 10px; }
.slock b { font-size: 18px; line-height: 22px; font-weight: 400; color: #fff; }
.slock small { margin-top: 6px; font-size: 14px; line-height: 18.4px; letter-spacing: -.23px; color: #e2a65f; }
.spill { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 205px; height: 88px; border-radius: 22px; background: #191919;
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 20px 0 36px; }
.spill .avatar { width: 44px; height: 44px; font-size: 22px; font-weight: 500; background: #2e7d32; box-shadow: none; }
.spill b { display: block; font-size: 15px; font-weight: 500; color: #f3f4f6; }
.spill small { font-size: 13.5px; color: #9ca3af; }
.srow { position: absolute; left: 0; right: 0; top: 626px; padding: 12px 16px; }
.srow .tart { margin-left: 8px; width: 84px; }
.fabs { position: absolute; right: 16px; top: 600px; display: grid; gap: 14px; z-index: 4; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,22,30,.9); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 24px -8px #000; }
.fab svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fab.blue { background: var(--a-blue); border-color: var(--a-blue); }
.share-sheet .apps { display: flex; justify-content: space-between; margin-top: 6px; }
.share-sheet .apps div { display: grid; justify-items: center; gap: 8px; font-size: 12px; color: #d1d5db; }
.share-sheet .apps span { width: 60px; height: 60px; border-radius: 16px; display: block; }
.share-sheet h5 { margin: 0 0 18px; font-size: 15px; font-weight: 600; }
.takev { position: absolute; inset: 0; z-index: 9; background: #000; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.takev.on { opacity: 1; }
.takev { background: var(--app-ground); }
/* the take is 9:16 and the screen is taller: show all of it under the status bar, controls in the space below */
.takev video { position: absolute; top: 54px; left: 0; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 4px; background: #000; }
.take-ctl { position: absolute; left: 0; right: 0; top: 747px; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 34px 10px; }
.tc-x, .tc-time { width: 56px; height: 40px; }
.tc-time { display: flex; align-items: center; justify-content: flex-end; gap: 7px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: blink 1s steps(2) infinite; }
.tc-x { width: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--a-glass); border: 1px solid var(--a-hair); }
.tc-x svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.2; fill: none; transform: rotate(45deg); }
.tc-stop { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; border: 4px solid #fff; }
.tc-stop i { width: 26px; height: 26px; border-radius: 7px; background: #ff453a; }
@keyframes blink { 50% { opacity: .2; } }

/* ── takes: new. The section is a camera viewfinder; the only red on the page ───────────── */
.takes { position: relative; padding: clamp(110px, 13vw, 190px) 0; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(255,59,48,.14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(255,59,48,.06), transparent 70%),
    linear-gradient(180deg, var(--ground), #100607 15%, #110607 85%, var(--ground)); }
.takes::before { /* scan lines, barely */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); }
.vf { position: absolute; inset: 104px clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px); pointer-events: none; z-index: 0;
  font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.vf-c { position: absolute; width: 38px; height: 38px; border: 0 solid rgba(255,255,255,.55); }
.vf-c.tl { left: 0; top: 0; border-width: 2px 0 0 2px; } .vf-c.tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.vf-c.bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .vf-c.br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.vf-rec { position: absolute; left: 54px; top: 8px; display: flex; align-items: center; gap: 10px; color: #fff; }
.vf-rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 12px #ff3b30; animation: blink 1.1s steps(2) infinite; }
.vf-rec b { font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.vf-meta { position: absolute; right: 54px; top: 8px; }
.vf-meta.bl { left: 54px; right: auto; top: auto; bottom: 8px; }
.vf-meta.br { right: 54px; top: auto; bottom: 8px; }

.takes-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(48px, 8vw, 130px); align-items: center; }
.takes-eyebrow { display: flex; align-items: center; gap: 12px; }
.new-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: #ff3b30; color: #fff; font-weight: 700; letter-spacing: .14em; box-shadow: 0 0 24px rgba(255,59,48,.55); }
.beats { list-style: none; margin-top: 40px; display: grid; gap: 20px; max-width: 30em; }
.beats li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; }
.beat-n { font-family: var(--num); font-weight: 900; font-size: 56px; line-height: 1; letter-spacing: -.04em; text-align: center;
  background: linear-gradient(198deg, #fff 40%, #ff5a4f 98%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255,59,48,.45)); }
.beats b { display: block; font-size: 20px; font-weight: 500; }
.beats small { display: block; margin-top: 2px; font-size: 16.5px; color: var(--text-2); }
.takes-foot { margin-top: 34px; font-size: 16px; color: var(--text-3); letter-spacing: .02em; }

.reel-stage { position: relative; display: grid; justify-items: center; }
.reel { position: relative; width: min(100%, 380px, calc((100svh - 160px) * .5625)); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 100px -30px #000, 0 0 90px -20px rgba(255,59,48,.45);
  transform: rotate(-2.5deg); transition: transform 1s var(--ease); }
.reel:hover { transform: rotate(0deg) scale(1.01); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
/* the sticker slapped on the corner */
.sticker { position: absolute; top: -62px; left: calc(50% - min(190px, 50%) - 92px); width: 104px; height: 104px; border-radius: 50%; z-index: 3;
  background: rgba(12,12,14,.55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 18px 40px -16px rgba(0,0,0,.9);
  opacity: 0; transform: scale(.9); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.takes.in .sticker { opacity: 1; transform: none; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.sticker text { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; fill: rgba(255,255,255,.82); }
.sticker i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 14px rgba(255,59,48,.9); animation: pulse 1.6s var(--ease-io) infinite; }
@keyframes pulse { 50% { transform: scale(.75); opacity: .75; } }
.reel-cap { margin-top: 26px; max-width: 360px; text-align: center; font-size: 16px; color: var(--text-2); }
.reel-cap b { color: var(--text); font-weight: 500; margin-right: 6px; }
.reel-tags { display: flex; gap: 8px; margin-top: 16px; }
.reel-tags span { font-size: 15px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: var(--text-2); background: rgba(255,255,255,.03); }

/* nav: a red dot on what's new */
.nav-links a.has-new::after { content: ""; position: absolute; top: 6px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }

/* ── people ─────────────────────────────────────────── */
.people { position: relative; padding: clamp(80px, 12vw, 160px) 0; isolation: isolate;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, #0d0b12, var(--ground) 75%); }
.people > .wrap { position: relative; z-index: 1; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.people-head { max-width: 900px; }
.graph { position: relative; aspect-ratio: 1000 / 600; margin-top: clamp(40px, 6vw, 80px); }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thread { fill: none; stroke: url(#thread); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(241,194,125,.6)); }
.graph.in .thread { transition: stroke-dashoffset 2.2s var(--ease-io); stroke-dashoffset: 0; }
.graph.in .thread:nth-child(3) { transition-delay: .2s; } .graph.in .thread:nth-child(4) { transition-delay: .4s; }
.spark { fill: #fff3dc; filter: drop-shadow(0 0 4px var(--gold-hi)) drop-shadow(0 0 10px rgba(216,163,95,.8)); opacity: 0; transition: opacity .6s; }
.graph.sparking .spark { opacity: 1; }
.person {
  position: absolute; top: 25%; left: var(--x); transform: translate(-50%, -100%);
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(18,18,22,.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.graph.in .person { opacity: 1; }
.person b { display: block; font-weight: 500; font-size: 16px; }
.person small { color: var(--text-2); font-size: 15.5px; white-space: nowrap; }
.person b { white-space: nowrap; }
.rec {
  position: absolute; left: 50%; top: 61%; transform: translateX(-50%) translateY(20px);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; width: min(560px, 92%); padding: 18px;
  border-radius: 22px; background: linear-gradient(180deg, rgba(26,22,16,.92), rgba(14,13,12,.95));
  border: 1px solid rgba(241,194,125,.55);
  box-shadow: 0 0 0 1px rgba(216,163,95,.15), 0 0 60px -10px rgba(216,163,95,.45), 0 40px 80px -30px #000;
  opacity: 0; transition: opacity 1.2s var(--ease) 1.4s, transform 1.2s var(--ease) 1.4s;
}
.graph.in .rec { opacity: 1; transform: translateX(-50%); }
.rec img { width: clamp(84px, 11vw, 128px); aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; }
.rec-title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.rec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.match { flex: none; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; color: #0a0a0a; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 18px rgba(216,163,95,.45); }
/* where it sits for each of them: the signal, at a glance */
.ranks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ranks span { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 999px; font-size: 14.5px; color: var(--text-2);
  background: rgba(216,163,95,.08); border: 1px solid rgba(216,163,95,.3); }
.ranks img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ranks b { color: var(--gold-hi); font-weight: 700; font-family: var(--num); }
.quote small { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--text-3); }
.chip { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--gold-hi); background: rgba(216,163,95,.12); border: 1px solid rgba(216,163,95,.35); }
.quote { font-family: var(--serif); font-style: italic; color: var(--text-2); margin-top: 12px; font-size: 17px; line-height: 1.4; }
.rec-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15.5px; color: var(--text-2); }
.stack { display: inline-flex; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(30px, 5vw, 60px); }
.duo-card { padding: 30px 32px; border-radius: 22px; background: var(--ground-2); border: 1px solid var(--line); }
.duo-tag { font-size: 15px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.duo-lede { color: var(--text-2); margin-top: 10px; max-width: 30em; }
.duo-card h3 { font-family: var(--sans); font-weight: 400; font-size: 32px; letter-spacing: -0.01em; }
.duo-card ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.duo-card li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.duo-card li::before { content: ""; width: 14px; height: 14px; margin-top: .4em; border-radius: 50%; flex: none; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }

/* ── categories ─────────────────────────────────────────── */
.cats { position: relative; padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.cats > .wrap, .marquees { position: relative; z-index: 1; }
/* the categories themselves, huge and outlined, drifting behind the posters */
.cats-bg { position: absolute; left: 0; right: 0; top: clamp(40px, 5vw, 80px); z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.cats-bg-track { display: flex; width: max-content; animation: slide 140s linear infinite; }
.cats-bg span { font-size: clamp(140px, 22vw, 340px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; padding-right: .3em;
  color: transparent; -webkit-text-stroke: 1px rgba(241,194,125,.22); }
.marquees { margin-top: clamp(40px, 6vw, 80px); display: grid; gap: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee::before {
  content: attr(data-label); position: absolute; z-index: 2; left: 12%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); font-weight: 300; letter-spacing: -0.02em;
  padding: 6px 18px; border-radius: 999px; background: rgba(7,7,7,.66); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); pointer-events: none;
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: slide var(--dur, 80s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.poster {
  position: relative; flex: none; height: var(--ph, 240px); border-radius: 10px; overflow: hidden; background: #141418;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 20px 40px -24px #000;
}
.poster img { height: 100%; width: auto; }
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.28), transparent 55%);
}
.poster:hover { box-shadow: 0 0 0 1px rgba(241,194,125,.8), 0 0 30px rgba(216,163,95,.35), 0 30px 50px -20px #000; }
.poster:hover::after { opacity: 1; }
.marquee[data-kind="music"] { --ph: 190px; }

/* ── final ─────────────────────────────────────────── */
.final { padding: clamp(100px, 14vw, 200px) 0 clamp(100px, 12vw, 160px); position: relative; }
.final { isolation: isolate; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 75% 55%, rgba(216,163,95,.14), transparent 70%); pointer-events: none; }
.final > .wrap { position: relative; z-index: 1; }
/* stage light falling on the number one */
.beams { position: absolute; z-index: 0; left: 40%; right: -10%; top: -30%; height: 130%; pointer-events: none; transform-origin: 60% 0;
  background: conic-gradient(from 160deg at 60% 0%, transparent 0deg, rgba(241,194,125,.10) 6deg, transparent 11deg, transparent 17deg, rgba(241,194,125,.07) 22deg, transparent 29deg, rgba(241,194,125,.05) 34deg, transparent 40deg);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%);
  animation: sway 14s var(--ease-io) infinite alternate; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.final-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.sans-quote span { display: block; white-space: nowrap; } /* always breaks after "the" */
.sans-quote { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.015em; color: var(--text-2); margin-bottom: 28px; max-width: 20em; }
.one { position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; align-items: end; column-gap: 6px; }
.one-num {
  grid-row: 1; font-family: var(--num); font-weight: 900; font-size: clamp(200px, 26vw, 380px); line-height: .74; letter-spacing: -0.08em; padding-right: .04em;
  background: linear-gradient(190deg, #fff 10%, var(--gold-hi) 45%, var(--gold) 70%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(216,163,95,.35));
}
.one-frame {
  grid-row: 1; position: relative; height: clamp(300px, 34vw, 440px); width: calc(clamp(300px, 34vw, 440px) * var(--ar, .6667));
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(241,194,125,.9), 0 0 50px rgba(216,163,95,.4), 0 60px 100px -30px #000;
  transition: width .45s var(--ease-io); background: #121214;
}
.one-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .45s var(--ease), transform 4s var(--ease); }
.one-frame img.on { opacity: 1; transform: none; }
.one-cap { grid-column: 1 / -1; grid-row: 2; margin-top: 20px; font-family: var(--serif); font-style: italic; color: var(--text-2); text-align: center;
  height: 3.2em; line-height: 1.6; overflow: hidden; transition: opacity .6s; } /* two lines, always: a long title can't push the 1 up */

/* ── download ─────────────────────────────────────────── */
.download { margin-top: 40px; display: grid; gap: 18px; justify-items: start; }
.download-lede { color: var(--text-2); font-size: 19px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 66px; padding: 0 24px 0 20px; border-radius: 16px;
  background: var(--text); color: #0a0a0a; line-height: 1.1; font-size: 21px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.store small { display: block; white-space: nowrap; font-size: 13.5px; font-weight: 400; letter-spacing: .02em; opacity: .75; }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(216,163,95,.6), 0 0 0 1px rgba(241,194,125,.7); }
.store.dim { background: rgba(22,22,30,.8); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.store.dim:hover { box-shadow: inset 0 0 0 1px rgba(241,194,125,.6); }
.web-link { font-size: 17px; color: var(--text-2); transition: color .3s; }
.web-link:hover { color: var(--gold-hi); }

/* the hero's store buttons: the first thing to do on the page */
.hero-get { margin-top: 40px; display: grid; justify-items: center; gap: 18px; }
.stores-hero { justify-content: center; gap: 14px; }
.stores-hero .store { height: 72px; padding: 0 28px 0 22px; border-radius: 18px; font-size: 23px; gap: 14px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.5); }
.stores-hero .store svg { width: 30px; height: 30px; }
.stores-hero .store small { font-size: 14px; }
.stores-hero .store:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -14px rgba(216,163,95,.6), 0 0 0 1px rgba(241,194,125,.9); }
.stores-hero .store.dim { background: rgba(16,16,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-sub { font-size: 16px; color: var(--text-2); }
.hero-sub i { font-style: normal; color: var(--gold); padding: 0 .4em; }
.hero-sub a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.hero-sub a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* a quiet bar that rises once the hero is gone, and steps aside at the download block */
.app-bar {
  position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px;
  width: max-content; max-width: calc(100vw - 32px);
  background: rgba(16,16,20,.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.8);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.app-bar.show { transform: translate(-50%, 0); opacity: 1; }
.app-bar .wordmark { width: 56px; }
.app-bar-copy { font-size: 17px; line-height: 1.2; white-space: nowrap; }
.app-bar-copy small { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 2px; }

/* ── philosophy page ─────────────────────────────────────────── */
.foot-link:hover { color: var(--gold-hi); }
.ph-tag { color: var(--gold); }
.ph-body { max-width: 34em; font-size: clamp(18px, 1.4vw, 20px); margin-top: 28px; }
.ph-hero { position: relative; padding: clamp(170px, 20vw, 260px) 0 clamp(80px, 10vw, 140px); isolation: isolate; overflow: hidden; }
.ph-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%); }
.ph-hero::after { content: ""; position: absolute; right: -10%; top: 0; width: 60%; height: 90%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse, rgba(216,163,95,.14), transparent 65%); filter: blur(30px); }
.ph-hero .display { max-width: 15em; }
.ph-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }

.ph-rank { position: relative; padding: clamp(100px, 13vw, 180px) 0; background: linear-gradient(180deg, var(--ground), #090c13 18%, #0a0e17 50%, #090c13 82%, var(--ground)); }
.ph-stars { list-style: none; border-top: 1px solid var(--a-rule); }
.ph-stars li { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--a-rule); font-size: 18px; color: var(--text-3); }
.ph-stars .st { letter-spacing: 4px; color: #4a4e59; font-size: 20px; }
.ph-stars li.one { color: var(--text); padding: 26px 4px; background: linear-gradient(90deg, rgba(216,163,95,.16), transparent 60%); }
.ph-stars .rk { font-family: var(--num); font-weight: 900; font-size: 72px; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(195deg, #fff 30%, var(--gold) 80%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(216,163,95,.45)); padding-bottom: .05em; }

.ph-people { position: relative; padding: clamp(100px, 13vw, 180px) 0; background: radial-gradient(ellipse 80% 60% at 50% 60%, #0d0b12, var(--ground) 75%); }
.ph-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 40px; max-width: 1000px; }
.ph-cols .body { margin-top: 0; max-width: none; font-size: clamp(18px, 1.4vw, 20px); }

.ph-depth { position: relative; padding: clamp(100px, 13vw, 180px) 0; background: linear-gradient(180deg, var(--ground), #0c0a08 15%, #0c0a08 85%, var(--ground)); overflow: hidden; }
.orbit { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-ring { fill: none; stroke: rgba(241,194,125,.22); stroke-width: 1; stroke-dasharray: 3 6; }
.orb-spokes line { stroke: rgba(241,194,125,.55); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(241,194,125,.6)); }
.orbit.in .orb-spokes line { transition: stroke-dashoffset 1.1s var(--ease-io) calc(.3s + var(--i) * .09s); stroke-dashoffset: 0; }
/* the whole cover at its own 3:4: never cropped (the app's rule), so the title reads */
.orb-core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%) scale(.9); border-radius: 10px; overflow: hidden; opacity: 0;
  box-shadow: 0 0 0 1px rgba(241,194,125,.9), 0 0 0 7px rgba(216,163,95,.12), 0 0 60px rgba(216,163,95,.45); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.orbit.in .orb-core { opacity: 1; transform: translate(-50%, -50%); }
.orb-core img { width: 100%; height: 100%; object-fit: cover; }
.orb-node { position: absolute; transform: translate(-50%, -50%) scale(.9); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 15.5px; color: var(--text); background: rgba(18,16,14,.9); border: 1px solid rgba(241,194,125,.35);
  opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.9s + var(--i) * .09s); }
.orb-node i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); }
.orbit.in .orb-node { opacity: 1; transform: translate(-50%, -50%); }

.ph-final { text-align: left; }
.ph-final .display { max-width: 16em; }

/* ── footer ─────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 16px; }
.foot-row { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .ph-split, .ph-cols { grid-template-columns: 1fr; }
  .orbit { max-width: 360px; margin-top: 20px; }
  .orb-node { font-size: 14px; padding: 6px 11px 6px 9px; }
  .ph-stars li { grid-template-columns: 120px 1fr; font-size: 16.5px; }
  .takes-grid { grid-template-columns: 1fr; }
  .reel-stage { margin-top: 30px; }
  .reel { width: min(78vw, 340px); }
  .sticker { width: 84px; height: 84px; left: -14px; top: -52px; }
  .vf-meta { display: none; }
  .vf-rec { left: 46px; font-size: 12.5px; }
  .hero-fade { background: radial-gradient(ellipse 90% 40% at 50% 50%, rgba(7,7,7,.85), transparent 75%), linear-gradient(180deg, rgba(7,7,7,.75) 0%, transparent 18%, transparent 70%, var(--ground) 100%); }
  .nav-links { display: none; }
  .rank-grid { grid-template-columns: 1fr; }
  .board { max-width: 440px; width: 100%; margin: 0 auto; }
  .how { height: 440vh; }
  .how-sticky { align-items: stretch; }
  .how-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; padding-top: 76px; padding-bottom: 20px; height: 100%; }
  .phone-stage { order: -1; }
  .iphone { --w: min(270px, 60vw, calc((100svh - 330px) * 0.474)); --ry: 0deg; --rx: 0deg; }
  .phone-stage::before { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
  .phone-stage::after { width: 400px; height: 400px; margin: -200px 0 0 -200px; }
  .rank-grid::after { right: 10%; width: 140px; top: 40%; }
  .how-copy .eyebrow { display: none; }
  .how-steps { min-height: 150px; }
  .hstep .display.md { font-size: clamp(26px, 7vw, 36px); }
  .hstep p { margin-top: 12px; font-size: 16.5px; }
  .how-nav { margin-top: 0; position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; }
  .how-nav button { width: 64px; font-size: 0; gap: 0; }
  .graph { aspect-ratio: 1000 / 900; }
  .threads { display: none; }
  .person { position: relative; top: auto; left: auto; transform: none; margin: 0 auto 10px; width: fit-content; }
  .rec { position: relative; top: auto; left: auto; transform: translateY(20px); margin: 24px auto 0; }
  .graph.in .rec { transform: none; }
  .graph { aspect-ratio: auto; }
  .duo { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; }
  .one { margin-top: 40px; }
  .pairs-head, .pair { grid-template-columns: 1fr 40px 1fr; gap: 14px; }
  .few-grid { grid-template-columns: repeat(5, 1fr); width: 130vw; margin-left: -15vw; }
}
@media (max-width: 560px) {
  .sans-quote span { white-space: normal; }
  .stores-hero { width: 100%; flex-wrap: nowrap; gap: 10px; }
  .stores-hero .store { flex: 1 1 0; min-width: 0; height: 60px; padding: 0 12px; gap: 9px; font-size: 18px; border-radius: 15px; }
  .stores-hero .store svg { width: 24px; height: 24px; }
  .stores-hero .store small { font-size: 12.5px; }
  .hero-sub { font-size: 15.5px; text-align: center; line-height: 1.7; }
  .store { height: 58px; font-size: 18px; flex: 1 1 150px; padding: 0 14px; gap: 10px; }
  .store small { font-size: 12.5px; }
  .app-bar-copy { font-size: 15.5px; }
  .app-bar-copy small { font-size: 13.5px; }
  .stores { width: 100%; }
  .app-bar .wordmark { display: none; }
  .app-bar { gap: 12px; padding-left: 16px; }
  .one-num { font-size: 180px; }
  .one-frame { height: 280px; width: calc(280px * var(--ar, .6667)); }
  .one-cap { grid-column: 1 / -1; text-align: center; }
  .pair { font-size: 20px; }
  .rec { grid-template-columns: 1fr; text-align: left; }
  .marquee::before { left: 16px; }
  .poster { --ph: 170px; }
  .marquee[data-kind="music"] { --ph: 140px; }
  .foot-row { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ── phones: a pass at 390 and 360 ─────────────────────────────── */
@media (max-width: 700px) {
  /* the nav's own "Get the app" is pinned already; a second floating bar only covers content */
  .app-bar { display: none; }
  /* hero: quieter wall, legible copy, a sub-line that breaks where it should */
  .hero-dark { background: rgba(7,7,7,.94); }
  .hero-fade { background: radial-gradient(ellipse 120% 55% at 50% 52%, rgba(7,7,7,.9), rgba(7,7,7,.55) 70%, transparent), linear-gradient(180deg, rgba(7,7,7,.8) 0%, transparent 20%, transparent 70%, var(--ground) 100%); }
  .hero-copy { padding-top: 104px; padding-bottom: 72px; }
  .hero-copy .lede { font-size: 17px; color: #c9c6cf; text-shadow: 0 1px 12px #000; margin-top: 22px; }
  .hero .eyebrow { margin-bottom: 16px; text-shadow: 0 1px 10px #000; }
  .hero-get { margin-top: 30px; width: 100%; }
  .hero-sub { line-height: 1.75; }
  .hs-free { display: block; color: var(--text-2); }
  .hs-dot { display: none; }
  /* takes: the REC readout moves to the right so it never sits on the NEW label */
  .vf-rec { left: auto; right: 46px; }
  .vf { inset: 84px 14px 14px; }
  /* categories: the outlined words fight the heading at this size */
  .cats-bg { display: none; }
  /* how it works: a bigger phone, so the app reads */
  .iphone { --w: min(300px, 70vw, calc((100svh - 300px) * 0.474)); }
  .hstep .display.md { font-size: clamp(25px, 6.6vw, 32px); }
  .hstep p { font-size: 16px; line-height: 1.5; }
  /* the step bars sit between the phone and the copy, so long copy never runs into them */
  .how-copy { display: flex; flex-direction: column; }
  .how-nav { order: -1; position: static; transform: none; margin: 0 auto 14px; }
  .iphone { --w: min(300px, 70vw, calc((100svh - 320px) * 0.474)); }
}

/* ── legal: /legal/privacy-policy and /legal/terms-of-service (generated by web/site/legal.mjs) ── */
.legal { padding: calc(132px + env(safe-area-inset-top, 0px)) var(--gutter) 96px; }
.legal-wrap { max-width: 780px; margin: 0 auto; }
.legal .eyebrow { margin-bottom: 20px; }
.legal-doc h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: .01em; margin: 0 0 24px; color: var(--text); }
.legal-doc h2 { font-size: 16px; font-weight: 500; letter-spacing: .12em; color: var(--gold-hi); margin: 56px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-doc h3 { font-size: 19px; font-weight: 500; color: var(--text); margin: 36px 0 12px; scroll-margin-top: 96px; }
.legal-doc h2 a, .legal-doc h3 a { color: inherit; }
.legal-doc h2 a:hover, .legal-doc h3 a:hover { color: var(--text); }
.legal-doc p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0 0 16px; }
.legal-doc strong { color: var(--text); font-weight: 500; }
.legal-doc p a, .legal-doc td a, .legal-other a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.legal-doc p a:hover, .legal-doc td a:hover, .legal-other a:hover { color: var(--gold-hi); }
.legal-table { margin: 8px 0 24px; overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal-table th { text-align: left; font-weight: 500; color: var(--text); padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.legal-table td { color: var(--text-2); padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th:first-child, .legal-table td:first-child { padding-left: 0; }
.legal-table td:first-child { color: var(--text); }
.legal-toc { margin: 0 0 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--ground-2); }
.legal-toc summary { cursor: pointer; padding: 14px 18px; font-size: 16px; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.legal-toc[open] summary::after { content: "−"; }
.legal-toc ol { margin: 0; padding: 4px 18px 18px 40px; columns: 2; column-gap: 32px; font-size: 16px; line-height: 1.5; color: var(--text-3); }
.legal-toc li { break-inside: avoid; padding: 4px 0; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--gold-hi); }
.legal .eyebrow a { color: inherit; }
.legal .eyebrow a:hover { color: var(--gold-hi); }
.legal-index-title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 400; line-height: 1.1; margin: 0 0 32px; }
.legal-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.legal-index a { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--ground-2); transition: border-color .3s, background .3s; }
.legal-index a:hover { border-color: var(--gold-deep); background: var(--card); }
.legal-index b { font-weight: 500; font-size: 20px; color: var(--text); }
.legal-index span { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.legal-index small { font-size: 16px; color: var(--text-3); }
.legal-other { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 17px; color: var(--text-2); }
@media (max-width: 700px) {
  .legal { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
  .legal-doc p { font-size: 16px; }
  .legal-toc ol { columns: 1; }
  /* tables become one card per row, each cell labelled by its column */
  .legal-table thead { display: none; }
  .legal-table table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; margin-bottom: 12px; background: var(--ground-2); }
  .legal-table td, .legal-table td:first-child { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .legal-table tr td:last-child { border-bottom: 0; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 14px; letter-spacing: .06em; color: var(--text-3); margin-bottom: 2px; }
}
