footer .site-credit{font-size:.75rem;line-height:1.45}
footer .foot a.back-to-top{display:inline-flex;gap:.45rem;justify-content:center;align-items:center;min-height:44px;padding:.45rem 1rem;border:1px solid #657e71;border-radius:999px;color:#244c40;background:#faf7ef;text-decoration:none;font-weight:650;white-space:nowrap}
footer .foot a.back-to-top:hover{background:#244c40;color:#fff}
footer .back-to-top span[aria-hidden]{font-size:1rem;line-height:1}

/* Center the three footer elements on a single axis at every width. */
footer {padding-block:clamp(1.25rem,3vw,2rem);}
footer .wrap.foot {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;text-align:center;}
footer .wrap.foot > p {margin:0;line-height:1.45;}
footer .wrap.foot > .back-to-top {align-self:center;}
footer .wrap.site-credit {margin-block:.875rem 0;text-align:center;text-wrap:balance;}

footer nav.wrap.site-legal {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.15rem 1rem;margin: .7rem auto 0;text-align:center;font-size:.8125rem;line-height:1.35;}
footer nav.site-legal a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding-inline:.15rem;color:inherit;text-decoration:underline;text-underline-offset:.18em;}
@media(max-width:420px){footer nav.wrap.site-legal{display:grid;grid-template-columns:max-content max-content;gap:0 1.25rem;}}
