
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-var.3902474d.woff2") format('woff2');
  unicode-range: U+00??, 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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.c9407645.woff2") format('woff2');
  unicode-range: U+00??, 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 {
  --ink: #05070a;
  --ink-2: #0b0f15;
  --surface: #10161f;
  --surface-2: #171e29;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f6f8;
  --text-2: #b4bcc8;
  --muted: #7f8a99;
  --lime: #b5e61d;
  --green: #00c832;
  --cyan: #00e5ff;
  --court: #2c6bff;
  --danger: #ff6b6b;
  --link: var(--lime);
  --focus: var(--cyan);
  --tint-1: rgba(255, 255, 255, 0.04);
  --tint-2: rgba(255, 255, 255, 0.06);
  --tint-3: rgba(255, 255, 255, 0.08);
  --tint-4: rgba(255, 255, 255, 0.14);
  --cta-shadow: 0 8px 30px rgba(0, 200, 50, 0.25);
  --cta-shadow-hover: 0 10px 36px rgba(0, 200, 50, 0.38);
  --shadow-raised: 0 20px 60px rgba(0, 0, 0, 0.4);
  --line-input: var(--line-strong);
  --grad: linear-gradient(135deg, #b5e61d 0%, #00c832 100%);
  --kit-badge-ok: #7ee3a0;
  --kit-badge-ok-bg: #0f2a1b;
  --kit-badge-bad: #ffa0a0;
  --kit-badge-bad-bg: #33181b;
  --kit-badge-warn: #f6cd5c;
  --kit-badge-warn-bg: #2d2512;
  --font-display: 'Sora', var(--font-script, system-ui), -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', var(--font-script, system-ui), -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
  accent-color: var(--green);
}

:root[data-theme="light"], .kit-doc {
  --ink: #fafaf8;
  --ink-2: #eef1ea;
  --surface: #ffffff;
  --surface-2: #f3f4f0;
  --line: rgba(12, 18, 14, 0.12);
  --line-strong: rgba(12, 18, 14, 0.2);
  --text: #0c120e;
  --text-2: #3e4843;
  --muted: #5b665f;
  --danger: #c62828;
  --link: #0f7a33;
  --focus: var(--court);
  --tint-1: rgba(12, 18, 14, 0.04);
  --tint-2: rgba(12, 18, 14, 0.06);
  --tint-3: rgba(12, 18, 14, 0.08);
  --tint-4: rgba(12, 18, 14, 0.12);
  --cta-shadow: 0 1px 2px rgba(4, 17, 10, 0.2), 0 6px 16px rgba(15, 122, 51, 0.18);
  --cta-shadow-hover: 0 8px 22px rgba(15, 122, 51, 0.26);
  --shadow-raised: 0 20px 50px rgba(18, 36, 22, 0.08);
  --line-input: rgba(12, 18, 14, 0.42);
  --kit-badge-ok: #0f6b30;
  --kit-badge-ok-bg: #e2f3e6;
  --kit-badge-bad: #a61b1b;
  --kit-badge-bad-bg: #fbe4e4;
  --kit-badge-warn: #7a5100;
  --kit-badge-warn-bg: #fcefd2;
  color-scheme: light;
}

:root, [dir="ltr"] {
  --sa-start: var(--sal);
  --sa-end: var(--sar);
  --to-end: 90deg;
  --to-start: 270deg;
  --origin-start: 0%;
}
[dir="rtl"] {
  --sa-start: var(--sar);
  --sa-end: var(--sal);
  --to-end: 270deg;
  --to-start: 90deg;
  --origin-start: 100%;
}

@media print {
  :root { --ink: #ffffff; --ink-2: #ffffff; --surface: #ffffff; --surface-2: #f3f4f0; --line: rgba(12, 18, 14, 0.2); --line-strong: rgba(12, 18, 14, 0.35); --text: #0c120e; --text-2: #3e4843; --muted: #5b665f; --link: #0f7a33; --danger: #c62828; color-scheme: light; }
}

html[dir="rtl"] body * { letter-spacing: normal; }
html[dir="rtl"] .brand__word { letter-spacing: -0.02em; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(181, 230, 29, 0.35); color: var(--text); }

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; text-underline-offset: 0.18em; }
p a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }

.eyebrow { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 62ch; text-wrap: pretty; }
.note { color: var(--muted); font-size: 0.85rem; text-wrap: pretty; }

.btn, .store, .brand, .langs a {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
}

.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 10px 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em;
  cursor: pointer; text-decoration: none; text-wrap: balance;
  transition: transform 150ms var(--ease-out), background-color 150ms ease, border-color 150ms ease;
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn--primary { background: var(--grad); color: #04110a; box-shadow: var(--cta-shadow); }
.btn--primary::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--cta-shadow-hover); opacity: 0; transition: opacity 150ms ease; z-index: -1; }
.btn--ghost { background: var(--tint-3); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:active { background: var(--tint-4); }
.btn--sm { min-height: 40px; padding: 6px 1.1em; font-size: 0.875rem; white-space: nowrap; }
.btn--block { width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; }
.brand__mark { height: 28px; width: auto; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }

.stores, .kit-error__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-block: 0; padding-inline: 14px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-family: var(--font-display); font-size: 0.9rem;
  transition: background-color 150ms ease, transform 100ms var(--ease-out);
}
.store:active { transform: scale(0.97); background: var(--tint-4); }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.75rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start;
  transition: border-color 150ms ease;
}
.card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.card .lead { font-size: 1rem; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--text-2); font-size: 0.95rem; }
.card ul:empty { display: none; }
.card li { padding-inline-start: 22px; position: relative; text-wrap: pretty; overflow-wrap: anywhere; }
.card li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.55em; width: 11px; height: 11px; border-radius: 50%; background: var(--grad); }

