/* =========================================================================
   Level of Reality — light soft-premium.
   Warm off-white, white rounded cards, soft diffused colour shadows.
   One palette: brand violet + warm play tones (coral / teal / sun).
   ========================================================================= */

:root {
    --bg:        oklch(0.985 0.006 80);
    --surface:   oklch(1 0 0);
    --tint-warm: oklch(0.972 0.014 55);
    --tint-cool: oklch(0.972 0.012 280);

    --ink:    oklch(0.280 0.030 265);
    --ink-2:  oklch(0.450 0.025 265);
    --muted:  oklch(0.560 0.020 265);
    --line:   oklch(0.28 0.03 265 / 0.10);
    --line-2: oklch(0.28 0.03 265 / 0.16);

    --brand:    oklch(0.480 0.160 280);
    --brand-2:  oklch(0.560 0.150 282);
    --brand-sft:oklch(0.480 0.160 280 / 0.10);
    --coral:    oklch(0.690 0.160 30);
    --teal:     oklch(0.640 0.100 205);
    --sun:      oklch(0.790 0.130 80);
    /* darker tone variants that pass contrast as text on white */
    --coral-ink: oklch(0.520 0.165 30);
    --teal-ink:  oklch(0.460 0.100 205);
    --sun-ink:   oklch(0.500 0.100 80);

    --shadow:    0 18px 40px -26px oklch(0.40 0.08 285 / 0.35), 0 4px 12px -8px oklch(0.40 0.06 285 / 0.20);
    --shadow-lg: 0 36px 70px -34px oklch(0.42 0.10 285 / 0.40);
    --shadow-sm: 0 8px 22px -16px oklch(0.40 0.06 285 / 0.30);

    --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;

    --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; }
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%; }
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); }
.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); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.btn--soft { background: var(--brand-sft); color: var(--brand); }
.btn--soft:hover { background: oklch(0.48 0.16 280 / 0.16); transform: translateY(-2px); }

.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow--quest { color: var(--brand); }
.eyebrow--arena { color: var(--coral-ink); }

/* ---- Header ----------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: var(--z-sticky); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header.is-stuck { background: oklch(0.985 0.006 80 / 0.82); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px oklch(0.4 0.06 285 / 0.4); }
.header__bar { max-width: var(--wrap); margin: 0 auto; padding: 13px 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: 40px; height: auto; }
.logo__text { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink); letter-spacing: -0.02em; }
.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; }
.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(--brand); opacity: 0.08; width: clamp(320px, 38vw, 560px); aspect-ratio: 1; top: -14%; right: -8%; }
.deco--hero-b { color: var(--ink); opacity: 0.06; width: 150px; bottom: 8%; left: 2%; }
.deco--hero-c { color: var(--coral); opacity: 0.5; width: clamp(180px, 22vw, 280px); height: auto; top: 18%; left: 30%; }
.deco--arena-a { color: var(--coral); opacity: 0.16; width: 200px; aspect-ratio: 1; top: 8%; right: 4%; }
.deco--arena-b { color: var(--sun); opacity: 0.20; width: clamp(260px, 30vw, 400px); aspect-ratio: 1; bottom: -16%; left: -8%; }
.deco--contact-a { color: var(--brand); opacity: 0.10; width: clamp(300px, 34vw, 440px); aspect-ratio: 1; top: -20%; right: -6%; }
.deco--hero-d { color: var(--teal); opacity: 0.18; width: clamp(120px, 14vw, 200px); aspect-ratio: 1; top: 12%; right: 8%; }
.deco--quests-a { color: var(--brand); opacity: 0.10; width: clamp(240px, 30vw, 400px); aspect-ratio: 1; top: -14%; right: -7%; }
.deco--quests-b { color: var(--brand); opacity: 0.07; width: 150px; bottom: 7%; left: 2%; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 92px) clamp(16px, 4vw, 40px) clamp(40px, 5vw, 72px); }
.hero__inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center;
    padding-block: clamp(12px, 4vw, 56px); }
.hero__title { font-size: clamp(2.4rem, 1.3rem + 5vw, 5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.hero__sub { margin: 22px auto 0; max-width: 56ch; color: var(--ink-2); font-size: clamp(1.04rem, 0.98rem + 0.5vw, 1.25rem); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Sections --------------------------------------------------------- */
.sec { position: relative; overflow: hidden; padding: clamp(52px, 6vw, 96px) clamp(16px, 4vw, 40px); }
.sec--tint { background: var(--tint-warm); }
.sec--tint-2 { background: var(--tint-cool); }
.sec--tintV { background: oklch(0.971 0.013 286); }
.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; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts span { font-size: 0.88rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.facts b { color: var(--ink); font-weight: 700; }

.chip { font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.chip--quest { background: oklch(1 0 0 / 0.92); color: var(--brand); }
.chip--age { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.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; }

/* ---- Quests ----------------------------------------------------------- */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.qcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .32s var(--ease), box-shadow .32s; }
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.qcard__frame { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.qcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.qcard:hover .qcard__img { transform: scale(1.05); }
.qcard__frame .chip { position: absolute; top: 14px; left: 14px; }
.qcard__body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.qcard__title { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.qcard__tagline { color: var(--brand); font-weight: 600; font-size: 0.96rem; }
.qcard__text { color: var(--ink-2); font-size: 0.96rem; }
.qcard__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.qcard__meta strong { color: var(--ink); }
.qcard__actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Arena ------------------------------------------------------------ */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.acard { --tone: var(--teal); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .32s var(--pop), box-shadow .32s; }
.acard--teal  { --tone: var(--teal);  --tone-ink: var(--teal-ink); }
.acard--coral { --tone: var(--coral); --tone-ink: var(--coral-ink); }
.acard--sun   { --tone: var(--sun);   --tone-ink: var(--sun-ink); }
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.acard__media .chip { position: absolute; top: 14px; right: 14px; }
.acard__img { width: 100%; height: 100%; object-fit: cover; }
.acard__media.is-placeholder { display: grid; place-items: center; background:
    radial-gradient(120% 120% at 50% 20%, color-mix(in oklch, var(--tone) 24%, white), color-mix(in oklch, var(--tone) 8%, white)); }
.aicon { width: 64px; color: var(--tone-ink, currentColor); }
.aicon svg { width: 100%; }
.acard__soon { position: absolute; bottom: 14px; left: 14px; font-size: 0.72rem; font-weight: 700; color: var(--tone-ink); background: oklch(1 0 0 / 0.82); padding: 4px 10px; border-radius: 999px; }
.acard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard__title { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.acard__tagline { color: var(--tone-ink); font-weight: 600; font-size: 0.95rem; }
.acard__text { color: var(--ink-2); font-size: 0.94rem; }
.acard__meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- How it works ----------------------------------------------------- */
.how { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.hcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); }
.hcard h3 { font-size: 1.25rem; margin-bottom: 12px; }
.hcard p { color: var(--ink-2); }
.hcard__ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-sft); color: var(--brand); margin-bottom: 14px; }
.hcard__ic svg { width: 30px; height: 30px; }
.areas { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.areas__one { display: flex; flex-direction: column; }
.areas__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem); color: var(--brand); line-height: 1; letter-spacing: -0.03em; }
.areas__one--alt .areas__num { color: var(--coral); }
.areas__one span:last-child { color: var(--muted); font-size: 0.82rem; margin-top: 6px; line-height: 1.25; }
.areas__plus { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--muted); }
.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 ---------------------------------------------------------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price { --pc: var(--brand); --pc-ink: var(--brand); position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.8vw, 38px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price--quest { --pc: var(--brand); --pc-ink: var(--brand); }
.price--arena { --pc: var(--coral); --pc-ink: var(--coral-ink); }
.price::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--pc); }
.price__for { font-family: var(--f-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pc-ink); }
.price__label { font-size: 1.5rem; font-weight: 700; margin-top: 6px; }
.price__value { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 6px; flex-wrap: wrap; }
.price__pre { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
.price__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 2rem + 3.4vw, 4.2rem); color: var(--ink); line-height: 0.9; letter-spacing: -0.04em; }
.price__unit { color: var(--ink-2); font-weight: 700; font-size: 1.1rem; }
.price__caption { color: var(--muted); }
.price__list { margin: 18px 0; display: flex; flex-direction: column; gap: 9px; }
.price__list li { position: relative; padding-left: 20px; color: var(--ink); font-weight: 500; }
.price__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.price__cta { margin-top: auto; }
.price__note { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; max-width: 82ch; box-shadow: var(--shadow-sm); }

