/* Super Cars Adventure — page styles (self-contained, no framework).
   galazo.ch look: Poppins, red accent, dark header/hero/footer, light cards. */

/* ---------- Fonts (self-hosted Poppins, like the main site) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-400-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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-400-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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600-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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700-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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800-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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800-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; }

/* ---------- Tokens ---------- */
:root {
    --bg: #f7f7f8;
    --surface: #ffffff;
    --surface-muted: #f2f2f4;
    --ink: #0f0f10;
    --ink-soft: #46484d;
    --ink-faint: #626569;
    --line: #e4e4e8;
    --line-strong: #cbccd2;

    --night: #0f0f10;
    --night-raised: #1b1c1f;
    --night-line: #2e3035;
    --night-ink: #f5f5f6;
    --night-soft: #b7bac0;

    /* galazo.ch red: #FF0000 / #CC0000 (darkened where it carries text) */
    --red: #e00000;
    --red-deep: #c00000;
    --red-ink: #c20000;
    --red-on-dark: #ff6060;
    --red-tint: #fff1f1;
    --red-line: #f4caca;

    --ok-ink: #1b6b2f;
    --ok-tint: #edf7ef;
    --ok-line: #c3e2ca;
    --wait-ink: #5c4300;
    --wait-tint: #fff6dc;
    --wait-line: #efd58a;
    --error: #a3160d;

    --youtube: #ff0000;
    --focus: #1d5fd6;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;

    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

    --gutter: 16px;
    --pad-left: max(var(--gutter), env(safe-area-inset-left));
    --pad-right: max(var(--gutter), env(safe-area-inset-right));
}

@media (min-width: 600px) {
    :root { --gutter: 24px; }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-left: var(--pad-left);
    padding-right: var(--pad-right);
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--youtube { color: var(--youtube); }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}
.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: #8ab4ff; }

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 50;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons (pill shaped, like galazo.ch) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 22px;
    border: 2px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--surface-muted); }
.btn[disabled] { cursor: not-allowed; opacity: .65; }

.btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    color: #ffffff;
}
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost {
    border-color: rgba(255, 255, 255, .3);
    background: transparent;
    color: #ffffff;
}
.btn--ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.0625rem; }
.btn--download {
    width: 100%;
    min-height: 62px;
    margin-top: 14px;
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: .04em;
}
.btn--start { width: 100%; max-width: 360px; margin-top: 14px; letter-spacing: .03em; }

