/* ---- Self-hosted fonts (no third-party/cross-border requests) --------- */
/* ₽ has its own 1-KB subset: in the latin-ext file it alone pulled 130 KB onto every visit. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/manrope-cyrillic-ext.woff2?v=1) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/manrope-cyrillic.woff2?v=1) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/manrope-latin-ext.woff2?v=1) 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-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/manrope-latin.woff2?v=1) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/manrope-rub.woff2?v=1) format('woff2'); unicode-range: U+20BD; }

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url(/fonts/unbounded-cyrillic-ext.woff2?v=1) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url(/fonts/unbounded-cyrillic.woff2?v=1) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url(/fonts/unbounded-latin-ext.woff2?v=1) 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-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url(/fonts/unbounded-latin.woff2?v=1) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url(/fonts/unbounded-rub.woff2?v=1) format('woff2'); unicode-range: U+20BD; }

:root {
    --bg:        oklch(0.995 0.002 85);
    --surface:   oklch(1 0 0);

    --ink:    oklch(0.235 0.018 265);
    --ink-2:  oklch(0.430 0.016 265);
    --muted:  oklch(0.520 0.014 265);
    --line:   oklch(0.25 0.02 265 / 0.09);
    --line-2: oklch(0.25 0.02 265 / 0.15);

    --brand:      oklch(0.520 0.195 287);
    --brand-2:    oklch(0.780 0.120 287);
    --brand-sft:  oklch(0.520 0.195 287 / 0.10);
    --brand-text: var(--brand);
    /* Violet marks the quests and orange the arena; every other section sits on warm neutrals */
    --violet-tint: oklch(0.960 0.022 287);
    --orange-tint: oklch(0.972 0.018 58);
    --cream:       oklch(0.978 0.010 85);
    --sand:        oklch(0.956 0.016 80);
    --coral:    oklch(0.720 0.160 55);
    --teal:     oklch(0.660 0.115 205);
    --sun:      oklch(0.820 0.150 82);
    --moss:     oklch(0.700 0.145 145);
    --plum:     oklch(0.670 0.165 340);
    --sky:      oklch(0.690 0.130 250);
    --garnet:   oklch(0.700 0.155 20);
    --lime:     oklch(0.760 0.140 110);
    --mint:     oklch(0.750 0.130 175);
    --violet:   oklch(0.680 0.150 280);
    --orchid:   oklch(0.700 0.160 310);
    /* darker tone variants that pass contrast as text on white */
    --coral-ink: oklch(0.530 0.160 50);
    --teal-ink:  oklch(0.460 0.100 205);
    --sun-ink:   oklch(0.500 0.100 80);
    --moss-ink:  oklch(0.480 0.130 145);
    --plum-ink:  oklch(0.500 0.150 335);
    --sky-ink:   oklch(0.480 0.140 255);
    --garnet-ink: oklch(0.520 0.150 18);
    --lime-ink:   oklch(0.500 0.120 112);
    --mint-ink:   oklch(0.490 0.110 178);
    --violet-ink: oklch(0.500 0.140 278);
    --orchid-ink: oklch(0.510 0.150 308);
    /* Dark, atmospheric per-quest moods: a fairy-tale forest, cold stone, a grim cell */
    /* Sampled from each quest's own graded renders (witch: warm wood under violet
       light, dungeon: slate stone, prison: cold blue-green). */
    --mood-witch:   oklch(0.285 0.055 355);
    --mood-dungeon: oklch(0.255 0.040 295);
    --mood-prison:  oklch(0.250 0.035 205);

    --shadow:    0 18px 40px -24px oklch(0.25 0.02 265 / 0.22), 0 3px 10px -6px oklch(0.25 0.02 265 / 0.12);
    --shadow-lg: 0 34px 70px -32px oklch(0.25 0.02 265 / 0.30);
    --shadow-sm: 0 8px 22px -16px oklch(0.25 0.02 265 / 0.22);

    --r:    14px;
    --r-md: 20px;
    --r-lg: 26px;
    --r-xl: 34px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --pop:  cubic-bezier(0.34, 1.4, 0.64, 1);
    --wrap: 1180px;
    --header-h: 66px;

    --f-display: "Unbounded", system-ui, sans-serif;
    --f-body:    "Manrope", system-ui, -apple-system, sans-serif;

    --z-sticky: 100; --z-modal: 900;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    font-family: var(--f-body); background: var(--bg); color: var(--ink-2);
    line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: var(--z-modal);
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
.f-body { font-family: var(--f-body); }
p { text-wrap: pretty; }

/* ---- Buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.97rem; letter-spacing: -0.01em;
    font-family: var(--f-body); transition: transform .22s var(--ease), box-shadow .22s, background .2s, color .2s, border-color .2s; white-space: nowrap; line-height: 1; }
.btn--lg { padding: 15px 28px; font-size: 1.04rem; }
.btn--sm { padding: 9px 15px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px var(--brand); }
@media (hover: hover) and (pointer: fine) { .btn--brand:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--brand); } }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand-text); color: var(--brand-text); } }
.btn--soft { background: var(--brand-sft); color: var(--brand-text); }
@media (hover: hover) and (pointer: fine) { .btn--soft:hover { background: oklch(0.52 0.195 287 / 0.18); transform: translateY(-2px); } }
.btn:active { transform: scale(0.97); transition-duration: .08s; }

.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
.eyebrow--quest { color: var(--brand-text); }
.eyebrow--arena { color: var(--coral-ink); }

/* ---- Header ----------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: var(--z-sticky); transition: background .3s, box-shadow .3s; }
.header.is-stuck { background: oklch(0.995 0.002 85 / 0.72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 1px 0 var(--line); }
.header__bar { max-width: var(--wrap); height: var(--header-h); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__img { width: auto; height: 42px; filter: drop-shadow(0 2px 4px oklch(0.25 0.08 262 / 0.22)); }
.logo__text { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.02em; transition: color .3s; }
.menu ul { display: flex; gap: 2px; }
.menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 0.94rem; transition: color .2s, background .2s; }
@media (hover: hover) and (pointer: fine) { .menu a:hover { color: var(--brand); background: var(--brand-sft); } }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); flex-direction: column; gap: 5px; align-items: center; justify-content: center; background: var(--surface); }
.burger span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---- Decorative shapes ------------------------------------------------ */
.deco { position: absolute; pointer-events: none; z-index: 0; line-height: 0; }
.deco svg { width: 100%; height: 100%; }
.deco--hero-a { color: var(--coral); opacity: 0.09; width: clamp(320px, 38vw, 560px); aspect-ratio: 1; top: -14%; right: -8%; }
.deco--hero-b { color: var(--ink); opacity: 0.06; width: 150px; top: 6%; left: 2%; }
.deco--hero-d { color: var(--coral); opacity: 0.22; width: clamp(120px, 14vw, 200px); aspect-ratio: 1; top: 7%; right: 1%; }
.deco--arena-b { color: var(--coral); opacity: 0.07; width: clamp(260px, 30vw, 400px); aspect-ratio: 1; bottom: -16%; left: -8%; }
.deco--quests-a { color: var(--brand); opacity: 0.08; width: clamp(240px, 30vw, 400px); aspect-ratio: 1; top: -14%; right: -7%; }
.deco--quests-b { color: var(--brand); opacity: 0.12; width: 150px; bottom: 7%; left: 2%; }
.deco--hero-f { color: var(--coral); opacity: 0.24; width: 96px; aspect-ratio: 1; bottom: 6%; right: 4%; }
.deco--quests-d { color: var(--brand); opacity: 0.30; width: 56px; aspect-ratio: 1; bottom: 16px; right: calc(50% - 590px + 24px); }
.deco--how-a { color: oklch(0.80 0.05 70); opacity: 0.45; width: clamp(220px, 24vw, 340px); aspect-ratio: 1; top: -12%; left: -7%; }
.deco--how-c { color: oklch(0.70 0.06 65); opacity: 0.45; width: 110px; aspect-ratio: 1; bottom: 22%; right: calc(50% - 490px - 134px); }
.deco--pricing-a { color: oklch(0.70 0.06 65); opacity: 0.40; width: 200px; aspect-ratio: 1; top: 9%; left: calc(50% - 490px - 224px); }
.deco--pricing-b { color: oklch(0.70 0.06 65); opacity: 0.45; width: 110px; bottom: 14%; right: calc(50% - 490px - 134px); }
.deco--pricing-c { color: oklch(0.70 0.06 65); opacity: 0.50; width: 72px; aspect-ratio: 1; top: 20%; right: calc(50% - 490px - 115px); }
.deco--faq-a { color: oklch(0.80 0.05 70); opacity: 0.55; width: 240px; aspect-ratio: 2 / 1; bottom: 0; left: calc(50% - 380px - 264px); }
.deco--faq-b { color: oklch(0.70 0.06 65); opacity: 0.50; width: 86px; aspect-ratio: 1; top: 150px; right: calc(50% - 380px - 110px); }
@media (max-width: 1100px) {
    .deco--hero-f, .deco--quests-d, .deco--how-c, .deco--pricing-a, .deco--pricing-b, .deco--pricing-c, .deco--faq-a, .deco--faq-b { display: none; }
}
@media (max-width: 620px) {
}

