/* ============================================================
   Moonpath — legal pages (privacy / terms / children-privacy)
   Same navy/cream palette as the splash, but reading-optimized.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.legal {
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 500;
  color: #1f2937;
  background: #fffdf7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
/* Article link underline — scoped so the site-nav / site-footer
   links (which have their own styling) aren't dragged along. */
body.legal .legal__page a { color: #1c2a5e; text-decoration: underline; text-underline-offset: 2px; }
body.legal .legal__page a:hover { color: #0f1c4a; }

/* Footer background — body.legal sets a warm cream; .page--light
   .site-footer is pure white, so without this override the cream
   body and white footer would meet on a visible seam. */
body.legal .site-footer { background: #fffdf7; }
body.legal img { max-width: 100%; display: block; }
body.legal code {
  background: rgba(15, 28, 74, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ── Page content ── */
.legal__page {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 80px;
}
.legal__page h1 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f1c4a;
}
.legal__date {
  margin: 0 0 28px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.legal__page h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f1c4a;
}
.legal__page h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #1f2937;
}
.legal__page p {
  margin: 0 0 16px;
  font-size: 16px;
  color: #374151;
}
.legal__page ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #374151;
}
.legal__page ul li {
  margin-bottom: 8px;
  font-size: 16px;
}
.legal__page strong { font-weight: 800; color: #1f2937; }
