.legal-page{max-width:820px;padding:28px 20px 48px;margin:auto}
.legal-page>.brand{margin-bottom:28px;display:inline-flex}
.legal-page h1{font-size:clamp(1.9rem,6vw,3rem);line-height:1.25}
.legal-page>section{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:20px;margin:18px 0;overflow-wrap:anywhere}
.legal-page>section h2{font-size:1.2rem;line-height:1.45;margin:0 0 12px;color:var(--ink)}
.legal-page>section p{margin:0;color:var(--muted);line-height:1.75}
.legal-page .legal-footer{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}
.legal-page .legal-footer nav{display:flex;flex-wrap:wrap;gap:16px}
html[data-theme=dark]:has(.legal-page){--bg:#131117;--ink:#f6f4fa;--muted:#c1bacd;--surface:#201c28;--line:#413a4d;color-scheme:dark}
html[data-palette=lilac]:has(.legal-page){--bg:#f6f1ff}
html[data-palette=peach]:has(.legal-page){--bg:#fff5ee}
html[data-palette=mint]:has(.legal-page){--bg:#eff9f4}
html[data-theme=dark][data-palette=lilac]:has(.legal-page){--bg:#16121e}
html[data-theme=dark][data-palette=peach]:has(.legal-page){--bg:#1d1414}
html[data-theme=dark][data-palette=mint]:has(.legal-page){--bg:#101917}
@media(prefers-color-scheme:dark){html:not([data-theme=light]):has(.legal-page){--bg:#131117;--ink:#f6f4fa;--muted:#c1bacd;--surface:#201c28;--line:#413a4d;color-scheme:dark}}
