/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-600.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;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-700.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-400.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-400.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-400.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-400.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-400.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;
}
/* LineUp Info — design tokens mirror lineup.bet (html custom properties) */
@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0d131c;
  --card: #121b26;
  --card-a: rgb(18 27 38 / .6);
  --line: #1f2833;
  --line-2: #293748;
  --muted: #4b576e;
  --tx: #fafcff;
  --tx-2: #e1eafa;
  --tx-3: #a6b3cc;
  --tx-4: #7d8aa1; /* ≥4.5:1 on --bg and --card (WCAG AA) */
  --blue: #4761e5;
  --blue-2: #3545af;
  --blue-3: #2a378c;
  --blue-l: #8fa0f0;
  --sky: #99b8ff;
  --red: #d60329;
  --pink: #fb3864;
  --green: #1bdd51;
  --lime: #ebff00;
  --gold: #f8d33a;
  --violet: #9250ff;
  --cta: radial-gradient(75.25% 100% at 50% 0%, #fb3864 0%, #960524 100%);
  --rainbow: linear-gradient(90.13deg, #fff567 29.63%, #60ffa9 43.84%, #789eff 59.1%, #e960ff 70.33%);
  --r-sm: 4px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 9999px;
  --f: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fd: 'Barlow Condensed', 'Arial Narrow', Inter, sans-serif;
  --gut: 16px;
  --max: 1200px;
  --band: max(var(--gut), (100% - var(--max)) / 2);
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 1rem/1.65 var(--f);
  color: var(--tx-2);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(71 97 229 / .14), transparent 70%),
    radial-gradient(50rem 26rem at 0% 0%, rgb(214 3 41 / .10), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--tx); line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--sky); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tx); }
