/* Static legal pages (privacy.html, terms.html). Plain, readable, no scripts. */
:root { color-scheme: light dark; --bg: #ffffff; --ink: #0d0d0f; --muted: #5d5d66; --line: #e6e6ea; --link: #0d0d0f; }
@media (prefers-color-scheme: dark) { :root { --bg: #14141a; --ink: #ececf1; --muted: #a0a0ab; --line: #2a2a33; --link: #ececf1; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.legal { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.legal header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.legal .brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.legal .brand b { font-weight: 800; }
.legal nav a { margin-inline-start: 1rem; color: var(--muted); text-decoration: none; font-size: .95rem; }
.legal nav a:hover, .legal nav a[aria-current] { color: var(--ink); text-decoration: underline; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .25rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
p, li { margin: .5rem 0; }
ul { padding-inline-start: 1.3rem; }
a { color: var(--link); text-underline-offset: 2px; }
.updated { color: var(--muted); margin: 0 0 1.5rem; font-size: .95rem; }
.note { border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; margin: 1.25rem 0; background: color-mix(in srgb, var(--ink) 4%, transparent); }
table { width: 100%; border-collapse: collapse; margin: .75rem 0; font-size: .95rem; }
th, td { text-align: start; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media print { nav { display: none; } }
