/* BeepBeep website (TD-07, TD-15): mobile-first, one stylesheet, no framework. Dark by default, light via [data-theme]. */

/* Self-hosted fonts (SIL OFL), so pages make no third-party requests. Latin + latin-ext cover Azerbaijani. */
/* Plate font: Barlow Semi Condensed Medium re-spaced to AZS 599 cells (tools/plate-font, SIL OFL). */
@font-face { font-family: "BeepBeep Plate"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/beepbeep-plate.woff2") format("woff2"); }
/* Wordmark only: Nunito Black subset to "b", "e", "p" (SIL OFL). */
@font-face { font-family: "Nunito Wordmark"; font-style: normal; font-weight: 900; font-display: block; src: url("/fonts/nunito-900-wordmark.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-normal-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #0b1220;
    --surface: #121a2b;
    --surface-2: #1a2438;
    --fg: #e9edf5;
    --muted: #a3aebf;
    --faint: #6f7a8e;
    --line: #222c40;
    --line-strong: #2f3a51;
    --rule: #d5dbe6;
    --accent: #8db0ff;
    --accent-strong: #a9c3ff;
    --accent-soft: rgb(141 176 255 / 12%);
    --on-accent: #0b1220;
    --button-off: #1f2940;
    --button-off-fg: #8d98ac;
    --error: #ff8f87;
    --warn-bg: #3a2c12;
    --warn-fg: #ffd89a;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wordmark-font: "Nunito Wordmark", "Arial Rounded MT Bold", system-ui, sans-serif;
    --logo-accent: #8db0ff;
    --plate-font: "BeepBeep Plate", "Roboto Condensed", "Arial Narrow", sans-serif;
    --max: 79rem; /* 1200px content + 2 × 32px gutter */
    --header-h: 60px;
    color-scheme: dark;
}
@media (min-width: 900px) { :root { --header-h: 80px; } }

:root[data-theme="light"] {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #eef1f7;
    --fg: #0e1525;
    --muted: #556075;
    --faint: #8792a5;
    --line: #e1e5ee;
    --line-strong: #cdd3df;
    --rule: #0e1525;
    --accent: #3457d5;
    --accent-strong: #2441ad;
    --accent-soft: rgb(52 87 213 / 9%);
    --on-accent: #ffffff;
    --button-off: #e3e7ef;
    --button-off-fg: #7a8496;
    --error: #b3261e;
    --warn-bg: #fff3df;
    --warn-fg: #6b4300;
    --logo-accent: #1d4ed8;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
    margin: 0;
    font: 400 16px/1.6 var(--sans);
    color: var(--fg);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

h1, h2, h3 { margin: 0 0 .75rem; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(2.375rem, 3.8vw + .5rem, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.875rem, 2.4vw + .5rem, 3rem); line-height: 1.08; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
h1 em, h2 em { font-style: normal; }
h1 em { color: var(--accent); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 800px) { .container { padding: 0 32px; } }

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

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--surface); padding: .5rem .75rem; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

svg { flex: none; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header > .container { display: flex; align-items: center; gap: .5rem; height: var(--header-h); }

/* Logo "D — Balon": app icon + "beepbeep" wordmark in Nunito Black; the second "beep" takes the theme's blue. */
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--fg); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--fg); }
.brand .logo-icon { flex: none; width: 2rem; height: 2rem; }
.wordmark { font: 900 1.625rem/1 var(--wordmark-font); letter-spacing: -.03em; }
.wordmark span { color: var(--logo-accent); }
@media (min-width: 900px) { .brand { gap: .75rem; } .brand .logo-icon { width: 2.375rem; height: 2.375rem; } .wordmark { font-size: 1.875rem; } }

.nav-desktop ul { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0 1.75rem 0 0; padding: 0; }
.nav-desktop a { display: inline-flex; align-items: center; gap: .5rem; color: var(--fg); text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav-desktop svg { width: 18px; height: 18px; color: var(--muted); transition: color .15s; }
.nav-desktop a:hover svg, .nav-desktop a[aria-current="page"] svg { color: var(--accent); }
.site-header .header-cta svg { width: 17px; height: 17px; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--accent); }
.nav-desktop a, .site-header .header-cta { white-space: nowrap; }
/* Narrow desktops: Russian labels are long, so the header drops its link icons and tightens up. */
@media (min-width: 900px) and (max-width: 1199px) {
    .nav-desktop ul { gap: 1.25rem; margin-right: 1rem; }
    .nav-desktop svg, .site-header .header-cta svg { display: none; }
}

.icon-button { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; padding: 0; }
.icon-button:hover { background: var(--surface-2); }
.icon-button svg { width: 22px; height: 22px; }
.theme-toggle .moon, :root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
@media (min-width: 900px) {
    .theme-toggle { border: 1px solid var(--line-strong); margin-right: .5rem; }
    .theme-toggle svg { width: 20px; height: 20px; }
}

/* No-JS mobile menu built on <details>; desktop uses .nav-desktop. */
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu .close, .menu[open] .open { display: none; }
.menu[open] .close { display: block; }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .5rem 16px 1.5rem;
    overflow-y: auto;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a {
    display: flex;
    align-items: center;
    padding: 1.125rem 0;
    border-bottom: 1px solid var(--line);
    font: 600 1.625rem/1.2 var(--sans);
    letter-spacing: -.03em;
    color: var(--fg);
    text-decoration: none;
}
.menu-panel li svg { width: 20px; height: 20px; color: var(--faint); }
.menu-panel li a > svg { margin-left: auto; }
.menu-panel .menu-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; margin-right: 1rem; border-radius: 10px; background: var(--accent-soft); }
.menu-panel .menu-icon svg { width: 20px; height: 20px; color: var(--accent); }
.menu-panel li a[aria-current="page"] { color: var(--accent); }
.menu-panel .store-line { text-align: center; color: var(--muted); font-size: .875rem; margin: 1rem 0 0; }