strong { color: var(--tx); font-weight: 600; }
code { padding: .1em .4em; border-radius: 6px; background: var(--card); color: var(--tx); font: 500 .9em ui-monospace, 'Cascadia Code', Consolas, monospace; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: .6em 1em; background: var(--blue); color: #fff; border-radius: var(--pill); }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.5em;
  border: 0; border-radius: var(--pill);
  font: 600 1rem/1.1 var(--f); color: #fff; text-decoration: none; text-align: center; white-space: nowrap;
  cursor: pointer; transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn:hover { color: #fff; filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta); box-shadow: 0 10px 28px -10px rgb(251 56 100 / .7), inset 0 1px 0 rgb(255 255 255 / .22); }
.btn--ghost { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--app { background: linear-gradient(180deg, var(--blue), var(--blue-3)); box-shadow: 0 10px 28px -12px rgb(71 97 229 / .8), inset 0 1px 0 rgb(255 255 255 / .2); }
.btn--sm { min-height: 38px; padding: .5em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn[data-go="a"]::before {
  content: ""; width: 1.05em; height: 1.05em; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='3'/%3E%3Cpath d='M10.5 18h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  min-height: var(--head-h); padding-inline: var(--band);
  background: rgb(5 6 8 / .82); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
@supports (animation-timeline: scroll()) {
  .site-head::after {
    content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px;
    background: var(--cta); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}
.logo { display: block; margin-right: auto; flex: none; }
.logo img { height: 31px; width: auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card); color: var(--tx); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: transparent;
  color: var(--tx-3); font: 500 .9rem var(--f); cursor: pointer;
}
.search-btn svg { flex: none; width: 18px; height: 18px; }
.search-btn kbd { font: 500 .72rem var(--f); padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 6px; }
.site-head .btn--ghost { display: none; }

/* Mega menu: disclosure buttons + panels; hover opens on fine pointers */
.nav { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; gap: 2px; }
.nav__top {
  display: inline-flex; align-items: center; gap: 6px; padding: .55em .8em; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--tx-3); font: 500 .95rem var(--f); cursor: pointer; transition: color .2s, background .2s;
}
.nav__top::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__top:hover, .nav__top[aria-expanded="true"], .nav__top[data-active] { color: var(--tx); background: var(--card); }
.nav__top[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.mega { display: none; }
.nav__top[aria-expanded="true"] + .mega { display: grid; }
.mega__links a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--tx); font-weight: 600; text-decoration: none; line-height: 1.3; }
.mega__links a span { display: block; margin-top: 2px; color: var(--tx-4); font-size: .82rem; font-weight: 400; }
.mega__links a:hover, .mega__links a[aria-current] { background: var(--card); }
.mega__links a[aria-current] { box-shadow: inset 2px 0 0 var(--pink); }
.mega__games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-content: start; }
.mega__games a { display: grid; gap: 6px; color: var(--tx-3); font-size: .75rem; line-height: 1.2; text-decoration: none; text-align: center; }
.mega__games img { width: 100%; height: auto; aspect-ratio: 29 / 40; border-radius: 10px; object-fit: cover; transition: transform .2s; }
.mega__games a:hover { color: var(--tx); }
.mega__games a:hover img { transform: translateY(-3px); }
.mega__promo {
  display: grid; align-content: end; justify-items: start; gap: 4px; min-height: 180px; padding: 20px; border-radius: var(--r);
  background: radial-gradient(100% 80% at 100% 0%, rgb(214 3 41 / .55), transparent 70%), radial-gradient(90% 90% at 0% 100%, rgb(42 55 140 / .8), transparent 70%), var(--card);
  color: var(--tx-3); font-size: .9rem;
}
.mega__promo strong { font: 700 2.6rem/1 var(--fd); text-transform: uppercase; }
.mega__promo .btn { margin-top: 10px; }

@media (max-width: 63.99em) {
  .site-head > .nav:not(:popover-open) { display: none; }
  .nav:popover-open {
    position: fixed; inset: var(--head-h) 0 0 0; width: auto; height: auto; margin: 0; overflow-y: auto;
    padding: 12px var(--gut) 96px; background: rgb(5 6 8 / .98); backdrop-filter: blur(14px);
  }
  .nav__list { flex-direction: column; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__top { width: 100%; justify-content: space-between; padding: 1em .5em; font-size: 1.1rem; border-radius: 0; background: transparent !important; }
  .mega { gap: 16px; padding: 0 0 16px; }
  .mega__games { grid-template-columns: repeat(5, minmax(56px, 1fr)); }
  .mega__promo { min-height: 0; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (min-width: 64em) {
  .menu-btn { display: none; }
  .nav { display: block; position: static; inset: auto; width: auto; height: auto; overflow: visible; }
  .logo { margin-right: 8px; }
  .search-btn { margin-left: auto; }
  .nav__item { position: static; }
  .mega {
    position: absolute; top: calc(100% + 1px); left: var(--band); right: var(--band);
    grid-template-columns: minmax(260px, 1fr) 1.4fr minmax(220px, .8fr); gap: 24px; padding: 20px;
    background: rgb(13 19 28 / .98); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-top: 0;
    border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 40px 80px -30px #000;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; }
  .mega:not(:has(.mega__games)) { grid-template-columns: 1fr minmax(240px, .45fr); }
  .mega:not(:has(.mega__games)) .mega__links { columns: 2; column-gap: 8px; }
  .mega:not(:has(.mega__promo)):not(:has(.mega__games)) { grid-template-columns: 1fr; }
  .mega:not(:has(.mega__promo)):not(:has(.mega__games)) .mega__links { columns: 3; }
  .mega__links li { break-inside: avoid; }
  @media (hover: hover) {
    .nav__item:hover > .mega { display: grid; }
    .nav__item:hover > .nav__top { color: var(--tx); background: var(--card); }
  }
}
@media (min-width: 64em) and (max-width: 79.99em) {
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (min-width: 80em) {
  .site-head .btn--ghost { display: inline-flex; }
  .nav a { padding-inline: .9em; }
}

/* Search popover */
.search {
  position: fixed; inset: 80px 0 auto; width: min(640px, calc(100% - 32px)); margin: 0 auto;
  padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--bg-2); color: inherit; box-shadow: 0 30px 80px -20px #000;
}
.search::backdrop { background: rgb(5 6 8 / .6); backdrop-filter: blur(4px); }
.search input {
  width: 100%; height: 52px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--pill);
  background: var(--card); color: var(--tx); font: 500 1.05rem var(--f);
}
.search input:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.search ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 60vh; overflow: auto; }
.search li a { display: block; padding: 10px 16px; border-radius: 12px; text-decoration: none; color: var(--tx); font-weight: 600; }
.search li a span { display: block; font-weight: 400; font-size: .88rem; color: var(--tx-3); }
.search li a:hover, .search li a:focus { background: var(--card); }
.search li:only-child:not(:has(a)) { padding: 10px 16px; color: var(--tx-4); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 20px var(--band) 0; font-size: .85rem; color: var(--tx-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--tx-3); text-decoration: none; }
.crumbs a:hover { color: var(--tx); }

/* ---------- Article layout ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; padding: 0 var(--band) 64px; }
.page-head { padding-block: 24px 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head h1 { max-width: 22ch; }
.lead { margin-top: 16px; font-size: 1.15rem; color: var(--tx-3); max-width: 68ch; }
.byline { margin-top: 16px; font-size: .85rem; color: var(--tx-4); }
.byline a { color: var(--tx-3); }
.toc { font-size: .9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--tx-3); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--tx); }
.toc a.is-active { color: var(--tx); border-left-color: var(--pink); }
.toc::before { content: attr(aria-label); display: block; margin-bottom: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-4); }
@media (max-width: 63.99em) {
  .toc { margin-bottom: 32px; padding: 16px 20px; background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r); }
  .toc ol { border: 0; columns: 2 14rem; }
  .toc a { padding-left: 0; border: 0; }
}
@media (min-width: 64em) {
  .page:has(.toc) { grid-template-columns: minmax(0, 1fr) 248px; }
  .page-head { grid-column: 1 / -1; }
  .toc { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--head-h) + 24px); align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}

/* ---------- Prose ---------- */
.content { min-width: 0; }
.content > * + * { margin-top: 1.15rem; }
.content > h2 { margin-top: 3.25rem; padding-top: 4px; }
.content > h3 { margin-top: 2rem; }
.content > h2 + *, .content > h3 + * { margin-top: .9rem; }
.content ul:not([class]), .content ol:not([class]) { padding-left: 1.4em; }
.content ul:not([class]) li::marker { color: var(--pink); }
.content ol:not([class]) li::marker { color: var(--sky); font-weight: 700; }
.content li + li { margin-top: .4em; }
.content > p, .content > ul:not([class]), .content > ol:not([class]) { max-width: 75ch; }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 8px; margin: 0; }
.facts div { padding: 14px 16px; background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r); }
.facts dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-4); }
.facts dd { margin: 4px 0 0; color: var(--tx); font-weight: 600; line-height: 1.4; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 18px 20px 18px 72px; background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--cta); color: #fff; font: 700 1.25rem/1 var(--fd);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { color: var(--tx-3); }

