/* ============================================================
   LEGAL PAGES — privacy policy, terms & conditions
   Long-form prose. Pairs with .page-header in css/style.css.

   The global reset kills list markers (ul, ol { list-style: none })
   and link affordances (a { text-decoration: none; color: inherit }),
   so both are restored here, scoped to .legal-prose.
   ============================================================ */

.legal {
  padding-block: clamp(4rem, 8vw, 6rem);
  padding-inline: var(--pad-x);
  background-color: var(--cream);
}

.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Intro / "last updated" line ------------------------------- */
.legal__updated {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.55);
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(13, 44, 108, 0.12);
}

/* Prose ----------------------------------------------------- */
.legal-prose {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(44, 44, 44, 0.9);
}

.legal-prose > *:first-child { margin-top: 0; }
.legal-prose > *:last-child { margin-bottom: 0; }

.legal-prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  color: var(--royal-blue);
  margin: 3rem 0 1rem;
}

.legal-prose h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--royal-blue);
  margin: 2rem 0 0.75rem;
}

.legal-prose p {
  margin: 0 0 1.25rem;
}

.legal-prose strong {
  font-weight: 600;
  color: var(--text);
}

/* Restore list markers killed by the global reset ------------ */
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.legal-prose ul { list-style: disc; }
.legal-prose ol { list-style: decimal; }

.legal-prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.legal-prose li::marker { color: var(--candle-gold); }

/* Restore link affordances killed by the global reset -------- */
.legal-prose a {
  color: var(--royal-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(13, 44, 108, 0.35);
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}

.legal-prose a:hover {
  color: var(--candle-gold);
  text-decoration-color: var(--candle-gold);
}

/* Address block --------------------------------------------- */
.legal-prose address {
  font-style: normal;
  margin: 0 0 1.25rem;
}

/* Contact callout ------------------------------------------- */
.legal-callout {
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background-color: #fff;
  border: 1px solid rgba(13, 44, 108, 0.1);
  border-radius: 20px;
}

.legal-callout__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--royal-blue);
  margin: 0 0 0.75rem;
}

.legal-callout p { margin: 0 0 0.5rem; }
.legal-callout p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .legal-prose { font-size: 0.95rem; }
  .legal-prose h2 { margin-top: 2.25rem; }
}