.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + var(--sab)); color: var(--muted); font-size: 0.9rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer__grid p { max-width: 60ch; text-wrap: pretty; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__links a { color: var(--text-2); display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }

.langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.langs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 0.9rem; font-weight: 500; }
.langs a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

.kit-page {
  display: flex; flex-direction: column; gap: 24px;
  width: min(100% - 2 * var(--gutter), 560px); min-height: 100vh; min-height: 100svh; margin-inline: auto;
  padding-block-start: calc(var(--sat) + 16px);
}
.kit-page > main { flex: 1; display: grid; align-content: start; gap: 16px; }
.kit-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.kit-card { box-shadow: var(--shadow-raised); }
.kit-card h1, .kit-error h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.kit-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; font: 700 0.78rem/1.4 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.kit-badge--ok { color: var(--kit-badge-ok); background: var(--kit-badge-ok-bg); }
.kit-badge--bad { color: var(--kit-badge-bad); background: var(--kit-badge-bad-bg); }
.kit-badge--warn { color: var(--kit-badge-warn); background: var(--kit-badge-warn-bg); }
.kit-row, .kit-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.kit-row { padding-block: 10px; border-block-end: 1px solid var(--line); }
.kit-row__k { color: var(--text-2); font-size: 0.9rem; }
.kit-row__v, .kit-total { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kit-row__v { text-align: end; }
.kit-total { padding-block-start: 4px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.kit-hash { font: 0.78rem/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.kit-form, .kit-error { display: grid; gap: 14px; }
.kit-error { justify-items: start; }
.kit-doc { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(12px, 4vw, 28px); }

@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration: underline; }
  .brand:hover, .btn:hover, .store:hover, .footer__links a:hover { text-decoration: none; }
  .btn:hover { transform: translateY(-1px); }
  .btn--primary:hover::after { opacity: 1; }
  .btn--ghost:hover { background: var(--tint-4); }
  .store:hover { background: var(--surface-2); }
  .langs a:hover { color: var(--text); }
}

@media (max-width: 767px) {
  .brand__mark { height: 24px; }
  .brand__word { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color 150ms ease, border-color 150ms ease; }
  .btn:hover, .btn:active, .store:active { transform: none; }
  .card { transition: border-color 150ms ease; }
}

@media print {
  html, body { background: #fff; }
  .btn--primary { box-shadow: none; }
}

@media (forced-colors: active) {
  .card li::before { background: CanvasText; }
  .btn { border-color: CanvasText; }
}

:root {
  --nav-bg: rgba(5, 7, 10, 0.72);
  --nav-line: rgba(255, 255, 255, 0.06);
  --menu-bg: rgba(5, 7, 10, 0.96);
  --featured-line: rgba(181, 230, 29, 0.5);
  --featured-ring: rgba(181, 230, 29, 0.25);
  --seg-track: var(--surface);
  --seg-on-bg: rgba(255, 255, 255, 0.14);
  --seg-on-shadow: none;
  --nav-h: 64px;
  --langbar-h: 44px;
  --max: 1200px;
  --chapters: 6;
}
:root[data-theme="light"] {
  --nav-bg: rgba(250, 250, 248, 0.96);
  --nav-line: rgba(12, 18, 14, 0.08);
  --menu-bg: #fafaf8;
  --featured-line: #0f7a33;
  --featured-ring: rgba(15, 122, 51, 0.16);
  --seg-track: #e9ebe5;
  --seg-on-bg: #ffffff;
  --seg-on-shadow: 0 1px 2px rgba(12, 18, 14, 0.12), 0 0 0 1px rgba(12, 18, 14, 0.06);
}

.story, .sport, .nav:not(.is-past), .nav:not(.is-past) ~ .langbar, :root.links-page {
  --ink: #05070a;
  --ink-2: #0b0f15;
  --surface: #10161f;
  --surface-2: #171e29;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f6f8;
  --text-2: #b4bcc8;
  --muted: #7f8a99;
  --danger: #ff6b6b;
  --link: var(--lime);
  --focus: var(--cyan);
  --tint-1: rgba(255, 255, 255, 0.04);
  --tint-2: rgba(255, 255, 255, 0.06);
  --tint-3: rgba(255, 255, 255, 0.08);
  --tint-4: rgba(255, 255, 255, 0.14);
  --nav-bg: rgba(5, 7, 10, 0.72);
  --nav-line: rgba(255, 255, 255, 0.06);
  --seg-track: var(--surface);
  --line-input: var(--line-strong);
  color-scheme: dark;
}

html { scroll-padding-top: calc(var(--nav-h) + var(--sat)); }
html:not([data-reduced-motion]) { scroll-behavior: smooth; }
html, body { overscroll-behavior-y: none; }
body.menu-open { overflow: hidden; }
section { scroll-margin-top: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav__burger, .menu__close, .menu__links a, .nav__links a, .story__skip, .story__film, .story__rail button, .seg button, .skip-link, .langbar__go, .langbar__close {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
}

.skip-link { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 100; background: var(--lime); color: #04110a; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: calc(var(--sat) + 12px); }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(var(--nav-h) + var(--sat));
  padding-block: var(--sat) 0;
  padding-inline: calc(var(--gutter) + var(--sa-start)) calc(var(--gutter) + var(--sa-end));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--nav-line);
  color: var(--text);
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__links a:not(.btn) { color: var(--text-2); padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; transition: color 150ms ease, background-color 150ms ease; }
.nav__cta { margin-inline-start: 4px; }

.theme {
  position: relative; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: color 150ms ease, background-color 150ms ease, transform 100ms var(--ease-out);
}
.theme:active { transform: scale(0.94); background: var(--tint-4); }
.theme svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
.theme__sun { opacity: 1; transform: none; }
.theme__moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="light"] .theme__sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme__moon { opacity: 1; transform: none; }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--tint-1); cursor: pointer; align-items: center; justify-content: center;
}
.nav__burger:active { background: var(--tint-4); }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: background-color 100ms linear; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; inset-inline-start: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 200ms var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--menu-bg);
  color: var(--text);
  padding-block: calc(var(--sat) + 12px) calc(var(--sab) + 24px);
  padding-inline: calc(var(--gutter) + var(--sa-start)) calc(var(--gutter) + var(--sa-end));
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 1; transition: opacity 200ms var(--ease-out);
}
@starting-style { .menu { opacity: 0; } }
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: max(44px, calc(var(--nav-h) - 12px)); flex-shrink: 0; }
.menu__close { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--tint-1); cursor: pointer; display: grid; place-items: center; }
.menu__close:active { background: var(--tint-4); }
.menu__close svg { width: 18px; height: 18px; }
.menu__links { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.menu__links li { transition: opacity 220ms ease, transform 220ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
@starting-style { .menu__links li { opacity: 0; transform: translateY(8px); } }
.menu__links a { display: flex; align-items: center; min-height: 52px; padding: 0 8px; border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.menu__links a:active { background: var(--tint-3); }
.menu__cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; flex-shrink: 0; }

.langs--codes ul { gap: 0; }
.langs--codes a { min-height: 40px; padding-inline: 7px; border-radius: 8px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav__langs { display: none; }
.menu__cta .langs { padding-bottom: 4px; }
.menu__cta .langs a { font-size: 1rem; }
.langbar {
  position: fixed; top: calc(var(--nav-h) + var(--sat)); inset-inline: 0; z-index: 59;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  min-height: var(--langbar-h); padding-inline: calc(var(--gutter) + var(--sa-start)) calc(var(--gutter) + var(--sa-end));
  background: var(--nav-bg); border-bottom: 1px solid var(--nav-line); color: var(--text);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  font-size: 0.9rem;
}
.langbar[hidden] { display: none; }
.langbar__go { color: var(--link); font-weight: 600; padding: 10px 6px; overflow-wrap: anywhere; }
.langbar__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.langbar__close svg { width: 14px; height: 14px; }
.langbar__close:active { background: var(--tint-4); }

.story { position: relative; background: var(--ink); color: var(--text); }
.story__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.story__poster, .story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__poster img { width: 100%; height: 100%; object-fit: cover; }
.story__scrim { position: absolute; inset: 0; pointer-events: none; }
.story__scrim::before, .story__scrim::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s var(--ease); }
.story__scrim::before { background: linear-gradient(var(--to-end), rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.5) 42%, rgba(5, 7, 10, 0) 70%); }
.story__scrim::after { background: linear-gradient(var(--to-start), rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.5) 42%, rgba(5, 7, 10, 0) 70%); }
.story__scrim[data-side="left"]::before, .story__scrim[data-side="right"]::after { opacity: 1; }
.story__chapters { position: absolute; inset: 0; }
.chapter {
  position: absolute; max-width: 680px;
  top: 50%; transform: translateY(-50%);
  inset-inline-start: calc(var(--gutter) + var(--sa-start));
  opacity: 0; visibility: hidden;
  display: grid; gap: 18px;
}
.chapter[data-pos="right"] { inset-inline-start: auto; inset-inline-end: calc(var(--gutter) + var(--sa-end) + 96px); }
.chapter[data-pos="bottom-left"] { top: auto; bottom: 14vh; transform: none; }
.chapter h1, .chapter h2 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); font-weight: 700; }
.chapter h2 { font-size: clamp(2.2rem, 4.4vw, 3.75rem); }
.chapter p.body { color: var(--text-2); font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 46ch; text-wrap: pretty; text-shadow: 0 1px 2px rgba(5, 7, 10, 0.6); }
.chapter .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chapter .mobile-only { display: none; }
:lang(ar) :is(h1, h2, h3, h4) { line-height: 1.25; }
.story__skip, .story__actions { position: absolute; inset-inline-end: calc(var(--gutter) + var(--sa-end)); bottom: calc(24px + var(--sab)); z-index: 3; }
.story__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; max-width: calc(100% - 2 * var(--gutter)); }
.story__actions .story__skip { position: static; }
.story__skip, .story__film {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(5, 7, 10, 0.6); cursor: pointer; font-size: 0.85rem; font-weight: 500;
  transition: opacity 200ms var(--ease-out), background-color 150ms ease;
}
.story__skip:active, .story__film:active { background: rgba(255, 255, 255, 0.14); }
.story__progress { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); }
.story__progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: var(--origin-start) 50%; }

