/* Compact, accessible site footer shared across every public page. */
.site-footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  color: #cbd5e1;
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer__brand { max-width: 22rem; }

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.site-footer__mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .625rem;
  background: #f59e0b;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer__logo em { color: #fbbf24; font-style: normal; }

.site-footer__description {
  margin: .875rem 0 0;
  color: #cbd5e1;
  font-size: .9375rem;
  line-height: 1.55;
}

.site-footer__note {
  margin: .5rem 0 0;
  color: #94a3b8;
  font-size: .8125rem;
}

.site-footer__heading {
  margin: 0 0 .875rem;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-footer__list,
.site-footer__contact {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: #e2e8f0;
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer__link:hover { color: #fbbf24; }

.site-footer__link:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
  border-radius: .25rem;
}

.site-footer__contact-link { color: #fff; font-weight: 700; }
.site-footer__contact-link:hover { color: #fbbf24; }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
  font-size: .8125rem;
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.site-footer__legal .site-footer__link { min-height: 1.5rem; color: #cbd5e1; font-size: .8125rem; }

@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 639px) {
  .site-footer__inner { padding: 2.5rem 1.25rem 5.75rem; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .site-footer__brand,
  .site-footer__grid > section:last-child { grid-column: 1 / -1; }
}
