.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
  padding-top: 3.5rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

.site-footer__brand,
.site-footer__nav > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.875rem;
}

.site-footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.site-footer__brand-mark img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0;
  font-size: 1.125rem;
}

.site-footer__brand p {
  max-width: 35rem;
  margin: 0;
  color: var(--color-muted-ink);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
}

.site-footer__play {
  align-self: flex-start;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.site-footer__nav li,
.site-footer__nav li + li {
  margin: 0;
  padding: 0;
  color: var(--color-muted-ink);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.site-footer__nav a {
  color: var(--color-muted-ink);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-emerald-deep);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-footer__bottom p {
  margin: 0;
  color: var(--color-muted-ink);
  font-size: var(--text-xs);
  line-height: var(--leading-xs);
}

.consent-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  animation: consent-enter 160ms ease both;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-hiding {
  animation: consent-leave 160ms ease both;
}

.consent-banner__inner {
  display: flex;
  width: min(100%, 62rem);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 34px rgba(22, 163, 74, 0.14);
}

.consent-banner__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.consent-banner h2,
.consent-banner p {
  margin: 0;
}

.consent-banner h2 {
  font-size: 1rem;
}

.consent-banner p {
  color: var(--color-muted-ink);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
}

.consent-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.consent-banner__actions .button {
  min-height: 2.5rem;
  white-space: nowrap;
}

@keyframes consent-enter {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes consent-leave {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(0.75rem); }
}

@media (max-width: 51.25rem) {
  .site-footer {
    padding-top: 2.75rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consent-banner__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-banner__actions {
    width: 100%;
  }

  .consent-banner__actions .button {
    flex: 1 1 0;
  }
}

@media (max-width: 30rem) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .consent-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .consent-banner__actions {
    flex-direction: column;
  }
}

ul { list-style: none !important; }
.nav-toggle { flex-direction: column; }