.story[data-mode="scrub"] .chapter { will-change: opacity, transform; }
.story__canvas { opacity: 0; transition: opacity 0.4s linear; }
.story__stage.is-live .story__canvas { opacity: 1; }
.story--static .story__stage { position: relative; height: auto; min-height: 100svh; }
.story--static .story__poster { position: absolute; }
.story--static .story__canvas, .story--static .story__skip, .story--static .story__progress { display: none; }
.story--static .story__chapters { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--nav-h) + var(--sat) + 24px) var(--gutter) 48px; }
.story--static .chapter { position: static; transform: none; opacity: 1; visibility: visible; max-width: 640px; }
.story--static .chapter:not([data-chapter="dawn"]) { display: none; }
.story--static .story__scrim::before { opacity: 1; background: linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.4) 55%, rgba(5, 7, 10, 0.1) 100%); }
.story-static-beats { display: none; padding: 40px 0 0; }
.story--static + .story-static-beats { display: block; }
.story-static-beats ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.story-static-beats li { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.story-static-beats h3 { font-size: 1.3rem; margin-bottom: 8px; }
.story-static-beats p { color: var(--text-2); font-size: 0.95rem; }

.story--chapters {
  position: relative;
  height: 100vh; height: 100svh;
  overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior-y: auto;
}
.story--chapters::-webkit-scrollbar { display: none; }
.story--chapters .story__stage { position: sticky; top: 0; height: 100%; }
.story__snaps { position: absolute; top: 0; inset-inline: 0; height: calc(var(--chapters) * 100%); pointer-events: none; }
.story__snap { height: calc(100% / var(--chapters)); scroll-snap-align: start; scroll-snap-stop: always; }
.story__video, .story__still, .story__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__video { object-fit: cover; opacity: 0; background: var(--ink); }
.story__video.is-active { opacity: 1; }
.story__still { object-fit: cover; }
.story__still[hidden] { display: none; }
.story__overlay { opacity: 0; pointer-events: none; transition: opacity 0.3s linear; }
.story__overlay.is-snapshot { transition: none; }
.story--chapters .story__poster { transition: opacity 0.5s linear; }
.story--chapters .story__stage.is-live .story__poster { opacity: 0; }
.story--chapters .chapter {
  will-change: opacity, transform;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease-out), visibility 0s linear 0.2s, transform 0.2s var(--ease-out);
}
.story--chapters .chapter:not([data-pos="bottom-left"]) { transform: translateY(-50%) translateY(14px); }
.story--chapters .chapter[data-pos="bottom-left"] { transform: translateY(14px); }
.story--chapters .chapter:not(.is-on) { pointer-events: none; }
.story--chapters .chapter.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s, transform 0.45s var(--ease); }
.story--chapters .chapter.is-on:not([data-pos="bottom-left"]) { transform: translateY(-50%); }
.story--chapters .chapter.is-on[data-pos="bottom-left"] { transform: none; }
.story__rail {
  position: absolute; inset-inline-end: calc(var(--gutter) + var(--sa-end)); top: 50%; transform: translateY(-50%); z-index: 4;
  display: grid; gap: 2px;
}
.story__rail button {
  position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  min-height: 36px; padding: 0 4px; border: 0; background: transparent; cursor: pointer;
  color: var(--text-2); font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.06em;
}
.story__rail button::before { content: ''; position: absolute; inset: -4px -12px; }
.story__rail button span { opacity: 0; transition: opacity 150ms ease; }
.story__rail button i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: transform 200ms var(--ease-out), background-color 200ms ease; }
.story__rail button[aria-current="step"] { color: var(--text); font-weight: 600; }
.story__rail button[aria-current="step"] span { opacity: 1; }
.story__rail button[aria-current="step"] i { background: var(--lime); transform: scale(1.5); }
.story__rail button:active i { transform: scale(1.2); }
.story__loading {
  position: absolute; inset: 0; width: 36px; height: 36px; margin: auto; z-index: 3;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: var(--lime);
  opacity: 0; animation: spin 0.7s linear infinite, appear 1ms linear 200ms forwards; pointer-events: none;
}
.story__loading[hidden] { display: none; }

