:root {
  --wh-shell-forest: #17241b;
  --wh-shell-moss: #6f8066;
  --wh-shell-paper: #f2efe7;
  --wh-shell-line: rgba(242, 239, 231, 0.18);
}

.wh-ecosystem-footer {
  position: relative;
  z-index: 2;
  background: var(--wh-shell-forest);
  color: var(--wh-shell-paper);
  border-top: 1px solid var(--wh-shell-line);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wh-ecosystem-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.wh-ecosystem-footer__identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wh-ecosystem-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.wh-ecosystem-footer__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.wh-ecosystem-footer__brand span {
  display: grid;
  gap: 3px;
}

.wh-ecosystem-footer__brand strong {
  font-size: 14px;
  font-weight: 650;
}

.wh-ecosystem-footer__brand small,
.wh-ecosystem-footer summary,
.wh-ecosystem-footer__meta {
  color: rgba(242, 239, 231, 0.64);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wh-ecosystem-footer details {
  margin-top: 28px;
  border-top: 1px solid var(--wh-shell-line);
  border-bottom: 1px solid var(--wh-shell-line);
}

.wh-ecosystem-footer summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
}

.wh-ecosystem-footer summary::-webkit-details-marker { display: none; }
.wh-ecosystem-footer summary::after { content: "+"; font-size: 18px; color: var(--wh-shell-paper); }
.wh-ecosystem-footer details[open] summary::after { content: "-"; }

.wh-ecosystem-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  padding: 10px 0 34px;
}

.wh-ecosystem-footer__group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.wh-ecosystem-footer__group strong {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(242, 239, 231, 0.55);
}

.wh-ecosystem-footer__group a,
.wh-ecosystem-footer__identity > a {
  color: var(--wh-shell-paper);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
}

.wh-ecosystem-footer__group a:hover,
.wh-ecosystem-footer__group a:focus-visible,
.wh-ecosystem-footer__identity > a:hover,
.wh-ecosystem-footer__identity > a:focus-visible {
  color: #d9c88a;
}

.wh-ecosystem-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

@media (max-width: 900px) {
  .wh-ecosystem-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .wh-ecosystem-footer__inner { width: min(100% - 28px, 1180px); padding: 34px 0; }
  .wh-ecosystem-footer__identity,
  .wh-ecosystem-footer__base { align-items: flex-start; flex-direction: column; }
  .wh-ecosystem-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .wh-ecosystem-footer *, .wh-ecosystem-footer *::before, .wh-ecosystem-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
