/* Shared static legal links; deliberately scoped to the new footer section. */
footer .footer-legal {
  width: min(1200px, 100%);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(240,242,255,.1);
}
footer .footer-legal-heading {
  display: block;
  margin-bottom: 12px;
  color: #a78bfa;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
footer .footer-legal-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 24px;
}
footer .footer-legal-links a {
  display: block;
  padding: 6px 0;
  color: #b8c0db;
  font-size: .8rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
footer .footer-legal-links a:hover { color: #f0f2ff; text-decoration: underline; text-underline-offset: 4px; }
footer .footer-legal-links a:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; border-radius: 3px; }
.site-shared-footer .footer-legal { width: min(1200px, calc(100% - 48px)); }
@media (max-width: 900px) {
  footer .footer-legal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  footer .footer-legal-links { grid-template-columns: 1fr; }
  .site-shared-footer .footer-legal { width: calc(100% - 32px); }
}