.story__gate {
  position: absolute; z-index: 3;
  inset-inline-start: calc(var(--gutter) + var(--sa-start)); bottom: calc(24px + var(--sab));
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 2 * var(--gutter)); min-height: 44px;
  padding-block: 6px; padding-inline: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(5, 7, 10, 0.6); color: var(--text);
  opacity: 0; animation: appear 1ms linear 200ms forwards;
}
.story__gate[hidden] { display: none; }
.story__gate.has-hatch { padding-inline-end: 4px; }
.story__gate.has-hatch .story__gate__text { display: none; }
.story__gate__ring { position: relative; flex: none; width: 28px; height: 28px; }
.story__gate__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.story__gate__ring circle { fill: none; stroke-width: 4; }
.story__gate__ring .track { stroke: rgba(255, 255, 255, 0.18); }
.story__gate__ring .fill { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: calc(131.95 * (1 - var(--p, 0))); transition: stroke-dashoffset 200ms linear; }
.story__gate__ring b { display: none; }
.story__gate__text { margin: 0; color: var(--text-2); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story__gate__skip[hidden] { display: none; }
.story__debug { position: fixed; inset-inline-start: 8px; bottom: 8px; z-index: 100; margin: 0; padding: 8px 10px; max-width: calc(100vw - 16px); overflow: hidden; font: 11px/1.4 ui-monospace, Menlo, Consolas, monospace; color: #b5e61d; background: rgba(0, 0, 0, 0.75); border-radius: 6px; pointer-events: none; white-space: pre-wrap; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes appear { to { opacity: 1; } }

.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--alt { background: var(--ink-2); }
#sports { padding-top: clamp(48px, 6vw, 80px); }
#demo { padding-block: clamp(96px, 10vw, 144px); }
.section__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
.section__head--tight { margin-bottom: 24px; }
.section__head--flush { margin-bottom: 0; }

.flag { display: inline-block; max-width: 100%; margin-inline-start: 4px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font: 600 0.72rem/1.6 var(--font-body); vertical-align: 0.1em; }
.game__item .flag, .addon .flag { justify-self: start; margin: 0 0 6px; color: var(--text-2); font-size: 0.72rem; }
.sport .flag { top: 10px; bottom: auto; inset-inline: auto 10px; display: block; max-width: calc(100% - 20px); margin: 0; background: rgba(5, 7, 10, 0.72); color: #fff; text-shadow: none; font: 600 0.72rem/1.6 var(--font-body); }

.pillars { display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillars .card { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 24px 0 0; }

.sports-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sport { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); margin: 0; color: var(--text); }
.sport:first-child { grid-column: span 2; aspect-ratio: 8 / 3; }
.sport img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.sport::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 10, 0.78) 0%, rgba(5, 7, 10, 0) 60%); }
.sports__note { margin-top: 16px; }
.sport span { position: absolute; inset-inline: 14px 12px; bottom: 12px; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.game { display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: center; min-width: 0; }
.game__media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); position: relative; }
.game__caption { padding: 10px 16px; border-top: 1px solid var(--line); }
.game__media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }
.game__list { display: grid; gap: 16px; min-width: 0; }
.game__item { border-inline-start: 1px solid var(--line-strong); padding-inline-start: 16px; }
.game__item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.game__item p { color: var(--text-2); font-size: 0.95rem; text-wrap: pretty; }