.text-link {
    font-weight: 700;
    color: var(--red-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Icon box of a task / card */
.slot {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-muted);
    color: var(--ink-soft);
}
.slot .icon { width: 26px; height: 26px; }
.slot--small { width: 40px; height: 40px; }
.slot--small .icon { width: 22px; height: 22px; }
.slot--youtube { border-color: var(--red-line); background: var(--red-tint); color: var(--youtube); }

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.card-title { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.card__head { display: flex; align-items: center; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid var(--night-line);
    background: var(--night);
    color: var(--night-ink);
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
    text-decoration: none;
}
.brand__icon { width: 30px; height: 30px; color: var(--youtube); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link {
    padding: 10px 2px;
    color: var(--night-soft);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}
.header-link:hover { color: #ffffff; }

/* Language: a native select (the phone's own picker) under a compact "TR ▾" label */
.lang-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--night-line);
    border-radius: var(--radius-sm);
    background: var(--night-raised);
    color: var(--night-ink);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
}
.lang-picker:hover { border-color: #4a4d55; }
.lang-picker:focus-within { outline: 3px solid #8ab4ff; outline-offset: 2px; }
.lang-picker__chevron { opacity: .7; }
.lang-picker__select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 16px; /* no zoom-in on focus in iOS Safari */
}
@media (max-width: 359px) {
    .header-link { display: none; } /* the GaLazo logo links home as well */
}

/* ---------- Hero: logo, then the countdown ---------- */
.hero {
    padding: 24px 0 44px;
    background: var(--night);
    color: var(--night-ink);
}
.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero__logo {
    width: min(68vw, 300px);
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: var(--night-raised);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .8);
    object-fit: cover;
}
@supports (height: 1svh) {
    /* keep the countdown in view on short screens */
    .hero__logo { width: min(68vw, 34svh, 300px); min-width: 180px; }
}
.hero__title {
    margin-top: 20px;
    font-size: clamp(1.875rem, 1.35rem + 2.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.hero__subtitle {
    text-wrap: balance;
    margin-top: 6px;
    color: var(--night-soft);
    font-size: clamp(.9375rem, .88rem + .3vw, 1.0625rem);
    font-weight: 600;
}

.launch { width: 100%; max-width: 460px; margin-top: 22px; }
.launch__label {
    color: var(--red-on-dark);
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 12px 4px 10px;
    border: 1px solid var(--night-line);
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
    background: var(--night-raised);
}
.countdown__value {
    font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
    letter-spacing: .01em;
}
.countdown__label {
    margin-top: 4px;
    color: var(--night-soft);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
}
@media (min-width: 400px) {
    .countdown { gap: 10px; }
    .countdown__label { font-size: .75rem; }
}

.launch__released {
    padding: 14px 18px;
    border: 1px solid rgba(255, 96, 96, .45);
    border-radius: var(--radius);
    background: rgba(224, 0, 0, .16);
    color: #ffffff;
    font-size: clamp(1.1875rem, 1.05rem + .7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
    text-wrap: balance;
}
.launch__released .icon { margin-right: 6px; color: var(--red-on-dark); vertical-align: -.2em; }

.launch__when { margin-top: 14px; }
/* min-height: reserved before sca.js fills in the release date and times */
.launch__date { min-height: 1.6em; font-weight: 700; }
.launch__times { min-height: 1.6em; color: var(--night-soft); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.launch__local { margin-top: 2px; color: var(--night-soft); font-size: .875rem; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

@media (min-width: 768px) {
    .hero { padding: 40px 0 64px; }
    .hero__logo { width: 340px; }
    @supports (height: 1svh) {
        .hero__logo { width: min(340px, 36svh); }
    }
    .launch { margin-top: 26px; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section + .section { padding-top: 0; }

.eyebrow {
    color: var(--red-ink);
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.section-title {
    max-width: 26ch;
    margin-top: 6px;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.015em;
}
.section-intro { max-width: 62ch; margin-top: 10px; color: var(--ink-soft); }

@media (min-width: 768px) {
    .section { padding: 80px 0; }
}

/* About */
.about { max-width: 66ch; margin-top: 14px; }
.about__text { color: var(--ink-soft); font-size: 1.0625rem; }
.note {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: .9375rem;
}
.note__icon { margin-top: 2px; color: var(--ink-faint); }

/* Features */
.features {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}
@media (min-width: 600px) {
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 960px) {
    .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
/* Phones: icon left of the text; from 600px: icon on top, cards in a grid */
.feature {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.feature__icon {
    display: inline-grid;
    grid-row: span 2;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--red-tint);
    color: var(--red-ink);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.feature__text { margin-top: 4px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.6; }
@media (min-width: 600px) {
    .feature { display: block; padding: 20px 18px; }
    .feature__title { margin-top: 14px; font-size: 1.125rem; }
    .feature__text { margin-top: 6px; }
}

/* ---------- Download: Link2Unlock steps ---------- */
.section--download .card { max-width: 760px; }

.unlock { margin-top: 24px; padding: 18px 16px; }
@media (min-width: 600px) {
    .unlock { padding: 24px 28px; }
}

.tasks {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}
.task {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.task__body { flex: 1; min-width: 0; }
.task__title { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.task__text { margin-top: 2px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 600px) {
    .task { padding: 16px 18px; }
}

/* Gate: what happens with the download right now (filled by sca.js) */
.gate {
    margin-top: 18px;
    padding: 20px 16px;
    border-radius: var(--radius);
    text-align: center;
}
.gate:empty { display: none; }
.gate__icon { display: inline-grid; margin-bottom: 6px; }
.gate__icon .icon { width: 30px; height: 30px; }
.gate__title { font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.gate__text { max-width: 48ch; margin: 6px auto 0; }
.gate__subtle { margin-top: 10px; color: var(--ink-faint); font-size: .875rem; }
.gate__when { margin-top: 12px; font-weight: 600; font-variant-numeric: tabular-nums; text-wrap: balance; }
.gate__done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--ok-ink);
    font-size: .9375rem;
    font-weight: 700;
}
.gate__error { margin-top: 10px; color: var(--error); font-weight: 600; }
.gate .btn--secondary { margin-top: 14px; }

.gate--locked {
    border: 2px dashed var(--line-strong);
    background: var(--surface-muted);
    color: var(--ink-soft);
}
.gate--locked .gate__title { color: var(--ink); }
.gate--locked .gate__icon { color: var(--ink-faint); }
.gate--ready {
    border: 1px solid var(--ok-line);
    background: var(--ok-tint);
}
.gate--ready .gate__title { color: var(--ok-ink); }
.gate--waiting {
    border: 1px solid var(--wait-line);
    background: var(--wait-tint);
    color: var(--wait-ink);
}
.gate--waiting .gate__title { color: #3d2c00; }
.gate--waiting .gate__icon { color: #8a6400; }

.platform-note {
    margin-top: 12px;
    color: var(--ink-faint);
    font-size: .875rem;
    text-align: center;
}
.noscript { margin-top: 16px; font-weight: 600; }

/* Installation guide */
.install { margin-top: 16px; padding: 18px 16px; }
@media (min-width: 600px) {
    .install { padding: 22px 28px; }
}
.install .slot { color: var(--red-ink); }
.steps {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    position: relative;
    padding-left: 40px;
    color: var(--ink-soft);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--night);
    color: #ffffff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
}
.install__note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: .9375rem;
    font-weight: 600;
}

/* ---------- Version and developer ---------- */
.info { display: grid; gap: 16px; }
@media (min-width: 860px) {
    .info { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}
.version, .developer { padding: 20px 18px; }
@media (min-width: 600px) {
    .version, .developer { padding: 24px 28px; }
}

.facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0 16px;
    margin-top: 12px;
}
.facts dt, .facts dd { padding: 9px 0; border-top: 1px solid var(--line); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { color: var(--ink-faint); }
.facts dd { font-weight: 600; }
/* Narrow phones: label above value, compact */
@media (max-width: 480px) {
    .facts { grid-template-columns: 1fr; }
    .facts dt { padding: 8px 0 0; font-size: .8125rem; }
    .facts dd { padding: 0 0 8px; border-top: 0; }
}

.sha { margin-top: 14px; }
.sha__label { color: var(--ink-faint); }
.sha__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 6px;
}
.sha__value {
    flex: 1 1 240px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    font-family: var(--font-mono);
    font-size: .8125rem;
    line-height: 1.5;
    word-break: break-all;
}

.developer__id { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.developer__badge {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    background: var(--night);
    color: var(--youtube);
}
.developer__badge .icon { width: 28px; height: 28px; }
.developer__name { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.developer__handle { color: var(--ink-faint); font-weight: 600; }
.developer__text { margin-top: 14px; color: var(--ink-soft); }
.developer__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
    padding: 36px 0 calc(28px + env(safe-area-inset-bottom));
    background: var(--night);
    color: var(--night-soft);
    font-size: .9375rem;
}
.footer__top { display: grid; gap: 20px; }
.footer__tagline { margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--night-line);
    border-radius: 999px;
    color: var(--night-ink);
    font-weight: 600;
    text-decoration: none;
}
.footer__links a:hover { background: var(--night-raised); }
.footer__legal {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--night-line);
    font-size: .8125rem;
}
.footer__legal a { color: var(--night-ink); }
@media (min-width: 720px) {
    .footer__top { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
