/* SDH membership notices. Existing site tokens, fonts and components are reused. */
.signup-legal-notice,.profile-contact-notice{font-size:.78rem;line-height:1.95;color:var(--muted);overflow-wrap:anywhere}
.signup-legal-notice{margin:2px 0 8px}
.signup-legal-notice a,.profile-contact-notice a,.account-legal-links a,.legal-page a:not(.button){color:var(--brand);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.signup-legal-notice a:focus-visible,.profile-contact-notice a:focus-visible,.account-legal-links a:focus-visible,.legal-page a:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:2px}
.account-legal-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;font-size:.8rem}
.profile-contact-notice{max-width:680px;margin:22px auto 0;padding:16px 0 0;border-top:1px solid var(--line);text-align:center}
.profile-contact-notice a{white-space:nowrap}
.legal-page{padding-block:64px 80px;max-width:960px}
.legal-page-header{max-width:780px;margin-bottom:34px}
.legal-page h1{font-size:clamp(2rem,3.4vw,3rem);line-height:1.35;margin-bottom:18px}
.legal-page .legal-date{font-size:.78rem;margin-bottom:18px}
.legal-page .legal-intro{font-size:1rem;line-height:1.95}
.legal-switch{display:flex;flex-wrap:wrap;gap:14px 24px;font-size:.875rem;margin-top:24px}
.legal-content{padding:32px 36px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.legal-section{scroll-margin-top:130px}
.legal-section+.legal-section{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.legal-content h2{font-size:1.08rem;line-height:1.75;letter-spacing:normal;margin-bottom:10px}
.legal-content p{font-size:.9rem;line-height:2;max-width:none;margin-bottom:12px}
.legal-content p:last-child{margin-bottom:0}
.legal-page-footer{margin:26px 0 0;font-size:.86rem;line-height:1.9}
html[lang=ar] .legal-page h1{font-size:clamp(1.5rem,2.8vw,2.25rem);line-height:1.8}
html[lang=ar] .legal-content h2{font-size:1rem;line-height:1.9}
html[lang=ar] .legal-content p{font-size:.84rem;line-height:2.2}
html[lang=ar] .signup-legal-notice,html[lang=ar] .profile-contact-notice{font-size:.74rem;line-height:2.05}
@media(max-width:640px){
 .legal-page{padding-block:34px 48px}
 .legal-content{padding:24px 20px;border-radius:18px}
 .legal-page-header{margin-bottom:24px}
 .legal-page .legal-intro{font-size:.9rem}
 .profile-contact-notice{margin-top:18px;padding-top:14px}
}
