/* Clashroids landing page (server/landing.html). Served at /landing/landing.css.
   Latin faces are self-hosted (same families as before). Hero faces use
   font-display: optional so a late swap does not move the first paint.
   A smaller copy of the above-the-fold rules is inlined in landing.html so the
   first paint does not wait on this file. */
@font-face {
  font-family: "Chakra Petch";
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url("/landing/fonts/chakra-petch-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/landing/fonts/chakra-petch-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/fonts/chakra-petch-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/landing/fonts/chakra-petch-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/landing/fonts/dm-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/landing/fonts/dm-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #04070f;
  --bg2: #070d1c;
  --ink: #eef4ff;
  --muted: rgba(205, 222, 245, 0.72);
  --teal: #3df5c0;
  --green1: #00cc66;
  --green2: #00ff88;
  --steam1: #1a9fff;
  --steam2: #0a5fb8;
  --glass: rgba(14, 24, 44, 0.55);
  --line: rgba(120, 200, 255, 0.16);
  --display: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; }

/* ---------- Buttons ---------- */
.cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 68px; padding: 0 38px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 12px; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-play {
  color: #021a0c;
  background: linear-gradient(135deg, var(--green1), var(--green2));
  box-shadow: 0 0 0 1px rgba(170, 255, 210, 0.6) inset, 0 10px 40px rgba(0, 255, 136, 0.45), 0 0 80px rgba(0, 255, 136, 0.25);
  animation: playPulse 2.2s ease-in-out infinite;
}
.btn-play:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px #c8ffe2 inset, 0 12px 50px rgba(0, 255, 136, 0.7), 0 0 120px rgba(0, 255, 136, 0.4); }
.btn-play::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  background-size: 250% 100%; background-position: 130% 0;
  animation: sheen 3.6s ease-in-out infinite;
}
.btn-play-icon { font-size: 0.8em; }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(170, 255, 210, 0.6) inset, 0 10px 40px rgba(0, 255, 136, 0.4), 0 0 60px rgba(0, 255, 136, 0.2); }
  50% { box-shadow: 0 0 0 1px rgba(200, 255, 225, 0.9) inset, 0 10px 55px rgba(0, 255, 136, 0.7), 0 0 110px rgba(0, 255, 136, 0.42); }
}
@keyframes sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.btn-steam {
  color: #fff;
  background: linear-gradient(135deg, #1e3a5f 0%, #17324f 40%, #0d1f33 100%);
  box-shadow: 0 0 0 1.5px rgba(102, 192, 244, 0.85) inset, 0 10px 36px rgba(26, 159, 255, 0.35);
}
.btn-steam:hover { box-shadow: 0 0 0 1.5px #9fdcff inset, 0 12px 48px rgba(26, 159, 255, 0.6); background: linear-gradient(135deg, #2a5285, #1b3d63 50%, #10263f); }
.btn-steam-logo { height: 26px; width: auto; filter: brightness(0) invert(1); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 16px; border-radius: 10px; gap: 8px; }
.btn-sm .btn-steam-logo { height: 18px; }

/* ---------- Intro ---------- */
#intro { display: none; }
/* lock page scrolling while the intro covers it (wheel/touch launch the ship instead) */
html.intro, html.intro body { overflow: hidden; overscroll-behavior: none; }
html.intro #intro {
  display: block; position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(ellipse at 50% 40%, #0b1430 0%, #03050b 70%);
  transition: opacity 1.1s ease;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: none;
}
html.intro #intro.done { opacity: 0; pointer-events: none; }
#intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro-hud {
  position: absolute; left: 50%; bottom: max(36px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.32em; color: rgba(160, 255, 225, 0.9);
  text-shadow: 0 0 12px rgba(61, 245, 192, 0.7); transition: opacity 0.3s;
}
.intro-hud-pct { min-width: 4ch; font-weight: 500; color: #fff; }
.intro-hud-bar { flex-basis: 100%; height: 2px; width: 240px; background: rgba(61, 245, 192, 0.16); margin-top: 6px; }
.intro-hud-bar i { display: block; height: 100%; width: 0; background: var(--teal); box-shadow: 0 0 10px var(--teal); transition: width 0.3s; }
#intro.boost .intro-hud { opacity: 0; }
.intro-hud-hint { flex-basis: 100%; text-align: center; margin-top: 14px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.4s; }
#intro.ready .intro-hud-hint { opacity: 1; animation: hint-pulse 1.6s ease-in-out 0.4s infinite; }
@keyframes hint-pulse { 50% { opacity: 0.35; } }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.intro-skip {
  position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px;
  font: 500 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(220, 235, 255, 0.75); background: rgba(10, 20, 40, 0.5);
  border: 1px solid rgba(160, 200, 255, 0.3); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.intro-skip:hover { color: #fff; border-color: rgba(200, 230, 255, 0.7); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 72px var(--gutter) 96px;
  background: #02040a;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 5, 14, 0.62) 0%, rgba(2, 5, 14, 0.2) 70%, transparent 100%),
    linear-gradient(180deg, rgba(3, 6, 15, 0.55) 0%, rgba(3, 6, 15, 0.05) 30%, rgba(3, 6, 15, 0.1) 65%, var(--bg) 100%);
}
.hero-ui { position: relative; z-index: 2; text-align: center; max-width: 1100px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { display: block; width: min(620px, 86vw); height: auto; filter: drop-shadow(0 0 28px rgba(61, 245, 192, 0.35)) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.8)); }
.hero-logo img { width: 100%; height: auto; }
.hero-title {
  margin-top: 18px; font-size: clamp(30px, 5.2vw, 72px); text-transform: uppercase; font-style: italic;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}
.hero-title span { color: var(--teal); text-shadow: 0 0 28px rgba(61, 245, 192, 0.55), 0 2px 18px rgba(0, 0, 0, 0.9); }
.hero-sub { margin: 16px 0 34px; font-size: clamp(15px, 1.6vw, 20px); color: #dde9fb; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.95); }
.br-m { display: none; }
.hero-micro .sep { margin: 0 0.6em; }
.hero-micro { margin-top: 18px; font-size: 13px; letter-spacing: 0.06em; color: rgba(225, 236, 255, 0.82); text-shadow: 0 1px 8px #000; }
.hero-ctas .btn { min-width: 330px; }

/* staged reveal: copy stays hidden while the intro owns the screen. The logo is
   not in that set — the overlay covers it, and keeping it painted lets the
   hero image be the LCP element instead of the loading label. */
html.intro:not(.revealed) .hero-ui > *:not(.hero-logo) { opacity: 0; }
html.revealed .hero-ui > * { animation: heroIn 0.9s cubic-bezier(.2, .8, .2, 1) both; }
html.revealed .hero-ui > .hero-logo { animation: none; }
html.revealed .hero-ui > :nth-child(2) { animation-delay: 0.35s; }
html.revealed .hero-ui > :nth-child(3) { animation-delay: 0.5s; }
html.revealed .hero-ui > :nth-child(4) { animation-delay: 0.7s; }
html.revealed .hero-ui > :nth-child(5) { animation-delay: 0.9s; }
html.revealed.no-anim .hero-ui > * { animation: none; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.sound-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: #eaf4ff; background: rgba(8, 16, 32, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(160, 210, 255, 0.4); border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.sound-toggle:hover { border-color: var(--teal); color: var(--teal); }
.sound-toggle .snd-on { display: none; }
.sound-toggle[aria-pressed="true"] .snd-on { display: inline; }
.sound-toggle[aria-pressed="true"] .snd-off { display: none; }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(220, 235, 255, 0.55); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
main { position: relative; background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(30, 80, 140, 0.18), transparent 70%), var(--bg); }
main::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 80%, #cfe 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 60%, #9ff 50%, transparent 51%), radial-gradient(1px 1px at 85% 20%, #fff 50%, transparent 51%);
  background-size: 340px 340px, 420px 420px, 560px 560px, 260px 260px;
}
.section { position: relative; padding: clamp(64px, 10vw, 130px) var(--gutter); }
.wrap { position: relative; max-width: 1240px; margin: 0 auto; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 22px; text-transform: uppercase; }
.lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); max-width: 70ch; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.lead strong { color: var(--ink); font-weight: 500; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.stats li { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; text-align: center; backdrop-filter: blur(10px); }
.stats b { display: block; font: 700 clamp(30px, 4vw, 46px)/1 var(--display); color: var(--teal); text-shadow: 0 0 20px rgba(61, 245, 192, 0.45); }
.stats span { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.card {
  background: linear-gradient(180deg, rgba(20, 34, 62, 0.7), rgba(8, 14, 28, 0.8));
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(61, 245, 192, 0.55); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(61, 245, 192, 0.15); }
.card-media { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media video { transform: scale(1.06); }
.card-body { padding: 20px 20px 24px; }
.card-tag { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); }
.card h3 { font-size: 23px; margin: 8px 0 10px; text-transform: uppercase; }
.card p { font-size: 14px; color: var(--muted); }

.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mode {
  position: relative; padding: 32px 28px; border-radius: 18px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.mode::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), transparent); }
.mode:nth-child(2)::before { background: linear-gradient(90deg, #ff5a6e, #4aa8ff); }
.mode:nth-child(3)::before { background: linear-gradient(90deg, #ffc94a, transparent); }
.mode-icon { display: block; width: 96px; height: 96px; overflow: visible; margin-bottom: 18px; filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.18)); }
.mi-ally { fill: #00ffaa; }
.mi-enemy { fill: #ff4444; }
.mi-frame { fill: none; stroke: rgba(150, 196, 255, 0.55); stroke-width: 1.8; stroke-linejoin: round; }
.mi-zone-ally { fill: #00ffaa; opacity: 0.1; }
.mi-zone-enemy { fill: #ff4444; opacity: 0.09; }
.mode { display: grid; grid-template-columns: 88px 1fr; column-gap: 22px; align-items: center; }
.mode .mode-icon { grid-row: 1 / span 3; grid-column: 1; width: 88px; height: 88px; margin: 0; }
.mode > :not(.mode-icon) { grid-column: 2; }
.mode-num { font: 700 13px var(--mono); letter-spacing: 0.3em; color: rgba(200, 225, 255, 0.5); }
.mode h3 { font-size: 30px; margin: 10px 0 10px; text-transform: uppercase; font-style: italic; }
.mode p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bullets { list-style: none; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--glass); border: 1px solid var(--line); border-radius: 14px; }
.bullets i { flex: 0 0 38px; height: 38px; display: grid; place-items: center; font-style: normal; color: var(--teal); border: 1px solid rgba(61, 245, 192, 0.4); border-radius: 10px; background: rgba(61, 245, 192, 0.08); }
.bullets b { display: block; font: 600 17px var(--display); letter-spacing: 0.03em; }
.bullets span { font-size: 14px; color: var(--muted); }

.trailer-frame { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 34px auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(61, 245, 192, 0.08); }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; color-scheme: dark; }
.final { overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 10% -10%; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(0, 255, 136, 0.14), transparent 70%);
}
.final .cta-row { margin-top: 34px; }
.award {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px; padding: 12px 22px; text-align: left;
  font-size: 13px; letter-spacing: 0.05em; color: #ffe6a3; line-height: 1.4;
  background: rgba(60, 46, 14, 0.45); border: 1px solid rgba(255, 205, 120, 0.5); border-radius: 14px;
  box-shadow: 0 0 40px rgba(255, 190, 80, 0.12);
}
.award b { font: 700 16px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.award-icon { font-size: 30px; }

.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq details[open] { border-color: rgba(61, 245, 192, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative; font: 600 18px var(--display); letter-spacing: 0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px var(--mono); color: var(--teal); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

.footer { padding: 54px var(--gutter) calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; background: #02040a; }
.footer-logo { display: block; width: 200px; height: auto; margin: 0 auto 24px; opacity: 0.85; }
.footer-logo img { width: 100%; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 22px; }
.footer-links a, .credits a { color: rgba(150, 200, 255, 0.85); text-decoration: none; font-size: 13px; }
.footer-links a:hover, .credits a:hover { color: var(--teal); }
.credits { font-size: 12px; color: rgba(180, 200, 220, 0.6); }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translate(-50%, -150%);
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px;
  background: rgba(6, 12, 26, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-logo { display: block; height: 26px; width: auto; margin-right: 6px; }
.sticky-logo img { height: 26px; width: auto; }
.sticky-cta .btn-play { animation: none; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 0.1s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .split, .mode-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mode { grid-template-columns: 64px 1fr; column-gap: 16px; padding: 24px 20px; }
  .mode .mode-icon { width: 64px; height: 64px; }
  .mode h3 { font-size: 24px; }
  .br-m { display: inline; }
  .hero-micro .sep { display: block; height: 0; overflow: hidden; }
  .hero { padding-top: 56px; padding-bottom: 110px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; gap: 14px; }
  .hero-ctas .btn { min-width: 0; width: 100%; }
  .btn { font-size: 19px; min-height: 62px; padding: 0 22px; }
  .final .cta-row { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
  .cards { grid-template-columns: 1fr; }
  .sound-toggle { bottom: 22px; right: 16px; padding: 9px 12px; }
  .sound-label { display: none; }
  .scroll-cue { display: none; }
  .sticky-cta {
    top: auto; bottom: 0; left: 0; right: 0; transform: translateY(110%); border-radius: 16px 16px 0 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); justify-content: center; gap: 10px;
  }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta .btn { flex: 1; padding: 0 10px; font-size: 15px; }
  .sticky-logo { display: none; }
}
@media (min-width: 2200px) {
  body { font-size: 20px; }
  .wrap { max-width: 1700px; }
  .hero-logo { width: 860px; }
  .btn { min-height: 84px; font-size: 28px; padding: 0 52px; }
  .hero-ctas .btn { min-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-play, .btn-play::after, .scroll-cue span { animation: none; }
  html.js .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
