:root {
  color-scheme: light;
  --bg: #f6f8f9;
  --text: #12181f;
  --muted: #4b5563;
  --accent: #2451b8;
  --border: #dde3e8;
  --link: #2451b8;
  --focus: #2451b8;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #12181f;
    --text: #f6f8f9;
    --muted: #aab3c0;
    --accent: #2451b8;
    --border: #2a3545;
    /* Signal Blue itself fails AA as text on this dark a background — fine
       as a solid button/border fill, but link/focus color needs a lighter
       tint to clear 4.5:1 here. Same pair used in home.css. */
    --link: #8fb2f5;
    --focus: #8fb2f5;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
body.privacy,
body.terms,
body.delete-account {
  line-height: 1.65;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Header — same pattern as the homepage, so every page reads as one site */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0.5rem 1.5rem;
}
.wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
body.privacy .wrap,
body.terms .wrap,
body.delete-account .wrap {
  max-width: 680px;
}
h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}
body.privacy h1,
body.terms h1,
body.delete-account h1 {
  margin: 0 0 1.5rem;
}
.tagline {
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}
h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}
body.privacy h2,
body.terms h2,
body.delete-account h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
li {
  margin-bottom: 0.5rem;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.notice {
  border-left: 3px solid var(--accent);
  background: rgba(36, 81, 184, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}
.email {
  font-size: 1.05rem;
  font-weight: 600;
}
footer {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}
body.privacy footer,
body.terms footer,
body.delete-account footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
