/* Privacy Policy — legal/prose typography.
 *
 * The global reset zeroes ul/ol padding and heading/p margins; base.css's
 * .prose only styles <p>. Without these rules list bullets render outside the
 * zero-padding content box (sitting to the LEFT of / overlapping the section
 * headings) and headings jam against the paragraph above. These rules restore
 * a readable, well-spaced legal document: spaced headings and lists correctly
 * indented UNDER their heading. Scoped to .legal-prose so nothing else moves. */

.legal-prose {
  --legal-gap: clamp(1.6rem, 3vw, 2.4rem);
}

/* Tighter than a default section: the title shares the narrow content column
   (aligned left edges) and sits close to the copy below. */
.legal-page.section { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(48px, 6vw, 88px); }

/* Title: sized well down from the full-bleed banner scale, snug to the content. */
.legal-prose .legal-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.06;
  margin: 0 0 0.7em;
}
.legal-prose .legal-updated { margin: -0.35em 0 1.4em; font-size: 0.9rem; }

/* Intro paragraph (right after the title) reads a touch larger, like a lede. */
.legal-prose > .legal-title + p,
.legal-prose > .legal-updated + p {
  font-size: 1.08rem;
  color: var(--ink-2);
}

/* Section headings: clear space above, snug to their own content below. */
.legal-prose h2 {
  margin: var(--legal-gap) 0 0.5em;
  font-size: 1.5rem;
  line-height: 1.2;
}

.legal-prose h3 {
  margin: 1.4rem 0 0.4em;
  font-size: 1.12rem;
}

.legal-prose p {
  margin: 0 0 1.05em;
  line-height: 1.65;
}

/* The actual bug fix: give lists interior indentation so markers sit UNDER the
   heading, not beside it, and keep bullets inside the content box. */
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 1.15em;
  padding-left: 1.4em;
  list-style-position: outside;
}

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

.legal-prose li {
  margin: 0 0 0.5em;
  line-height: 1.6;
  padding-left: 0.25em;
}

.legal-prose li:last-child { margin-bottom: 0; }

/* Inline links inside the policy stay legible and underlined. */
.legal-prose a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Light divider between major sections for scannability. */
.legal-prose h2 + p,
.legal-prose h2 + ul {
  margin-top: 0;
}
