/*
 * Site footer (structure). A brand line, up to four link columns, a settings
 * row for host controls (theme switch, motion toggle) and the small print.
 * No box, no fill: it sits on the page stage. Colours in site-footer.tokens.css.
 */
.sp-site-footer { padding: var(--sp-site-footer-pad, 72px 24px 40px); color: var(--sp-site-footer-ink); font-size: 15px; }
.sp-site-footer__inner { max-width: var(--sp-site-footer-shell, 1200px); margin: 0 auto; display: grid; gap: 48px; }
.sp-site-footer__top { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr)); gap: 40px; }
.sp-site-footer__brand { display: grid; gap: 14px; align-content: start; }
.sp-site-footer__brand a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; font-size: 17px; }
.sp-site-footer__brand img { width: 32px; height: 32px; }
.sp-site-footer__tag { margin: 0; color: var(--sp-site-footer-muted); max-width: 26em; line-height: 1.5; }
.sp-site-footer__col h2 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sp-site-footer-faint); }
.sp-site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-site-footer__col a { color: var(--sp-site-footer-muted); text-decoration: none; transition: color 150ms cubic-bezier(0.22, 1, 0.36, 1); }
.sp-site-footer__col a:hover { color: var(--sp-site-footer-ink); }
.sp-site-footer__settings { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding-top: 24px; border-top: 1px solid var(--sp-site-footer-rule); }
.sp-site-footer__setting { display: inline-flex; align-items: center; gap: 10px; color: var(--sp-site-footer-muted); font-size: 14px; }
.sp-site-footer__fine { margin: 0; font-size: 13px; color: var(--sp-site-footer-faint); line-height: 1.6; }
.sp-site-footer a:focus-visible { outline: 2px solid var(--sp-site-footer-focus); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 600px) { .sp-site-footer__top { grid-template-columns: 1fr 1fr; } .sp-site-footer__brand { grid-column: 1 / -1; } }
