:root {
    --bg: #07111f;
    --bg-soft: #0d1d33;
    --surface: rgba(9, 22, 40, 0.82);
    --surface-strong: rgba(8, 18, 32, 0.94);
    --card: rgba(14, 30, 52, 0.88);
    --line: rgba(170, 213, 255, 0.18);
    --text: #f2f7ff;
    --muted: #afc4dc;
    --accent: #7ae4ff;
    --accent-strong: #2ed3ff;
    --accent-warm: #ffd27a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(46, 211, 255, 0.14), transparent 32%),
        radial-gradient(circle at left center, rgba(255, 210, 122, 0.12), transparent 28%),
        linear-gradient(180deg, #030813 0%, #06111f 38%, #0a1a2e 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px clamp(20px, 4vw, 48px);
    backdrop-filter: blur(18px);
    background: rgba(4, 12, 23, 0.7);
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(4, 12, 23, 0.9);
    border-color: var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.95rem;
}

.site-nav a {
    color: var(--muted);
    transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--accent);
}

main,
.footer-inner,
.policy-main {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.section {
    padding: clamp(68px, 9vw, 110px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.policy-hero h1 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #04111f;
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.text-link {
    color: var(--accent);
    font-weight: 700;
}

.site-footer {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 0 0 40px;
    text-align: center;
}

.footer-social,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
}

.footer-social {
    margin-bottom: 18px;
}

.footer-social a,
.footer-links a {
    transition: transform 180ms ease, opacity 180ms ease;
}

.footer-social a:hover,
.footer-links a:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.footer-social img {
    width: 22px;
    height: 22px;
}

.footer-links {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.policy-page .site-header {
    margin-bottom: 12px;
}

.policy-hero {
    padding: clamp(44px, 6vw, 70px) 0 20px;
}

.policy-hero p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.05rem;
}

.policy-card {
    background: linear-gradient(180deg, rgba(12, 27, 47, 0.95), rgba(9, 20, 36, 0.96));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.policy-card h2,
.policy-card h3 {
    font-family: "Syne", sans-serif;
}

.policy-card p,
.policy-card li {
    color: var(--muted);
    line-height: 1.75;
}

.policy-card ul,
.policy-card ol {
    padding-left: 22px;
}

.policy-card section + section {
    margin-top: 28px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        gap: 14px;
    }
}

@media (max-width: 640px) {
    main,
    .site-footer,
    .policy-main {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .section {
        padding: 56px 0;
    }

    .policy-card {
        border-radius: 22px;
        padding: 22px 18px;
    }
}
