@font-face { font-family: 'Lilita One'; src: url('/fonts/LilitaOne.ttf') format('truetype'); font-weight: 400; font-display: swap; }

/* Soft 3D: pastel sky, cream clay, navy ink. Every surface is a rounded "clay" block with a light top
   edge and a darker bottom edge, like the game's own buttons. */
:root {
  --sky:#bfe6ff; --sky-deep:#8fd0ff; --cream:#fff8ec; --clay:#fff1dc; --sand:#ffe2b8;
  --navy:#16245e; --ink:#4a5888; --coral:#ff6a3d; --coral-deep:#d9481c; --sun:#ffc83a; --mint:#5fd0b2; --grape:#8e6cf0;
  --display:'Lilita One','Arial Rounded MT Bold','Arial Black',sans-serif;
  --body:ui-rounded,'SF Pro Rounded',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --gutter:16px; --wrap:min(1180px, calc(100% - 2 * var(--gutter)));
  --clay-shadow: inset 0 2px 0 rgba(255,255,255,.9), inset 0 -5px 0 rgba(22,36,94,.08), 0 14px 30px -10px rgba(22,36,94,.28);
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--navy); font-family: var(--body); background: linear-gradient(180deg, var(--sky) 0, var(--cream) 1100px) var(--cream); overflow-x: clip; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .kicker, .chip, .btn, figcaption, .meta, .top-nav a, .hud, .count, .tag, .pts, .win b, .unlock b, .ribbon, .viewers, .power small, .n, summary {
  font-family: var(--display); font-weight: 400; letter-spacing: .01em;
}
h1, h2, h3 { margin: 0; line-height: 1.04; }
.kicker { margin: 0 0 6px; color: var(--coral); font-size: .9rem; letter-spacing: .08em; }
.sub { color: var(--ink); font-size: 1.05rem; max-width: 600px; margin: 10px auto 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sec-head { text-align: center; width: var(--wrap); margin: 0 auto; }
.sec-head h2 { font-size: clamp(2rem, 7vw, 3.2rem); }

/* Buttons: chunky clay pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: linear-gradient(#ff8f5c, var(--coral) 60%); color: #fff; text-decoration: none; font-size: 1.12rem;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -5px 0 var(--coral-deep), 0 10px 22px -6px rgba(217,72,28,.55);
  text-shadow: 0 2px 0 rgba(150,40,0,.35); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn.soft { background: #fff; color: var(--navy); text-shadow: none; box-shadow: var(--clay-shadow); }

/* Top bar */
.top { position: absolute; z-index: 20; top: 0; left: 0; right: 0; width: var(--wrap); margin: 0 auto; padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 6px 14px -4px rgba(22,36,94,.4); }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav a { text-decoration: none; font-size: .92rem; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.78); backdrop-filter: blur(8px); box-shadow: var(--clay-shadow); }
.top-nav .top-cta { background: var(--coral); color: #fff; box-shadow: inset 0 -3px 0 var(--coral-deep); }
@media (max-width: 520px) { .top-nav a:not(.top-cta) { display: none; } }

/* ---------- 1. HERO ---------- */
.hero { position: relative; min-height: max(100svh, 740px); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene .layer { position: absolute; }
.hero .back { inset: -6% 0 -6% 0; }
.hero .back img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero .scene::before { content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgba(255,246,234,.92) 0%, rgba(255,246,234,.7) 36%, rgba(255,246,234,0) 58%); }
.hero .scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: 8; background: linear-gradient(0deg, var(--sky), rgba(191,230,255,.55) 45%, transparent); }
/* the base and the two on it: one block in the base's own proportions, so the feet stand on its top at every size */
.hero .podium { z-index: 9; --w: min(88vw, 360px); width: var(--w); aspect-ratio: 1004 / 458; left: 50%; margin-left: calc(var(--w) / -2); bottom: 26px; container-type: inline-size; }
.podium > * { position: absolute; }
.podium .pod { inset: 0; width: 100%; height: 100%; }
.floor-shade { left: -10%; right: -14%; bottom: -16%; height: 50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(130,55,20,.34), rgba(130,55,20,0)); }
.plate { left: 34%; width: 32%; top: 73%; height: 18%; display: grid; place-items: center; font-family: var(--display); font-size: 3.6cqw; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.shoe { height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110,45,15,.5), rgba(110,45,15,0)); }
.f-host { left: 17%; width: 30%; top: 34%; } .f-dad { left: 50%; width: 32%; top: 38%; }
.podium .host { height: 155%; left: 8%; bottom: 60%; filter: drop-shadow(0 10px 10px rgba(110,45,15,.18)); }
.podium .dad { height: 148%; right: 8%; bottom: 56%; filter: drop-shadow(0 10px 10px rgba(110,45,15,.18)); }
.hero .front-l { z-index: 7; width: min(40vw, 280px); left: -6%; bottom: -4%; }
.hero .front-r { z-index: 7; width: min(26vw, 180px); right: -4%; bottom: -2%; }
.hero-copy { position: relative; z-index: 10; width: var(--wrap); margin: 0 auto; padding: 78px 0 380px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--clay-shadow); }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,106,61,.2); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-word { width: min(64%, 400px); margin: 12px auto 4px; filter: drop-shadow(0 8px 10px rgba(22,36,94,.25)); }
.hero h1 { font-size: clamp(1.9rem, 8vw, 3.3rem); color: var(--navy); }
.hero h1 span { color: var(--coral); }
.lead { color: var(--ink); font-size: 1.06rem; max-width: 520px; margin: 10px auto 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- 2. THE SHOW: the scroll story ---------- */
.story { position: relative; background: var(--sky); }
.story-pin { position: relative; min-height: 100svh; width: var(--wrap); margin: 0 auto; padding: 22px 0 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.captions { position: relative; width: 100%; max-width: 460px; text-align: center; }
.cap { padding: 0 4px; }
.cap h3 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
.cap p:last-child { margin: 6px 0 0; color: var(--ink); font-size: .98rem; }
.anim .captions { display: grid; }
.anim .cap { grid-area: 1 / 1; }

.stage { width: min(100%, 440px, 57svh); display: flex; flex-direction: column; gap: 10px; }
html:not(.js) .stage { display: none; }
/* the game's HUD v2 (build 198): faces in white frames, the blue|orange split score with the turn clock, the round tape */
.hud { display: grid; grid-template-columns: 58px 1fr 58px; grid-template-rows: auto auto; align-items: center; column-gap: 6px; row-gap: 6px; }
.face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.face span { display: block; width: 54px; height: 54px; padding: 4px; background: url('/assets/fr/px/sb2_square.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px rgba(22,36,94,.22)); }
.face span i { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: var(--sky); }
.face.rival span i { background: #ffe0d2; }
.face span img { display: block; width: 150%; max-width: none; margin-left: -25%; }
.face small { font-family: var(--display); font-size: .58rem; letter-spacing: .02em; color: #fff; -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; white-space: nowrap; }
.x2 { position: absolute; right: -10px; top: -8px; width: 30px; opacity: 0; }
.x2 img { width: 100%; display: block; }
.sb { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; aspect-ratio: 1335 / 438; max-height: 64px; background: url('/assets/fr/px/sb2_split.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 4px 4px rgba(22,36,94,.22)); }
.sb b { text-align: center; font-size: clamp(1.35rem, 6.4vw, 1.95rem); font-weight: 400; line-height: 1; color: #fff; -webkit-text-stroke: 4px rgba(16,30,90,.45); paint-order: stroke fill; padding-bottom: 4%; }
.sb .clock { display: grid; place-items: center; width: 44px; aspect-ratio: 1; margin: -6px 0; font-style: normal; font-family: var(--display); font-size: 1.05rem; color: var(--navy);
  background: radial-gradient(closest-side, #fff calc(100% - 6px), transparent calc(100% - 5px)), conic-gradient(#3b8cf0 .78turn, #d9e6f7 0); border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 3px 4px rgba(22,36,94,.25); }
.round { grid-column: 1 / -1; justify-self: center; display: grid; font-size: .74rem; }
.round span { grid-area: 1 / 1; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: #3e4a73; white-space: nowrap; box-shadow: inset 0 2px 3px rgba(0,0,0,.25); }
.round b { font-weight: 400; color: #fff; background: var(--grape); padding: 3px 12px; border-radius: 999px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.round i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-family: var(--display); font-size: .66rem; color: #c8cfe6; background: #5a668f; }
.round i.past { color: #fff; background: #7f6be8; opacity: .7; }
html:not(.anim) .round span:not(:first-child) { display: none; }

/* the tray: a clay board with a soft checker */
.tray { position: relative; aspect-ratio: 1; border-radius: 26px; padding: 3.2%; background: linear-gradient(#ffe7c4, #ffd79c);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.8), inset 0 -8px 0 rgba(170,100,20,.18), 0 22px 40px -14px rgba(22,36,94,.4); }
.cells, .grid, .fx-layer { position: absolute; inset: 3.2%; }
.cells { display: grid; grid-template-columns: repeat(7, 1fr); border-radius: 18px; overflow: hidden; background: #fff6e6; }
.cells i:nth-child(odd) { background: #ffeed4; }
.grid { overflow: hidden; border-radius: 18px; }
.tile { position: absolute; left: 0; top: 0; width: calc(100% / 7); height: calc(100% / 7); padding: 1.6%; will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(120,60,10,.25)); }
.tile.rocket-h img { transform: rotate(90deg); }
.tile.sp img { filter: drop-shadow(0 0 6px rgba(255,255,255,.95)) drop-shadow(0 3px 2px rgba(120,60,10,.3)); }
.fx-layer { pointer-events: none; z-index: 3; }
.hint-box { position: absolute; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(255,106,61,.55), 0 0 18px rgba(255,255,255,.9); }
.col-glow { position: absolute; border-radius: 12px; background: linear-gradient(rgba(255,200,58,.0), rgba(255,200,58,.55), rgba(255,200,58,0)); box-shadow: 0 0 24px rgba(255,200,58,.8); }
.beam { position: absolute; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); box-shadow: 0 0 20px #fff; }
.beam.v { background: linear-gradient(transparent, rgba(255,255,255,.95), transparent); }
.pts { position: absolute; color: #fff; font-size: 1.25rem; padding: 2px 9px; border-radius: 999px; background: var(--mint); box-shadow: inset 0 -3px 0 rgba(0,0,0,.15), 0 6px 12px -4px rgba(22,36,94,.4); white-space: nowrap; }
.pts.big { background: var(--coral); font-size: 1.5rem; }
.fx { position: absolute; opacity: 0; visibility: hidden; }
.fx-extra, .fx-final { left: 8%; width: 84%; top: 36%; filter: drop-shadow(0 10px 14px rgba(22,36,94,.35)); }
.fx-final { top: 42%; }
.dm { inset: -4%; border-radius: 28px; background: radial-gradient(circle at 50% 60%, rgba(255,200,58,.95), rgba(255,130,40,.9) 70%); overflow: hidden; }
.dm-dad { position: absolute; height: 70%; width: auto; max-width: none; left: 50%; bottom: 0; margin-left: -23%; }
.dm-word { position: absolute; width: 64%; left: 18%; top: 3%; filter: drop-shadow(0 8px 10px rgba(120,40,0,.4)); }
.win { inset: 18% 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 26px; background: rgba(255,255,255,.94); box-shadow: var(--clay-shadow); text-align: center; }
.win img { width: 30%; }
.win b { font-size: 1.5rem; font-weight: 400; color: var(--navy); }
.unlock { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 22px; background: rgba(22,36,94,.55); backdrop-filter: blur(4px); }
.unlock-card { position: relative; width: 58%; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 5px #fff, 0 20px 40px -10px rgba(0,0,0,.5); }
.unlock-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.unlock-card b { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 8px 10px; color: #fff; font-size: 1.15rem; font-weight: 400; text-align: center; background: linear-gradient(transparent, rgba(22,36,94,.85)); }
.ribbon { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .85rem; color: #fff; padding: 4px 12px; border-radius: 999px; background: var(--coral); box-shadow: inset 0 -3px 0 var(--coral-deep); }
.viewers { display: flex; align-items: center; gap: 6px; margin: 0; color: #fff; font-size: 1.3rem; padding: 4px 14px 4px 6px; border-radius: 999px; background: var(--grape); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.viewers img { width: 30px; }

/* the dock: 3 errand cards, the DAD MODE buzzer, Mom's power-up */
.dock { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: stretch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot { position: relative; display: grid; }
.card { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 4px 9px; border-image: url('/assets/fr/px/card2.webp') 110 fill / 18px / 6px; }
.card.race { border-image-source: url('/assets/fr/px/card2_race.webp'); }
.card .who { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; object-fit: cover; object-position: 50% 0; border-radius: 50%; background: var(--sky); }
.card .item { width: 52%; aspect-ratio: 1; object-fit: contain; }
.card .count { font-size: 1rem; font-weight: 400; line-height: 1; margin-top: 2px; }
.card .bar { width: 78%; height: 6px; margin-top: 4px; border-radius: 9px; background: #efe6d6; overflow: hidden; display: none; }
.card .tag { position: absolute; right: 2px; top: 3px; font-size: .55rem; color: var(--navy); background: var(--sun); padding: 1px 5px; border-radius: 999px; }
.card .tick { position: absolute; width: 46%; aspect-ratio: 1; top: 18px; left: 27%; border-radius: 50%; opacity: 0; visibility: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat, radial-gradient(circle at 35% 30%, #9af5cf, #2bbd84 72%);
  box-shadow: 0 4px 0 #1d9466, 0 6px 10px rgba(20,90,60,.3), inset 0 2px 2px rgba(255,255,255,.6); }
.card .plus { position: absolute; top: -6px; right: -2px; font-style: normal; font-family: var(--display); color: #fff; font-size: .9rem; background: var(--coral); padding: 1px 7px; border-radius: 999px; opacity: 0; visibility: hidden; }
html:not(.anim) .card.later { display: none; }
/* DAD MODE as in the game: a buzzer on its own, no box; the ring charges bolt by bolt, full it glows and wears TAP! */
.buzzer, .power { --ready: 0; position: relative; display: grid; place-items: center; }
.buzzer { width: 96px; }
.buzzer .glow { position: absolute; width: 150%; max-width: none; left: -25%; top: 50%; translate: 0 -50%; opacity: var(--ready); pointer-events: none; }
.buzz { position: relative; display: block; width: 96px; aspect-ratio: 1; filter: drop-shadow(0 4px 4px rgba(20,40,110,.25)); }
.buzz img { position: absolute; inset: 0; width: 100%; height: 100%; }
.buzz .b1, .buzz .b2 { opacity: 0; visibility: hidden; }
.buzzer .tap, .power .tap { position: absolute; opacity: var(--ready); pointer-events: none; }
.buzzer .tap { width: 46px; right: -8px; top: calc(50% + 22px); rotate: -8deg; }
.buzzer .bolts { display: none; }
.bolts { display: flex; gap: 4px; margin-top: 3px; }
.bolts img { width: 20px; }
/* the game's power disc: blue until it is full, then gold; the green charge ring fills from the bottom as Mom's card fills */
.power { --chg: 0; width: 62px; }
.power .disc { grid-area: 1 / 1; width: 62px; filter: drop-shadow(0 3px 3px rgba(20,40,110,.22)); }
.power .disc.gold { opacity: var(--ready); }
.power .ring { grid-area: 1 / 1; position: relative; width: 54px; height: 54px; margin-top: -3px; display: grid; place-items: center; }
.power .ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 180deg, #7ce040 calc(var(--chg) * 1turn), rgba(255,255,255,.3) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.power .ring img { position: relative; width: 56%; }
.power .who { position: absolute; top: 2px; left: -4px; width: 22px; height: 22px; object-fit: cover; object-position: 50% 0; border-radius: 50%; background: #7ccbff; box-shadow: 0 0 0 2px #fff; }
.power .tap { width: 40px; top: -12px; left: 11px; }
.dock { position: relative; }
.spark { --p: 0; --arc: 0; position: absolute; left: calc((100% - 184px) / 6 + (100% - 32px - (100% - 184px) / 6) * var(--p)); top: calc(50% - var(--arc) * 44px); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle, #fff 0 25%, var(--grape) 60%, rgba(139,92,246,0) 72%); opacity: 0; visibility: hidden; pointer-events: none; z-index: 3; }
html:not(.anim) .power { --chg: 1; }
/* DAD MODE press: the game's hand reaches for the buzzer, presses it, and the tray goes wild (built by story.js) */
.buzzer { z-index: 4; }
.dmx { position: absolute; left: 50%; top: 46%; width: 0; height: 0; pointer-events: none; }
.dmx > * { position: absolute; max-width: none; opacity: 0; visibility: hidden; }
.dmx-hand { width: 54px; left: -36px; top: -4px; transform-origin: 67% 0; filter: drop-shadow(0 8px 8px rgba(22,36,94,.3)); }
.dmx-aim, .dmx-ring, .dmx-flash { width: 80px; height: 80px; left: -40px; top: -40px; border-radius: 50%; }
.dmx-aim { border: 4px solid #fff; box-shadow: 0 0 0 3px rgba(255,200,58,.8), 0 0 18px rgba(255,200,58,.9); }
.dmx-ring { border: 8px solid #ffd23a; box-shadow: 0 0 24px #ffb43a, inset 0 0 18px #fff3b0; }
.dmx-flash { background: radial-gradient(circle, #fff 0 30%, rgba(255,240,170,.9) 50%, rgba(255,200,58,0) 70%); }
.dmx-rays { width: 360px; height: 360px; left: -180px; top: -180px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,236,150,.85) 0 9deg, rgba(255,236,150,0) 9deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); }
.dmx-p { left: -18px; top: -18px; width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(22,36,94,.25)); }
.dmx-star { width: 26px; height: 26px; left: -13px; top: -13px; background: radial-gradient(circle at 45% 40%, #fff 0 14%, #ffe27a 30%, #ffb43a 80%);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.dm-sun { position: absolute; width: 170%; aspect-ratio: 1; left: -35%; top: -20%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.28) 0 10deg, rgba(255,255,255,0) 10deg 24deg); }
@media (min-width: 821px) { .dmx-hand { width: 64px; left: -43px; } .dmx-p { width: 46px; height: 46px; left: -23px; top: -23px; } .dmx-rays { width: 480px; height: 480px; left: -240px; top: -240px; } }

/* without motion the story reads as a list beside the opening board */
html:not(.anim) .captions { max-width: 640px; display: grid; gap: 14px; text-align: left; }
html:not(.anim) .cap { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--clay-shadow); }
html:not(.anim) .story-pin { padding: 70px 0; }

/* ---------- 3. STUDIOS ---------- */
.studios { background: linear-gradient(var(--sky), var(--cream)); overflow: hidden; }
.studios-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 60px 0; }
.track { list-style: none; margin: 0; padding: 6px max(var(--gutter), calc((100% - 1180px) / 2)) 26px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.anim .track { overflow: visible; }
.st { position: relative; flex: none; width: min(70vw, 260px); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--clay-shadow); scroll-snap-align: center; }
.st > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.st > div { position: relative; padding: 12px 14px 14px; }
.st .n { position: absolute; right: 12px; top: -22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--clay-shadow); }
.st h3 { font-size: 1.3rem; padding-right: 30px; }
.st p { margin: 4px 0 0; font-size: .9rem; color: var(--ink); }
.st p b { display: block; font-family: var(--display); font-weight: 400; color: var(--coral); font-size: .82rem; letter-spacing: .04em; }
.st .meta { display: flex; gap: 6px; margin-top: 10px; font-size: .78rem; }
.st .meta span { padding: 3px 9px; border-radius: 999px; background: var(--clay); color: var(--navy); }
.st .meta .free { background: var(--mint); color: #fff; }

/* ---------- 4. FAMILIES ---------- */
.families { padding: 70px 0 80px; }
.family-grid { width: var(--wrap); margin: 28px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fam { --c: var(--sky-deep); margin: 0; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--c) 22%, #fff); box-shadow: var(--clay-shadow); }
.fam img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.fam figcaption { padding: 8px 10px 11px; text-align: center; font-size: 1.05rem; color: color-mix(in srgb, var(--c) 70%, var(--navy)); }

/* ---------- 5. FOOTER ---------- */
.foot { background: var(--navy); color: #dfe6ff; padding: 0 0 34px; }
.join { width: var(--wrap); margin: 0 auto; transform: translateY(-40px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 26px 20px; border-radius: 28px; background: #fff; color: var(--navy); box-shadow: var(--clay-shadow), 0 30px 50px -20px rgba(0,0,0,.45); }
.join-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 8px 16px -6px rgba(22,36,94,.45); }
.join h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.join p { margin: 6px 0 0; color: var(--ink); }
.waitlist-form { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }
.waitlist-mail { font-weight: 600; padding: 12px 16px; border-radius: 999px; background: var(--clay); }
.all-rules { width: var(--wrap); margin: 0 auto 22px; border-radius: 18px; background: rgba(255,255,255,.06); padding: 4px 16px; }
.all-rules summary { cursor: pointer; padding: 12px 0; font-size: 1.1rem; color: #fff; }
.all-rules ul { margin: 0 0 14px; padding-left: 18px; font-size: .92rem; display: grid; gap: 8px; }
.foot nav { width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .92rem; }
.foot nav a { color: #fff; text-decoration: none; opacity: .85; }
.foot nav a:hover { opacity: 1; text-decoration: underline; }
.legal { text-align: center; font-size: .8rem; opacity: .65; margin: 14px auto 0; width: var(--wrap); }

/* ---------- desktop ---------- */
@media (min-width: 821px) {
  .hero { min-height: max(100vh, 700px); }
  .hero .scene::before { background: linear-gradient(90deg, rgba(255,246,234,.94) 0%, rgba(255,246,234,.72) 32%, rgba(255,246,234,0) 54%); }
  .hero .back img { object-position: 50% 55%; }
  .hero-copy { margin: auto 0 auto calc((100% - min(1180px, 100% - 64px)) / 2); width: min(560px, 44%); padding: 90px 0 60px; text-align: left; }
  .hero-word { margin: 16px 0 6px; width: 360px; }
  .hero h1 span { display: block; }
  .lead { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero .podium { z-index: 5; --w: min(40vw, 580px); left: 71%; bottom: 7%; }
  .hero .front-l { width: 220px; left: 0; bottom: -10%; }
  .hero .front-r { width: 190px; right: 1%; bottom: -2%; }

  .story-pin { flex-direction: row; gap: clamp(30px, 5vw, 80px); padding: 30px 0; }
  .captions { max-width: 420px; text-align: left; }
  .cap h3 { font-size: 2.6rem; }
  .cap p:last-child { font-size: 1.1rem; }
  .stage { width: min(500px, 46vw, 72vh); }
  html:not(.anim) .story-pin { align-items: flex-start; }

  .st { width: 290px; }
  .family-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .join { flex-direction: row; text-align: left; padding: 30px 36px; gap: 26px; }
  .join-icon { width: 110px; height: 110px; }
  .waitlist-form { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip i { animation: none; }
  .btn { transition: none; }
}
html:not(.anim) .bolts img { visibility: hidden; }

/* ---------- hero phones: a little live studio of phone screens + game graphics flying round them ---------- */
.hero-stage { order: 2; position: relative; z-index: 6; height: 380px; margin: -6px 0 200px; pointer-events: none; --pw: 150px; }
.hero-copy { padding-bottom: 6px; }
.ph { position: absolute; left: 50%; top: 50%; width: var(--pw); translate: -50% -50%; will-change: transform; }
.ph-in { will-change: transform; }
.ph-m { z-index: 3; } .ph-l { z-index: 1; --k: .78; } .ph-r { z-index: 1; --k: .72; }
.ph-l, .ph-r { width: calc(var(--pw) * var(--k)); filter: blur(1.4px) saturate(.95); }
.ph-l { left: 20%; top: 56%; } .ph-r { left: 80%; top: 40%; }
.ph-l .ph-in { transform: rotate(9deg); } .ph-r .ph-in { transform: rotate(-11deg); }
.ph-m .ph-in { transform: rotate(-6deg); }
.phone { container-type: inline-size; position: relative; padding: 3.4%; border-radius: 15cqw; background: linear-gradient(150deg, #ffffff, #e4eaf8 52%, #c7d2ee);
  box-shadow: inset 0 3px 0 #fff, inset 0 -7px 0 rgba(22,36,94,.14), 0 34px 44px -26px rgba(22,36,94,.4), 0 0 0 1px rgba(22,36,94,.06); }
.phone::before, .phone::after { content: ""; position: absolute; width: 1.6%; border-radius: 3px; background: #c3cde8; }
.phone::before { left: -1.1%; top: 20%; height: 9%; box-shadow: 0 13cqw 0 #c3cde8; }
.phone::after { right: -1.1%; top: 27%; height: 14%; }
.screen { position: relative; aspect-ratio: 720 / 1560; border-radius: 11.6cqw; overflow: hidden; background: #0f1a46; box-shadow: 0 0 0 2px #16245e; }
.screen::before { content: ""; position: absolute; z-index: 2; top: 2.4%; left: 50%; width: 27%; height: 2.5%; translate: -50% 0; border-radius: 99px; background: #0b1235; }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.22) 0, rgba(255,255,255,0) 30%); }
.screen video, .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hfxl { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hfx-back { z-index: 0; } .hfx-front { z-index: 4; }
.hfx { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; opacity: 0; }
.hfx-item { width: 34px; height: auto; filter: drop-shadow(0 6px 5px rgba(22,36,94,.18)); }
.hfx-star { width: 22px; height: 22px; background: radial-gradient(circle, #fff 0 18%, rgba(255,240,170,.95) 20% 36%, rgba(255,200,58,0) 70%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); background-color: #ffe27a; }
.hfx-pts { font-family: var(--display); font-size: 1.5rem; color: #fff; white-space: nowrap; -webkit-text-stroke: 5px var(--navy); paint-order: stroke fill; text-shadow: 0 4px 0 rgba(22,36,94,.25); }
.hfx-pts.b { color: var(--sun); } .hfx-pts.c { color: var(--mint); }
.hfx-bolt { width: 40px; height: auto; filter: drop-shadow(0 5px 4px rgba(22,36,94,.22)); }
.hfx-word { width: 150px; height: auto; filter: drop-shadow(0 8px 6px rgba(22,36,94,.25)); }
.hfx-rays { width: 230px; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); }
.hfx-conf { width: 8px; height: 13px; border-radius: 2px; }
@media (max-width: 380px) { .hero-stage { --pw: 138px; } }

@media (min-width: 821px) {
  .hero-stage { position: absolute; z-index: 4; left: 44%; right: 0; top: 0; bottom: 0; height: auto; margin: 0; --pw: min(21vw, 31vh, 320px); }
  .ph-m { left: 30%; top: 47%; }
  .ph-l { left: 7%; top: 31%; --k: .62; } .ph-r { left: 66%; top: 31%; --k: .66; }
  .hero .podium { --w: min(33vw, 480px); left: 80%; bottom: 6%; }
  .hero-copy { padding-bottom: 60px; }
  .hfx-item { width: 48px; } .hfx-star { width: 28px; height: 28px; } .hfx-pts { font-size: 2.1rem; } .hfx-bolt { width: 54px; } .hfx-word { width: 230px; } .hfx-rays { width: 340px; } .hfx-conf { width: 10px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hfxl { display: none; } }

/* ---------- loader: the studio warms up, the count runs (part real, part show), then ON AIR ---------- */
html.loading { overflow: hidden; }
.loader { --p: 0; position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff6e2 0, #ffd9a6 38%, #ffa36e 100%); transition: opacity .6s ease .05s, visibility .6s .05s; }
html:not(.js) .loader { display: none; }
.ld-rays { position: absolute; left: 50%; top: 42%; width: max(170vmax, 1000px); max-width: none; translate: -50% -50%; opacity: .5; animation: ld-spin 28s linear infinite; }
.ld-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(80vw, 440px); transition: transform .6s cubic-bezier(.3, 1.5, .5, 1), opacity .4s; }
.ld-word { width: 100%; height: auto; animation: ld-bob 1.8s ease-in-out infinite; filter: drop-shadow(0 16px 16px rgba(130,50,0,.22)); }
.ld-bar { position: relative; width: 100%; height: 30px; padding: 6px; box-sizing: border-box; border-radius: 999px; background: #fff;
  box-shadow: inset 0 3px 2px rgba(22,36,94,.08), 0 7px 0 rgba(190,100,40,.22), 0 18px 26px -12px rgba(130,50,0,.4); }
.ld-fill { display: block; height: 100%; width: 0; border-radius: 999px;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.35) 0 9px, rgba(255,255,255,0) 9px 18px), linear-gradient(#ffd23f, #ff5f2e);
  background-size: 25.5px 25.5px, auto; animation: ld-stripes .7s linear infinite;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.65), inset 0 -3px 0 rgba(200,80,20,.35); }
.ld-bolt { position: absolute; top: 50%; left: calc(6px + (100% - 12px) * var(--p)); width: 38px; height: auto; max-width: none; translate: -50% -55%;
  animation: ld-wig .45s ease-in-out infinite alternate; filter: drop-shadow(0 4px 3px rgba(130,50,0,.3)); }
.ld-row { display: flex; align-items: center; gap: 12px; }
.ld-num { min-width: 3.3ch; text-align: right; font-family: var(--display); font-weight: 400; font-size: 2.5rem; line-height: 1; color: #fff;
  -webkit-text-stroke: 6px var(--navy); paint-order: stroke fill; font-variant-numeric: tabular-nums; text-shadow: 0 4px 0 rgba(22,36,94,.2); }
.ld-msg { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.05rem; color: var(--navy); white-space: nowrap;
  padding: 7px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 -3px 0 rgba(22,36,94,.1), 0 8px 16px -8px rgba(130,50,0,.45); }
.loader.air .ld-msg { color: #fff; background: linear-gradient(#ff8f5c, var(--coral)); box-shadow: inset 0 -3px 0 var(--coral-deep), 0 0 0 4px rgba(255,255,255,.7), 0 10px 20px -8px rgba(217,72,28,.6); }
.loader.air .ld-msg::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); animation: ld-dot .5s ease-in-out infinite alternate; }
.loader.air .ld-word { animation: ld-pop .45s cubic-bezier(.3, 1.8, .5, 1); }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.done .ld-box { transform: scale(1.15); opacity: 0; }
@keyframes ld-spin { to { rotate: 360deg; } }
@keyframes ld-bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@keyframes ld-stripes { to { background-position: 25.5px 0, 0 0; } }
@keyframes ld-wig { from { rotate: -10deg; } to { rotate: 10deg; } }
@keyframes ld-dot { to { opacity: .35; } }
@keyframes ld-pop { 40% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .ld-rays, .ld-word, .ld-fill, .ld-bolt { animation: none; } }
