:root {
    --legal-blue: #1268ad;
    --legal-focus: #ffbf47;
    --legal-navy: #0c2970;
    --legal-ink: #263652;
    --legal-muted: #66768d;
    --legal-line: #dce6f0;
    --legal-soft: #f3f8fc;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--legal-ink);
    background: var(--legal-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a { color: var(--legal-blue); }

a:focus-visible {
    outline: 3px solid var(--legal-focus);
    outline-offset: 4px;
    border-radius: 4px;
}

.legal-header {
    color: #fff;
    background: var(--legal-blue);
}

.legal-header-inner,
.legal-main,
.legal-footer-inner {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

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

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.legal-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    color: var(--legal-blue);
}

.legal-brand-mark svg { width: 26px; height: 26px; }

.legal-header-link { color: #fff; }

.legal-main { padding: 52px 0 64px; }

.legal-card {
    padding: clamp(24px, 5vw, 52px);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(38, 54, 82, 0.08);
}

.legal-card > * { max-width: 75ch; }

h1, h2, h3 { color: var(--legal-navy); line-height: 1.25; }
h1 { margin: 0 0 16px; font-size: clamp(32px, 6vw, 48px); }
h2 { margin: 42px 0 12px; font-size: 24px; }
h3 { margin: 24px 0 8px; font-size: 18px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 24px; }

.legal-lead {
    max-width: 720px;
    color: var(--legal-muted);
    font-size: 18px;
}

.legal-note,
.legal-action {
    margin: 24px 0;
    padding: 20px;
    border-radius: 14px;
    background: var(--legal-soft);
}

.legal-action {
    border: 1px solid #b9dcf8;
}

.legal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--legal-blue);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.legal-button:hover { background: var(--legal-navy); }

.legal-meta { color: var(--legal-muted); font-size: 14px; }

.legal-footer {
    padding: 28px 0;
    border-top: 1px solid var(--legal-line);
    background: #fff;
}

.legal-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    color: var(--legal-muted);
    font-size: 14px;
}

.legal-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 600px) {
    .legal-header-inner { min-height: 70px; }
    .legal-header-link { display: none; }
    .legal-main { padding: 24px 0 40px; }
    .legal-card { border-radius: 14px; }
}