/* ---- Hero ------------------------------------------------------------- */
/* The arena lobby fills the whole first screen, the header floats over it. A deep-blue shade
   from the left (and a light one under the header) keeps the white copy readable on the picture. */
.hero { --shade: 0.22 0.075 262; position: relative; overflow: hidden; display: grid; align-content: center;
    min-height: 100vh; min-height: 100svh; margin-top: calc(-1 * var(--header-h));
    /* a 64-px blurred copy of the picture is inlined as the background, so the first paint is never flat blue */
    background-image: var(--lqip); background-size: cover; background-position: 62% 42%;
    padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) clamp(16px, 4vw, 40px) clamp(40px, 5vw, 72px); background-color: oklch(var(--shade)); }
.hero__bg, .hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
/* The animated lobby starts from the same frame as the picture and replaces it as soon as it plays */
.hero__video { opacity: 0; pointer-events: none; }
.hero__video.is-ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        linear-gradient(180deg, oklch(var(--shade) / 0.50) 0%, oklch(var(--shade) / 0) 20%),
        linear-gradient(90deg, oklch(var(--shade) / 0.86) 0%, oklch(var(--shade) / 0.70) 34%, oklch(var(--shade) / 0.30) 56%, oklch(var(--shade) / 0) 72%); }
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 600px); }
.hero .eyebrow--arena { color: oklch(0.86 0.11 62); }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; color: #fff;
    text-shadow: 0 2px 30px oklch(var(--shade) / 0.45); }
.hero__sub { margin-top: 20px; max-width: 48ch; color: oklch(1 0 0 / 0.9); font-size: clamp(1.04rem, 0.98rem + 0.5vw, 1.22rem);
    text-shadow: 0 1px 16px oklch(var(--shade) / 0.5); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 14px; color: oklch(1 0 0 / 0.86); font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 12px oklch(var(--shade) / 0.5); }
