/* Shared styling for the static legal pages (privacy.html, terms.html).
   These are plain HTML on purpose: Google's brand/OAuth verification crawler
   does not execute JavaScript, so a React-rendered policy is a blank page to
   the reviewer. Palette mirrors public/home.html. */
:root {
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #5c6470;
  --border: #e5e7eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e12;
    --fg: #f4f5f7;
    --muted: #9aa3b0;
    --border: #262a33;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header { border-bottom: 1px solid var(--border); }
.bar {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
}
nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; font-size: 0.9375rem; }
nav a:hover { color: var(--fg); }
main { flex: 1; max-width: 48rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; width: 100%; }
h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 0.5rem; }
.effective { color: var(--muted); font-size: 0.9375rem; margin-bottom: 2.5rem; }
h2 { font-size: 1.125rem; margin: 2.5rem 0 0.75rem; }
p, li { color: var(--fg); margin-bottom: 0.875rem; }
ul { padding-left: 1.25rem; margin-bottom: 0.875rem; }
li { margin-bottom: 0.25rem; }
a { color: inherit; }
strong { font-weight: 600; }
footer { border-top: 1px solid var(--border); }
footer .bar { color: var(--muted); font-size: 0.875rem; }
@media (max-width: 40rem) {
  h1 { font-size: 1.625rem; }
  main { padding: 2rem 1.25rem 3rem; }
}
