:root {
    color-scheme: dark;
    --background: #0b0b12;
    --surface: #151522;
    --surface-light: #202034;
    --text: #f7f5ff;
    --muted: #b8b4c8;
    --accent: #ffbf47;
    --accent-dark: #231807;
    --border: rgba(255, 255, 255, 0.12);
    --max-width: 960px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(116, 78, 194, 0.25), transparent 34rem),
        radial-gradient(circle at 90% 12%, rgba(255, 191, 71, 0.12), transparent 28rem),
        var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--accent);
}

.site-header,
main,
footer {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 28px;
}

.brand {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.language-control {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.language-select {
    max-width: 118px;
    border: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
}

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

.language-select option {
    color: #111;
    background: #fff;
}

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

nav a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

.hero {
    padding: 100px 0 86px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(3rem, 9vw, 6.8rem);
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.intro,
.lead {
    max-width: 700px;
    margin: 30px 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.3vw, 1.35rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
}

.button.primary {
    border-color: var(--accent);
    color: var(--accent-dark);
    background: var(--accent);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 90px;
}

.features article,
.card,
details {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(21, 21, 34, 0.88);
}

.features article {
    padding: 28px;
}

.features span {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 850;
}

h2 {
    margin: 0.4em 0;
    font-size: 1.45rem;
}

.features p,
.card p,
.policy p,
details p {
    color: var(--muted);
}

.content-page {
    max-width: 760px;
    padding: 80px 0 100px;
}

.content-page h1 {
    font-size: clamp(3rem, 8vw, 5rem);
}

.card {
    margin: 48px 0;
    padding: 28px;
}

.email {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.faq h2 {
    margin-bottom: 18px;
}

details {
    margin: 12px 0;
    padding: 18px 22px;
}

summary {
    cursor: pointer;
    font-weight: 750;
}

.policy section {
    margin-top: 42px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 48px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

@media (max-width: 700px) {
    .site-header {
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions {
        align-items: flex-end;
        flex-direction: column-reverse;
        gap: 12px;
    }

    nav {
        gap: 16px;
    }

    .hero {
        padding-top: 64px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
    }
}
