:root {
  color-scheme: light dark;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #10223f;
  --muted: #53657d;
  --line: #dce5ee;
  --cyan: #04a8cd;
  --gold: #e9a916;
  --navy: #0b3268;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-height: 100vh; line-height: 1.65; }
a { color: var(--navy); text-underline-offset: 0.2em; }
.site-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px max(24px, calc((100vw - 1040px) / 2)); background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 1.25rem; font-weight: 750; text-decoration: none; }
.brand img { border-radius: 12px; display: block; }
nav { display: flex; flex-wrap: wrap; gap: 6px; }
nav a { border-radius: 7px; color: var(--muted); padding: 7px 10px; text-decoration: none; }
nav a[aria-current="page"] { background: #e5f7fb; color: #005d74; font-weight: 700; }
main { background: var(--surface); border-top: 4px solid var(--cyan); }
.legal-copy { margin: 0 auto; max-width: 840px; padding: 64px 24px 88px; }
h1, h2, h3 { color: var(--text); line-height: 1.22; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 28px; }
h2 { border-top: 1px solid var(--line); font-size: 1.35rem; margin: 42px 0 12px; padding-top: 32px; }
h3 { font-size: 1.1rem; margin-top: 28px; }
p, li, address { color: var(--muted); }
address { font-style: normal; }
code { background: #edf3f7; border-radius: 4px; padding: 0.1em 0.35em; }
footer { display: flex; justify-content: space-between; gap: 18px; margin: 0 auto; max-width: 1040px; padding: 28px 24px 48px; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
  .brand img { height: 44px; width: 44px; }
  .legal-copy { padding: 44px 20px 64px; }
  footer { flex-direction: column; padding-inline: 20px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #07101d; --surface: #0d1828; --text: #eef6ff; --muted: #b3c1d2; --line: #26374d; --navy: #64d9f1; }
  nav a[aria-current="page"] { background: #123d4b; color: #a9efff; }
  code { background: #17263a; }
}