/* Shared styling for the standalone legal pages (privacy.html, terms.html)
   — plain static files served from public/, not run through Vite, so they
   can't import the app's own processed style.css (its output filename is
   content-hashed per build). Colors copied from src/viz/style.css's :root
   palette; keep the two in sync by eye if the theme ever changes. */

:root {
  --color-bg: #eae9e5;
  --color-surface: #fff;
  --color-border: #d6d4cd;
  --color-text: #242220;
  --color-text-secondary: #4a4842;
  --color-text-muted: #7a776e;
  --color-nav-bg: #242322;
  --color-nav-text: #f1efe8;
  --color-primary: #f2b705;
  --color-primary-text: #8a6206;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-nav-bg);
}

header a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

header img {
  height: 28px;
  width: 28px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

h1 {
  margin: 0 0 8px;
}

h2 {
  margin: 32px 0 8px;
  font-size: 18px;
}

p,
li {
  line-height: 1.6;
  color: var(--color-text-secondary);
}

ul {
  padding-left: 22px;
}

.intro {
  color: var(--color-text-muted);
}

a {
  color: var(--color-primary-text);
}

footer {
  padding: 20px 24px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
}
