/* ===== Shared styles for privacy.html and terms.html ===== */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.legal-page a.home {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--amber);
  margin-bottom: 48px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-page .effective-date {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p {
  margin-bottom: 12px;
  line-height: 1.75;
  color: #ddd5c4;
}

.legal-page ul,
.legal-page ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: #ddd5c4;
}

.legal-page a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--amber-deep);
}

.legal-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.legal-footer p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.legal-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer a:hover {
  color: var(--fg);
}

.legal-footer .footer-links {
  margin-top: 8px;
}
