/* Shared style for the static legal pages (privacy.html, terms.html). */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --link: #2563eb;
}
:root[data-theme='dark'] {
  --bg: #1f2226;
  --card: #2a2e34;
  --text: #e5e7eb;
  --muted: #9aa5b1;
  --link: #7aa2ff;
}
body {
  margin: 0;
  padding: 24px 16px 48px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--card);
  border-radius: 14px;
}
h1 {
  margin: 0 0 4px;
  font-size: 28px;
}
h2 {
  margin: 28px 0 8px;
  font-size: 19px;
}
a {
  color: var(--link);
}
.meta,
footer {
  color: var(--muted);
  font-size: 14px;
}
footer {
  margin-top: 32px;
  text-align: center;
}
.lang-switch {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.lang-switch img {
  height: 12px;
  width: auto;
  vertical-align: -1px;
  margin-right: 2px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 15%);
}
.lang-switch [aria-current] {
  color: var(--text);
  font-weight: 600;
}
