/* Standalone styling for the legal / policy pages (Privacy, Terms, etc.) */
:root {
  --bg: #05070d;
  --bg-soft: #0b1020;
  --text: #e8ebf2;
  --muted: #9aa3b6;
  --accent: #4A6CF7;
  --border: rgba(255, 255, 255, 0.10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #131a33 0%, var(--bg) 60%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.legal-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.legal-header a.brand { display: inline-flex; align-items: center; }
.legal-header img { height: 40px; width: auto; }
.legal-header .back {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.legal-header .back:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

main.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
main.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.02em;
}
main.legal h2 {
  font-size: 1.5rem; margin: 48px 0 12px; letter-spacing: -0.01em;
  padding-top: 8px;
}
main.legal h3 { font-size: 1.15rem; margin: 28px 0 8px; color: #fff; }
main.legal p { margin: 0 0 16px; color: #d4d9e6; }
main.legal ul { margin: 0 0 20px; padding-left: 22px; color: #d4d9e6; }
main.legal li { margin: 6px 0; }
main.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
main.legal .updated {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin-bottom: 24px;
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px; text-align: center; color: var(--muted); font-size: 0.9rem;
}
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 16px; }
.legal-footer a { color: var(--muted); text-decoration: none; }
.legal-footer a:hover { color: #fff; }
