/* legal.css — shared by the Privacy Policy and Terms of Service pages
   (loads after theme.css). Lives in privacy-policy/assets/css/ in source and
   lands flat in dist/assets/css/, where both templates link it.
   Plain long-form reading layout: dark page hero, white reading band. */

.legal-hero { padding-top: clamp(150px, 19vh, 210px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.legal-hero h1 { font-size: clamp(2.3rem, 4.7vw, 4rem); margin-bottom: 14px; }
.legal-hero .lead { max-width: 640px; margin: 0 auto; }
.legal-hero__updated { display: block; margin-top: 18px; color: var(--ink-dim); font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: .6px;
  margin: 2.4em 0 .6em;
  padding-top: .6em;
  border-top: 1px solid var(--line-invert);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 1.05rem; line-height: 1.4; margin: 1.6em 0 .5em; color: var(--ink-invert); }
.legal p, .legal li { line-height: 1.75; color: var(--ink-invert-dim); }
.legal p { margin: 0 0 1.1em; }
.legal ul, .legal ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.legal li { margin-bottom: .5em; }
.legal li::marker { color: var(--orange); }
.legal strong { color: var(--ink-invert); font-weight: 700; }
.legal a { color: var(--ink-invert); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal__summary {
  background: #fafafa; border: 1px solid var(--line-invert); border-radius: 14px;
  padding: 22px 26px; margin-bottom: 2.4em;
}
.legal__summary p:last-child { margin-bottom: 0; }
.legal__contact { margin-top: 2.4em; padding: 22px 26px; border-radius: 14px; background: var(--dark); color: var(--ink); }
/* Dark box inside the light band: override the .legal p/strong/a colours
   with higher specificity, or the name and link vanish into the background. */
.legal .legal__contact p { color: var(--ink-dim); }
.legal .legal__contact strong { color: var(--white); }
.legal .legal__contact a { color: var(--lime); }
.legal .legal__contact a:hover { color: var(--orange); }

@media (max-width: 480px) {
  .legal-hero { padding-top: 124px; }
  .legal__summary, .legal__contact { padding: 18px 18px; }
}
