.site-footer { padding-block: 28px 22px; }
.site-footer .footer-clean { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 36px; }
.site-footer .footer-legal {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.site-footer .footer-legal p { margin: 0; }
.site-footer .footer-legal nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.site-footer .footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.site-footer .footer-legal a:hover { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-soft); }
.site-footer .footer-legal .footer-disclaimer {
  flex: 0 0 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}
@media (max-width: 640px) {
  .site-footer .footer-clean { gap: 18px; }
  .site-footer .footer-legal { gap: 12px; padding-top: 18px; }
  .site-footer .footer-legal nav { gap: 8px; }
}
