.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 32px;
  margin-top: 64px;
  padding: 40px max(24px, calc((100% - 1200px) / 2));
  align-items: start;
  border-top: 1px solid #e2e8f0;
  background: #f1f5f9;
  text-align: left;
}
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #172a46;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.site-footer .brand img {
  width: 44px;
  height: 44px;
}
.footer-brand {
  grid-row: 1 / span 3;
}
.footer-badge {
  grid-column: 2;
  justify-self: end;
}
.footer-badge img {
  display: block;
  max-width: 100%;
}
.footer-brand p {
  margin-top: 16px;
  color: #64748b;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  max-width: 600px;
}
.site-footer nav a {
  margin: 0;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}
.site-footer nav a:hover {
  color: #172a46;
}
.site-footer nav a:has(svg),
.site-footer nav a[aria-label="X"] {
  display: inline-flex;
  align-items: center;
}
.site-footer nav a svg {
  width: 18px;
  height: 18px;
}
.site-footer nav a[aria-label="X"] {
  font-size: 18px;
  line-height: 1;
}
.site-footer small {
  grid-column: 2;
  justify-self: end;
  color: #94a3b8;
}
@media (max-width: 850px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-badge,
  .site-footer small {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
}
