.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  align-items: center;
  gap: 34px;
}

.footer-brand .brand {
  width: max-content;
  color: var(--ink);
  font-size: 18px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-brand p { margin: 10px 0 0; }
.footer-links { gap: 18px; }
.footer-stats { margin: 0; white-space: nowrap; }
.footer-copy { white-space: nowrap; }

.legal-page {
  max-width: 820px;
  margin: 20px auto 0;
}

.legal-hero {
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.legal-hero h1 { font-size: clamp(44px, 7vw, 70px); }
.legal-hero > p:not(.legal-date) {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
}
.legal-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-page section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.legal-page section:last-child { border-bottom: 0; }
.legal-page section h2 {
  margin-bottom: 13px;
  font-size: 26px;
}
.legal-page section p,
.legal-page section li { color: #475467; }
.legal-page section a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page li + li { margin-top: 9px; }

@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-stats,
  .footer-copy {
    grid-column: 1 / -1;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-stats,
  .footer-copy { grid-column: auto; }
}
