/* Shared theme for RefScout's standalone legal pages (privacy.html, terms.html).
   Extracted from the pages' previously duplicated embedded <style> blocks.
   Page-specific layout rules stay in each page's own <style>.
   NOT for index.html/style.css — the element selectors here (body, header,
   footer) would restyle the app if loaded there. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #1a1a2e;
  --accent: #0066cc;
  --bg: #ffffff;
  --surface: #f8f8fc;
  --text: #1a1a2e;
  --muted: #5a5a6e;
  --border: #e2e2ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4d9fff;
    --bg: #12121f;
    --surface: #1a1a2e;
    --text: #e8e8f0;
    --muted: #8888aa;
    --border: #2e2e4a;
  }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
header {
  background: var(--navy);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.2rem; }
header nav a { font-size: 0.9rem; opacity: 0.8; margin-left: 1.5rem; font-weight: 400; }
header nav a:hover { opacity: 1; }
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}
footer a { color: inherit; }
