/* Shared look for the privacy policy and terms pages. Same tokens as index.html. */
:root {
  --deep: #0b2a3d;
  --bg: #f5f8f9;
  --surface: #ffffff;
  --fg: #0e2230;
  --muted: #4b6070;
  --line: #d3dee4;
  --accent: #e8452c;
  --note-bg: #fff4e5;
  --note-fg: #7a4100;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07161f; --surface: #0d2230; --fg: #e6f0f4; --muted: #9db3bf; --line: #1d3a4b;
    --accent: #ff5a3f; --note-bg: #3a2a10; --note-fg: #ffd9a0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07161f; --surface: #0d2230; --fg: #e6f0f4; --muted: #9db3bf; --line: #1d3a4b;
  --accent: #ff5a3f; --note-bg: #3a2a10; --note-fg: #ffd9a0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 var(--body); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.bar { background: var(--deep); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.bar .inner { max-width: 760px; margin: 0 auto; padding: 18px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { font: 800 1.4rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }

main { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
h1 { font: 800 clamp(2.4rem, 7vw, 3.4rem)/1 var(--display); margin: 0 0 8px; }
h2 { font: 700 1.6rem/1.1 var(--display); margin: 40px 0 8px; }
h3 { font-size: 1rem; margin: 24px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }
.draft {
  background: var(--note-bg); color: var(--note-fg); border-radius: 10px;
  padding: 14px 16px; margin: 0 0 32px; font-size: 0.95rem;
}
p, li { max-width: 68ch; }
ul { padding-left: 1.2em; }
li + li { margin-top: 6px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); }
footer .inner { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter); display: flex; flex-wrap: wrap; gap: 12px 20px; color: var(--muted); font-size: 0.88rem; }
footer a { color: var(--muted); }