.hero .btn--brand { box-shadow: 0 14px 30px -12px oklch(0.15 0.08 270 / 0.8); }
.hero .btn--ghost { background: oklch(1 0 0 / 0.12); color: #fff; border-color: oklch(1 0 0 / 0.5); box-shadow: none;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) { .hero .btn--ghost:hover { background: oklch(1 0 0 / 0.22); color: #fff; border-color: #fff; } }
.hero :focus-visible { outline-color: #fff; }
/* Header over the hero: light text until it sticks and gets its frosted background */
.header--over:not(.is-stuck) .logo__text { color: #fff; }
.header--over:not(.is-stuck) .menu:not(.is-open) a { color: oklch(1 0 0 / 0.92); }
@media (hover: hover) and (pointer: fine) { .header--over:not(.is-stuck) .menu:not(.is-open) a:hover { color: #fff; background: oklch(1 0 0 / 0.14); } }
.header--over:not(.is-stuck) .burger { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.4); }
.header--over:not(.is-stuck) .burger span { background: #fff; }
/* ---- Sections --------------------------------------------------------- */
.sec { position: relative; overflow: hidden; padding: clamp(52px, 6vw, 96px) clamp(16px, 4vw, 40px); }
/* A section's hue (--h) also tints the cards, borders and shadows inside it */
.sec--arena, .sec--quests, .sec--how, .sec--pricing, .sec--faq, .footer {
    --surface:   oklch(0.993 0.005 var(--h));
    --line:      oklch(0.45 0.07 var(--h) / 0.13);
    --shadow:    0 18px 40px -24px oklch(0.42 0.09 var(--h) / 0.22), 0 3px 10px -6px oklch(0.42 0.07 var(--h) / 0.10);
    --shadow-lg: 0 34px 70px -32px oklch(0.42 0.09 var(--h) / 0.28);
    --shadow-sm: 0 8px 22px -16px oklch(0.42 0.09 var(--h) / 0.22);
}
.sec--how, .sec--pricing, .sec--faq, .footer {
    --line:      oklch(0.45 0.03 var(--h) / 0.14);
    --shadow:    0 18px 40px -24px oklch(0.40 0.04 var(--h) / 0.22), 0 3px 10px -6px oklch(0.40 0.03 var(--h) / 0.10);
    --shadow-lg: 0 34px 70px -32px oklch(0.40 0.04 var(--h) / 0.28);
    --shadow-sm: 0 8px 22px -16px oklch(0.40 0.04 var(--h) / 0.22);
}
.sec--arena   { --h: 58;  background: var(--orange-tint); }
.sec--quests  { --h: 287; background: var(--violet-tint); }
.sec--how, .sec--faq { --h: 80; background: var(--cream); }
.sec--pricing { --h: 80; background: var(--sand); }
.sec__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; }
.sec__inner--narrow { max-width: 760px; }
.sec__head { max-width: 62ch; margin-bottom: clamp(30px, 3.6vw, 48px); }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--center .sec__lead { margin-inline: auto; }
.sec__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.sec__lead { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; max-width: 56ch; }

.chip { font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.chip--age { z-index: 1; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink); background: oklch(1 0 0 / 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 12px -4px oklch(0.25 0.02 265 / 0.30); }
.tagpill { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: oklch(0.28 0.03 265 / 0.05); padding: 6px 13px; border-radius: 999px; }
.tagpill--variant { color: var(--tone-ink); background: color-mix(in oklch, var(--tone) 16%, transparent); }

/* ---- Quests ----------------------------------------------------------- */
/* The intro is the prologue of the quest bands below: dark, with a violet glow
   behind the avatars. It cuts into the arena on a sharp diagonal (falling, so
   it zig-zags with the first band's rising seam) and fades into the first quest. */
.sec--quests { color: #fff; z-index: 1; margin-top: calc(-1 * var(--q-rise));
    padding-top: calc(var(--q-rise) + clamp(56px, 7vw, 110px)); padding-bottom: calc(var(--q-rise) + var(--q-fade) * 0.7);
    background:
        radial-gradient(ellipse 42% 62% at 76% 46%, oklch(0.46 0.16 305 / 0.55), transparent 72%),
        radial-gradient(ellipse 50% 55% at 4% 0%, oklch(0.36 0.10 290 / 0.45), transparent 70%),
        linear-gradient(to bottom, oklch(0.17 0.04 290), color-mix(in oklab, var(--mood-witch) 70%, oklch(0.17 0.04 290)));
    clip-path: polygon(0 0, 100% var(--q-rise), 100% 100%, 0 100%); }
.sec--arena:has(+ .sec--quests) { padding-bottom: calc(clamp(52px, 6vw, 96px) + var(--q-rise)); }
.sec--quests .sec__title { color: #fff; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); line-height: 0.98; }
.sec--quests .sec__lead { color: oklch(0.86 0.03 295); }
.sec--quests .eyebrow--quest { color: oklch(0.80 0.12 305); }
.deco--web-l, .deco--web-r, .deco--web-b { color: oklch(0.85 0.06 300); opacity: 0.16; aspect-ratio: 1; }
.deco--web-l { width: clamp(150px, 17vw, 250px); top: 0; left: 0; }
.deco--web-r { width: clamp(120px, 13vw, 190px); top: var(--q-rise); right: 0; transform: scaleX(-1); }
.deco--web-b { width: clamp(130px, 14vw, 210px); bottom: 0; right: 0; transform: scale(-1, -1); }
.deco--spider { color: oklch(0.82 0.06 300); opacity: 0.55; width: 38px; aspect-ratio: 60 / 150; top: 0; left: clamp(170px, 19vw, 280px);
    transform-origin: 50% 0; animation: spider-sway 6s ease-in-out infinite; }
@keyframes spider-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .deco--spider { animation: none; } }
.qhead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.qhead .sec__lead { max-width: 52ch; }
.qhead__stage { position: relative; justify-self: end; width: 100%; max-width: 620px; }
/* Soft floor light under the avatars so they stand in the scene, not on a flat colour. */
.qhead__stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -4%; height: 18%; border-radius: 50%;
    background: radial-gradient(closest-side, oklch(0.62 0.18 305 / 0.45), transparent); filter: blur(10px); z-index: -1; }
.qhead__avatars { position: relative; width: 100%; filter: drop-shadow(0 30px 40px oklch(0.08 0.04 290 / 0.7));
    animation: qhead-float 7s ease-in-out infinite; }
@keyframes qhead-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .qhead__avatars { animation: none; } }
.is-offscreen .qhead__avatars, .is-offscreen .deco--spider { animation-play-state: paused; }
.qfacts { grid-column: 1 / -1; margin-top: clamp(4px, 1vw, 12px); padding-top: clamp(22px, 2.6vw, 34px);
    border-top: 1px solid oklch(1 0 0 / 0.14); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); row-gap: 18px; }
.qfacts__item { padding: 2px clamp(16px, 2vw, 26px); border-left: 1px solid oklch(1 0 0 / 0.16); }
.qfacts__item:first-child { padding-left: 0; border-left: 0; }
.qfacts dt { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1;
    letter-spacing: -0.03em; color: #fff; }
.qfacts dd { margin-top: 8px; max-width: 13ch; color: oklch(0.80 0.08 305); font-weight: 600; font-size: 0.86rem; line-height: 1.3; }

/* ---- Arena: prologue + games wall ----------------------------------------- */
/* The main product gets the biggest stage on the page: a title + facts prologue,
   then every game's cover at once on a staggered wall. Hovering a tile plays its
   clip in place; a click opens the game big with its description (js/app.js). */
.sec--arena .sec__inner { max-width: 1320px; }
.ahead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.sec--arena .sec__title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); line-height: 0.98; margin-top: 10px; }
.afacts { display: grid; grid-template-columns: repeat(3, minmax(130px, auto)); row-gap: 20px; }
.afacts__item { padding: 2px clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.afacts dt { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1;
    letter-spacing: -0.03em; color: var(--ink); }
.afacts dd { margin-top: 6px; max-width: 16ch; color: var(--coral-ink); font-weight: 600; font-size: 0.88rem; line-height: 1.3; }

/* Games wall: all covers at once on a 4-column grid, rows sized so a 1×1 tile is
   16:9 (and so is a 2×2 one). Positions come inline from home.php. */
.awall { --cols: 4; --gap: clamp(10px, 1.2vw, 16px); margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none;
    display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap);
    grid-auto-rows: calc((min(100vw - 2 * clamp(16px, 4vw, 40px), 1320px) - (var(--cols) - 1) * var(--gap)) / var(--cols) * 9 / 16);
    grid-auto-flow: dense; }
.awall__item--big { grid-column: span 2; grid-row: span 2; }
.awall__tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden;
    cursor: zoom-in; text-align: left; color: #fff; background: oklch(0.2 0.02 265);
    box-shadow: 0 18px 36px -22px oklch(0.35 0.08 50 / 0.55);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.awall__tile:hover, .awall__tile:focus-visible { transform: translateY(-4px) scale(1.015); z-index: 2;
    box-shadow: 0 0 0 3px var(--tone), 0 28px 50px -24px color-mix(in oklab, var(--tone) 70%, oklch(0.3 0.06 50)); }
.awall__tile:focus-visible { outline: none; }
.awall__img, .awall__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.awall__img { transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .awall__tile:hover .awall__img { transform: scale(1.05); } }
.awall__clip { opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.awall__clip.is-active { opacity: 1; }
.awall__shade { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, oklch(0.14 0.03 265 / 0.78) 0%, oklch(0.14 0.03 265 / 0.3) 32%, transparent 58%); }
.awall__caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(12px, 1.4vw, 18px) clamp(14px, 1.6vw, 20px); }
.awall__title { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(0.95rem, 0.75rem + 0.55vw, 1.25rem);
    line-height: 1.1; letter-spacing: -0.01em; text-shadow: 0 2px 12px oklch(0.1 0.02 265 / 0.5); }
