/* V21 — shared start-page stylesheet supplies header, logo, navigation,
   button, footer, base font and breakpoints. Legal-specific layout only. */
.legal-page .site-build-notice p{color:inherit;margin:0}
.legal-page .site-build-notice-icon{display:none}
.legal-page .hero-section{background:linear-gradient(115deg,#fff 6%,#f4faff 50%,#e5f3fc 100%);padding:40px 0}
.legal-page .legal-hero-grid{display:flex;justify-content:space-between;align-items:center;gap:20px}
.legal-page .legal-hero-copy{min-width:0;max-width:100%}
/* Page titles use the start-page section-heading hierarchy, not its promotional display headline. */
.legal-page .legal-hero-copy h1{font-size:clamp(34px,4vw,50px);line-height:1.14;font-weight:630;letter-spacing:-.055em;overflow-wrap:anywhere}
.legal-page .hero-text{font-size:16px;line-height:1.7;margin-top:16px;max-width:650px}
.legal-page .hero-logo-wrap{flex:none;width:100px}
.legal-page .hero-logo-wrap img{width:100%;height:auto}
.legal-page .content-shell{background:#f3f8fc;padding:35px 0 60px}
.legal-page .legal-card{background:white;border:1px solid var(--line);border-radius:16px;padding:clamp(18px,4vw,45px);overflow-wrap:anywhere;font-size:16px;line-height:1.65}
.legal-page .stand{font-size:14px;line-height:1.65;margin-bottom:12px}
.legal-page .notice-box{background:#e8f4fb;padding:15px;border:1px solid #bed7e8;border-radius:12px;font-size:14px;line-height:1.65}
.legal-page .legal-section{padding:20px 0;border-bottom:1px solid var(--line)}
.legal-page .legal-section h2{font-size:25px;line-height:1.3;letter-spacing:-.045em;font-weight:630;margin-bottom:12px}
.legal-page .legal-section p{font-size:16px;line-height:1.65;margin:10px 0}
.legal-page .legal-section li{font-size:16px;line-height:1.65;color:var(--sub)}
.legal-page .legal-section ul,.legal-page .legal-section ol{padding-left:20px;margin:10px 0}
.legal-page .legal-section a{color:#0055bd;text-decoration:underline;text-underline-offset:2px}
.legal-page .bottom-actions{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}
.legal-page .bottom-actions a{font-size:14px;font-weight:700;color:#174c84}
.legal-page .bottom-actions a:hover{text-decoration:underline}
.legal-page .footer-inner{margin-top:0;border-top:0;padding-top:0}
@media(max-width:950px){.legal-page .legal-section h2{font-size:22px}}
@media(max-width:760px){.legal-page .hero-section{padding:30px 0}.legal-page .hero-logo-wrap{width:66px}.legal-page .legal-hero-copy h1{font-size:clamp(36px,9vw,50px)}.legal-page .hero-text{font-size:16px}.legal-page .legal-section p,.legal-page .legal-section li{font-size:15px}.legal-page .content-shell{padding:24px 0 40px}.legal-page .legal-hero-grid{gap:10px}.legal-page .footer-inner .footer-links{flex-wrap:wrap}}
@media(max-width:420px){.legal-page .hero-logo-wrap{display:none}}

/* V22: align the decorative S with the center of the shared contact button. */
@media(min-width:761px){
  .legal-page .hero-logo-wrap{margin-inline-end:calc(var(--contact-inset) + (var(--contact-button-width) - 100px)/2)}
}

/* V40: center only the legal-page introductory heading group on desktop. */
@media (min-width: 761px) {
  .legal-page .legal-hero-grid { justify-content: center; }
  .legal-page .legal-hero-copy { text-align: center; }
  .legal-page .legal-hero-copy .eyebrow { justify-content: center; }
  .legal-page .legal-hero-copy .hero-text { margin-inline: auto; }
}

/* V42 – Same mobile type scale and gutters for legal pages. */
@media (max-width:760px){
  .legal-page .hero-section{padding:30px 0}
  .legal-page .legal-hero-copy h1{font-size:clamp(30px,8vw,38px);line-height:1.15;letter-spacing:-.04em;hyphens:auto}
  .legal-page .hero-text{font-size:16px;line-height:1.6;margin-top:14px}
  .legal-page .legal-card{padding:16px;border-radius:15px}
  .legal-page .legal-section h2{font-size:23px;line-height:1.3}
  .legal-page .legal-section p,.legal-page .legal-section li{font-size:16px;line-height:1.6}
  .legal-page .bottom-actions a{display:inline-flex;align-items:center;min-height:44px}
}

/* V54: intentional mobile compound-word breaks, desktop text unchanged. */
.legal-page .mobile-title-hyphen { display: none; }
@media (max-width:760px) {
  .legal-page .legal-hero-copy h1.mobile-title-break { hyphens: none; overflow-wrap: normal; word-break: normal; }
  .legal-page .mobile-title-hyphen { display: inline; }
  .legal-page .mobile-title-tail { display: block; }
}
@media (max-width:340px) {
  .legal-page .legal-hero-copy h1.mobile-title-break--agb { font-size: 28px; }
}