/* Language: a <details> list on desktop, pills inside the phone menu (TD-16). */
.lang { position: relative; }
.lang summary { list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang-button { display: inline-flex; align-items: center; gap: .375rem; height: 44px; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); font-size: .875rem; font-weight: 600; cursor: pointer; margin-right: .5rem; }
.lang-button:hover, .lang[open] .lang-button { background: var(--surface-2); }
.lang-button svg { width: 18px; height: 18px; color: var(--muted); }
.lang-list { position: absolute; right: .5rem; top: calc(100% + .5rem); min-width: 11rem; margin: 0; padding: .375rem; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
.lang-list a { display: block; padding: .625rem .875rem; border-radius: 10px; color: var(--fg); text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: var(--surface-2); }
.lang-list a[aria-current="true"] { color: var(--accent); }
.menu-panel .lang-pills { display: flex; gap: .5rem; margin-bottom: 1rem; }
.menu-panel .lang-pills li { flex: 1; }
.menu-panel .lang-pills a { justify-content: center; padding: .625rem .5rem; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 .9375rem/1.2 var(--sans); letter-spacing: 0; }
.menu-panel .lang-pills a[aria-current="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 899px) { .lang { display: none; } }

@media (max-width: 899px) { .nav-desktop, .site-header .header-cta { display: none; } }
@media (min-width: 900px) { .menu { display: none; } }

/* Buttons */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    min-height: 3.375rem;
    font: 600 1.0625rem/1.2 var(--sans);
    padding: .5rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover { background: var(--accent-strong); color: var(--on-accent); }
.button.small { min-height: 2.75rem; padding: .5rem 1.125rem; font-size: 1rem; }
.button.block { display: flex; width: 100%; }
.button.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.button.ghost:hover { background: var(--surface-2); color: var(--fg); }
.button svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Eyebrow with a leading rule, as in the design */
.eyebrow { display: flex; align-items: center; gap: .875rem; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.eyebrow.plain { font-weight: 600; margin-bottom: 1rem; }
.eyebrow.plain::before { display: none; }
@media (min-width: 900px) { .eyebrow { font-size: .875rem; margin-bottom: 1.75rem; } .eyebrow::before { width: 2rem; } }

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--surface); }
.section.ruled { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 7rem 0; } .section.tight { padding: 5rem 0; } }
.lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; max-width: 32rem; }
@media (min-width: 900px) { .lead { font-size: 1.25rem; } }