.awall__item--big .awall__title { font-size: clamp(1.3rem, 0.9rem + 1.3vw, 2.2rem); }
.awall__more { position: absolute; z-index: 1; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 50%; background: oklch(0.1 0.02 265 / 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; scale: 0.85; transition: opacity .25s ease, scale .25s var(--ease); }
.awall__tile:hover .awall__more, .awall__tile:focus-visible .awall__more { opacity: 1; scale: 1; }
@media (hover: none) { .awall__more { opacity: 1; scale: 1; } }

/* Game viewer: the clicked tile flies out to the middle (FLIP in js/app.js) with
   its clip or cover, the description underneath; arrows walk through all games. */
.gamebox { position: fixed; inset: 0; z-index: var(--z-modal); }
.gamebox__backdrop { position: absolute; inset: 0; background: oklch(0.14 0.03 265 / 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .4s ease; }
.gamebox.is-open .gamebox__backdrop { opacity: 1; }
.gamebox__card { position: fixed; left: 50%; top: 50%; translate: -50% -50%; width: min(92vw, 960px, calc((100vh - 260px) * 16 / 9)); width: min(92vw, 960px, calc((100dvh - 260px) * 16 / 9));
    color: #fff; will-change: transform; }
.gamebox__media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
    box-shadow: 0 0 0 3px var(--tone, #fff), 0 40px 90px -30px #000; touch-action: pan-y; }
.gamebox__media img, .gamebox__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gamebox__media video { opacity: 0; transition: opacity .4s ease; }
.gamebox__media video.is-playing { opacity: 1; }
.gamebox__caption { padding: 18px 2px 0; opacity: 0; translate: 0 8px; transition: opacity .35s ease .2s, translate .35s var(--ease) .2s; }
.gamebox.is-open .gamebox__caption { opacity: 1; translate: 0 0; }
.gamebox.is-closing .gamebox__caption { transition-delay: 0s; }
.gamebox__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); font-weight: 800; line-height: 1.05; color: #fff; }
.gamebox__text { margin-top: 10px; max-width: 70ch; color: oklch(0.9 0.015 265); font-size: 1.02rem; line-height: 1.55; }
.gamebox__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gamebox__variants span { font-size: 0.85rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: color-mix(in oklab, var(--tone, #fff) 30%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone, #fff) 60%, transparent); }
.gamebox__nav, .gamebox__close { position: fixed; z-index: 2; display: grid; place-items: center; border-radius: 50%; color: #fff;
    background: oklch(1 0 0 / 0.14); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.25); opacity: 0; transition: opacity .3s ease .15s, background .2s; }
.gamebox.is-open :is(.gamebox__nav, .gamebox__close, .gamebox__count) { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .gamebox__nav:hover, .gamebox__close:hover { background: oklch(1 0 0 / 0.26); } }
.gamebox__nav { top: 50%; translate: 0 -50%; width: 56px; height: 56px; }
.gamebox__nav--prev { left: clamp(10px, 2vw, 28px); }
.gamebox__nav--next { right: clamp(10px, 2vw, 28px); }
.gamebox__close { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
.gamebox__count { position: fixed; z-index: 2; left: 50%; top: 26px; translate: -50% 0; color: #fff; font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.06em; opacity: 0; transition: opacity .3s ease .15s; }
@media (max-width: 860px) {
    .ahead { grid-template-columns: 1fr; }
    .afacts { grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
    .afacts__item { padding-left: 0; border-left: 0; }
    /* Two columns: the big tiles run full width, the rest pair up. */
    .awall { --cols: 2; }
    .awall__item { grid-column: auto !important; grid-row: auto !important; }
    .awall__item--big { grid-column: span 2 !important; grid-row: span 2 !important; }
    .awall__tile { border-radius: 14px; }
    .awall__title { font-size: 0.92rem; }
    .gamebox__card { top: 46%; }
    .gamebox__nav { top: auto; bottom: 14px; translate: none; width: 48px; height: 48px; }
}

/* ---- Quests: full-width bands stacked down the page, diagonal seams ---- */
/* Every quest is its own band: its environment render as the background, the
   promo cover (box art, plays the preview clip on hover, opens the trailer) on
   one side, the description on the other — sides alternate.
   Seams are soft, not cut: each band overlaps the one above by --q-over and fades
   in through a mask whose gradient is tilted by --q-tilt (= atan of the 6vw rise
   over the full width), so the cross-fade runs along a diagonal. Direction
   alternates per band (--qa, set in home.php). The dark intro above is part of
   the same world, so the first band fades out of it softly too; only the edges
   against the rest of the site are cut sharp — the intro's top (clip-path) and
   the last band's bottom (a 1px mask stop instead of a fade), each overlapping
   its light neighbour by just the rise, so there's no straight edge or white gap. */
:root { --q-rise: 6vw; --q-tilt: 3.43deg; --q-fade: clamp(70px, 7vw, 140px); --q-over: calc(var(--q-rise) + var(--q-fade));
    --q-sharp: calc(var(--q-rise) + 1px); --q-gap: clamp(14px, 1.8vw, 32px); }
.qbands { position: relative; z-index: 2; width: 100vw; margin-left: 50%; translate: -50% 0;
    margin-top: calc(-1 * var(--q-over)); margin-bottom: calc(-1 * var(--q-rise)); }
.qbands + .sec { padding-top: calc(clamp(52px, 6vw, 96px) + var(--q-rise)); }
.qband { --q-in: var(--q-over); position: relative; overflow: hidden; background: var(--own); color: #fff; display: grid; align-items: center;
    padding-block: calc(var(--q-in) + var(--q-gap)) calc(var(--q-over) + var(--q-gap));
    -webkit-mask-image: linear-gradient(var(--qa), transparent var(--q-rise), #000 var(--q-in));
    mask-image: linear-gradient(var(--qa), transparent var(--q-rise), #000 var(--q-in)); }
.qband + .qband { margin-top: calc(-1 * var(--q-over)); }
.qband:last-child { padding-bottom: calc(var(--q-sharp) + var(--q-gap));
    -webkit-mask-image: linear-gradient(var(--qa), transparent var(--q-rise), #000 var(--q-in)), linear-gradient(var(--qb), transparent var(--q-rise), #000 var(--q-sharp));
    mask-image: linear-gradient(var(--qa), transparent var(--q-rise), #000 var(--q-in)), linear-gradient(var(--qb), transparent var(--q-rise), #000 var(--q-sharp));
    -webkit-mask-composite: source-in; mask-composite: intersect; }
.qband__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mood colour solid behind the text, opening up towards the cover side; top and
   bottom sink into it too, so two neighbours cross-fade colour into colour. */
.qband__wash { position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(to bottom, color-mix(in oklab, var(--own) 70%, transparent), transparent 32%, transparent 68%, color-mix(in oklab, var(--own) 70%, transparent)),
        linear-gradient(var(--wash-dir, to left), var(--own) 0%, color-mix(in oklab, var(--own) 82%, transparent) 30%, color-mix(in oklab, var(--own) 25%, transparent) 62%, color-mix(in oklab, var(--own) 10%, transparent)); }
.qband[data-side="right"] { --wash-dir: to right; }

.qband__inner { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter, 24px), 1440px); margin-inline: auto;
    display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 3.5vw, 52px) clamp(32px, 4.5vw, 80px); align-items: center; }
.qband[data-side="right"] .qband__inner { grid-template-columns: 1fr 1.55fr; }
.qband[data-side="right"] .qband__cover { order: 2; }

/* The cover/preview is the centrepiece — it takes the wider column. */
.qband__cover { position: relative; display: block; width: 100%; max-width: 920px; justify-self: center; aspect-ratio: 854 / 480;
    padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: oklch(0.12 0.02 265);
    box-shadow: 0 0 0 1px oklch(1 0 0 / 0.14), 0 34px 70px -24px oklch(0.05 0.02 265 / 0.85), 0 0 90px -20px color-mix(in oklab, var(--own) 60%, #fff 10%);
    rotate: -1.6deg; transition: rotate .45s var(--ease), scale .45s var(--ease); }
.qband[data-side="right"] .qband__cover { rotate: 1.6deg; }
@media (hover: hover) and (pointer: fine) { .qband[data-side] .qband__cover:hover { rotate: 0deg; scale: 1.02; } }
.qband__poster, .qband__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qband__clip { opacity: 0; transition: opacity .35s ease; }
.qband__clip.is-active { opacity: 1; }
.qband__play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: clamp(60px, 6.5vw, 76px); height: clamp(60px, 6.5vw, 76px);
    display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand);
    box-shadow: 0 8px 24px oklch(0 0 0 / 0.3); transition: filter .2s ease, scale .3s var(--ease); }
.qband__play svg { width: 42%; height: 42%; margin-left: -2%; }
@media (hover: hover) and (pointer: fine) { .qband__cover:hover .qband__play { filter: brightness(1.12); scale: 1.08; } }
.qband__cover:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.qband__copy { max-width: 480px; }
.qband[data-side="left"] .qband__copy { justify-self: start; }
.qband[data-side="right"] .qband__copy { justify-self: end; }
.qband__kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qband .chip--age { position: static; background: oklch(1 0 0 / 0.16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qband__mood { font-family: var(--f-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: oklch(0.88 0.04 300); }
.qband__title { margin-top: 14px; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1;
    color: #fff; text-shadow: 0 4px 30px oklch(0.05 0.02 265 / 0.55); }
.qband__text { margin-top: 18px; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem); line-height: 1.6; color: oklch(0.93 0.015 265);
    text-shadow: 0 1px 8px oklch(0.08 0.02 265 / 0.5); }
.qband__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; font-weight: 600; color: oklch(0.88 0.02 265); }
.qband__meta strong { color: #fff; font-size: 1.15em; }
.qband__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Screenshots: a row of prints dropped on the table — each at its own tilt and
   height, overlapping a little; hover picks one up. They're dealt in one by one
   when the band scrolls into view (js adds .is-dealt). */
.qshots { order: 3; grid-column: 1 / -1; display: flex; justify-content: center; margin: 0; padding: 12px 0 4px; list-style: none; }
.qshots__item { position: relative; flex: 0 1 clamp(150px, 19%, 270px); margin-inline: -0.7%;
    rotate: var(--r, 0deg); translate: 0 var(--y, 0px);
    transition: rotate .45s var(--ease), translate .45s var(--ease), scale .45s var(--ease), opacity .45s ease; }
.qshots__item:nth-child(5n+1) { --r: -5deg; --y: 6px; }
.qshots__item:nth-child(5n+2) { --r: 3deg;  --y: -10px; }
.qshots__item:nth-child(5n+3) { --r: -2deg; --y: 4px; }
.qshots__item:nth-child(5n+4) { --r: 4.5deg; --y: -6px; }
.qshots__item:nth-child(5n+5) { --r: -3.5deg; --y: 10px; }
.qshots__item:hover, .qshots__item:focus-within { z-index: 2; rotate: 0deg; translate: 0 -12px; scale: 1.12; }
.js .qshots:not(.is-dealt) .qshots__item { opacity: 0; translate: 0 40px; rotate: calc(var(--r) * 3); }
.qshots:not(.is-settled) .qshots__item:nth-child(2) { transition-delay: .07s; }
.qshots:not(.is-settled) .qshots__item:nth-child(3) { transition-delay: .14s; }
.qshots:not(.is-settled) .qshots__item:nth-child(4) { transition-delay: .21s; }
.qshots:not(.is-settled) .qshots__item:nth-child(5) { transition-delay: .28s; }
.qshots__btn { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in;
    background: oklch(0.15 0.02 265); box-shadow: 0 0 0 3px oklch(0.97 0.01 80 / 0.92), 0 18px 34px -14px oklch(0.05 0.02 265 / 0.85); }
.qshots__btn img { width: 100%; height: 100%; object-fit: cover; }
.qshots__btn:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }

/* Lightbox: the clicked print flies out of its place to the middle of the screen
   (FLIP in js/app.js) and back again on close. */
.shotbox { position: fixed; inset: 0; z-index: var(--z-modal); }
.shotbox__backdrop { position: absolute; inset: 0; background: oklch(0.1 0.02 265 / 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .4s ease; }
.shotbox.is-open .shotbox__backdrop { opacity: 1; }
.shotbox__img { position: fixed; border-radius: 14px; object-fit: cover; background: #000; box-shadow: 0 40px 90px -30px #000;
    will-change: transform; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.shotbox__nav, .shotbox__close { position: fixed; z-index: 2; display: grid; place-items: center; border-radius: 50%; color: #fff;
    background: oklch(1 0 0 / 0.14); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.25); opacity: 0; transition: opacity .3s ease .15s, background .2s; }
.shotbox.is-open :is(.shotbox__nav, .shotbox__close, .shotbox__count) { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .shotbox__nav:hover, .shotbox__close:hover { background: oklch(1 0 0 / 0.26); } }
.shotbox__nav { top: 50%; translate: 0 -50%; width: 56px; height: 56px; }
.shotbox__nav--prev { left: clamp(10px, 2vw, 28px); }
.shotbox__nav--next { right: clamp(10px, 2vw, 28px); }
.shotbox__close { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
.shotbox__count { position: fixed; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; color: #fff; font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.06em; opacity: 0; transition: opacity .3s ease .15s; }
@media (max-width: 640px) { .shotbox__nav { top: auto; bottom: 12px; translate: none; width: 48px; height: 48px; } }

@media (max-width: 860px) {
    .qshots { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
        margin-inline: calc(-1 * var(--gutter, 24px)); padding: 16px var(--gutter, 24px) 18px; gap: 12px; }
    .qshots::-webkit-scrollbar { display: none; }
    .qshots__item { flex: 0 0 62%; margin: 0; scroll-snap-align: center; --r: 0deg !important; --y: 0px !important; }
    .qshots__item:hover, .qshots__item:focus-within { translate: none; scale: 1; }
    /* A horizontal scroller also scrolls vertically if anything sticks out up or down
       (the deal-in offset did) — then a finger on the prints moved the strip instead of
       the page. Lock the strip to sideways only and deal the prints in from the side. */
    .qshots { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
    .js .qshots:not(.is-dealt) .qshots__item { translate: 32px 0; }
    .qband { min-height: 0; }
    .qband__inner { grid-template-columns: 1fr; gap: 28px; }
    .qband[data-side="right"] .qband__cover { order: 0; }
    .qband__cover, .qband[data-side="right"] .qband__cover { rotate: 0deg; max-width: none; border-radius: 16px; }
    .qband[data-side] .qband__copy { justify-self: stretch; max-width: none; }
    .qband__wash, .qband[data-side="right"] .qband__wash { --wash-dir: to top; }
}
@media (hover: none) { .qband__play { opacity: 1; } }

/* ---- How it works ----------------------------------------------------- */
/* «Обычная VR-арена vs Арена веселья»: our column is one white strip running down
   the table, the other column stays muted on the section's cream. */
.versus { width: 100%; max-width: 980px; margin: 0 auto; border-collapse: separate; border-spacing: 0; }
.versus th, .versus td { padding: 18px clamp(14px, 2.2vw, 28px); text-align: left; vertical-align: top; line-height: 1.45; }
.versus thead th { padding-top: 22px; padding-bottom: 14px; font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.versus thead .versus__them { color: var(--muted); }
.versus thead .versus__us { color: var(--brand); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.versus tbody th { width: 17%; padding-left: 0; font-family: var(--f-display); font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.versus tbody tr + tr > * { border-top: 1px solid var(--line-2); }
.versus__them { width: 37%; color: var(--muted); }
.versus__us { background: var(--surface); color: var(--ink); font-weight: 600; border-inline: 1px solid var(--line); }
.versus tbody tr:last-child .versus__us { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.versus thead .versus__us { border-top: 1px solid var(--line); }
.paths { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: clamp(32px, 4vw, 48px) auto 0; }
.paths__item { padding: 4px clamp(18px, 3vw, 40px); border-left: 1px solid var(--line-2); }
.paths__item:first-child { padding-left: 0; border-left: 0; }
.paths__item h3 { font-size: 1.15rem; }
.paths__item p { margin-top: 6px; color: var(--ink-2); }
.steps__title { margin: clamp(44px, 5vw, 64px) auto 20px; max-width: 980px; font-size: 1.25rem; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); }
.step__num { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.step h4 { margin-top: 14px; font-size: 1.02rem; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }
.ticks li { position: relative; padding-left: 26px; margin-top: 11px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 11px; height: 6px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

/* ---- Pricing ---------------------------------------------------------- */
.tariff { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; max-width: 980px; margin: 0 auto; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.tariff__info { padding: clamp(20px, 3vw, 36px); }
.tariff__title { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.tariff__text { margin-top: 10px; color: var(--ink-2); }
.tariff__sub { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.tariff__sub::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.tariff__list { margin-top: 6px; }
.tariff__price { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(24px, 3vw, 40px); color: #fff; background: var(--brand); border-radius: var(--r-lg); }
.tariff__label { font-weight: 600; color: oklch(1 0 0 / 0.9); }
.tariff__num { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1.9rem + 2.4vw, 3.6rem); white-space: nowrap; color: #fff; line-height: 1; letter-spacing: -0.04em; }
.tariff__cur { font-size: 0.5em; color: oklch(1 0 0 / 0.88); letter-spacing: 0; }
.tariff__unit { margin-top: 8px; color: oklch(1 0 0 / 0.9); }
.tariff__note { margin: 4px 0 18px; max-width: 30ch; font-size: 0.85rem; line-height: 1.45; color: #fff; }
.tariff__note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.tariff__price .btn { margin-top: 24px; }
.tariff__price .btn--brand { background: #fff; color: var(--brand); box-shadow: 0 14px 30px -14px oklch(0.25 0.12 287 / 0.6); }
@media (hover: hover) and (pointer: fine) { .tariff__price .btn--brand:hover { box-shadow: 0 18px 34px -14px oklch(0.25 0.12 287 / 0.7); } }

/* ---- Calculator ------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; max-width: 980px; margin: 18px auto 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.calc__form { padding: clamp(20px, 3vw, 36px); }
.calc__title { font-size: 1.35rem; font-weight: 700; }
.calc__hint { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.calc__row { display: block; margin-top: 22px; }
.calc__label { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }
.calc__label output { font-family: var(--f-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--brand); cursor: pointer; }
.calc__result { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: clamp(22px, 3vw, 36px); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); }
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calc__line dt { color: var(--ink-2); }
.calc__line dd { font-family: var(--f-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc__line--total { border-bottom: 0; }
.calc__line--total dt { color: var(--ink); font-weight: 700; }
.calc__line--total dd { font-size: 1.7rem; letter-spacing: -0.03em; color: var(--brand); }
.calc__note { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }

/* ---- Closing call to action ------------------------------------------- */
.cta { margin-top: clamp(44px, 5vw, 64px); text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.cta__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.cta__text { margin: 14px auto 0; max-width: 52ch; color: var(--ink-2); }
.cta .paths { margin-top: clamp(24px, 3vw, 34px); text-align: left; }
.nowrap { white-space: nowrap; }
.cta__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; }
.cta__mail { color: var(--brand); font-weight: 700; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: background .25s, border-color .25s, box-shadow .25s; }
.qa[open] { border-color: oklch(0.52 0.195 287 / 0.35); box-shadow: var(--shadow); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none;
    font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 15px; height: 15px; flex: none; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__plus::before { inset: 6.5px 0; height: 2px; }
.qa__plus::after { inset: 0 6.5px; width: 2px; }
.qa[open] .qa__plus::after { transform: scaleY(0); }
.qa p { padding: 0 22px 20px; color: var(--ink-2); max-width: 74ch; }
.qa__list { margin-top: -12px; padding: 0 22px 20px; max-width: 74ch; }

/* ---- Footer ----------------------------------------------------------- */
.footer { --h: 80; background: var(--sand); padding: clamp(44px, 5vw, 70px) clamp(16px, 4vw, 40px) 36px; }
.footer__wrap { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: clamp(26px, 4vw, 56px); }
.footer__logo { width: auto; height: 84px; }
.footer__lead { margin-top: 12px; color: var(--muted); max-width: 42ch; font-size: 0.93rem; }
.footer__mail { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 0.95rem; }
.footer__nav { display: flex; flex-direction: column; gap: 11px; }
.footer__nav h2 { font-family: var(--f-display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer__nav a { color: var(--ink-2); font-size: 0.95rem; transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { color: var(--brand); } }
.footer__base { max-width: var(--wrap); margin: clamp(30px, 4vw, 48px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }
.footer__base p { color: var(--muted); font-size: 0.82rem; }

/* ---- Toast (copied e-mail address) ------------------------------------ */
.toast { position: fixed; left: 50%; top: 84px; z-index: calc(var(--z-modal) + 1); width: max-content; max-width: calc(100vw - 28px);
    transform: translate(-50%, -12px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .35s var(--ease);
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.toast.is-open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast__title { color: var(--ink-2); font-size: 0.88rem; }
.toast__mail { margin-top: 2px; color: var(--brand); font-weight: 700; font-size: 1.05rem; user-select: all; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity .2s; transform: translate(-50%, 0); } }

/* ---- Overlay (lightbox / gallery / video) ----------------------------- */
.overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 18px;
    background: oklch(0.22 0.02 265 / 0.6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s var(--ease); }
.overlay.is-open { opacity: 1; }
.overlay__close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.5rem; display: grid; place-items: center; box-shadow: var(--shadow); }
@media (hover: hover) and (pointer: fine) { .overlay__close:hover { transform: scale(1.05); } }
.overlay__frame { display: block; width: min(960px, 94vw, calc((100vh - 160px) * 16 / 9)); width: min(960px, 94vw, calc((100dvh - 160px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; object-fit: contain; box-shadow: var(--shadow-lg); }
.player { display: grid; justify-items: center; gap: 12px; }
.player__screen { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-lg); isolation: isolate; }
.player__screen .overlay__frame { border-radius: 0; box-shadow: none; cursor: pointer; }
.player__screen.is-playing:not(.is-awake) .overlay__frame { cursor: none; }
.player__screen.is-full { display: flex; align-items: center; justify-content: center; border-radius: 0; background: #000; }
.player__screen.is-full .overlay__frame { width: 100%; height: 100%; aspect-ratio: auto; }
.player__big { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; background: var(--brand); box-shadow: 0 8px 24px oklch(0 0 0 / 0.3); transition: opacity .25s ease, scale .3s var(--ease), filter .2s ease; }
.player__big svg { width: 28px; height: 28px; margin-left: -2.5px; fill: currentColor; }
.player__big .is-stroke { margin-left: 0; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.player__big:active { scale: 0.94; }
.player__screen.is-playing .player__big { opacity: 0; scale: 0.8; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .player__screen:not(.is-playing):hover .player__big { filter: brightness(1.12); scale: 1.08; } }
.player__spinner { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 3px solid oklch(1 0 0 / 0.25); border-top-color: #fff; border-radius: 50%;
    opacity: 0; pointer-events: none; animation: player-spin .8s linear infinite; transition: opacity .2s ease; }
.player__screen.is-waiting .player__spinner { opacity: 1; }
@keyframes player-spin { to { transform: rotate(360deg); } }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 28px 10px 10px;
    background: linear-gradient(to top, oklch(0 0 0 / 0.72), oklch(0 0 0 / 0)); color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.player__screen.is-awake .player__bar, .player__screen:not(.is-playing) .player__bar { opacity: 1; pointer-events: auto; }
.player__btn { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; transition: background .15s ease; }
.player__btn svg { width: 20px; height: 20px; fill: currentColor; }
.player__btn .is-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .player__btn:hover { background: oklch(1 0 0 / 0.16); } }
.player__btn:focus-visible, .player__big:focus-visible, .player__track:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.player__track { position: relative; flex: 1 1 auto; height: 28px; margin: 0 8px; cursor: pointer; touch-action: none; }
.player__track::before, .player__buffer, .player__fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px;
    transform-origin: left center; transition: height .15s ease, margin .15s ease; }
.player__track::before { background: oklch(1 0 0 / 0.25); }
.player__buffer { background: oklch(1 0 0 / 0.35); transform: scaleX(0); }
.player__fill { background: var(--brand-2); transform: scaleX(0); }
.player__knob { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px oklch(0 0 0 / 0.4);
    transform: scale(0); transition: transform .15s ease; }
.player__track:focus-visible .player__knob { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
    .player__track:hover::before, .player__track:hover .player__buffer, .player__track:hover .player__fill { height: 6px; margin-top: -3px; }
    .player__track:hover .player__knob { transform: scale(1); }
}
@media (pointer: coarse) { .player__knob { transform: scale(1); } }
.player__time { flex: none; margin-right: 4px; font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__screen:focus { outline: none; }
.player__screen:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.player__flash { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); color: #fff; opacity: 0; pointer-events: none; }
.player__flash svg { width: 26px; height: 26px; fill: currentColor; }
.player__flash.is-on { animation: player-flash 0.55s ease-out; }
@keyframes player-flash { 0% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.35); } }
.player__tip { position: absolute; bottom: 100%; left: 0; margin-bottom: 6px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.8); color: #fff;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.player__vol { display: flex; align-items: center; flex: none; }
.player__range { -webkit-appearance: none; appearance: none; width: 0; height: 4px; margin: 0; border-radius: 2px; opacity: 0; cursor: pointer;
  background: linear-gradient(to right, #fff var(--level, 100%), rgba(255, 255, 255, 0.3) var(--level, 100%)); transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease; }
.player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.player__range::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.player__vol:hover .player__range, .player__vol:focus-within .player__range { width: 72px; margin: 0 8px 0 2px; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .player__track:hover .player__tip { opacity: 1; } }
@media (pointer: coarse) { .player__range { display: none; } }
@media (max-width: 560px) { .player__big { width: 60px; height: 60px; } .player__big svg { width: 24px; height: 24px; } .player__btn { width: 34px; height: 34px; } }
.player__quality { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; padding: 4px 4px 4px 16px; border-radius: 999px; background: oklch(0.20 0.02 265 / 0.82); box-shadow: var(--shadow-sm); }
.player__label { margin-right: 8px; color: oklch(1 0 0 / 0.75); font-size: 0.82rem; }
.player__q { padding: 6px 13px; border-radius: 999px; color: #fff; font-size: 0.82rem; font-weight: 600; transition: background .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .player__q:hover { background: oklch(1 0 0 / 0.14); } }
.player__q:focus-visible { outline-color: #fff; outline-offset: 1px; }
.player__q[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.overlay img { border-radius: 14px; max-height: 86vh; object-fit: contain; }

/* ---- Legal & 404 ------------------------------------------------------ */
.legal { padding: clamp(44px, 6vw, 88px) clamp(16px, 4vw, 40px); }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal__head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal__head h1 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.8rem); }
.legal__head p { margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; }
.legal__body { color: var(--ink-2); }
.legal__body h2 { font-size: 1.35rem; margin: 32px 0 12px; color: var(--ink); }
.legal__body h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--ink); }
.legal__body h4 { font-size: 1rem; margin: 18px 0 8px; color: var(--brand); }
.legal__body p { margin-top: 11px; max-width: 78ch; }
.legal__body ul, .legal__body ol { margin: 11px 0 11px 4px; padding-left: 22px; max-width: 78ch; }
.legal__body ul { list-style: disc; } .legal__body ol { list-style: decimal; }
.legal__body li { margin-top: 7px; }
.legal__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal__body strong { color: var(--ink); }
.legal__table-wrap { margin: 16px 0; max-width: 78ch; overflow-x: auto; }
.legal__table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.95rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal__table th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.legal__table td:first-child { white-space: nowrap; color: var(--ink); }
.legal__updated { margin-top: 32px; font-size: 0.85rem; color: var(--muted); }
.legal__back { margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; }
.notfound { min-height: 64vh; display: grid; place-items: center; padding: 70px 20px; text-align: center; }
.notfound__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 3rem + 12vw, 10rem); color: var(--brand); line-height: 1; }
.notfound h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); margin-top: 6px; }
.notfound p { margin: 16px auto 26px; color: var(--ink-2); max-width: 46ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Reveal motion ---------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .btn, .qcard, .acard { transition: none; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
    .hero { padding-left: clamp(24px, 5vw, 48px); padding-right: clamp(24px, 5vw, 48px); }
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__sub { margin-inline: auto; }
    .hero__cta { justify-content: center; }
    .hero__note { text-align: center; }
    .hero { align-content: end; }
    .hero__bg, .hero__video { object-position: 58% 30%; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero::after { background:
        linear-gradient(180deg, oklch(var(--shade) / 0.50) 0%, oklch(var(--shade) / 0) 18%),
        linear-gradient(0deg, oklch(var(--shade) / 0.90) 0%, oklch(var(--shade) / 0.72) 38%, oklch(var(--shade) / 0.15) 66%, oklch(var(--shade) / 0) 80%); }
    .deco--spider { display: none; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .qhead { grid-template-columns: 1fr; }
    .qhead__stage { order: -1; justify-self: center; max-width: 420px; }
    .qfacts { grid-template-columns: repeat(2, 1fr); }
    .qfacts__item { padding-left: 0; border-left: 0; }
    .calc { grid-template-columns: 1fr; }
}
/* Phones held upright get their own vertical picture and video, and a denser
   bottom shade: the copy stacks into one tall centred column, so its upper part
   (eyebrow, title) rides higher than the ≤960px gradient reaches and washes out
   against the bright sky otherwise. */
@media (orientation: portrait) and (max-width: 959px) {
    .hero { background-image: var(--lqip-portrait); background-position: 50% 50%; }
    .hero__bg, .hero__video { object-position: 50% 50%; }
    .hero::after { background:
        linear-gradient(180deg, oklch(var(--shade) / 0.50) 0%, oklch(var(--shade) / 0) 18%),
        linear-gradient(0deg, oklch(var(--shade) / 0.92) 0%, oklch(var(--shade) / 0.80) 42%, oklch(var(--shade) / 0.55) 66%, oklch(var(--shade) / 0.15) 80%, oklch(var(--shade) / 0) 90%); }
}
@media (max-width: 880px) {
    :root { --header-h: 68px; }
    .menu, .header__cta { display: none; }
    .burger { display: flex; }
    .menu.is-open { display: block; position: fixed; inset: var(--header-h) 0 auto; z-index: 90; background: oklch(0.995 0.002 85 / 0.86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 1px 0 var(--line), var(--shadow); padding: 14px clamp(16px, 4vw, 40px) 24px; }
    .menu.is-open ul { flex-direction: column; gap: 2px; }
    .menu.is-open a { padding: 14px 16px; font-size: 1.05rem; }
    .footer__wrap { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .tariff { grid-template-columns: 1fr; }
    .versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; width: auto; }
    .versus thead { display: none; }
    .versus tbody tr { padding: 18px 0; }
    .versus tbody tr + tr { border-top: 1px solid var(--line-2); }
    .versus tbody tr + tr > * { border-top: 0; }
    .versus tbody th { width: auto; padding: 0 0 8px; }
    .versus td { padding: 4px 0; }
    .versus td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--f-display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
    .versus .versus__us, .versus tbody tr:last-child .versus__us { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
    .versus .versus__us::before { color: var(--brand); }
    .paths { grid-template-columns: 1fr; gap: 18px; }
    .paths__item { padding: 0; border-left: 0; }
    .steps { grid-template-columns: 1fr; }
    .footer__wrap { grid-template-columns: 1fr; }
    .footer__base { flex-direction: column; }
    .hero { padding-bottom: 28px; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
}

/* ---- Phones and tablets: no live blur ----------------------------------- */
/* backdrop-filter re-blurs whatever is behind on every frame — under a playing clip
   or while scrolling that is what makes phones stutter. Touch screens get the same
   tints a little denser instead, which reads the same at arm's length. */
@media (hover: none), (max-width: 860px) {
    .header.is-stuck { background: oklch(0.995 0.002 85 / 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .menu.is-open { background: oklch(0.995 0.002 85 / 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .hero .btn--ghost { background: oklch(1 0 0 / 0.16); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .chip--age { background: oklch(1 0 0 / 0.95); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .qband .chip--age { background: oklch(1 0 0 / 0.18); }
        .awall__more { background: oklch(0.1 0.02 265 / 0.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .gamebox__backdrop, .shotbox__backdrop { background: oklch(0.12 0.025 265 / 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .overlay { background: oklch(0.18 0.02 265 / 0.86); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- Below-the-fold sections render only when scrolled near ------------- */
/* The placeholder heights are the measured section heights, so menu jumps land right. */
.sec--how, .sec--pricing, .sec--faq { content-visibility: auto; contain-intrinsic-size: auto 1150px; }
.footer { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.sec--how { contain-intrinsic-size: auto 1450px; }
.sec--pricing { contain-intrinsic-size: auto 1280px; }
.sec--faq { contain-intrinsic-size: auto 1590px; }
@media (max-width: 620px) {
    .footer { contain-intrinsic-size: auto 910px; }
    .sec--how { contain-intrinsic-size: auto 2480px; }
    .sec--pricing { contain-intrinsic-size: auto 1900px; }
    .sec--faq { contain-intrinsic-size: auto 1820px; }
}

/* ---- Accessibility preferences ----------------------------------------- */
@media (prefers-reduced-transparency: reduce) {
    .header.is-stuck, .menu.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .chip--age { background: oklch(1 0 0); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
    :root { --ink-2: oklch(0.320 0.018 265); --muted: oklch(0.400 0.016 265); --line: oklch(0.25 0.02 265 / 0.30); --line-2: oklch(0.25 0.02 265 / 0.45); }
    .sec--arena, .sec--quests, .sec--how, .sec--pricing, .sec--faq, .footer { --line: oklch(0.25 0.02 265 / 0.30); }
}