.pricing__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.pricing__note { margin-bottom: 28px; }
.seg { display: inline-flex; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--seg-track); }
.seg button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 500; font-size: 0.9rem; line-height: 1.2; text-align: center; transition: background-color 150ms ease, color 150ms ease; }
.seg button[aria-pressed="true"] { background: var(--seg-on-bg); box-shadow: var(--seg-on-shadow); color: var(--text); font-weight: 600; }
.seg button:active { transform: scale(0.97); }
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; }
.tier > .btn { margin-top: auto; }
.tier > .lead { min-height: calc(3 * 1.6em); }
.tier--featured { border-color: var(--featured-line); box-shadow: 0 0 0 1px var(--featured-ring), var(--shadow-raised); }
.tier__badge { position: absolute; top: -12px; inset-inline-end: 20px; max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--grad); color: #04110a; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tier__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 0; font-family: var(--font-display); line-height: 1.1; }
.tier__price b { font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier__price span { color: var(--muted); font-size: 0.9rem; }
.tier__caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0 4px; border-top: 1px solid var(--line); align-items: start; }
.tier__caps div { display: grid; gap: 2px; }
.tier__caps b { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tier__caps span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.addons { margin-top: 28px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.addon { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); display: grid; gap: 4px; }
.addon b { font-family: var(--font-display); font-size: 0.95rem; }
.addon span { color: var(--text-2); font-size: 0.9rem; }
.pricing__footnote { margin-top: 18px; }

.players { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
.players__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.players__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

.demo { display: grid; gap: 28px; grid-template-columns: 1fr 1.1fr; align-items: start; min-width: 0; }
.form { display: grid; gap: 14px; min-width: 0; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.85rem; color: var(--text-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-input);
  background: var(--surface); color: var(--text); font: inherit; caret-color: var(--link);
  transition: border-color 150ms ease;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.85rem; }
.field__count { justify-self: end; color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.field textarea { min-height: 120px; resize: vertical; }
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.phone select { width: auto; padding-inline: 10px; }
.form__trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__foot { display: grid; gap: 10px; min-width: 0; }
.form__foot .btn { white-space: normal; }
.form__foot .btn:disabled { opacity: 0.7; cursor: progress; }
.form__spin { display: none; inline-size: 1em; block-size: 1em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; }
.form [aria-busy="true"] .form__spin { display: inline-block; visibility: hidden; animation: spin 0.8s linear infinite, reveal 0s linear 200ms forwards; }
@keyframes reveal { to { visibility: visible; } }
.form__status { color: var(--text-2); font-size: 0.9rem; min-height: 1.4em; overflow-wrap: anywhere; }
.form__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.form__alt[hidden] { display: none; }
.contact-call { font-weight: 600; }
.contact-lines { display: grid; gap: 10px; color: var(--text-2); overflow-wrap: anywhere; }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; align-items: start; }
.footer__brand, .footer__address, .footer__contact li, .footer__contact .footer__call { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.footer__brand { gap: 14px; }
.footer__address { font-style: normal; font-size: 0.85rem; line-height: 1.55; overflow-wrap: anywhere; }
.footer__entity { color: var(--text-2); font-weight: 600; }
.footer__grid .footer__links { flex-direction: column; flex-wrap: nowrap; gap: 0; min-width: 0; }
.footer__grid .footer__links a { padding-block: 6px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.footer__k { display: block; font-size: 0.78rem; color: var(--muted); }
.footer__contact a { display: inline-flex; align-items: center; min-height: 28px; color: var(--text-2); overflow-wrap: anywhere; }
.footer__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block-start: 20px; border-block-start: 1px solid var(--line); }

.links {
  display: flex; flex-direction: column;
  width: min(100%, 472px); min-height: 100vh; min-height: 100svh; margin-inline: auto;
  padding-block: calc(16px + var(--sat)) calc(20px + var(--sab));
  padding-inline: calc(16px + var(--sa-start)) calc(16px + var(--sa-end));
  overflow-x: clip;
}
:root[data-links-swap] .links { visibility: hidden; animation: links-reveal 0s linear 3s forwards; }
@keyframes links-reveal { to { visibility: visible; } }

.links__langs { align-self: flex-end; }
.links__langs ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint-1); }
.links__langs a { position: relative; display: grid; place-items: center; min-width: 48px; height: 32px; padding-inline: 12px; border-radius: 999px; color: var(--text-2); font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.links__langs a::after { content: ''; position: absolute; inset-inline: 0; inset-block: -8px; }
.links__langs a[aria-current="page"] { background: var(--tint-4); color: var(--text); }

.links__body { flex: 1; display: flex; flex-direction: column; padding-block-start: 32px; }
.links__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.links__mark { position: relative; display: grid; place-items: center; }
.links__glow { position: absolute; inset: -8rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(181, 230, 29, 0.24), rgba(181, 230, 29, 0.08) 50%, rgba(181, 230, 29, 0) 100%); pointer-events: none; }
.links__tile {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2) 0%, var(--ink) 100%); color: var(--text);
  box-shadow: inset 0 1px 0 var(--tint-3), 0 24px 60px -24px rgba(181, 230, 29, 0.45);
}
.links__tile .brand__mark { width: 54px; height: auto; }
.links__head h1 { margin-block-start: 20px; font-size: 1.75rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.links__subtitle { margin-block-start: 6px; max-width: 34ch; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; text-wrap: pretty; }
.links__nav { margin-block-start: 32px; }
.links__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.links__pill, .links__store { -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.links__pill:active, .links__store:active { transform: scale(0.98); }
.links__pill { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--text); text-align: start; }
.links__pill--hl { border-color: rgba(181, 230, 29, 0.38); box-shadow: 0 0 0 1px rgba(181, 230, 29, 0.06), 0 18px 48px -28px rgba(181, 230, 29, 0.5); }
.links__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint-2); color: var(--text); }
.links__icon--accent { background: rgba(181, 230, 29, 0.14); color: var(--lime); }
.links__icon svg { width: 19px; height: 19px; }
.links__text { flex: 1; min-width: 0; }
.links__label { display: block; font-weight: 600; font-size: 0.97rem; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; text-wrap: pretty; }
.links__desc { display: block; margin-block-start: 2px; font-size: 0.8125rem; line-height: 1.35; color: var(--text-2); overflow-wrap: anywhere; }
.links__arrow { flex: none; display: grid; margin-inline-end: 6px; color: var(--muted); transition: color 160ms ease; }
.links__arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .links__arrow svg, [dir="rtl"] .links__chevron svg { transform: scaleX(-1); }

