/* AlgoDrill — Privacy Policy page. External stylesheet (no inline styles; strict CSP). */
/* maguey-terminal design tokens (copied from static/index.html :root) */
:root {
  --bg: #0B0F14;
  --fg: #E9E3D7;
  --accent: #5FA8D3;
  --accent2: #2F5D50;
  --muted: #0F1620;
  --muted-text: #A79F92;
  --border: rgba(233, 227, 215, 0.16);
  --danger: #B0302F;
  --highlight: #EB8F2C;
  --brand-pop: #7CF2C7;
  --link: #5FA8D3;
  --link-hover: #8CC7E8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  width: 100%;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}
.back-link:hover { color: var(--link-hover); text-decoration: underline; }

.legal h1 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--brand-pop);
  margin-bottom: 0.5rem;
}

.updated {
  font-size: 0.78rem;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 2.2rem 0 0.75rem;
}

.legal p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted-text);
  font-size: 0.97rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.disclaimer {
  font-size: 0.73rem;
  color: var(--muted-text);
  margin: 2.5rem 0 0.35rem;
  line-height: 1.5;
  background: var(--muted);
  border-left: 3px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 1.1rem;
}
.disclaimer strong { color: var(--fg); }

@media (max-width: 600px) {
  .legal { padding: 1.5rem 1rem 3rem; }
  .legal h1 { font-size: 1.4rem; }
}
