/* playmantel.com: the page is the console. The app's "Stage" tokens (src/styles.css),
   white focus pills and glass, plus condensed poster type from the same Google Sans Flex
   family (width axis). */

@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-display: swap;
  font-weight: 1 1000;
  font-stretch: 25% 151%;
  src: url("../fonts/google-sans-flex-wdth.woff2?v=2") format("woff2-variations"), url("../fonts/google-sans-flex-wdth.woff2?v=2") format("woff2");
}

@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff5468;
}
@property --tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #2fd3b5;
}

:root {
  --bg: #05060a;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.74);
  --ink-3: rgba(255, 255, 255, 0.56);
  --ink-4: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-hi: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.12);
  --good: #5fe08a;
  --gold: #ffd23f;
  --accent: #ff5468;
  --glow: color-mix(in oklab, var(--accent) 70%, transparent);
  --font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bounce: cubic-bezier(0.34, 1.5, 0.64, 1);
  --gutter: clamp(16px, 5vw, 96px);
  --wide: 1360px;
  --top: 76px;
  transition: --accent 1.2s ease;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 430;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
code { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; font-size: 0.86em; padding: 0.12em 0.45em; border-radius: 6px; background: var(--glass-hi); color: var(--ink); overflow-wrap: anywhere; }
p a, li a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 0.2em; transition: text-decoration-color 0.2s; }
p a:hover, li a:hover { text-decoration-color: #fff; }
::selection { background: color-mix(in oklab, var(--accent) 60%, transparent); }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff; border-radius: 12px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 99px; background: #fff; color: #07080c; font-weight: 650; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type: the app's eyebrow, and condensed poster caps from the width axis. */
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.55rem; font-size: 13px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow .sep { opacity: 0.6; }
.display { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.005em; }
.h-xl { font-size: clamp(56px, 10.5vw, 168px); }
.h-lg { font-size: clamp(48px, 7.4vw, 116px); }
.h-md { font-size: clamp(40px, 5vw, 76px); }
.outline { color: transparent; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 80%, #fff), color-mix(in oklab, var(--accent) 45%, #fff)); -webkit-background-clip: text; background-clip: text; transition: --accent 1.2s; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); text-wrap: pretty; }

/* ---------- Glyphs (controller buttons, as in the app) -------------------- */

.glyph {
  --g: 1;
  flex: none;
  display: inline-grid;
  place-items: center;
  font-weight: 750;
  font-stretch: 100%;
  line-height: 1;
  background: rgba(18, 20, 28, 0.85);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s, box-shadow 0.2s;
}
.glyph.face, .glyph.round { width: calc(27px * var(--g)); height: calc(27px * var(--g)); border-radius: 50%; font-size: calc(13.5px * var(--g)); }
.glyph.face.a { color: #7fdc5a; }
.glyph.face.b { color: #ff6461; }
.glyph.face.x { color: #55a8ff; }
.glyph.face.y { color: #ffd23f; }
.glyph.round svg { width: 58%; height: 58%; }
.glyph.bumper, .glyph.trigger { height: calc(23px * var(--g)); padding: 0 calc(8px * var(--g)); font-size: calc(11px * var(--g)); font-weight: 700; letter-spacing: 0.04em; }
.glyph.bumper { border-radius: calc(8px * var(--g)) calc(8px * var(--g)) calc(5px * var(--g)) calc(5px * var(--g)); }
.glyph.trigger { height: calc(26px * var(--g)); border-radius: calc(13px * var(--g)) calc(13px * var(--g)) calc(5px * var(--g)) calc(5px * var(--g)); }
button.glyph:hover { background: rgba(40, 42, 54, 0.95); color: #fff; }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 8px; background: rgba(18, 20, 28, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(255, 255, 255, 0.08); font: 650 13px/1 var(--font); color: var(--ink-2); transition: transform 0.3s var(--bounce), background 0.2s, color 0.2s; }

/* ---------- Buttons: glass pills that turn white on focus ------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px 0 24px;
  border-radius: 99px;
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
  background: var(--glass-hi);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--stroke);
  transition: transform 0.45s var(--bounce), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover, .btn:focus-visible, .pad .btn:focus { transform: scale(1.07); background: #fff; color: #07080c; border-radius: 99px; box-shadow: 0 22px 54px -16px var(--glow), 0 6px 18px rgba(0, 0, 0, 0.35); }
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.btn-primary { background: #fff; color: #07080c; box-shadow: 0 18px 46px -18px var(--glow), 0 4px 14px rgba(0, 0, 0, 0.3); }
.btn-primary:focus-visible, .pad .btn-primary:focus { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px #fff, 0 22px 54px -16px var(--glow); }
.btn-sm { height: 40px; padding: 0 18px 0 15px; font-size: 15px; gap: 8px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg { height: 64px; padding: 0 34px 0 28px; font-size: 18px; }
.btn .glyph { --g: 1.05; margin-left: -8px; }
.btn-primary .glyph { background: #07080c; }

/* ---------- Top bar: the app's tabs with LB / RB ---------------------------- */

.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--top); transition: background 0.4s, box-shadow 0.4s, -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s; }
.topbar.is-scrolled { background: rgba(5, 6, 10, 0.66); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); box-shadow: inset 0 -1px 0 var(--stroke); }
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 660; letter-spacing: -0.02em; border-radius: 12px; padding: 4px 6px; margin-left: -6px; }
.brand img { width: 30px; height: 30px; }
.nav { position: relative; display: flex; align-items: center; gap: 22px; margin-left: 18px; }
.nav .glyph { --g: 1.05; }
.nav a { position: relative; padding: 6px 2px; border-radius: 8px; font-size: 18px; font-weight: 560; letter-spacing: -0.012em; color: rgba(255, 255, 255, 0.5); transition: color 0.3s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:focus-visible, .pad .nav a:focus { color: #fff; box-shadow: 0 0 0 3px #fff; border-radius: 8px; }
.nav-line { position: absolute; left: 0; bottom: 6px; height: 3px; width: 0; border-radius: 99px; background: var(--accent); box-shadow: 0 0 14px var(--glow); opacity: 0; transition: transform 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s, background 1s; }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.clock { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.icon-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background 0.3s, color 0.3s, transform 0.4s var(--bounce); }
.icon-link svg { width: 20px; height: 20px; fill: currentColor; }
.icon-link:hover, .icon-link:focus-visible, .pad .icon-link:focus { background: #fff; color: #07080c; border-radius: 50%; box-shadow: none; transform: scale(1.08); }

/* ---------- Hero: a poster. Giant title behind, the screen in front ---------- */

.stage { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; padding: calc(var(--top) + 24px) 0 64px; display: flex; flex-direction: column; justify-content: center; }
.stage-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.stage-art { position: absolute; inset: -14%; background-size: cover; background-position: 62% 30%; filter: blur(64px) saturate(1.5) brightness(0.55); opacity: 0; transition: opacity 1.1s ease; animation: drift 42s ease-in-out infinite alternate; }
.stage-art.is-active { opacity: 1; }
@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.6%, 1%, 0); }
}
.stage-light { position: absolute; inset: 0; background: radial-gradient(50% 60% at 78% 62%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%), radial-gradient(55% 60% at 0% 100%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 72%); mix-blend-mode: screen; }
.stage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 10, 0.5) 0%, rgba(5, 6, 10, 0) 25%), linear-gradient(90deg, rgba(5, 6, 10, 0.75) 0%, rgba(5, 6, 10, 0.2) 55%, rgba(5, 6, 10, 0.1) 100%); }
.grain { position: absolute; inset: 0; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.stage-bg .grain, .stage-light { -webkit-mask-image: linear-gradient(#000 60%, transparent 98%); mask-image: linear-gradient(#000 60%, transparent 98%); }
.stage-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(rgba(5, 6, 10, 0), var(--bg)); }

.poster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.title {
  position: relative;
  z-index: 0;
  margin: 0 0 0 -0.02em;
  font-size: min(400px, calc((100vw - 2 * var(--gutter)) / 3.65));
  font-stretch: 58%;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 28%, rgba(255, 255, 255, 0.5) 58%, rgba(255, 255, 255, 0.04) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slam 1.1s var(--ease) both;
}
/* Until the condensed face arrives the fallback is far wider, so the title waits for it. */
.wf :is(.title, .display) { visibility: hidden; }
.wf .title { animation: none; }
.title::after { display: none; content: ""; position: absolute; left: 3%; top: 8%; width: 0.16em; height: 0.16em; border-radius: 50%; background: radial-gradient(circle, #fff 0 8%, color-mix(in oklab, var(--accent) 60%, #fff) 14%, transparent 62%); filter: blur(1px); animation: flare 1.6s 0.35s var(--ease) both; pointer-events: none; }
@keyframes slam { from { opacity: 0; transform: translateY(40px) scale(1.06); letter-spacing: 0.06em; } }
@keyframes flare { 0% { opacity: 0; transform: scale(0.2); } 40% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0.85; transform: scale(1); } }

.poster-body { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: -0.34em; font-size: min(400px, calc((100vw - 2 * var(--gutter)) / 3.65)); }
.poster-body > * { font-size: 17px; }
.pitch { max-width: 560px; align-self: end; animation: rise 1s 0.25s var(--ease) both; }
.pitch .tagline { font-size: clamp(24px, 2.4vw, 34px); font-weight: 520; line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }
.pitch .lead { margin-top: 14px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.fineprint a { color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* The screen: the app's tab bar over a big screenshot */
.screens { min-width: 0; display: flex; flex-direction: column; animation: rise 1.2s 0.15s var(--ease) both; }
.screens .screen { order: 1; }
.screens .screens-tabs { order: 2; margin: 30px 0 0; }
.screens .screen-caption { order: 3; margin-top: 14px; font-size: 15px; color: var(--ink-3); min-height: 3em; }
.screen-caption b { color: var(--ink); font-weight: 600; }
.screens-tabs { position: relative; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-bottom: 18px; }
.screens-tabs .glyph { --g: 1.12; }
.tab { position: relative; padding: 6px 2px; border-radius: 8px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 560; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.48); transition: color 0.35s; }
.tab:hover { color: rgba(255, 255, 255, 0.85); }
.tab[aria-selected="true"] { color: #fff; }
.tab-line { position: absolute; left: 0; bottom: -4px; height: 4px; width: 0; border-radius: 99px; background: var(--accent); box-shadow: 0 0 18px var(--glow); transition: transform 0.55s var(--ease), width 0.55s var(--ease), background 1s; }
.screen { position: relative; perspective: 2200px; }
.screen-frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.4vw, 20px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 50px 100px -30px rgba(0, 0, 0, 0.95), 0 0 110px -20px var(--glow); transform-origin: 50% 60%; transition: transform 1s var(--ease), box-shadow 1s; }
.screen-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.screen-frame img.is-active { opacity: 1; }
.screen-gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 30%); }
.shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%); transform: translateX(-130%); }
.shine.go { animation: shine 1.2s var(--ease) both; }
@keyframes shine { to { transform: translateX(130%); } }
.screen-glow { position: absolute; left: 10%; right: 10%; bottom: -40px; height: 90px; border-radius: 50%; background: var(--accent); filter: blur(60px); opacity: 0.5; z-index: -1; transition: background 1s; }
.screen figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.screen figcaption b { color: var(--ink); font-weight: 600; }

