/* ── Legal pages (Terms, Privacy) ─────────────────────────────────────────
   Typography-focused. Long-form readable layout shared by /terms.html and
   /privacy.html. Inherits the marketing site palette + nav/footer from
   site.css; this file just controls the document body. */

.legal-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.legal-hero h1 {
  font-family: 'Bungee', 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
}

.legal-hero__sub {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  margin: 0;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  line-height: 1.7;
  font-size: 1rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  scroll-margin-top: 80px;
}

.legal-content h2 .legal-anchor-num {
  color: var(--text-muted, #94a3b8);
  margin-right: 0.5em;
  font-weight: 500;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent, #4ade80);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong { font-weight: 700; }

/* Important notice callout — bright border, no scroll-by-blindness */
.legal-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(251, 191, 36, 0.08);
  border-left: 4px solid #fbbf24;
  border-radius: 6px;
}

.legal-callout strong { color: #fbbf24; }

/* Caps disclaimer blocks (warranties, liability) — reduce shouting on screen */
.legal-content .caps-block {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
}

/* Table of contents at top — quick jump to a section */
.legal-toc {
  margin: 1.5rem 0 2.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-toc__title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted, #94a3b8);
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
}

.legal-toc li { margin-bottom: 0.2rem; }

/* Footer note — last-updated reminder at the very bottom */
.legal-footer-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  text-align: center;
}

@media (max-width: 600px) {
  .legal-hero        { padding: 2.5rem 1rem 1.5rem; }
  .legal-content     { padding: 1.5rem 1.25rem 3rem; }
  .legal-content h2  { font-size: 1.25rem; }
}
