/* Legal pages (privacy, terms, 404): the main page's design tokens and type
   (index.html), with the Nav and Footer rendered from app/dist/shared.js. */
:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: #11141d;
  --surface-2: #161924;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --text: #efe9dd;
  --text-2: #a8a39a;
  --text-3: #66635c;
  --accent: #e85d24;
  --accent-soft: rgba(232,93,36,0.18);
  --accent-glow: rgba(232,93,36,0.55);
  --serif: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
::selection { background: var(--accent-soft); color: var(--text); }
em, i { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-2); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); display: inline-block; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,93,36,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(232,93,36,0); }
}

.legal { max-width: 760px; margin: 0 auto; padding: 160px 24px 40px; }
.legal h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin: 18px 0 14px;
}
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 48px; }
.legal h2 {
  font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2;
  margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--border);
}
.legal h3 { font-size: 16px; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); border-bottom: 1px solid var(--accent); }
.legal a:hover { color: var(--accent); }

.notfound { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.notfound .btn-home {
  display: inline-block; margin-top: 28px; padding: 12px 22px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 500; border: 0;
}
.notfound .btn-home:hover { color: var(--bg); background: #fff; }
@media (max-width: 640px) { .legal { padding-top: 120px; } }
