/* Shared styles for the static legal pages (privacy, terms, data deletion). */
:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5c5c66;
  --rule: #e4e4e9;
  --accent: #0b5cd5;
  --card: #f5f6f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111114;
    --text: #ececf1;
    --muted: #a3a3ad;
    --rule: #2a2a31;
    --accent: #7fb0ff;
    --card: #1a1a1f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

.site-header,
.site-footer,
main {
  max-width: 46rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.brand { font-weight: 700; color: var(--text); text-decoration: none; }

.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.95rem; }

.site-header nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }

main { padding-top: 2rem; padding-bottom: 3rem; }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }

.meta { color: var(--muted); margin: 0 0 2rem; font-size: 0.95rem; }

h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }

h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

p, ul, ol { margin: 0 0 1rem; }

li { margin-bottom: 0.35rem; }

.callout {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}

.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.95rem; }

th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.5rem 0.5rem 0; border-bottom: 1px solid var(--rule); }

th { font-weight: 600; }

address { font-style: normal; }

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