/* ---- 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: border-color .25s, box-shadow .25s; }
.qa[open] { border-color: oklch(0.48 0.16 280 / 0.4); 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; }

/* ---- Contact ---------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact__mail { display: inline-block; margin-top: 22px; color: var(--brand); font-weight: 700; font-size: 1.08rem; }
.contact__avatars { margin-top: 26px; max-width: 250px; }
.contact__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-weight: 600; color: var(--ink); font-size: 0.93rem; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); font: inherit; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-sft); }
.field em, .err { color: oklch(0.55 0.18 28); font-size: 0.84rem; font-style: normal; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.sent { text-align: center; padding: 26px 8px; }
.sent__mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: oklch(0.7 0.13 150 / 0.16); color: oklch(0.5 0.14 150); font-size: 1.7rem; margin-bottom: 14px; }
.sent h3 { font-size: 1.4rem; margin-bottom: 6px; }
.sent p { color: var(--ink-2); }

/* ---- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); 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 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.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.03em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer__nav a { color: var(--ink-2); font-size: 0.95rem; transition: color .2s; }
.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; }

/* ---- 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); }
.overlay__close:hover { transform: scale(1.05); }
.overlay__frame { width: min(960px, 94vw); aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; box-shadow: var(--shadow-lg); }
.overlay img { border-radius: 14px; max-height: 86vh; object-fit: contain; }
.gallery { width: min(1000px, 94vw); display: flex; gap: 12px; overflow-x: auto; padding: 8px; scroll-snap-type: x mandatory; }
.gallery img { flex: 0 0 auto; width: min(80vw, 760px); scroll-snap-align: center; max-height: 80vh; box-shadow: var(--shadow-lg); }

/* ---- 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__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, .qcard__img { transition: none; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
    .how { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .menu, .header__cta { display: none; }
    .burger { display: flex; }
    .menu.is-open { display: block; position: fixed; inset: 64px 0 auto; z-index: 90; background: oklch(0.985 0.006 80 / 0.98); backdrop-filter: blur(14px); 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; }
    .qgrid, .agrid { grid-template-columns: repeat(2, 1fr); }
    .prices { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; }
    .footer__wrap { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .qgrid, .agrid { grid-template-columns: 1fr; }
    .footer__wrap { grid-template-columns: 1fr; }
    .footer__base { flex-direction: column; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
}
