/* Shared styles for the 4096 legal pages (static, no JS). */
:root {
  --bg: #faf7ef;
  --surface: #ffffff;
  --text: #3a322b;
  --muted: #6f6357;
  --border: #e6ded1;
  --brand: #6a4c93;
  --accent: #b8860b;
  --soft: #f3ecdc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131d;
    --surface: #211b29;
    --text: #f3eee6;
    --muted: #b3a99c;
    --border: #3a3045;
    --brand: #b9a0e0;
    --accent: #f2d45c;
    --soft: #2b2236;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--border); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--muted); padding: 6px 0; }
nav.links a[aria-current="page"] { color: var(--text); font-weight: 600; }
main { padding: 32px 0 56px; }
h1 { letter-spacing: -0.01em; font-size: clamp(28px, 6vw, 38px); line-height: 1.2; margin: 0 0 8px; }
h2 { letter-spacing: -0.01em; font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin: 20px 0; }
.summary { background: var(--soft); border-color: transparent; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface); }
footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
