.footer-shell {
  border-top: var(--border-width-thin) solid var(--color-border-subtle);
  background-color: #ffffff;
  margin-top: var(--space-3xl);
}
.footer-shell__inner {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: var(--grid-gap-xl);
  align-items: flex-start;
}
.footer-shell__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.footer-shell__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 30rem;
}
.footer-shell__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}
.footer-shell__meta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
.footer-shell__nav {
  display: flex;
  justify-content: flex-end;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}
.footer-nav__group-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  margin-bottom: var(--space-xs);
}
.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-xs);
}
.footer-nav__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-nav__link:hover,
.footer-nav__link:focus-visible {
  color: var(--color-text);
}
.footer-shell__bottom {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-top: var(--border-width-thin) solid var(--color-border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
.cookie-banner {
  position: fixed;
  inset: auto var(--space-xl) var(--space-xl) var(--space-xl);
  z-index: var(--z-overlay);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: var(--border-width-thin) solid var(--color-border-subtle);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-crisp);
}
.cookie-banner__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-md);
}
.cookie-banner__description {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.cookie-banner__link {
  font-size: var(--text-xs);
  color: var(--color-accent-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-end;
}
.cookie-banner__button {
  flex: 0 0 auto;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner--visible {
  animation: cookie-banner-fade-in 220ms var(--transition-base) forwards;
}
.cookie-banner--hiding {
  animation: cookie-banner-fade-out 200ms var(--transition-base) forwards;
}
@keyframes cookie-banner-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cookie-banner-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (max-width: 1023.98px) {
  .footer-shell__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-shell__nav {
    justify-content: flex-start;
  }
}
@media (max-width: 767.98px) {
  .footer-shell__inner {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
  }
  .footer-shell__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner {
    inset: auto var(--space-lg) var(--space-lg) var(--space-lg);
    max-width: none;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__button {
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    inset: auto var(--space-md) var(--space-md) var(--space-md);
  }
}
