/* Shared styles for terms.html and privacy.html. Kept as its own file
   (rather than an inline <style> block) because the site's CSP is
   style-src 'self' with no 'unsafe-inline' — an inline <style> tag would
   silently get blocked and the page would render unstyled. */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.12;
  color: var(--navy);
  font-weight: 700;
}
.legal-page .updated {
  font-size: 14px;
  color: var(--secondary);
}
.legal-page section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-page h2 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}
.legal-page p, .legal-page li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-muted);
}
.legal-page ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-page a { font-weight: 700; }
.legal-page a.back { font-size: 16px; }
.legal-footer { padding-top: 40px; }