.links__card { padding: 8px; border: 1px solid rgba(181, 230, 29, 0.3); border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px rgba(181, 230, 29, 0.05), 0 22px 56px -30px rgba(181, 230, 29, 0.5); }
.links__row { display: flex; align-items: center; gap: 14px; padding: 4px 4px 12px; }
.links__stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.25rem, 1fr)); gap: 8px; }
.links__store { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--ink); color: var(--text); }
.links__store-icon { flex: none; display: grid; place-items: center; }
.links__store-icon svg { width: 22px; height: 22px; }
.links__store-badge { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1; }
.links__store-badge small { font-size: 0.66rem; font-weight: 500; color: var(--text-2); }
.links__store-badge b { margin-block-start: 4px; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.links__store-also { display: none; align-items: center; gap: 6px; }
.links__chevron { display: grid; opacity: 0.7; }
.links__chevron svg { width: 16px; height: 16px; }
:root[data-platform="ios"] .links__stores, :root[data-platform="android"] .links__stores { display: flex; flex-direction: column; gap: 4px; }
:root[data-platform="ios"] .links__store[data-store="apple"], :root[data-platform="android"] .links__store[data-store="google"] {
  order: 0; gap: 12px; min-height: 60px; padding-inline: 20px; border-color: transparent; border-radius: 22px;
  background: var(--grad); color: #04110a; box-shadow: var(--cta-shadow);
}
:root[data-platform="ios"] .links__store[data-store="apple"] .links__store-icon, :root[data-platform="android"] .links__store[data-store="google"] .links__store-icon { width: 36px; height: 36px; border-radius: 50%; background: #04110a; color: #ffffff; }
:root[data-platform="ios"] .links__store[data-store="apple"] .links__store-icon svg, :root[data-platform="android"] .links__store[data-store="google"] .links__store-icon svg { width: 19px; height: 19px; }
:root[data-platform="ios"] .links__store[data-store="apple"] small, :root[data-platform="android"] .links__store[data-store="google"] small { color: rgba(4, 17, 10, 0.75); }
:root[data-platform="ios"] .links__store[data-store="apple"] b, :root[data-platform="android"] .links__store[data-store="google"] b { font-size: 1.19rem; }
:root[data-platform="ios"] .links__store[data-store="google"], :root[data-platform="android"] .links__store[data-store="apple"] {
  order: 1; align-self: center; min-height: 48px; padding-inline: 16px; border: 0; border-radius: 999px; background: none;
  color: var(--text-2); font-size: 0.85rem; font-weight: 500;
}
:root[data-platform="ios"] .links__store[data-store="google"] .links__store-badge, :root[data-platform="android"] .links__store[data-store="apple"] .links__store-badge { display: none; }
:root[data-platform="ios"] .links__store[data-store="google"] .links__store-also, :root[data-platform="android"] .links__store[data-store="apple"] .links__store-also { display: inline-flex; }
:root[data-platform="ios"] .links__store[data-store="google"] .links__store-icon svg, :root[data-platform="android"] .links__store[data-store="apple"] .links__store-icon svg { width: 15px; height: 15px; }

.links__foot { padding-block-start: 40px; text-align: center; color: var(--muted); font-size: 0.78rem; }

@media (min-width: 768px) {
  .links__body { justify-content: center; padding-block: 32px 48px; }
}
@media (hover: hover) and (pointer: fine) {
  .links__langs a:hover, .links__pill:hover, .links__store:hover { text-decoration: none; }
  .links__langs a:hover { color: var(--text); }
  .links__pill:hover { background: var(--surface-2); border-color: var(--line-strong); }
  .links__pill--hl:hover, .links__card:hover { border-color: rgba(181, 230, 29, 0.55); }
  .links__pill:hover .links__arrow { color: var(--text); }
  .links__store:hover { border-color: rgba(181, 230, 29, 0.55); }
  :root[data-platform="ios"] .links__store[data-store="google"]:hover, :root[data-platform="android"] .links__store[data-store="apple"]:hover { color: var(--text); }
}
@media (prefers-reduced-motion: reduce) {
  .links__pill, .links__store, .links__arrow { transition: none; }
  .links__pill:active, .links__store:active { transform: none; }
}
@media (forced-colors: active) {
  .links__pill, .links__card, .links__store, .links__langs ul { border: 1px solid CanvasText; }
}

.nojs { overflow-wrap: anywhere; }
.story:has(.nojs) .story__snaps, .story:has(.nojs) .story__rail, .story:has(.nojs) .story__skip, .story:has(.nojs) .story__progress { display: none; }
body:has(.nojs) .theme, body:has(.nojs) .nav__burger, body:has(.nojs) .pricing__controls, body:has(.nojs) #demo-form { display: none; }
body:has(.nojs) .nav__cta { display: inline-flex; }

@media (hover: hover) and (pointer: fine) {
  .menu__links a:hover, .nav__links a:hover { text-decoration: none; }
  .theme:hover { color: var(--text); background: var(--tint-2); }
  .nav__links a:not(.btn):hover { color: var(--text); background: var(--tint-2); }
  .menu__links a:hover { background: var(--tint-2); }
  .story__skip:hover, .story__film:hover { background: rgba(255, 255, 255, 0.14); }
  .card:not(.pillars .card):hover { border-color: var(--line-strong); }
  .sport:hover img { transform: scale(1.04); }
  .story__rail button:hover span, .story__rail:hover button span { opacity: 1; }
  .langs--codes a:hover { text-decoration: none; background: var(--tint-2); }
  .langbar__close:hover { color: var(--text); background: var(--tint-2); }
}

@media (min-width: 1024px) {
  .nav__langs { display: block; }
}
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 960px) {
  .game, .players, .demo { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (pointer: coarse) {
  .seg button { min-height: 44px; }
  .theme { width: 44px; height: 44px; }
  .langbar__close { width: 44px; height: 44px; }
}
@media (max-width: 767px) {
  :root { --nav-h: 56px; }
  .nav__cta { display: none; }
  .theme { width: 44px; height: 44px; border-color: var(--line); background: var(--tint-1); }

  .chapter, .chapter[data-pos="right"], .chapter[data-pos="bottom-left"] {
    inset-inline: calc(16px + var(--sa-start)) calc(68px + var(--sa-end)); max-width: none;
    top: auto; bottom: calc(84px + var(--sab)); transform: none; gap: 12px;
  }
  .chapter[data-mpos="top"] { top: calc(var(--nav-h) + var(--sat) + 20px); bottom: auto; }
  .chapter h1 { font-size: clamp(2rem, 9.5vw, 2.8rem); overflow-wrap: anywhere; }
  .chapter h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
  .chapter p.body { font-size: 1rem; }
  .chapter .desktop-only { display: none; }
  .chapter .mobile-only { display: block; }
  .chapter .actions { flex-direction: column; align-items: stretch; }
  .chapter .actions .btn { width: 100%; white-space: normal; }
  .story--chapters .chapter, .story--chapters .chapter[data-pos="right"], .story--chapters .chapter[data-pos="bottom-left"] { transform: translateY(14px); }
  .story--chapters .chapter.is-on, .story--chapters .chapter.is-on[data-pos="right"], .story--chapters .chapter.is-on[data-pos="bottom-left"] { transform: none; }
  .story__scrim::before, .story__scrim::after { background: linear-gradient(0deg, rgba(5, 7, 10, 0.84) 0%, rgba(5, 7, 10, 0.5) 34%, rgba(5, 7, 10, 0) 60%); }
  .story__scrim[data-side="left"]::before, .story__scrim[data-side="right"]::after { opacity: 1; }
  .story__scrim[data-mside="top"]::before { opacity: 1; background: linear-gradient(180deg, rgba(5, 7, 10, 0.88) 0%, rgba(5, 7, 10, 0.55) 30%, rgba(5, 7, 10, 0) 58%); }
  .story__scrim[data-mside="top"]::after { opacity: 0; }
  .story__skip, .story__actions { inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 2 * var(--gutter)); bottom: calc(20px + var(--sab)); }
  .story__actions { justify-content: center; }
  .story__actions .story__skip { margin-inline: 0; max-width: none; }
  .story__skip, .story__film { min-height: 44px; font-size: 0.9rem; background: rgba(5, 7, 10, 0.7); }
  .story__gate { inset-inline: 0; margin-inline: auto; width: max-content; bottom: auto; top: calc(var(--nav-h) + var(--sat) + var(--langbar-h) + 16px); }
  .story__scrim[data-mside="top"] ~ .story__gate { top: auto; bottom: calc(20px + 44px + 12px + var(--sab)); }
  .story__rail { inset-inline-end: calc(4px + var(--sa-end)); gap: 6px; }
  .story__rail button { min-height: 40px; padding: 0 8px; }
  .story__rail button::before { inset-inline: -4px; }
  .story__rail button span { display: none; }
  .story__rail button[aria-current="step"] { flex-direction: column; justify-content: center; gap: 3px; }
  .story__rail button[aria-current="step"] span { display: inline; font-size: 0.7rem; }
  .form__row { grid-template-columns: 1fr; }
  .tier__badge { inset-inline-end: 14px; }
  .tier__price b { font-size: clamp(1.9rem, 10vw, 2.8rem); }
  .sports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sport:first-child { aspect-ratio: 2 / 1; }
  .pillars { gap: 32px; }
}
@media (max-height: 480px) {
  :root { --nav-h: 48px; }
}
@media (max-width: 767px) and (max-height: 480px) {
  .chapter, .chapter[data-pos="right"], .chapter[data-pos="bottom-left"] { bottom: calc(56px + var(--sab)); gap: 8px; }
  .chapter[data-mpos="top"] { top: calc(var(--nav-h) + var(--sat) + 12px); }
  .chapter h1, .chapter h2 { font-size: clamp(1.5rem, 7vh, 2rem); }
  .chapter p.body { display: none; }
  .chapter .actions { flex-direction: row; }
  .chapter .actions .btn { width: auto; }
}
@media (max-width: 359px) {
  .story__actions { gap: 6px; }
  .story__skip, .story__film { padding-inline: 12px; font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seg button:active { transform: none; }
  .sport img { transition: none; }
  .sport:hover img { transform: none; }
  .menu, .menu__links li { transition: none; transform: none; }
  .story__loading { animation: pulse 1s ease-in-out infinite; opacity: 1; }
  @keyframes pulse { 50% { opacity: 0.35; } }
  .story--chapters .chapter, .story--chapters .chapter.is-on { transition: opacity 0.25s ease; transform: none; }
  .story__rail button i { transition: none; }
  .form [aria-busy="true"] .form__spin { animation: reveal 0s linear 200ms forwards; }
  .theme svg { transition: opacity 150ms ease; transform: none; }
  .theme:active { transform: none; }
}

@media print {
  .nav, .menu, .langbar, .skip-link, .theme, .story__skip, .story__actions, .story__rail, .story__progress, .story__loading, .story__gate, .story__video, .story__canvas, .story__overlay, .story__scrim, .story__snaps { display: none !important; }
  .story, .story--chapters { height: auto; overflow: visible; }
  .story__stage { position: static; height: auto; min-height: 0; }
  .story__poster, .story__chapters { position: static; }
  .chapter { position: static; transform: none !important; opacity: 1 !important; visibility: visible !important; color: var(--text); margin: 24px 0; }
  .chapter p.body { text-shadow: none; }
  .section { padding: 32px 0; break-inside: avoid; }
  .tier__badge, .tier--featured { box-shadow: none; }
}

@media (forced-colors: active) {
  .nav__burger span, .nav__burger span::before, .nav__burger span::after, .story__rail button i { background: CanvasText; }
  .story__progress i { background: Highlight; }
  .seg button[aria-pressed="true"] { outline: 2px solid CanvasText; outline-offset: -2px; }
  .theme { border-color: CanvasText; }
  .sport img, .story__still, .story__poster img { forced-color-adjust: none; }
}
