:root {
    color-scheme: light;
    --ink: #1e293b;
    --body: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --paper: #ffffff;
    --wash: #f8fafc;
    --accent: #ea4a71;
    --accent-dark: #d93c63;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wash);
    color: var(--body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
    background: linear-gradient(135deg, #ea4a71, #e25a41);
}

.site-header__inner,
.legal,
.site-footer__inner {
    width: min(100% - 40px, 760px);
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    color: #fff;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.back-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.back-link:hover {
    color: #fff;
}

.legal {
    margin-block: 56px;
    padding: 52px clamp(24px, 6vw, 64px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(30, 41, 59, 0.08);
}

h1,
h2 {
    color: var(--ink);
    line-height: 1.2;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(36px, 7vw, 50px);
    letter-spacing: -0.035em;
}

h2 {
    margin: 42px 0 10px;
    font-size: 23px;
    letter-spacing: -0.015em;
}

p,
ul {
    margin-block: 12px;
}

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

.effective-date,
.summary {
    color: var(--muted);
}

.summary {
    margin-top: 24px;
    padding: 18px 20px;
    background: #fff5f7;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.site-footer {
    padding: 32px 0 44px;
    color: var(--muted);
    text-align: center;
}

.site-footer a {
    margin-inline: 8px;
}

@media (max-width: 560px) {
    .legal {
        margin-block: 24px;
        border-radius: 12px;
    }
}
