/* The legal pages, served beside the web app at /legal/. The app shows the
   same files inside itself (lib/src/features/legal/), reading only <main>, so
   nothing here changes what it says. Colours are the app's. */
:root {
  color-scheme: light dark;
  --bg: #f5f7fa;
  --text: #111827;
  --muted: #5b6474;
  --line: #d9dee7;
  --accent: #6b4ee6;
  --callout: rgba(107, 78, 230, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --text: #e6e8ed;
    --muted: #9aa0ac;
    --line: #2a3040;
    --accent: #a08bff;
    --callout: rgba(124, 92, 255, 0.14);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14.88px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header, main, footer { max-width: 48rem; margin: 0 auto; padding: 0 16px; }
header {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; padding-bottom: 8px;
}
.brand { font-weight: 700; letter-spacing: 0.18em; color: var(--text); text-decoration: none; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
header nav a, footer a { display: inline-block; padding: 10px 0; }
h1 { font-size: 1.767rem; line-height: 1.2; margin: 1.5rem 0 0.25rem; }
h2 { font-size: 1.116rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 0.93rem; margin: 1.5rem 0 0.25rem; }
.updated { color: var(--muted); margin-top: 0; }
ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }
.callout {
  border-left: 3px solid var(--accent);
  background: var(--callout);
  padding: 0.25rem 1rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem; padding-top: 12px; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; gap: 0 20px; color: var(--muted);
}
