/* ===========================
   LEGAL FOOTER (TERMS / PRIVACY / COOKIES)
   =========================== */
:root {
  color-scheme: light dark;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial;
  line-height: 1.6;
  background: #0b1020;
  color: #e5e7eb;
}
header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid #1f2a44;
  background: #0f172a;
  position: sticky;
  top: 0;
}
header a {
  color: #93c5fd;
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.doc h1,
.doc h2,
.doc h3 {
  line-height: 1.25;
  margin-top: 2rem;
}
.doc h1 {
  font-size: 2rem;
}
.doc h2 {
  font-size: 1.5rem;
}
.doc h3 {
  font-size: 1.2rem;
}
.doc p,
.doc li {
  font-size: 1rem;
}
.doc code {
  background: #111827;
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
}
.doc pre {
  background: #111827;
  padding: 1rem;
  border-radius: 0.75rem;
  overflow: auto;
}
.muted {
  opacity: 0.7;
}
.legal-footer {
  margin-top: 64px;
  padding: 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

.legal-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.legal-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.legal-footer__nav a:hover {
  text-decoration: underline;
}

.legal-footer__sep {
  opacity: 0.4;
}

.legal-footer__copy {
  font-size: 13px;
  opacity: 0.6;
}

/* Mobile */
@media (max-width: 480px) {
  .legal-footer {
    margin-top: 48px;
    font-size: 13px;
  }

  .legal-footer__nav {
    gap: 4px;
  }
}
