:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eaf1f8;
  --ink: #0d1b2a;
  --ink-soft: #48607a;
  --ink-faint: #7a91a8;
  --line: #dbe6f0;
  --teal-900: #0b2545;
  --teal-800: #123a6b;
  --teal-700: #1d4f8f;
  --teal-600: #2563a8;
  --teal-500: #2f7dc2;
  --mint-300: #8fc4ec;
  --mint-200: #d3e8fa;
  --shadow: 0 1px 2px rgba(10, 25, 45, 0.06), 0 12px 32px -16px rgba(10, 25, 45, 0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071422; --surface: #0e2036; --surface-2: #122b47;
    --ink: #eaf2fb; --ink-soft: #a9c0d8; --ink-faint: #7791ab; --line: #1c3552;
    --teal-900: #041022; --teal-800: #0c2648; --teal-700: #1c4f85; --teal-600: #2569a8; --teal-500: #3a8cd4;
    --mint-300: #7fc2f2; --mint-200: #234a70;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071422; --surface: #0e2036; --surface-2: #122b47;
  --ink: #eaf2fb; --ink-soft: #a9c0d8; --ink-faint: #7791ab; --line: #1c3552;
  --teal-900: #041022; --teal-800: #0c2648; --teal-700: #1c4f85; --teal-600: #2569a8; --teal-500: #3a8cd4;
  --mint-300: #7fc2f2; --mint-200: #234a70;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, .display {
  font-family: "Libre Franklin", "IBM Plex Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
a { color: var(--teal-700); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

header.legal {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Libre Franklin", sans-serif; font-weight: 800; font-size: 1.15rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 26px; height: 26px; flex: none; color: var(--teal-700); }
.back-link { font-size: 0.88rem; font-weight: 600; text-decoration: none; }

main.legal { padding: 48px 0 80px; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 8px; display: block;
}
.updated { color: var(--ink-faint); font-size: 0.85rem; margin: 6px 0 32px; }
section { margin: 32px 0; }
section h2 { font-size: 1.15rem; margin-bottom: 10px; }
p { color: var(--ink-soft); margin: 0 0 12px; }
ul { color: var(--ink-soft); padding-left: 20px; margin: 0 0 12px; }
li { margin-bottom: 6px; }
.callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.92rem;
}
.callout b { color: var(--ink); }

footer.legal {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
