/* Legal content uses the same header, paper background and outer grid. */
.legal {
 max-width:1280px;
 margin:0 auto;
 padding:30px 48px 65px;
 text-align:left;
 min-height:65vh;
}
.legal article { max-width:900px; }
.legal h1 { font-size:44px;line-height:1.1;letter-spacing:-1px;font-weight:400;margin:0 0 28px;color:#3d4935; }
.legal h2 { font-size:28px;line-height:1.25;letter-spacing:0;font-weight:400;margin:32px 0 14px;color:#3d4935; }
.legal p,.legal address,.legal li { font-size:20px;line-height:1.6; }
.legal p { margin:0 0 20px; }
.legal address { font-style:normal; }
.legal .eyebrow { margin:0 0 18px; }
.legal a { overflow-wrap:anywhere;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px; }
.legal a:is(:hover:where(html:not([data-touch-input]) *),:focus-visible) { color:#4c8c8b; }
@media(max-width:1050px){
 .legal { padding:30px 30px 50px; }
 .legal p,.legal address,.legal li { font-size:18px; }
}
@media(max-width:740px){
 main.legal { padding:25px 24px 45px;text-align:left; }
 .legal h1 { font-size:36px; }
 .legal h2 { font-size:26px; }
}

/* Legal pages keep the compact header at every scroll position. */
.legal-page .header,
.legal-page .header::after,
.legal-page .header *,
.legal-page .header *::before,
.legal-page .header *::after {
 transition: none !important;
 animation: none !important;
}

/* Compensate the compact header's clipped bottom before setting the visible gap. */
.legal-page main.legal { margin-top: -2mm; padding-top: 20px; }
@media(max-width:740px) {
  .legal-page main.legal { padding-top: 16px; }
}
