:root {
    color-scheme: dark;
    --background: #100817;
    --surface: #1c1027;
    --surface-soft: #241431;
    --accent: #cfadff;
    --text: #f8f2ff;
    --muted: #b9a9c5;
    --border: rgba(207, 173, 255, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    overscroll-behavior: none;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    overscroll-behavior: none;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(98, 45, 140, 0.3), transparent 34rem),
        radial-gradient(circle at 100% 30%, rgba(61, 31, 86, 0.24), transparent 30rem),
        var(--background);
}

a {
    color: var(--accent);
    text-underline-offset: 0.2em;
}

.page {
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 64px;
}

.brand {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--text);
    text-decoration: none;
    font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

.document {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(28, 16, 39, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.hero {
    padding: 34px 36px 30px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(207, 173, 255, 0.08), transparent);
}

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

h1 {
    margin: 0;
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.updated {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.content {
    padding: 12px 36px 36px;
}

section {
    padding-top: 24px;
}

h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

p {
    margin: 8px 0 0;
    color: var(--muted);
}

ul,
ol {
    margin: 10px 0 0;
    padding-left: 22px;
    color: var(--muted);
}

li + li {
    margin-top: 7px;
}

.notice {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-soft);
}

.notice strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 18px;
    border: 1px solid rgba(207, 173, 255, 0.28);
    border-radius: 14px;
    color: var(--text);
    background: rgba(207, 173, 255, 0.12);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    justify-content: space-between;
    padding: 22px 36px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 560px) {
    .page {
        width: min(100% - 20px, 760px);
        padding: 24px 0 36px;
    }

    .brand {
        margin-left: 6px;
        margin-bottom: 20px;
    }

    .document {
        border-radius: 22px;
    }

    .hero,
    .content,
    .footer {
        padding-right: 22px;
        padding-left: 22px;
    }
}
