.asp-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.asp-footer__top {
  max-width: 1200px;
  margin: 0 auto 1.75rem;
  padding-inline: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
}

.asp-footer__brand {
  max-width: 26rem;
}

.asp-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.asp-footer__logo-link:focus-visible {
  outline: 2px solid #40c463;
  outline-offset: 3px;
}

.asp-footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.asp-footer__logo-text {
  display: flex;
  flex-direction: column;
}

.asp-footer__site-name {
  font-family: "Source Serif 4", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.asp-footer__subtitle {
  font-size: 0.82rem;
  color: #9ca3af;
}

.asp-footer__disclaimer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.5;
}

.asp-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.asp-footer__column {
  min-width: 0;
}

.asp-footer__heading {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.asp-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.asp-footer__list li + li {
  margin-top: 0.4rem;
}

.asp-footer__list a {
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
}

.asp-footer__list a:hover,
.asp-footer__list a:focus-visible {
  color: #a5b4fc;
  text-decoration: underline;
}

.asp-footer__list a:focus-visible {
  outline: 2px solid #40c463;
  outline-offset: 2px;
}

.asp-footer__column--badge .asp-footer__text {
  font-size: 0.85rem;
  color: #d1d5db;
}

.asp-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.asp-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.asp-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.25rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 0.9rem;
}

.asp-footer__copy {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Cookie banner */
.asp-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1200;
  pointer-events: none;
}

.asp-cookie__inner {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  pointer-events: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.asp-cookie.is-visible .asp-cookie__inner {
  transform: translateY(0);
  opacity: 1;
}

.asp-cookie__text {
  flex: 1 1 auto;
}

.asp-cookie__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.asp-cookie__description {
  font-size: 0.82rem;
  color: #d1d5db;
  margin-bottom: 0.25rem;
}

.asp-cookie__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #a5b4fc;
}

.asp-cookie__link:hover,
.asp-cookie__link:focus-visible {
  text-decoration: underline;
}

.asp-cookie__link:focus-visible {
  outline: 2px solid #40c463;
  outline-offset: 2px;
}

.asp-cookie__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.asp-cookie__button {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.asp-cookie__button--reject {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.asp-cookie__button--reject:hover,
.asp-cookie__button--reject:focus-visible {
  background: rgba(15, 23, 42, 0.9);
}

.asp-cookie__button--accept {
  background: #22c55e;
  color: #022c22;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.45);
}

.asp-cookie__button--accept:hover,
.asp-cookie__button--accept:focus-visible {
  background: #16a34a;
}

.asp-cookie__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .asp-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

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

  .asp-cookie__inner {
    margin-inline: 0.75rem;
    flex-direction: column;
  }

  .asp-cookie__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .asp-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .asp-cookie__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .asp-cookie__button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .asp-cookie__inner {
    transition: none;
  }
}