.site-footer {
  background: var(--blue-900);
  color: var(--slate-300);
  padding: 3.5rem 1.25rem 2rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .nav__logo {
  color: var(--white);
}

/* White chip so the logo glyph's dark frame reads on the navy footer */
.site-footer .nav__logo-img {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-top: 0.5rem;
}

/* The company behind the product, and where it works from. Sits with the brand
   rather than in the bottom row, which is page furniture (copyright, terms).
   --slate-300 rather than the bottom row's --slate-500 for contrast on navy. */
.site-footer__legal {
  font-size: 0.8125rem;
  color: var(--slate-300);
  margin-top: 0.35rem;
}

.site-footer__links,
.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.site-footer__links a,
.site-footer__contact a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--gold-500);
}

.site-footer__bottom {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.site-footer__bottom a {
  color: var(--slate-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer__bottom a:hover {
  color: var(--gold-500);
}

@media (min-width: 860px) {
  .site-footer {
    padding: 4.5rem 2rem 2rem;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
