.site-footer {
  margin-top: 4rem;
  padding: 3rem 1.25rem 2rem;
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: #cbd5e1;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.site-footer__brand {
  display: grid;
  gap: 0.5rem;
}

.site-footer__lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.22);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.45), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-footer__logo img {
  display: block;
  width: 32px;
  height: 32px;
}

.site-footer__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.site-footer__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: #f1f5f9;
  max-width: 32ch;
}

.site-footer__tagline {
  margin: 0;
  color: #94a3b8;
  line-height: 1.6;
}

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

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-self: start;
}

.site-footer__column h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.site-footer__column p {
  margin: 0;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 48ch;
  font-size: 0.875rem;
}

.site-footer a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #93c5fd;
}

.site-footer__kofi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  background: #FF5E5B;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.site-footer__kofi:hover,
.site-footer__kofi:focus-visible {
  background: #e54e4b;
  color: #fff !important;
}

.site-footer__acknowledgement {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.site-footer__acknowledgement p {
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

.site-footer__acknowledgement strong {
  color: #cbd5e1;
  font-weight: 600;
}

.site-footer__muted {
  color: #64748b;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
  }

  .site-footer__brand {
    grid-column: 1 / 2;
  }

  .site-footer__grid {
    grid-column: 2 / 3;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer__acknowledgement {
    grid-column: 1 / -1;
  }
}