/* Hero: on phones the form comes right after the headline. */
.hero { padding: 2.75rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "points"; }
.hero-intro { grid-area: intro; }
.hero-intro h1 { margin-bottom: 1.5rem; }
.hero-intro h1 em { display: block; }
.hero-intro .lead { margin: 0; }
.hero-form { grid-area: form; }
.hero-points { grid-area: points; }

@media (min-width: 1024px) {
    .hero { padding: 6rem 0 7rem; }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 33.75rem;
        grid-template-areas: "intro form" "points form";
        grid-template-rows: auto 1fr;
        column-gap: 4.5rem;
        row-gap: 2.5rem;
        align-items: start;
    }
    .hero-intro { padding-top: 2.125rem; }
}

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; font-size: 1rem; }
.checks li { display: flex; gap: .75rem; align-items: center; }
.checks svg { width: 18px; height: 18px; color: var(--accent); }
@media (min-width: 1024px) { .checks { font-size: 1.0625rem; } }

/* Form card */
.card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 1.25rem; }
.hero .card { box-shadow: 0 24px 60px rgb(0 0 0 / 30%); }
:root[data-theme="light"] .hero .card { box-shadow: 0 16px 40px rgb(16 24 40 / 8%); }
@media (min-width: 600px) { .card { padding: 2.25rem; border-radius: 24px; } }

label, .label, legend { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .75rem; padding: 0; }

/* Plate field drawn to AZS 599 type I (Şəkil 5), in plate millimetres: 1mm = --mm, the plate is 520 × 110.
   Flag 42 × 21, "AZ" label 58 × 44 with a 3mm inner frame, characters 77 high and 45 wide with 7 between them.
   It looks the same in both themes, like a real plate. */