/* Pros & cons */
.pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 12px; }
.pc > div { padding: 20px; background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r); }
.pc h3 { font-size: 1rem; margin-bottom: 12px; }
.pros, .cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pros li, .cons li { position: relative; padding-left: 30px; }
.pros li::before, .cons li::before {
  position: absolute; left: 0; top: .15em; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; font-weight: 800;
}
.pros li::before { content: "✓"; background: rgb(27 221 81 / .15); color: var(--green); }
.cons li::before { content: "✕"; background: rgb(255 68 68 / .15); color: #ff6b6b; }

/* Callouts */
.note { padding: 16px 20px; background: rgb(71 97 229 / .1); border: 1px solid rgb(71 97 229 / .35); border-radius: var(--r); color: var(--tx-2); }
.note--warn { background: rgb(248 211 58 / .08); border-color: rgb(248 211 58 / .35); }
.note--risk { background: rgb(214 3 41 / .08); border-color: rgb(214 3 41 / .4); }

/* Tables */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card-a); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { padding: 14px 16px 0; text-align: left; font-size: .85rem; color: var(--tx-4); caption-side: top; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-4); font-weight: 600; white-space: nowrap; }
tbody th { color: var(--tx); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: rgb(255 255 255 / .02); }

/* Link tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 12px; }
/* Tile = title link (anchor text is the title only) + description; the link's ::after covers the tile. */
.tiles li {
  position: relative; height: 100%; padding: 18px 20px;
  background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, transform .2s, background .2s;
}
.tiles a { display: block; margin-bottom: 4px; color: var(--tx); font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.tiles a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tiles p { color: var(--tx-3); font-size: .92rem; line-height: 1.5; }
.tiles li:hover { border-color: var(--line-2); background: var(--card); transform: translateY(-2px); }
.tiles li:has(a:focus-visible) { outline: 2px solid var(--sky); outline-offset: 2px; }

/* Category chips (like the lobby tabs) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips a, .chips span {
  display: block; padding: .55em 1.1em; white-space: nowrap; text-decoration: none;
  background: var(--card-a); border: 1px solid var(--line); border-radius: var(--pill);
  color: var(--tx-2); font-weight: 500; font-size: .92rem;
}
.chips a:hover, .chips [aria-current] { background: var(--card); border-color: var(--line-2); color: var(--tx); }

/* Game cards — brand lobby style */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 9.5rem), 1fr)); gap: 12px; }
.game {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  aspect-ratio: 29 / 40; padding: 12px; overflow: hidden; border-radius: var(--r);
  background: var(--card); isolation: isolate; transition: transform .25s, box-shadow .25s;
}
.game img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(19 28 39 / 0) 45%, rgb(13 19 28 / .96) 92%); transition: background .25s; }
.game:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgb(251 56 100 / .45); }
.game:hover img { transform: scale(1.05); }
.game__name { color: var(--tx); font-weight: 700; font-size: .92rem; line-height: 1.2; text-decoration: none; }
a.game__name::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.game__meta { color: var(--tx-3); font-size: .72rem; }
.game__acts { position: relative; z-index: 1; display: flex; gap: 6px; margin-top: 8px; }
.game__acts .btn { flex: 1; min-height: 32px; padding: .35em .6em; font-size: .78rem; }
@media (hover: hover) {
  .game__acts { position: absolute; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: center; gap: 8px; margin: 0; opacity: 0; transition: opacity .2s; pointer-events: none; }
  .game__acts .btn { flex: none; width: 62%; min-height: 36px; }
  .game:hover .game__acts, .game:focus-within .game__acts { opacity: 1; pointer-events: auto; }
  .game:hover::before, .game:focus-within::before { background: linear-gradient(rgb(5 6 8 / .55), rgb(5 6 8 / .75)); }
}

/* Carousel (scroll-snap rail, arrows enhance) */
.rail { min-width: 0; }
.rail + .rail { margin-top: 36px; }
.rail__head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.rail__head > :first-child { margin-right: auto; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); }
.rail__head a { padding: .45em 1em; border-radius: var(--pill); background: var(--card); color: var(--tx-2); font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.rail__head a:hover { color: var(--tx); background: var(--line); }
.rail__btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--tx); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.rail__btn:hover { background: var(--line-2); }
.rail__btn:disabled { opacity: .35; cursor: default; }
.games--rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 15vw, 172px); grid-template-columns: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  padding: 6px 2px 14px; margin: -6px -2px 0; scrollbar-width: none;
}
.games--rail::-webkit-scrollbar { display: none; }
.games--rail > li { scroll-snap-align: start; }
@media (max-width: 47.99em) { .rail__btn { display: none; } }

