:root {
    --bg: #121418;
    --bg-deep: #0d0f13;
    --surface: rgba(255, 255, 255, 0.035);
    --line: rgba(160, 176, 203, 0.18);
    --text: #eef0f5;
    --muted: #a7b0c1;
    --faint: #7e899c;
    --accent: #aebfde;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0, rgba(93, 121, 168, 0.15), transparent 31rem),
        linear-gradient(180deg, var(--bg), var(--bg-deep));
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: #d8e4fb; }

.legal-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 40px; }
.legal-shell-compact { width: min(680px, calc(100% - 40px)); }

.legal-header, .legal-footer { display: flex; align-items: center; justify-content: space-between; }

.legal-header { padding: 0 4px 34px; }

.brand {
    color: var(--text);
    font-size: 13px;
    font-weight: 780;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-nav, .legal-footer nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.legal-nav a, .quiet-link {
    color: var(--muted);
    font-size: 14px;
}

.legal-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 24px 74px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    padding: clamp(28px, 6vw, 56px);
}

.eyebrow { margin: 0 0 10px; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(32px, 7vw, 50px); letter-spacing: -0.045em; }
.lede { margin: 18px 0 5px; color: var(--muted); font-size: clamp(17px, 3vw, 20px); line-height: 1.55; }
.updated { margin: 0 0 38px; color: var(--faint); font-size: 14px; }

section { border-top: 1px solid var(--line); padding: 26px 0 2px; }
section h2 { margin: 0 0 9px; font-size: 18px; letter-spacing: -0.018em; }
section p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.68; }
section ul, section ol {
    margin: 2px 0 22px;
    padding-left: 1.3rem;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.68;
}
section li + li { margin-top: 9px; }
section strong { color: var(--text); font-weight: 680; }

.draft-notice {
    margin: 0 0 28px;
    border: 1px solid rgba(225, 180, 104, 0.36);
    border-radius: 13px;
    background: rgba(225, 180, 104, 0.08);
    color: #e6c98f;
    padding: 13px 15px;
    font-size: 14px;
    line-height: 1.5;
}

.legal-caps { text-transform: uppercase; font-size: 14px; letter-spacing: 0.015em; }

.primary-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(174, 191, 222, 0.38);
    border-radius: 13px;
    background: rgba(174, 191, 222, 0.1);
    color: var(--text);
    padding: 0 18px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.primary-link:hover { background: rgba(174, 191, 222, 0.16); }

.action-list {
    overflow: hidden;
    margin: 6px 0 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.action-list a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    padding: 0 16px;
    text-decoration: none;
}

.action-list a + a { border-top: 1px solid var(--line); }
.action-list a:hover { background: rgba(255, 255, 255, 0.035); }

.legal-footer { padding: 25px 4px 0; color: var(--faint); font-size: 13px; }
.legal-footer a { color: var(--muted); }

@media (max-width: 480px) {
    .legal-shell { width: min(100% - 28px, 760px); padding-top: 20px; }
    .legal-header { padding-bottom: 24px; }
    .legal-card { border-radius: 18px; }
    .legal-nav, .legal-footer nav { gap: 13px; }
    .legal-nav a { font-size: 13px; }
}