.attract { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); animation: blink 2.4s ease-in-out infinite; pointer-events: none; }
.attract .glyph { --g: 0.95; letter-spacing: 0; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- Marquee band of stores --------------------------------------- */

.bands { overflow: hidden; padding: 34px 0 30px; margin-top: -10px; }
.band { position: relative; overflow: hidden; padding: 16px 0; transform: rotate(-2deg); margin: 0 -3vw; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 85%, #000), color-mix(in oklab, var(--accent) 55%, #000)); box-shadow: 0 30px 80px -30px var(--glow); transition: background 1s; }
.band + .band { transform: rotate(-2deg); margin-top: -2px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 1px 0 var(--stroke), inset 0 -1px 0 var(--stroke); }
.band-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band + .band .band-track { animation-direction: reverse; animation-duration: 46s; }
.band-track span { display: inline-flex; align-items: center; gap: 0.38em; padding-right: 0.5em; font-size: clamp(30px, 4.6vw, 64px); font-stretch: 62%; font-weight: 900; line-height: 1; text-transform: uppercase; white-space: nowrap; color: #07080c; }
.band + .band .band-track span { color: rgba(255, 255, 255, 0.28); }
.band-track svg { width: 0.62em; height: 0.62em; fill: currentColor; }
.band + .band .band-track svg { fill: rgba(255, 255, 255, 0.28); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections -------------------------------------------------------- */

.section { position: relative; padding: clamp(88px, 12vw, 168px) 0 0; }
.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 20px; max-width: 36em; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Features: a pinned screen that zooms into the part being talked about -- */

.tour { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.tour-steps { padding: 6vh 0 18vh; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.is-active { opacity: 1; }
.step .eyebrow { margin-bottom: 14px; color: var(--ink-2); }
.step .eyebrow b { color: var(--accent); font-weight: 750; transition: color 1s; }
.step h3 { font-size: clamp(42px, 4.6vw, 72px); }
.step-text { margin-top: 16px; max-width: 30em; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); }
.step-where { display: none; }
.step-frame { display: none; }
.tour-view { position: sticky; top: calc(50vh - 15vw); align-self: start; margin-top: 6vh; isolation: isolate; }
.tour-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(14px, 1.4vw, 22px); background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 100px -30px var(--glow); }
.tour-frame img, .step-frame img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 0 0; transform: translate(var(--tx), var(--ty)) scale(var(--z)); transition: transform 1.1s var(--ease), opacity 0.5s ease; }
.tour-frame img { opacity: 0; }
.tour-frame img.is-active { opacity: 1; }
.tour-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 10px rgba(5, 6, 10, 0.55); border-radius: inherit; }
.tour-glow { position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -30px; height: 80px; border-radius: 50%; background: var(--accent); filter: blur(60px); opacity: 0.45; transition: background 1s; }
.tour-where { margin-top: 18px; font-size: 13px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Stores: a game menu ------------------------------------------- */

.stores { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.menu { list-style: none; display: grid; gap: 4px; }
.menu button { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 22px 10px 18px; border-radius: 99px; font-size: clamp(30px, 3.6vw, 52px); font-stretch: 62%; font-weight: 900; line-height: 1; text-transform: uppercase; color: rgba(255, 255, 255, 0.32); transition: color 0.25s, background 0.3s, transform 0.45s var(--bounce); }
.menu button svg { width: 0.62em; height: 0.62em; flex: none; fill: currentColor; opacity: 0.8; }
.menu button .chev { margin-left: auto; font-size: 0.5em; opacity: 0; transition: opacity 0.3s, transform 0.45s var(--ease); transform: translateX(-10px); }
.menu button:hover { color: rgba(255, 255, 255, 0.75); }
.menu button[aria-selected="true"] { color: #07080c; background: #fff; transform: scale(1.03); box-shadow: 0 18px 46px -16px var(--glow); }
.menu button[aria-selected="true"] .chev { opacity: 1; transform: none; }
.menu button:focus-visible, .pad .menu button:focus { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px #fff; border-radius: 99px; }
.store-card { position: sticky; top: calc(var(--top) + 24px); padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 0 0 1px var(--stroke), 0 40px 80px -40px rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); overflow: hidden; }
.store-card .big { position: absolute; right: -6%; top: -10%; width: 58%; height: auto; fill: rgba(255, 255, 255, 0.05); pointer-events: none; }
.store-panel[hidden] { display: none; }
.store-panel > * { animation: rise 0.5s var(--ease) both; }
.store-panel h3 { font-size: clamp(34px, 3.4vw, 50px); }
.store-panel dl { margin-top: 26px; display: grid; gap: 20px; }
.store-panel dt { font-size: 12px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.store-panel dd { margin-top: 6px; font-size: 18px; color: var(--ink); }
.store-panel dd.later { color: var(--ink-3); }

/* ---------- Controls: one hint bar, as at the bottom of the app's screens -- */

.hint-strip { margin-top: clamp(28px, 4vw, 48px); padding: 22px 26px 20px; border-radius: 26px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--stroke); }
.hint-strip .eyebrow { margin-bottom: 16px; }
.hints { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.hints li { display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.hints li .glyph { --g: 1.1; }
.hints li .glyph + .glyph { margin-left: -4px; }
.hints li.is-lit { color: #fff; }
.hints li.is-lit .glyph { background: #fff; color: #07080c; transform: scale(1.18); }
.hint-strip .kb { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.hint-strip kbd { min-width: 24px; height: 24px; padding: 0 7px; font-size: 12px; }

/* ---------- Privacy: three numbers, like the stats row in the app ----------- */

.facts { display: flex; flex-wrap: wrap; row-gap: 28px; }
.fact { padding-right: clamp(24px, 4vw, 64px); }
.fact + .fact { padding-left: clamp(24px, 4vw, 64px); box-shadow: inset 1px 0 0 var(--stroke); }
.fact-value { font-size: clamp(72px, 10vw, 150px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fact-value small { margin-left: 0.04em; font-size: 0.45em; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.fact-label { margin-top: 12px; font-size: 13px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.facts-note { margin-top: clamp(28px, 4vw, 44px); max-width: 38em; }
.facts-note a { color: #fff; font-weight: 600; white-space: nowrap; }

/* ---------- FAQ: menu rows ------------------------------------------------- */

.faq { display: grid; gap: 8px; max-width: 980px; }
.faq details { border-radius: 22px; transition: background 0.3s; }
.faq details[open] { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--stroke); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.012em; cursor: pointer; color: var(--ink-2); transition: background 0.25s, color 0.25s, transform 0.45s var(--bounce); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .glyph { --g: 1.05; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.35s var(--bounce); }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); opacity: 0.6; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.faq summary:hover .glyph, .faq summary:focus-visible .glyph, .pad .faq summary:focus .glyph { opacity: 1; transform: none; }
.faq summary:focus-visible, .pad .faq summary:focus { background: #fff; color: #07080c; box-shadow: none; transform: scale(1.015); }
.faq details[open] summary { color: #fff; }
.faq .answer { padding: 0 24px 24px 65px; color: var(--ink-2); max-width: 52em; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Final call ----------------------------------------------------- */

.finale { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(88px, 12vw, 168px); padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.finale-bg { position: absolute; inset: -20%; z-index: -1; background: url("../img/bg-library.jpg") 50% 40% / cover; filter: blur(70px) saturate(1.5) brightness(0.5); }
.finale-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, var(--bg) 80%), linear-gradient(var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.ring { position: relative; width: 112px; height: 112px; margin: 0 auto 34px; display: grid; place-items: center; }
.ring img { width: 64px; height: 64px; border-radius: 16px; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #fff, color-mix(in oklab, var(--accent) 70%, transparent) 30%, transparent 55%); -webkit-mask: radial-gradient(circle, transparent 52px, #000 53px); mask: radial-gradient(circle, transparent 52px, #000 53px); animation: sweep 1.6s linear infinite; }
.finale h2 { font-size: clamp(64px, 12vw, 190px); }
.finale .lead { margin: 22px auto 0; max-width: 32em; }
.finale .actions { justify-content: center; margin-top: 36px; }
.install-notes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 30px; }
.install-notes li { padding: 9px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 14px; color: var(--ink-2); }
.install-notes b { color: #fff; font-weight: 650; }

/* ---------- Footer ---------------------------------------------------------- */

.footer { padding: 40px 0 48px; box-shadow: inset 0 1px 0 var(--stroke); color: var(--ink-3); font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: start; }
.footer .brand { font-size: 18px; color: var(--ink); }
.footer .brand img { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.footer-links a { color: var(--ink-2); border-radius: 8px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer small { grid-column: 1 / -1; display: block; max-width: 60em; font-size: 13px; line-height: 1.6; }

/* ---------- Hint bar, toasts and trophies ---------------------------------- */

.hintbar { position: fixed; z-index: 60; right: 24px; bottom: 22px; display: none; gap: 18px; padding: 10px 18px 10px 12px; border-radius: 99px; background: rgba(14, 16, 24, 0.75); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 1px var(--stroke); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.pad .hintbar { display: flex; animation: rise 0.5s var(--ease) both; }
.hint { display: flex; align-items: center; gap: 8px; }
.toasts { position: fixed; z-index: 70; top: calc(var(--top) + 12px); right: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 14px; max-width: min(400px, calc(100vw - 32px)); padding: 12px 20px 12px 12px; border-radius: 20px; background: rgba(22, 24, 34, 0.86); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.85), inset 0 0 0 1px var(--stroke); font-size: 15px; font-weight: 500; animation: toastIn 0.7s var(--bounce) both; }
.toast.out { animation: toastOut 0.4s ease both; }
.toast small { display: block; font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.toast b { font-weight: 650; }
.toast .cup { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff6c9, #e6b422 45%, #8a5f06); box-shadow: 0 0 22px rgba(255, 210, 63, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.toast .cup.silver { background: radial-gradient(circle at 35% 30%, #fff, #b8c0cc 45%, #5b6372); box-shadow: 0 0 22px rgba(200, 210, 230, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.toast .cup.bronze { background: radial-gradient(circle at 35% 30%, #ffe0c2, #c47a3a 45%, #6b3a12); box-shadow: 0 0 22px rgba(214, 140, 70, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.toast .cup svg { width: 22px; height: 22px; fill: rgba(40, 24, 0, 0.75); }
.toast .dot { flex: none; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(0.92); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(0.96); } }

/* ---------- Privacy statement page ---------------------------------------- */

.doc { padding: calc(var(--top) + clamp(40px, 8vh, 88px)) 0 0; }
.doc .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(56px, 9vw, 110px); }
.doc .updated { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.doc .tldr { margin-top: 34px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 19px; line-height: 1.5; color: var(--ink); }
.doc h2 { margin-top: 56px; font-size: clamp(30px, 3.6vw, 44px); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.doc h3 { margin-top: 30px; font-size: 20px; font-weight: 640; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: #fff; font-weight: 620; }
.doc + .footer { margin-top: clamp(80px, 10vw, 140px); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--top) var(--gutter) 40px; }
.notfound h1 { font-size: clamp(72px, 16vw, 200px); }
.notfound p { margin: 18px 0 32px; color: var(--ink-2); font-size: 19px; }

/* ---------- Layout breakpoints -------------------------------------------- */

@media (min-width: 1100px) {
  .poster-body { grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1.2fr); align-items: end; gap: 56px; }
  .pitch { padding-bottom: 46px; }
  .screen-frame { transform: rotateY(-10deg) rotateX(3deg); }
  .screen:hover .screen-frame, .screen:focus-within .screen-frame { transform: rotateY(-3deg) rotateX(1deg); }
}

@media (max-width: 1099px) {
  .poster-body { margin-top: -0.12em; }
  .screens { order: -1; }
  .attract { display: none; }
}

@media (max-width: 1180px) {
  .clock { display: none; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .tour { grid-template-columns: 1fr; }
  .tour-view { display: none; }
  .tour-steps { padding: 0; display: grid; gap: clamp(48px, 8vw, 72px); }
  .step { min-height: 0; opacity: 1; }
  .step-frame { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 22px; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
  .step-where { display: block; margin-top: 12px; font-size: 12px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
  .stores { grid-template-columns: 1fr; }
  .store-card { position: relative; top: 0; }
}

@media (max-width: 720px) {
  :root { --top: 64px; }
  .facts { row-gap: 0; }
  .fact, .fact + .fact { display: flex; align-items: center; gap: 18px; flex: 1 1 100%; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--stroke); }
  .fact:last-child { box-shadow: none; }
  .fact-value { min-width: 2.2em; font-size: 64px; }
  .fact-label { margin-top: 0; }
  body { font-size: 16px; }
  .topbar .wrap { gap: 12px; }
  .brand { font-size: 19px; }
  .stage { min-height: auto; padding-bottom: 40px; }
  .poster-body { gap: 30px; margin-top: 4px; }
  .actions .btn { flex: 1 1 100%; }
  .screens-tabs { gap: 14px; margin-bottom: 14px; }
  .screens-tabs .glyph { --g: 1; }
  .band { margin-top: 10px; }
  .menu button { padding: 8px 16px 8px 14px; font-size: 27px; gap: 12px; }
  .screens { order: 0; }
  .title { margin-bottom: 6px; }
  .faq summary { padding: 16px 16px; font-size: 18px; }
  .faq summary .glyph { display: none; }
  .faq .answer { padding: 0 18px 20px; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hintbar { display: none !important; }
  .toasts { right: 12px; left: 12px; align-items: stretch; }
}

@media (max-width: 340px) {
  .topbar .btn-sm span { display: none; }
  .topbar .btn-sm { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-art, .band-track, .attract { animation: none; }
  .reveal { transition-duration: 0.01ms; transform: none; }
}