/* Bonus cards */
.bonuses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 12px; }
.bonus {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px;
  border-radius: var(--r); border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 80% 0%, rgb(71 97 229 / .35), transparent 70%), var(--card);
}
.bonus:nth-child(2n) { background: radial-gradient(90% 60% at 80% 0%, rgb(214 3 41 / .32), transparent 70%), var(--card); }
.bonus__name { color: var(--tx-3); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.bonus__name:hover { color: var(--tx); }
.bonus__value { flex: 1; margin-bottom: 10px; font: 700 2rem/1.05 var(--fd); text-transform: uppercase; color: var(--tx); }

/* Coins */
.coins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 8px; }
.coin {
  position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 14px; background: var(--card-a); border: 1px solid var(--line); border-radius: var(--r);
}
.coin::before {
  content: attr(data-sym); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: color-mix(in srgb, var(--coin) 22%, transparent); color: var(--coin);
  font: 700 .72rem/1 var(--f); letter-spacing: .02em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--coin) 45%, transparent);
}
.coin a, .coin b { color: var(--tx); font-weight: 600; text-decoration: none; }
.coin a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.coin:has(a:hover) { border-color: var(--line-2); background: var(--card); }
.coin span { font-size: .8rem; color: var(--tx-4); }

/* CTA band */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 24px 28px; border-radius: var(--r-lg);
  background:
    radial-gradient(70% 140% at 100% 0%, rgb(214 3 41 / .35), transparent 60%),
    radial-gradient(60% 140% at 0% 100%, rgb(71 97 229 / .3), transparent 60%),
    var(--card);
  border: 1px solid var(--line-2);
}
.cta-band p { flex: 1 1 22rem; color: var(--tx-3); }
.cta-band strong { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.content > .cta-band { margin-block: 2rem; }

/* Interactive tools */
.tool { padding: 24px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.tool fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 12px; }
.tool legend { float: left; width: 100%; margin-bottom: 16px; font-size: 1.15rem; font-weight: 700; color: var(--tx); }
.tool label { display: grid; gap: 6px; font-size: .85rem; color: var(--tx-3); }
.tool input[type="number"], .tool select {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--card); color: var(--tx); font: 600 1.05rem var(--f);
}
.tool input:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.tool__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 8px; margin: 20px 0 0; }
.tool__out div { padding: 14px 16px; background: var(--card); border-radius: 12px; }
.tool__out dt { font-size: .78rem; color: var(--tx-4); }
.tool__out dd { margin: 2px 0 0; color: var(--tx); font: 700 1.6rem/1.15 var(--fd); }
.tool__out .is-total { background: var(--cta); }
.tool__out .is-total dt { color: rgb(255 255 255 / .8); }
.tool__note { margin-top: 14px; font-size: .82rem; color: var(--tx-4); }
.tool progress { width: 100%; height: 8px; margin-top: 16px; border: 0; border-radius: var(--pill); background: var(--card); overflow: hidden; appearance: none; }
.tool progress::-webkit-progress-bar { background: var(--card); }
.tool progress::-webkit-progress-value { background: var(--cta); border-radius: var(--pill); }
.tool progress::-moz-progress-bar { background: var(--cta); border-radius: var(--pill); }

