/* Shared legal information stays readable in both color themes. */
.site-footer .footer-legal {
  flex-basis: 100%;
  min-width: 0;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}
.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer .footer-legal p {
  max-width: 920px;
  margin: 0;
  color: #b6b3bf;
  font-size: 14px;
  line-height: 1.75;
}
.site-footer .footer-legal p + p { margin-top: 14px; }
.footer-legal a {
  color: #d6ddf3;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.footer-legal a:hover { color: var(--lime); }
.site-footer .footer-bottom { margin-top: 24px; font-size: 11px; line-height: 1.7; }
html[data-theme="light"] .site-footer .footer-legal p { color: #59677e; }
html[data-theme="light"] .footer-legal a { color: var(--blue); }
html[data-theme="light"] .footer-legal a:hover { color: var(--navy); }

@media (max-width:600px) {
  .site-footer .footer-legal { margin-top: 0; padding-top: 16px; }
  .footer-legal-links { gap: 4px 24px; margin-bottom: 14px; }
  .site-footer .footer-bottom { margin-top: 0; }
}
