*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #faf9f6;
  --surface:       #ffffff;
  --border:        #e6e1d6;
  --text:          #221f1a;
  --muted:         #756f61;
  --accent:        #33507e;
  --accent-h:      #263c62;
  --accent-soft:   #edf0f6;
  --accent-border: #ccd4e3;
  --radius:        12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--text);
  color: #faf9f6;
  padding: 0 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
header a.brand { color: inherit; text-decoration: none; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
header .spacer { flex: 1; }
header a.back {
  color: rgba(250,249,246,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
header a.back:hover { color: #fff; }

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.legal-wrap h1 {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-wrap .updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-wrap p { margin-bottom: 1rem; color: var(--text); }
.legal-wrap p.muted { color: var(--muted); font-size: 0.88rem; }

.legal-wrap ul, .legal-wrap ol {
  margin: 0 0 1rem 1.3rem;
}
.legal-wrap li { margin-bottom: 0.5rem; }

.legal-wrap a { color: var(--accent); }

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem 2.5rem;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
