:root {
    color-scheme: dark;
    --bg: #070709;
    --surface: rgba(20, 20, 24, .92);
    --surface-2: rgba(27, 27, 32, .76);
    --border: rgba(255, 255, 255, .09);
    --text: #f7f7f8;
    --muted: #a8a8b2;
    --red: #ff463d;
    --red-soft: rgba(255, 70, 61, .12);
    --shadow: 0 30px 90px rgba(0, 0, 0, .48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    line-height: 1.72;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 70, 61, .18), transparent 31rem),
        radial-gradient(circle at 95% 18%, rgba(92, 79, 255, .10), transparent 29rem),
        var(--bg);
}

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

.wrapper {
    width: min(980px, calc(100% - 30px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 7, 9, .82);
    backdrop-filter: blur(20px);
}

.header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.logo {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(145deg, #ff625a, #c51914);
    box-shadow: 0 12px 35px rgba(255, 70, 61, .28);
}

.nav {
    display: flex;
    gap: 7px;
}

.nav a {
    padding: 9px 12px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    transition: .18s ease;
}

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

.hero {
    padding: 68px 0 30px;
}

.badge {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(255, 70, 61, .27);
    border-radius: 999px;
    color: #ff837d;
    background: var(--red-soft);
    font-size: 13px;
    font-weight: 750;
}

h1 {
    max-width: 820px;
    margin: 18px 0 13px;
    font-size: clamp(38px, 7vw, 66px);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.subtitle {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.document {
    margin: 22px 0 68px;
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(23, 23, 28, .96), rgba(12, 12, 15, .94));
    box-shadow: var(--shadow);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 22px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

section {
    padding-top: 30px;
}

h2 {
    margin: 0 0 12px;
    font-size: 23px;
    letter-spacing: -.026em;
}

p {
    margin: 0 0 13px;
    color: #d8d8df;
}

ul {
    margin: 10px 0 0;
    padding-left: 22px;
    color: #d8d8df;
}

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

.notice {
    margin-top: 32px;
    padding: 19px 21px;
    border: 1px solid rgba(255, 70, 61, .24);
    border-radius: 18px;
    color: #ececef;
    background: var(--red-soft);
}

.footer {
    padding: 0 0 42px;
    color: #777784;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 680px) {
    .header-inner {
        min-height: 63px;
    }

    .brand span:last-child {
        display: none;
    }

    .nav a {
        padding: 8px;
        font-size: 12px;
    }

    .hero {
        padding-top: 48px;
    }

    .document {
        border-radius: 21px;
    }
}
