.site-footer {
  align-items: flex-start;
  gap: 28px;
  padding: 30px 0 38px;
}

.footer-company {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 7px;
  line-height: 1.45;
}

.footer-company strong { color: var(--ink); }

.footer-links {
  display: flex;
  flex: 1 1 620px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-connection { flex: 0 0 auto; }

@media (max-width: 720px) {
  .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  .footer-company,
  .footer-links { flex-basis: auto; }
  .footer-links { justify-content: flex-start; }
  .footer-connection { order: 3; }
}
