:root {
    color-scheme: dark;
    --bg: #243447;
    --surface: #fff8ef;
    --ink: #fffaf2;
    --muted: #d8e4df;
    --line: rgba(248, 250, 247, 0.18);
    --accent: #8ee4d0;
    --accent-dark: #28645a;
    --coral: #ffb199;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(142, 228, 208, 0.22), transparent 36%),
        radial-gradient(circle at 78% 22%, rgba(255, 177, 153, 0.28), transparent 31%),
        radial-gradient(circle at 24% 78%, rgba(255, 248, 239, 0.12), transparent 28%),
        var(--bg);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    width: 100%;
    padding: 22px clamp(20px, 5vw, 64px);
    border-bottom: 1px solid rgba(255, 250, 242, 0.14);
    background: rgba(36, 52, 71, 0.82);
    backdrop-filter: blur(16px);
}

.brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    min-width: 0;
}

.site-nav a,
.lang-switcher a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--ink);
}

.lang-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.minimal-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 82px);
    padding: 48px 20px;
}

.main-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 250, 242, 0.72);
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(12, 18, 26, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
}

.primary-action {
    color: #1f2e3f;
    border-color: var(--accent);
    background: var(--accent);
}

.secondary-action {
    color: var(--ink);
    background: rgba(255, 250, 242, 0.1);
}

.secondary-action:hover {
    border-color: var(--coral);
    background: rgba(255, 177, 153, 0.18);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(20px, 5vw, 64px);
    color: var(--muted);
    font-size: 14px;
}

.site-footer a {
    color: var(--ink);
    text-decoration: none;
}

.privacy-page {
    color: #111827;
    background: var(--surface);
}

.privacy-container {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 96px;
    line-height: 1.75;
}

.privacy-container h1 {
    margin: 0 0 32px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1;
}

.privacy-container h2 {
    margin: 34px 0 10px;
    font-size: 20px;
}

.privacy-container p,
.privacy-container li {
    color: #394150;
}

.privacy-container a {
    color: var(--accent-dark);
}

@media (max-width: 820px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        order: 3;
        overflow-x: auto;
    }

    .main-actions {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
    }
}
