/* Sofi Patient Manager legal pages & footer links · 0.7.7 */
.spm-legal, .spm-legal * { box-sizing: border-box; }
.spm-legal { --sl-ink:#2b2724; --sl-muted:#6f665d; --sl-line:#e4d8c9; --sl-pink:#e83d9b; --sl-sage:#748650; max-width:1100px; margin:0 auto; padding:clamp(20px,4vw,64px) clamp(18px,4vw,32px) 64px; color:var(--sl-ink); font-family:Inter,Arial,sans-serif; line-height:1.7; }
.spm-legal__hero { padding:clamp(26px,5vw,56px); border:1px solid var(--sl-line); border-radius:clamp(18px,3vw,32px); background:radial-gradient(circle at 90% 0%,rgba(232,61,155,.10),transparent 38%),linear-gradient(140deg,#fffdfa,#f8f2eb); }
.spm-legal__eyebrow { display:inline-block; margin:0 0 18px; font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--sl-sage); font-weight:800; }
.spm-legal .spm-legal__hero h1 { font-size:clamp(2rem,5.5vw,3.65rem); line-height:1.07; letter-spacing:-.045em; margin:0 0 20px; color:var(--sl-ink); font-weight:800; }
.spm-legal__intro { color:var(--sl-muted); font-size:clamp(1.02rem,1.7vw,1.18rem); max-width:740px; margin:0 0 20px; }
.spm-legal__updated { margin:0; color:var(--sl-muted); font-size:.86rem; }
.spm-legal__toc { display:flex; flex-wrap:wrap; align-items:center; gap:9px 12px; margin:22px 0 44px; }
.spm-legal__toc strong { font-size:.82rem; margin-right:9px; }
.spm-legal .spm-legal__toc a { display:inline-flex; color:var(--sl-ink); background:#fff; padding:7px 12px; border-radius:100px; border:1px solid var(--sl-line); font-size:.79rem; text-decoration:none; }
.spm-legal .spm-legal__toc a:hover { color:var(--sl-pink); border-color:var(--sl-pink); }
.spm-legal__body { max-width:830px; margin:0 auto; }
.spm-legal__body section { padding:0 0 24px; margin:0 0 32px; border-bottom:1px solid var(--sl-line); scroll-margin-top:110px; }
.spm-legal .spm-legal__body h2 { font-size:clamp(1.25rem,2.2vw,1.65rem); line-height:1.25; letter-spacing:-.025em; margin:0 0 13px; font-weight:800; color:var(--sl-ink); }
.spm-legal__body p { margin:0 0 16px; color:var(--sl-muted); line-height:1.78; }
.spm-legal__body strong { color:var(--sl-ink); font-weight:700; }
.spm-legal__body ul { margin:0 0 18px; padding-left:24px; color:var(--sl-muted); }
.spm-legal__body li { margin-bottom:8px; }
.spm-legal a:not(.spm-legal__button) { color:#b72671; text-underline-offset:3px; }
.spm-legal a:focus-visible, .spm-legal-footer a:focus-visible { outline:3px solid var(--sl-pink,#e83d9b); outline-offset:3px; }
.spm-legal .spm-legal__contact { border:1px solid #decfc1; background:#fffaf4; border-radius:24px; padding:clamp(22px,4vw,36px); margin-top:40px; }
.spm-legal .spm-legal__button { display:inline-flex; align-items:center; justify-content:center; background:var(--sl-pink); color:#fff; border-radius:100px; padding:12px 22px; min-height:44px; font-weight:750; text-decoration:none; }
.spm-legal .spm-legal__button:hover { background:#cf2f85; color:#fff; }
.spm-legal__crosslink { text-align:center; font-size:.94rem; margin:28px 0 0; }
.spm-legal-footer { font:500 13px/1.5 Inter,Arial,sans-serif; padding:14px 20px; border-top:1px solid rgba(255,255,255,.09); background:#191716; color:rgba(255,250,244,.72); }
.spm-legal-footer__inner { width:min(100%,1180px); margin-inline:auto; display:flex; gap:12px 20px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.spm-legal-footer__links { display:flex; gap:10px 18px; flex-wrap:wrap; }
.spm-legal-footer a { text-decoration:none; color:#fcebf4; }
.spm-legal-footer a:hover { text-decoration:underline; }
.sofi-pm__legal-consent { display:flex; align-items:flex-start; gap:10px; font-size:.82rem; line-height:1.5; padding:9px 0 14px; color:#645d55; }
.sofi-pm__legal-consent input { flex:none; margin-top:3px; width:18px; height:18px; accent-color:#e83d9b; }
.sofi-pm__legal-consent a { color:#c82c82; text-decoration:underline; }
@media (max-width:640px) { .spm-legal { padding:16px 16px 44px; } .spm-legal__toc { margin-bottom:28px; } .spm-legal-footer__inner { justify-content:center; text-align:center; } }

.sofi-staff__legal-text {margin:16px 0 0;font-size:.8rem;color:#6f665d;line-height:1.6;}
.sofi-staff__legal-text a {color:#cf2f85;text-decoration:underline;}
