.site-footer {
  background: #101010;
  color: #fff;
  padding: 40px 0 26px;
}
.footer-inner { width: 91.9%; max-width: 1600px; margin-inline: auto; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  white-space: nowrap;
}
.footer-mark { display: block; width: 34px; height: 34px; flex-shrink: 0; border: 11px solid currentColor; }
.footer-nav, .footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; }
.footer-nav { font-size: 16px; line-height: 1.5; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid #383838; }
.footer-copyright { margin: 0; color: #bdbdbd; font-size: 14px; line-height: 1.6; }
.footer-legal { font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; }
.footer-nav a, .footer-legal a { position: relative; display: inline-block; padding-block: 6px; }
.footer-nav a::after, .footer-legal a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.65, 0, 1, 1);
}
.footer-nav a:hover::after, .footer-legal a:hover::after,
.footer-nav a:focus-visible::after, .footer-legal a:focus-visible::after { transform: scaleX(1); }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 800px) {
  .footer-inner { width: 88%; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-nav { gap: 4px 28px; }
  .footer-nav a, .footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 520px) {
  .site-footer { padding-block: 32px 24px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 24px; }
  .footer-nav a { justify-self: start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; padding-top: 16px; }
  .footer-legal { order: -1; gap: 28px; }
  .footer-copyright { max-width: 100%; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-nav a::after, .footer-legal a::after { transition: none; }
}
