/* ============================
   Footer pages (Legal)
   ============================ */

.legal-page {
  max-width: clamp(80ch, 95vw, 100ch);
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
  font-family: "Source Serif 4", "Times New Roman", Times, serif;
  color: var(--ae-tagline-color);
  font-size: 2.3rem;
  line-height: 1.7;
  font-size: 1.3em;
}


/* Titles */
.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ae-text);
}

.legal-page h1 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.9rem;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
}

.legal-page h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page p + p,
.legal-page p + ul,
.legal-page p + ol {
  margin-top: 1rem;
}

.legal-page address,
.legal-page .legal-address {
  font-size: 1.2rem;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
  font-style: normal;
}

/* links should keep tagline color */
.legal-page a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-page img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.legal-page pre {
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
  line-height: 1.4;
  font-size: 1.8rem; 
}

