/* Keep legal links separate from service and information links. */
footer .footer-grid:has(.footer-legal){grid-template-columns:1.2fr 1fr 1fr .9fr;gap:32px}
footer .footer-legal{min-width:0}
footer .footer-legal a,footer .footer-legal .evidence-cookie-settings{display:block;margin:9px 0;line-height:1.6;text-align:left}
@media(min-width:801px) and (max-width:1100px){footer .footer-grid:has(.footer-legal){grid-template-columns:repeat(2,minmax(0,1fr))}footer .footer-grid:has(.footer-legal)>div:first-child{grid-column:auto}}
@media(max-width:800px){footer .footer-grid:has(.footer-legal){grid-template-columns:minmax(0,1fr);gap:28px}}

/* Standalone public pages use the same footer as the marketing pages. */
.site-footer{background:#111!important;color:#D8D1CB!important;padding:48px 0 28px!important;font-family:Satoshi,Arial,sans-serif;font-size:15px;text-align:left!important}
.site-footer .wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.site-footer .footer-grid{display:grid;align-items:start;grid-template-columns:1.2fr 1fr 1fr .9fr;gap:32px}
.site-footer .footer-grid>div{min-width:0}
.site-footer .brand-logo{display:block;width:156px;height:auto;content:url('/evidence-logo-light.svg?v=20261017-new')}
.site-footer h4{font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:#aaa;margin:16px 0 22px;line-height:1.5}
.site-footer .footer-grid a{display:block;margin:9px 0;color:#D8D1CB;text-decoration:none;line-height:1.6;overflow-wrap:anywhere}
.site-footer .footer-grid p{font-size:15px;line-height:1.65;color:#D8D1CB;margin-top:24px}
.site-footer .footer-grid a:hover{text-decoration:underline;text-decoration-color:#E3562B;text-underline-offset:5px}
.site-footer .bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid #ffffff30;margin-top:40px;padding-top:22px;font-size:13px;line-height:1.65;color:#D8D1CB}
.site-footer :is(a,button):focus-visible{outline:3px solid #E3562B;outline-offset:4px}
@media(min-width:801px) and (max-width:1100px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-grid>div:first-child{grid-column:auto}}
@media(max-width:800px){.site-footer .wrap{width:calc(100% - 36px)}.site-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:24px}.site-footer .bottom{flex-direction:column;gap:12px}.site-footer h4{margin-top:0;margin-bottom:16px}}

/* Social links below the brand, with a generous keyboard/touch target. */
.site-footer .footer-social{display:flex;gap:12px;margin-top:22px}.site-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;min-height:50px;margin:0;border:1px solid #ffffff26;border-radius:16px;background:#ffffff08;color:#fff;line-height:1;text-decoration:none;transition:background-color .18s,border-color .18s}.site-footer .footer-social a:hover{background:#E3562B;border-color:#E3562B;color:#fff;text-decoration:none}.site-footer .footer-social svg{display:block;width:24px;height:24px}