/* The card is the size container: cqi on .plate itself would resolve against the viewport. */
.hero-form .card { container-type: inline-size; }
.plate {
    --mm: calc(100cqi / 520);
    position: relative;
    width: 100%;
    aspect-ratio: 520 / 110;
    border: 1px solid #c9ced6;
    border-radius: calc(13 * var(--mm));
    background: #fff;
    box-shadow: 0 1px 0 rgb(255 255 255 / 8%), 0 8px 22px rgb(0 0 0 / 35%);
    color: #111;
}
:root[data-theme="light"] .plate { box-shadow: 0 6px 16px rgb(16 24 40 / 12%); }
/* Embossed black rim, a little less rounded than the plate edge. */
.plate::before {
    content: "";
    position: absolute;
    inset: calc(3 * var(--mm));
    border: calc(3 * var(--mm)) solid #111;
    border-radius: calc(10 * var(--mm));
    pointer-events: none;
}
.plate:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.plate:has(input[aria-invalid="true"]) { outline: 2px solid var(--error); outline-offset: 3px; }
.plate .flag {
    position: absolute;
    left: calc(24 * var(--mm));
    top: calc(17 * var(--mm));
    width: calc(42 * var(--mm));
    height: calc(21 * var(--mm));
    box-shadow: 0 0 0 .5px rgb(0 0 0 / 20%);
}
.plate-az {
    position: absolute;
    left: calc(16 * var(--mm));
    top: calc(49 * var(--mm));
    width: calc(58 * var(--mm));
    height: calc(44 * var(--mm));
    display: grid;
    place-items: center;
    border: calc(1.5 * var(--mm)) solid #3d4148;
    border-radius: calc(7 * var(--mm));
    color: #2a2d33;
    font: 500 calc(41.4 * var(--mm))/1 var(--plate-font); /* cap height 29 */
}
.plate-az::before {
    content: "";
    position: absolute;
    inset: calc(1.5 * var(--mm));
    border: calc(1 * var(--mm)) solid #3d4148;
    border-radius: calc(4.5 * var(--mm));
}
.plate input {
    position: absolute;
    left: calc(82 * var(--mm));
    right: calc(20 * var(--mm));
    /* The font's line box puts the baseline at 0.9em; lift it so the 77mm caps sit 16.5mm from the top. */
    top: calc(-5.5 * var(--mm));
    height: calc(110 * var(--mm));
    width: auto;
    border: 0;
    outline: none;
    background: transparent;
    color: #111;
    font: 500 calc(110 * var(--mm) * var(--fit, 1))/1 var(--plate-font); /* cap height 77; --fit < 1 for long plates (Index.cshtml) */
    text-align: center;
    text-transform: uppercase;
    padding: 0;
}
.plate input::placeholder { color: #a3a7ad; }

.hint { color: var(--muted); font-size: .875rem; margin: .625rem 0 0; }
.hint a { color: inherit; }
.error { color: var(--error); font-weight: 600; font-size: .9375rem; margin: .625rem 0 0; }

fieldset { border: 0; padding: 0; margin: 1.75rem 0 0; min-width: 0; }

.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.option {
    position: relative;
    display: flex;
    gap: .5rem;
    align-items: center;
    min-height: 3.5rem;
    padding: .5rem .75rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    margin: 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
@media (max-width: 599px) {
    .option { flex-direction: column; justify-content: center; gap: .375rem; min-height: 4.75rem; padding: .625rem .375rem; text-align: center; font-size: .8125rem; }
}
.option:hover { border-color: var(--accent); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option svg { width: 18px; height: 18px; color: var(--muted); }
.option:has(input:checked) svg { color: var(--accent); }

/* What the recipient will read; the page shows the one matching the checked type. */
.preview { display: none; margin: .875rem 0 0; padding: .75rem 1rem; border-radius: 10px; background: var(--surface-2); font-size: .875rem; color: var(--muted); }
.preview span { color: var(--fg); }
.preview small { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--faint); }

.emergency { background: var(--warn-bg); color: var(--warn-fg); border-radius: 10px; padding: .75rem 1rem; font-weight: 500; }
@supports selector(:has(a)) {
    form .emergency { display: none; }
    form:has(input[data-emergency="true"]:checked) .emergency { display: block; }
}

/* Turnstile runs in interaction-only mode: the box takes space only while Cloudflare asks for a check. */
.captcha { display: none; margin-top: 1.25rem; }
.captcha.is-visible { display: block; }

.submit { margin-top: 1.5rem; min-height: 3.5rem; border-radius: 10px; font-size: 1.0625rem; }
@media (min-width: 600px) { .submit { min-height: 3.625rem; font-size: 1.125rem; } }
@supports selector(:has(a)) {
    form:not(:has(input[name="Type"]:checked)) .submit { background: var(--button-off); color: var(--button-off-fg); }
}
.submit[aria-busy="true"] { cursor: progress; opacity: .8; }
.form-note { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.form-note svg { width: 15px; height: 15px; }
.form-legal { border-top: 1px solid var(--line); margin-top: 1.25rem; }
.form-legal .hint { font-size: .8125rem; color: var(--faint); }

/* Section heads and numbered rows (how it works, app steps) */
/* Section heading with its short intro underneath. */
.split-head { margin-bottom: 2.5rem; }
.split-head h2 { margin: 0; }
.split-head p { color: var(--muted); margin: .875rem 0 0; max-width: 36rem; font-size: 1rem; }
@media (min-width: 900px) { .split-head { margin-bottom: 3.5rem; } .split-head p { font-size: 1.0625rem; margin-top: 1rem; } }

.how-cols { display: grid; gap: 3rem 4rem; }
@media (min-width: 900px) { .how-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.col-label { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding-bottom: 1rem; margin: 0; border-bottom: 1px solid var(--rule); }

.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .num { font: 500 1.75rem/1 var(--sans); letter-spacing: -.03em; color: var(--faint); padding-top: .125rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: .375rem; font-size: 1.0625rem; }
.steps p { color: var(--muted); font-size: .9375rem; margin: 0; }
@media (min-width: 900px) {
    .steps li { grid-template-columns: 4.5rem 1fr; gap: 0; }
    .steps .num { font-size: 2rem; }
    .steps h3 { font-size: 1.1875rem; }
    .steps p { font-size: 1rem; }
}

/* Phones: one column at a time, picked by no-JS tabs. */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; margin-bottom: .5rem; border: 1px solid var(--line-strong); border-radius: 10px; }
.tabs label { margin: 0; padding: .75rem; text-align: center; border-radius: 7px; font-size: .9375rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.how:has(#how-sender:checked) label[for="how-sender"],
.how:has(#how-owner:checked) label[for="how-owner"] { background: var(--accent); color: var(--on-accent); }
.how:has(.tab-input:focus-visible) .tabs { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 899px) {
    @supports selector(:has(a)) {
        .how .col-label { display: none; }
        .how:has(#how-sender:checked) .col-owner,
        .how:has(#how-owner:checked) .col-sender { display: none; }
    }
}
@media (min-width: 900px) { .tabs { display: none; } }
@supports not selector(:has(a)) { .tabs { display: none; } }

/* App section */
.app-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .app-grid { grid-template-columns: minmax(0, 51rem) 1fr; gap: 6rem; } }
.features { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.features li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.features strong { color: var(--fg); font-weight: 600; }
.features svg { width: 20px; height: 20px; color: var(--accent); margin-top: .125rem; }
@media (min-width: 900px) {
    .features { margin-top: 2rem; border-top: 1px solid var(--line); }
    .features li { padding: 1.125rem 0; font-size: 1.0625rem; }
}

.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.store {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 1.375rem .5rem 1.125rem;
    min-height: 3.625rem;
    border-radius: 12px;
    border: 1px solid var(--fg);
    color: var(--fg);
    text-decoration: none;
    line-height: 1.15;
}
.store small { display: block; font-size: .8125rem; font-weight: 500; color: inherit; }
.store strong { display: block; font-size: 1.0625rem; font-weight: 600; }
.store svg { width: 22px; height: 22px; }
.store.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
a.store:hover { background: var(--surface-2); color: var(--fg); }
a.store.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.store.soon { opacity: .55; cursor: default; }
/* Faded accent on a light page reads as broken; use the disabled-button colours instead. */
:root[data-theme="light"] .store.soon { opacity: 1; color: var(--button-off-fg); border-color: var(--line-strong); }
:root[data-theme="light"] .store.soon.primary { background: var(--button-off); border-color: var(--button-off); }
@media (max-width: 599px) {
    .stores { flex-direction: column; }
    .store { justify-content: center; border-radius: 999px; min-height: 3.375rem; }
    .store small { display: none; }
    .store strong { font-size: 1rem; }
}

/* Decorative phone mockup */
.phone { display: none; }
@media (min-width: 1024px) {
    .phone {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        width: 17.5rem;
        height: 36.875rem;
        margin-left: auto;
        padding: 3rem 1.125rem 1.125rem;
        border: 10px solid var(--fg);
        border-radius: 2.75rem;
        background: var(--bg);
    }
    .phone .title { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -.03em; margin-bottom: .75rem; }
    .phone .mini-plate { background: #fff; color: #111; border: 1px solid #c9ced6; border-radius: 5px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px #111; text-align: center; font: 500 1.875rem/3.25rem var(--plate-font); margin-bottom: .5rem; }
    .phone .mini-options { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
    .phone .mini-options span { height: 2.875rem; border-radius: 8px; border: 1px solid var(--line-strong); }
    .phone .mini-options span:first-child { border-color: var(--accent); background: var(--surface-2); }
    .phone .mini-button { margin-top: auto; height: 2.75rem; border-radius: 10px; background: var(--accent); }
}

/* Feature columns (privacy, app features) */
.cols { display: grid; gap: 0 3rem; margin-top: 2rem; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4rem; } }
.cols > div { display: grid; grid-template-columns: auto 1fr; gap: .375rem 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line-strong); }
.cols svg { width: 22px; height: 22px; color: var(--accent); margin-top: .0625rem; }
.cols h3 { margin: 0; font-size: 1.0625rem; }
.cols p { grid-column: 2; color: var(--muted); font-size: .9375rem; margin: 0; }
@media (min-width: 900px) {
    .cols > div { grid-template-columns: 1fr; align-content: start; padding: 2.5rem 0 1.5rem; }
    .cols p { grid-column: 1; font-size: 1.0625rem; }
    .cols h3 { font-size: 1.25rem; margin-bottom: .375rem; }
    .cols svg { width: 24px; height: 24px; margin-bottom: 1rem; }
}

/* FAQ */
.faq-grid { display: grid; gap: 1.5rem 4rem; }
.faq-grid h2 { margin: 0; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 20rem minmax(0, 1fr); } .faq-grid h2 { max-width: 14rem; } }
@media (max-width: 899px) { .wide-only { display: none; } }
@media (min-width: 900px) { .narrow-only { display: none; } }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.25rem 0; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2.5rem 1.5rem 0; color: var(--muted); font-size: 1rem; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq details > div ul { margin: 0 0 1em; padding-left: 1.25rem; }
.faq details > div li + li { margin-top: .25rem; }
@media (min-width: 900px) {
    .faq summary { padding: 2rem 0; font-size: 1.1875rem; }
    .faq details > div { margin-top: -.75rem; padding-bottom: 2rem; font-size: 1.0625rem; }
}
.more { display: inline-block; margin-top: 1.5rem; font-weight: 600; text-decoration: none; }

/* Closing call to action */
.cta { display: grid; gap: 1.5rem; }
.cta h2 { margin: 0; font-size: clamp(1.625rem, 1.4vw + 1rem, 2.25rem); line-height: 1.15; max-width: 38rem; }
.cta .actions, .cta .stores { margin: 0; }
.cta .lead { margin: .75rem 0 0; }
@media (max-width: 599px) { .cta .actions { flex-direction: column; } }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; align-items: center; } }

/* Inner pages */
.page-head { padding: 3rem 0 1rem; max-width: 50rem; }
@media (min-width: 900px) { .page-head { padding: 5rem 0 2rem; } }
.page-head h1 { font-size: clamp(2.25rem, 3.4vw + 1rem, 3.75rem); }
.page-head p { color: var(--muted); font-size: 1.125rem; }
.group-title { font-size: clamp(1.625rem, 1.5vw + 1rem, 2.25rem); margin: 3rem 0 1.25rem; }
.narrow-col { max-width: 52rem; }
.prose { max-width: 48rem; padding-bottom: 3rem; font-size: 1.0625rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--fg); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .375rem; }
.notice { background: var(--warn-bg); color: var(--warn-fg); border-radius: 10px; padding: .875rem 1rem; margin-bottom: 1.5rem; font-size: 1rem; }
.section-end { height: 4rem; }

/* Narrow single-card pages (confirmation, errors) */
.narrow { max-width: 36rem; margin: 3rem auto; }
@media (min-width: 900px) { .narrow { margin: 6rem auto; } }
.narrow h1 { font-size: clamp(2rem, 2vw + 1.25rem, 2.625rem); }
.narrow h2 { font-size: 1.5rem; margin-top: 2rem; }
/* Confirmation page: the result card and, apart from it, the app offer */
.sent { max-width: 56rem; margin: 2rem auto 3rem; display: grid; gap: 1rem; }
@media (min-width: 900px) { .sent { margin: 5rem auto 6rem; gap: 1.5rem; } }
.sent h1 { font-size: clamp(2rem, 2vw + 1.25rem, 2.625rem); }
/* Title on the left, the check mark on the right, both on one line. */
.sent-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sent-head h1 { margin: 0; }
.sent-head .success-mark { flex: none; margin: 0; }
@media (min-width: 600px) { .sent-head .success-mark { width: 64px; height: 64px; } .sent-head .success-mark svg { width: 32px; height: 32px; } }
.sent-card .hint { font-size: 1rem; max-width: 34rem; margin-top: 1rem; }
.sent-card .actions { margin-top: 1.75rem; }

.app-promo {
    display: grid;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
}
@media (min-width: 600px) { .app-promo { border-radius: 24px; } }
@media (min-width: 900px) { .app-promo { grid-template-columns: 1.4fr 1fr; } }
.app-promo-text { padding: 1.5rem 1.25rem 1.75rem; }
@media (min-width: 600px) { .app-promo-text { padding: 2.25rem; } }
.app-promo h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 1.875rem); margin: 0 0 1.25rem; }
.app-promo .checks { font-size: .9375rem; color: var(--muted); }
.app-promo .stores { margin-top: 1.5rem; }
.app-promo .more { margin-top: 1.25rem; }

/* Decorative lock-screen notification showing what the owner receives */
.push-preview {
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
    background:
        radial-gradient(120% 90% at 20% 0%, var(--accent-soft), transparent 70%),
        var(--surface-2);
}
@media (min-width: 900px) { .push-preview { order: 2; padding: 2.5rem 2rem; } }
.push {
    display: flex;
    gap: .75rem;
    width: 100%;
    max-width: 21rem;
    padding: .875rem 1rem;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgb(0 0 0 / 25%);
    font-size: .875rem;
    line-height: 1.35;
}
:root[data-theme="light"] .push { box-shadow: 0 12px 32px rgb(16 24 40 / 10%); }
.push-icon svg { display: block; flex: none; width: 2.25rem; height: 2.25rem; }
.push > div { flex: 1; min-width: 0; }
.push-head { display: flex; justify-content: space-between; color: var(--faint); font-size: .75rem; margin-bottom: .125rem; }
.push strong { font: 500 1.0625rem/1.3 var(--plate-font); }
.push p { margin: 0; color: var(--muted); }

.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.25rem; }
.success-mark svg { width: 28px; height: 28px; }

/* Footer: about column, link columns, store buttons. */
.site-footer { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); padding-top: 3rem; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .site-footer { padding-top: 4.5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } .footer-about { grid-column: auto; } }
.footer-about p { max-width: 22rem; margin: 1rem 0 0; }
.footer-sos { display: inline-flex; align-items: flex-start; gap: .625rem; padding: .75rem 1rem; border-radius: 12px; background: var(--warn-bg); color: var(--warn-fg); font-size: .875rem; line-height: 1.4; }
.footer-sos svg { flex: none; width: 18px; height: 18px; margin-top: .0625rem; }
.footer-sos strong { color: inherit; }
.footer-col h2 { margin: 0 0 1.125rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer-col h2 a { color: inherit; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .875rem; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--fg); }
.site-footer ul a { display: inline-flex; align-items: center; gap: .625rem; overflow-wrap: anywhere; }
.site-footer ul svg { flex: none; width: 17px; height: 17px; color: var(--faint); transition: color .15s; }
.site-footer ul a:hover svg { color: var(--accent); }
.site-footer .brand { color: var(--fg); }
.site-footer .brand .logo-icon { width: 2.5rem; height: 2.5rem; }
.site-footer .wordmark { font-size: 2rem; }
.footer-col:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-col:last-child { grid-column: auto; } }
.site-footer .stores { margin: 0; gap: .5rem; }
@media (min-width: 600px) { .site-footer .stores { flex-direction: column; align-items: flex-start; } }
.site-footer .store { min-height: 3rem; padding: .375rem 1rem .375rem .875rem; border-radius: 10px; }
.site-footer .store strong { font-size: .9375rem; }
.site-footer .store small { font-size: .6875rem; }
.footer-bottom { position: relative; z-index: 1; margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .875rem; }
.footer-bottom span { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom svg { width: 15px; height: 15px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
