footer {
  color: rgba(249, 250, 251, 0.9);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 600px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 10%, #fed7aa 0, #f97316 40%, #7c2d12 100%);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.12), 0 18px 40px rgba(0, 0, 0, 0.7);
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}
.footer-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  letter-spacing: 0.04em;
}
.footer-lede {
  margin: 0;
  max-width: 36rem;
  color: rgba(203, 213, 225, 0.95);
  font-size: var(--text-sm);
}
.footer-cta {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-cta-label {
  font-weight: 500;
  font-size: var(--text-sm);
}
.footer-cta-note {
  font-size: var(--text-xs);
  color: rgba(148, 163, 184, 0.98);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: rgba(226, 232, 240, 0.9);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(209, 213, 219, 0.98);
}
.footer-links a:hover {
  color: #fed7aa;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding-top: var(--space-4);
}
.footer-meta-secondary {
  max-width: 32rem;
}
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  background: radial-gradient(circle at 0 0, rgba(31, 41, 55, 0.96) 0, rgba(15, 23, 42, 0.98) 52%, rgba(30, 64, 175, 0.96) 100%);
  color: #f9fafb;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.65);
}
.cookie-banner.is-visible {
  display: block;
  animation: cookie-slide-up 260ms var(--transition-base) forwards;
}
.cookie-banner.is-hiding {
  animation: cookie-slide-down 220ms var(--transition-fast) forwards;
}
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  justify-content: space-between;
}
.cookie-banner-text {
  max-width: 640px;
}
.cookie-banner-title {
  font-size: var(--text-lg);
  margin-bottom: 0.25rem;
}
.cookie-banner-description {
  margin: 0 0 0.35rem;
  font-size: var(--text-sm);
  color: rgba(226, 232, 240, 0.95);
}
.cookie-banner-link {
  font-size: var(--text-sm);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 190px;
}
.cookie-btn-reject {
  color: #e5e7eb;
}
.cookie-btn-reject:hover {
  background-color: rgba(15, 23, 42, 0.7);
}
.cookie-btn-accept {
  width: 100%;
}
@keyframes cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes cookie-slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-brand {
    flex-direction: row;
  }
  .cookie-banner-inner {
    flex-direction: column;
    gap: var(--space-3);
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    gap: var(--space-5);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-inner {
    padding-inline: var(--space-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none !important;
  }
}