/* Canonical site footer. The homepage is the visual source of truth. */
.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #121212;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
}

.seo-brand svg {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #3847fe;
}

.seo-brand span { display: block; line-height: 1; }

.seo-footer {
  overflow: hidden;
  margin-top: 110px;
  border-top: 1px solid #e5e5e8;
  background: #fff;
}

.seo-footer-inner {
  display: grid;
  width: min(1060px, calc(100% - 40px));
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 30px;
  margin-inline: auto;
  padding: 80px 0;
}

.seo-footer .seo-footer-inner h3 {
  margin: 0 0 6px;
  color: #121212;
  font-family: "Geist Variable", Geist, "Inter Variable", Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.5;
}

.seo-footer a,
.seo-footer p {
  display: block;
  margin: 8px 0;
  color: #616161;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.seo-footer .seo-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  color: #121212;
}

.seo-footer .seo-brand:hover { color: #616161; }
.seo-footer a:not(.seo-brand) { transition: color 160ms ease; }
.seo-footer a:not(.seo-brand):hover { color: #121212; }

.seo-footer a:not(.seo-brand):focus-visible {
  border-radius: 3px;
  outline: 2px solid #3847fe;
  outline-offset: 4px;
}

.seo-social { display: flex; gap: 8px; margin: 16px 0 0; }

.seo-footer .seo-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid #e5e5e8;
  border-radius: 9px;
  color: #616161;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms cubic-bezier(.23, 1, .32, 1);
}

.seo-footer .seo-social a:hover {
  border-color: #c8c8d0;
  background: #f6f6f8;
  color: #121212;
}

.seo-footer .seo-social a:active { transform: scale(.96); }
.seo-social svg { display: block; width: 16px; height: 16px; }

@media (max-width: 850px) {
  .seo-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .seo-footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-footer a:not(.seo-brand) { transition-duration: .01ms; }
}