/* Coin picker radios */
.picks { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.picks label { display: block; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span {
  display: block; padding: .5em 1em; border-radius: var(--pill); border: 1px solid var(--line-2);
  background: var(--card); color: var(--tx-2); font-weight: 600; font-size: .9rem;
}
.picks input:checked + span { background: color-mix(in srgb, var(--coin) 25%, var(--card)); border-color: var(--coin); color: var(--tx); }
.picks input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

/* Crash simulator */
.crash { position: relative; }
.crash__stage {
  position: relative; aspect-ratio: 2 / 1; margin-top: 8px; border-radius: var(--r); overflow: hidden;
  background:
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 12.5% 100%,
    radial-gradient(80% 90% at 0% 100%, rgb(214 3 41 / .25), transparent 70%),
    var(--bg);
  border: 1px solid var(--line);
}
.crash__stage canvas { width: 100%; height: 100%; }
.crash__mult { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 700 clamp(2.5rem, 8vw, 4.5rem)/1 var(--fd); color: var(--tx); pointer-events: none; text-shadow: 0 4px 24px rgb(0 0 0 / .6); }
.crash[data-state="bust"] .crash__mult { color: #ff4d6d; }
.crash[data-state="won"] .crash__mult { color: var(--green); }
.crash__bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.crash__bar label { flex: 1 1 9rem; }
.crash__bar .btn { flex: 1 1 9rem; }
.crash__hist { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 6px; overflow: hidden; mask: linear-gradient(90deg, #000 80%, transparent); }
.crash__hist li { flex: none; padding: .25em .7em; border-radius: var(--pill); font: 600 .8rem var(--f); background: var(--card); color: var(--sky); }
.crash__hist li.lo { color: #ff6b6b; }
.crash__hist li.hi { color: var(--violet); background: rgb(146 80 255 / .15); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 0;
  color: var(--tx); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); color: var(--tx-3); font-weight: 400; font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--pink); }
.faq details p { padding: 0 44px 20px 0; color: var(--tx-3); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s, content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Related */
.related h2 { margin-bottom: 16px; }

/* ---------- Home ---------- */
.band { padding: 56px var(--band) 0; }
.band > h2 { margin-bottom: 8px; }
.band > h2 + p { color: var(--tx-3); max-width: 65ch; margin-bottom: 24px; }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.band-head p { color: var(--tx-3); max-width: 60ch; }
.band-head a { flex: none; padding: .45em 1em; border-radius: var(--pill); background: var(--card); color: var(--tx-2); text-decoration: none; font-size: .9rem; font-weight: 500; }

.hero {
  position: relative; display: grid; gap: 24px; align-items: center;
  margin: 20px var(--band) 0; padding: clamp(28px, 5vw, 64px); overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 90% at 100% 0%, rgb(214 3 41 / .55), transparent 65%),
    radial-gradient(70% 100% at 0% 100%, rgb(42 55 140 / .8), transparent 70%),
    linear-gradient(135deg, #0d131c, #121b26);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(from 0deg at 85% 30%, rgb(255 255 255 / .035) 0 6deg, transparent 6deg 12deg);
}
.hero > div { display: grid; gap: 18px; justify-items: start; }
.hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.75rem); }
.hero p { max-width: 52ch; color: var(--tx-3); font-size: 1.1rem; }
.hero__offer { display: grid; justify-items: start; gap: 4px; }
.hero__big {
  font: 700 clamp(5rem, 3rem + 10vw, 10rem)/.85 var(--fd); letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 30%, #a6b3cc); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgb(71 97 229 / .45));
}
.hero__sub { padding: .45em 1.2em; border-radius: var(--pill); background: linear-gradient(90deg, var(--blue-3), var(--blue)); font: 700 clamp(1.1rem, .9rem + 1vw, 1.6rem)/1.1 var(--fd); text-transform: uppercase; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero small { color: var(--tx-4); font-size: .78rem; }
@media (min-width: 56em) { .hero { grid-template-columns: 1fr 1.05fr; } }

.usp { list-style: none; margin: 0; padding: 20px var(--band) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.usp li { display: flex; align-items: center; gap: 8px; padding: .55em 1.1em; border-radius: var(--pill); background: var(--card-a); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--tx-2); }
.usp li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 12px; }
.portal {
  position: relative; display: grid; align-content: end; gap: 6px; min-height: 220px; padding: 28px;
  border-radius: var(--r-lg); border: 1px solid var(--line-2); text-decoration: none; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, var(--glow), transparent 65%), var(--card);
  transition: transform .25s, border-color .25s;
}
.portal:hover { transform: translateY(-3px); border-color: var(--muted); }
.portal strong { font: 700 2.6rem/1 var(--fd); text-transform: uppercase; }
.portal span { color: var(--tx-3); max-width: 36ch; }

/* Home: sports block */
.sport { display: grid; gap: 16px; }
.sport__offer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(90% 140% at 100% 0%, rgb(71 97 229 / .6), transparent 70%), radial-gradient(80% 140% at 0% 100%, rgb(214 3 41 / .35), transparent 70%), var(--card);
}
.sport__offer p { display: flex; align-items: center; gap: 18px; max-width: 46ch; color: var(--tx-3); }
.sport__offer strong { font: 700 clamp(3rem, 2.2rem + 3vw, 4.5rem)/.9 var(--fd); }
.sport__note { color: var(--tx-4); font-size: .82rem; }

/* Sport and tournament cards (src/sports.mjs) */
.sc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 12px; counter-reset: sc; }
.content > .sc-grid { margin-block: 1.6rem; }
/* Cards, chips and month cells sit on a grid/flex row: no prose list spacing */
.content .sc-grid li + li { margin-top: 0; }
.sc-grid--full { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.sc {
  --c: var(--blue); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; overflow: hidden; isolation: isolate;
  border-radius: var(--r); border: 1px solid var(--line); border-top: 3px solid var(--c); counter-increment: sc;
  background: radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), var(--card-a);
  transition: border-color .2s, transform .2s;
}
.sc:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); border-top-color: var(--c); transform: translateY(-2px); }
.sc h3 { font: 700 1.6rem/1 var(--fd); text-transform: uppercase; letter-spacing: .01em; }
.sc h3 a { color: inherit; text-decoration: none; }
.sc h3 a::after { content: " →"; color: var(--c); }
.sc h3 a:hover { color: var(--c); }
.sc > p { color: var(--tx-3); font-size: .92rem; }
.sc__meta { order: -1; margin-bottom: -6px; color: var(--c) !important; font: 600 .72rem/1.3 var(--f) !important; letter-spacing: .08em; text-transform: uppercase; }
.sc-grid--full .sc::before {
  content: counter(sc, decimal-leading-zero); position: absolute; z-index: -1; top: 6px; right: 14px;
  font: 700 4.5rem/1 var(--fd); color: color-mix(in srgb, var(--c) 18%, transparent);
}
.sc__dl { display: grid; gap: 12px; margin: 0; }
.sc__dl dt { margin-bottom: 4px; color: var(--tx-4); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sc__dl dd { margin: 0; color: var(--tx-2); font-size: .9rem; line-height: 1.5; }
.sc__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sc__chips li { padding: .25em .7em; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--tx-2); font-size: .8rem; line-height: 1.5; }
.sc .btn { align-self: flex-start; margin-top: auto; }
.sc--more { --c: var(--muted); background: var(--card-a); }
/* Season strip: 12 months, active ones in the card colour */
.season { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.season li { padding: 3px 0; border-radius: 4px; background: var(--bg-2); color: var(--tx-4); font: 600 .62rem/1 var(--f); text-align: center; }
.season li.on { background: var(--c); color: #050608; }
.season li.now { outline: 2px solid var(--tx); outline-offset: 1px; color: var(--tx); }
.season li.on.now { color: #050608; }
/* ---------- Provider demo (click to play) ---------- */
.demo { margin-block: 1.6rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.demo__stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 50% 100%, rgb(214 3 41 / .35), transparent 70%), #05070b;
}
.demo__stage img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.45) saturate(1.3); transform: scale(1.15); }
.demo__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .03) 0 2px, transparent 2px 16px); }
.demo__start { min-height: 54px; padding-inline: 2em; font-size: 1.05rem; box-shadow: 0 0 0 8px rgb(251 56 100 / .15), 0 20px 50px -10px rgb(251 56 100 / .7); }
.demo__start::before { content: ""; width: 0; height: 0; border-left: 11px solid #fff; border-block: 7px solid transparent; margin-right: 4px; }
.demo__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.demo__stage:fullscreen { aspect-ratio: auto; }
.demo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.demo__tab { color: var(--tx-3); font-size: .82rem; }
.demo__badge { margin-right: auto; color: var(--tx-3); font-size: .85rem; }
.demo__badge::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
@media (max-width: 47.99em) { .demo__stage { aspect-ratio: 3 / 4; } .demo.is-on .demo__stage { aspect-ratio: 9 / 14; } }

/* Home: app promo */
.app-promo {
  display: grid; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(60% 100% at 100% 100%, rgb(71 97 229 / .45), transparent 70%), var(--card);
}
.app-promo > div { display: grid; gap: 18px; justify-items: start; }
.app-promo p { color: var(--tx-3); max-width: 52ch; }
@media (min-width: 56em) { .app-promo { grid-template-columns: 1.3fr 1fr; } }
/* ---------- Device frames (CSS only) ---------- */
.dev { position: relative; display: block; flex: none; }
.dev > img { display: block; width: 100%; height: auto; }
.dev--laptop {
  width: 100%; padding: 2.2% 2.2% 0; border-radius: 14px 14px 0 0; background: #0b0f15;
  box-shadow: inset 0 0 0 1.5px #2b3546, 0 40px 80px -40px #000;
}
.dev--laptop img { border-radius: 4px 4px 0 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.dev--laptop::after {
  content: ""; display: block; height: 0; padding-top: 3.2%; margin: 0 -9%; border-radius: 0 0 18px 18px;
  background: linear-gradient(#2b3546, #121b26 55%, #0b0f15); box-shadow: 0 30px 50px -20px #000;
}
.dev--monitor {
  width: 100%; padding: 2%; border-radius: 16px; background: #0b0f15;
  box-shadow: inset 0 0 0 1.5px #2b3546, 0 40px 80px -40px #000; margin-bottom: 9%;
}
.dev--monitor img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.dev--monitor::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 26%; height: 0; padding-top: 8%; translate: -50% 0;
  background: linear-gradient(#1a2230, #0b0f15) top / 30% 70% no-repeat, linear-gradient(#2b3546, #121b26) bottom / 100% 30% no-repeat;
  border-radius: 0 0 10px 10px;
}
.dev--browser { width: 100%; padding-top: 28px; border-radius: 12px; overflow: hidden; background: #121b26; box-shadow: inset 0 0 0 1px #2b3546, 0 30px 60px -30px #000; }
.dev--browser::before { content: ""; position: absolute; top: 10px; left: 12px; width: 44px; height: 8px; background: radial-gradient(circle 4px, #ff5f57 98%, transparent) 0 0 / 15px 8px repeat-x; opacity: .9; }
.dev--browser::after { content: ""; position: absolute; top: 7px; left: 70px; right: 30%; height: 14px; border-radius: 7px; background: #0b0f15; }
.dev--phone {
  width: min(250px, 62vw); aspect-ratio: 562 / 1218; padding: 3.2%; border-radius: 13% / 6%; background: #0b0f15;
  box-shadow: inset 0 0 0 1.5px #3a4659, 0 0 0 1px #000, 0 40px 80px -30px #000; container-type: inline-size;
}
.dev--phone > img, .dev--phone > .ui { width: 100%; height: 100%; border-radius: 10% / 4.6%; object-fit: cover; object-position: top; overflow: hidden; }
.dev--phone::before { content: ""; position: absolute; z-index: 2; top: 4.6%; left: 50%; width: 28%; height: 3%; translate: -50% 0; border-radius: 99px; background: #000; }
.dev--cover { width: 160px; height: auto; border-radius: var(--r); box-shadow: 0 30px 60px -25px #000, inset 0 0 0 1px rgb(255 255 255 / .1); }
.dev--tilt { transform: perspective(1400px) rotateY(-16deg) rotateX(6deg); transform-origin: left center; }

/* Hero / inline visual compositions */
.visual { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; }
.visual::before { content: ""; position: absolute; inset: 8% 10%; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgb(71 97 229 / .45), transparent), radial-gradient(closest-side at 70% 30%, rgb(214 3 41 / .35), transparent); filter: blur(30px); }
.visual__word {
  position: absolute; z-index: -1; left: 50%; top: 46%; translate: -50% -50%; white-space: nowrap; pointer-events: none;
  font: 700 clamp(4rem, 2rem + 9vw, 9.5rem)/.8 var(--fd); letter-spacing: -.02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .16); background: linear-gradient(180deg, rgb(255 255 255 / .12), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.visual--single { margin-block: 2rem; }
.content > .visual--single .dev--laptop, .content > .visual--single .dev--monitor, .content > .visual--single .dev--browser { width: min(100%, 680px); }
.visual--laptop, .visual--monitor, .visual--tilt { width: 100%; padding: 4% 6%; }
.visual--phone .dev--phone { transform: rotate(-4deg); }
.visual--duo { grid-template-columns: 1fr; padding: 2% 14% 6% 0; }
.visual--duo > .dev:first-child { grid-area: 1 / 1; width: 100%; }
.visual--duo > .dev:nth-child(2) { grid-area: 1 / 1; justify-self: end; align-self: end; width: 31%; margin-right: -14%; margin-bottom: -8%; transform: rotate(4deg); }
.visual--duo > .dev--cover:nth-child(2) { width: 30%; }
.visual--trio { grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 0; padding: 4% 0; }
.visual--trio .dev--phone { width: 100%; }
.visual--trio .dev--phone:nth-child(1) { transform: rotate(-9deg) translateX(18%) scale(.9); }
.visual--trio .dev--phone:nth-child(2) { z-index: 1; }
.visual--trio .dev--phone:nth-child(3) { transform: rotate(9deg) translateX(-18%) scale(.9); }
.visual--stack { padding: 0 8% 12% 0; }
.visual--stack > .dev { grid-area: 1 / 1; width: 88%; }
.visual--stack > .dev:nth-child(1) { justify-self: start; align-self: start; transform: rotate(-3deg); }
.visual--stack > .dev:nth-child(2) { justify-self: end; align-self: end; margin: 0 -8% -12% 0; transform: rotate(2deg); }
.visual--covers { grid-template-columns: repeat(3, 1fr) 1.15fr; align-items: center; padding: 6% 0; }
.visual--covers .dev--cover { width: 100%; }
.visual--covers .dev--cover:nth-child(1) { transform: rotate(-10deg) translateY(8%); }
.visual--covers .dev--cover:nth-child(2) { transform: translateY(-6%); z-index: 1; }
.visual--covers .dev--cover:nth-child(3) { transform: rotate(8deg) translateY(10%); }
.visual--covers .dev--phone { width: 100%; margin-left: -10%; z-index: 2; transform: rotate(5deg); }

/* Page header with visual */
@media (min-width: 64em) {
  .page-head--visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: 48px; align-items: center; }
  .page-head--visual > :not(.visual) { grid-column: 1; }
  .page-head--visual > .visual { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 63.99em) { .page-head--visual > .visual { margin-top: 28px; max-width: 560px; } }

/* Home hero visual */
.hero > .visual { width: 100%; }

/* Steps with screenshots: text left, device right */
.steps--shots > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; align-items: start; }
.steps--shots .dev--step { margin-top: 12px; }
.steps--shots .dev--phone.dev--step { width: min(200px, 60vw); }
.steps--shots .dev--browser.dev--step { width: 100%; max-width: 420px; }
@media (min-width: 48em) {
  .steps--shots > li { grid-template-columns: minmax(0, 1fr) auto; }
  .steps--shots > li > :not(.dev) { grid-column: 1; }
  .steps--shots .dev--step { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .steps--shots .dev--phone.dev--step { width: 180px; }
  .steps--shots .dev--browser.dev--step { width: 320px; }
}

/* UI mockups inside phone frames (sized from the phone width) */
.ui { display: flex; flex-direction: column; gap: 3cqw; padding: 13cqw 5cqw 5cqw; background: var(--bg); color: var(--tx-2); font-size: 4.4cqw; line-height: 1.3; text-align: left; }
.ui p, .ui ul { margin: 0; }
.ui__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2cqw; border-bottom: 1px solid var(--line); }
.ui__bar b { color: var(--tx); font-size: 5cqw; }
.ui__logo { width: 24cqw; height: auto; }
.ui__tabs { display: grid; grid-auto-flow: column; padding: 1cqw; border-radius: 99px; background: var(--card); }
.ui__tabs span { padding: 2cqw; border-radius: 99px; text-align: center; color: var(--tx-3); }
.ui__tabs .on { background: var(--blue); color: #fff; font-weight: 600; }
.ui__label { color: var(--tx-4); font-size: 3.6cqw; }
.ui__chips { display: flex; gap: 1.6cqw; }
.ui__chips span { padding: 1.6cqw 3cqw; border-radius: 99px; background: var(--card); color: var(--tx-3); font-weight: 600; }
.ui__chips .on { background: #26a17b; color: #fff; }
.ui__field { padding: 3cqw 4cqw; border-radius: 3cqw; background: var(--card); border: 1px solid var(--line-2); color: var(--tx); }
.ui__big { font-size: 6cqw; font-weight: 700; }
.ui__mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.ui__qr { align-self: center; width: 40cqw; aspect-ratio: 1; border-radius: 3cqw; background: conic-gradient(#000 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0 / 6cqw 6cqw, #fff; border: 3cqw solid #fff; box-shadow: inset 0 0 0 4cqw #fff; }
.ui__btn { padding: 3.2cqw; border-radius: 99px; background: var(--cta); color: #fff; font-weight: 700; text-align: center; margin-top: auto; }
.ui__btn--sm { margin: 0; padding: 3cqw 4cqw; }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.ui__row--field .ui__field { flex: 1; }
.ui__checks { list-style: none; padding: 0; display: grid; gap: 1.6cqw; }
.ui__checks li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.ui__card { display: grid; gap: 1.4cqw; padding: 4cqw; border-radius: 4cqw; background: var(--card); border: 1px solid var(--line-2); }
.ui__card > span { color: var(--tx-4); font-size: 3.6cqw; }
.ui__card b { color: var(--tx); }
.ui__card--promo { background: radial-gradient(90% 90% at 100% 0%, rgb(214 3 41 / .5), transparent 70%), var(--card); }
.ui__card--promo b { font: 700 8cqw/1 var(--fd); }
.ui__docs { list-style: none; padding: 0; display: grid; gap: 2cqw; }
.ui__docs li { display: flex; justify-content: space-between; padding: 3cqw; border-radius: 3cqw; background: var(--card); color: var(--tx); }
.ui__docs span { color: var(--sky); }
.ui__docs .ok span { color: var(--green); }
.ui__docs .wait span { color: var(--gold); }
.ui__drop { display: grid; place-items: center; min-height: 26cqw; border: 1.5px dashed var(--line-2); border-radius: 4cqw; color: var(--tx-4); text-align: center; padding: 3cqw; }
.ui__mail { display: grid; padding: 2.6cqw 0; border-bottom: 1px solid var(--line); }
.ui__mail b { color: var(--tx); }
.ui__mail span { color: var(--tx-4); }
.ui__mail.on b::after { content: " ●"; color: var(--blue); }
.ui__url { display: flex; justify-content: space-between; padding: 3cqw 4cqw; border-radius: 99px; background: var(--card); color: var(--tx); }
.ui__menu { list-style: none; padding: 2cqw 0; border-radius: 4cqw; background: #1a2230; box-shadow: 0 10px 30px #000; }
.ui__menu li { padding: 3cqw 5cqw; color: var(--tx-2); }
.ui__menu .on { background: rgb(71 97 229 / .35); color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--pink); }
.ui__sheet { margin-top: auto; display: grid; gap: 3cqw; padding: 4cqw; border-radius: 6cqw 6cqw 0 0; background: #1a2230; }
.ui__apps { display: flex; gap: 3cqw; }
.ui__apps i { width: 13cqw; aspect-ratio: 1; border-radius: 3.4cqw; background: var(--line-2); }
.ui__home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5cqw 4cqw; padding-top: 4cqw; }
.ui__home i { aspect-ratio: 1; border-radius: 4cqw; background: linear-gradient(135deg, #293748, #1f2833); }
.ui__home span { display: grid; justify-items: center; gap: 1cqw; font-size: 3.2cqw; color: var(--tx); }
.ui__home span img { width: 100%; height: auto; border-radius: 4cqw; box-shadow: 0 0 0 1cqw rgb(251 56 100 / .6), 0 0 20px rgb(251 56 100 / .7); }
.ui__chat { display: grid; gap: 2.4cqw; align-content: start; flex: 1; }
.ui__chat p { max-width: 80%; padding: 2.6cqw 3.4cqw; border-radius: 4cqw 4cqw 4cqw 1cqw; background: var(--card); }
.ui__chat .me { justify-self: end; border-radius: 4cqw 4cqw 1cqw 4cqw; background: var(--blue); color: #fff; }
.ui__meter { height: 2cqw; border-radius: 99px; background: var(--line); overflow: hidden; }
.ui__meter i { display: block; height: 100%; background: var(--green); }

/* ---------- Footer ---------- */
.site-foot { margin-top: 80px; padding: 48px var(--band) 32px; background: var(--bg-2); border-top: 1px solid var(--line); font-size: .9rem; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 32px; }
.site-foot h2 { margin-bottom: 12px; font-size: .95rem; font-weight: 600; color: var(--tx); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--tx-3); text-decoration: none; }
.site-foot a:hover { color: var(--tx); }
.foot-pay { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.foot-pay ul { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-pay li { padding: .35em .9em; border-radius: var(--pill); border: 1px solid var(--line-2); color: var(--tx-3); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.foot-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 32px; padding: 16px 20px; border-radius: var(--r); background: var(--card); color: var(--tx-2); }
.age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--pink); color: var(--tx); font: 700 .95rem var(--f); }
.foot-legal { margin-top: 20px; color: var(--tx-4); font-size: .8rem; max-width: 110ch; }
.foot-legal + .foot-legal { margin-top: 8px; }

/* Mobile CTA dock */
.dock { display: none; }
@media (max-width: 47.99em) {
  .dock {
    position: fixed; inset: auto 0 0; z-index: 40; display: flex; gap: 8px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgb(5 6 8 / .9); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .dock .btn { flex: 1; }
  body { padding-bottom: 72px; }
  .site-head .btn--cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
