/* Shared by the home and Open Math Model pages. */
.site-footer{--ink:#1C1325;--ink-hover:#30253B;--ink-2:#514B57;--ink-3:#78717F;--line:#ebe6f0;--plum:#7a3a78;--tint:#faf8fc;background:#fff}
.footer-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding-block:28px;border-top:1px solid var(--line)}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand strong{display:block;font-size:20px;font-weight:500;letter-spacing:.035em;color:var(--ink);white-space:nowrap}
.footer-brand .mark{width:40px;height:40px}
.footer-links{display:flex;flex-wrap:wrap;gap:6px 22px}
.footer-links a{transition:color .15s ease,text-decoration-color .15s ease;font-size:14px;color:var(--ink-2);text-decoration:none}
.footer-links a:hover{color:var(--ink-hover);text-decoration:underline;text-underline-offset:3px}
.footer-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding-bottom:36px;font-size:13px;color:var(--ink-3)}
.footer-legal p{margin:0}
.social{display:flex;align-items:center;gap:8px}
.social-label{margin-right:6px;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.social a{width:36px;height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:0;color:var(--ink-2);transition:color .15s,border-color .15s,background-color .15s}
.social a:hover{color:var(--ink-hover);border-color:#cdbfd8;background:var(--tint)}
.social svg{width:16px;height:16px;fill:currentColor}
.social a[title="Zulip"] svg{width:14px;height:14px}
.social a[title="YouTube"] svg{width:22px;height:22px}
@media(max-width:767px){
  .social a{width:44px;height:44px}
  .footer-links a{display:inline-flex;align-items:center;min-height:44px}
  .footer-brand{gap:8px}
  .footer-brand .mark{width:34px;height:34px}
}
@media(max-width:560px){
  .site-footer{--gutter:16px}
  .social{flex-wrap:wrap}
  .social-label{flex-basis:100%;margin:0 0 4px}
}
@media(max-width:480px){.site-footer{--gutter:20px}}
