/* ENITA footer theme: close every page on the same soft-white editorial canvas. */
.site-footer,
.site-shell .site-footer {
  background: var(--paper, #fafaf8);
  border-color: var(--line, rgba(24, 25, 24, 0.15));
  color: var(--muted, rgba(24, 25, 24, 0.68));
}

.site-footer .footer-brand,
.site-shell .site-footer .footer-brand {
  filter: grayscale(1);
  opacity: 0.82;
}

.site-footer .footer-column strong,
.site-footer .footer-column-summary,
.site-shell .site-footer .footer-column strong,
.site-shell .site-footer .footer-column-summary {
  color: var(--ink, #181918);
}

.site-footer .footer-column a,
.site-footer .footer-grid p,
.site-footer .footer-primary-links a,
.site-shell .site-footer .footer-column a,
.site-shell .site-footer .footer-grid p,
.site-shell .site-footer .footer-primary-links a {
  color: var(--muted, rgba(24, 25, 24, 0.68));
}

.site-footer .footer-primary-links a:hover,
.site-footer .footer-primary-links a:focus-visible,
.site-footer .footer-primary-links a[aria-current="page"],
.site-shell .site-footer .footer-primary-links a:hover,
.site-shell .site-footer .footer-primary-links a:focus-visible,
.site-shell .site-footer .footer-primary-links a[aria-current="page"] {
  color: var(--ink, #181918);
}

.site-footer .legal,
.site-footer .legal-links a,
.site-shell .site-footer .legal,
.site-shell .site-footer .legal-links a {
  border-color: var(--line, rgba(24, 25, 24, 0.15));
  color: var(--faint, rgba(24, 25, 24, 0.46));
}

/* Statutory filing: a quiet, centered line that remains readable on every page. */
.site-footer .footer-icp,
.site-shell .site-footer .footer-icp {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px clamp(22px, 4vw, 58px) 0;
  border-top: 1px solid var(--line, rgba(24, 25, 24, 0.15));
  text-align: center;
}

.site-footer .footer-icp__link,
.site-shell .site-footer .footer-icp__link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--faint, rgba(24, 25, 24, 0.46));
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 0.28em;
  transition: color 180ms ease;
}

.site-footer .footer-icp__link:hover,
.site-footer .footer-icp__link:focus-visible,
.site-shell .site-footer .footer-icp__link:hover,
.site-shell .site-footer .footer-icp__link:focus-visible {
  color: var(--ink, #181918);
  text-decoration: underline;
}

.site-footer .footer-icp + .legal,
.site-shell .site-footer .footer-icp + .legal {
  padding-top: 8px;
  border-top: 0;
}

/* Mobile close: one centered brand moment followed by a quiet 3 + 2 link index. */
@media (max-width: 760px) {
  .site-footer .footer-grid,
  .site-shell .site-footer .footer-grid {
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    justify-content: normal;
    gap: 14px;
    padding: 22px 20px 18px;
  }

  .site-footer .footer-intro,
  .site-shell .site-footer .footer-intro {
    display: grid;
    grid-area: auto;
    width: 100%;
    max-width: none;
    padding: 0;
    place-items: center;
    text-align: center;
  }

  .site-footer .footer-brand,
  .site-shell .site-footer .footer-brand {
    width: clamp(148px, 40vw, 164px);
    margin: 0 auto;
  }

  .site-footer .footer-primary-links,
  .site-shell .site-footer .footer-primary-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px 0;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid var(--line, rgba(24, 25, 24, 0.15));
    justify-content: normal;
  }

  .site-footer .footer-primary-links a,
  .site-shell .site-footer .footer-primary-links a {
    display: inline-flex;
    grid-column: span 2;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.65;
    text-align: center;
  }

  .site-footer .footer-primary-links a:nth-child(4),
  .site-shell .site-footer .footer-primary-links a:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .site-footer .footer-primary-links a:nth-child(5),
  .site-shell .site-footer .footer-primary-links a:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .site-footer .footer-icp,
  .site-shell .site-footer .footer-icp {
    padding: 12px 20px 0;
  }

  .site-footer .footer-icp__link,
  .site-shell .site-footer .footer-icp__link {
    min-height: 32px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .site-footer .footer-icp + .legal,
  .site-shell .site-footer .footer-icp + .legal {
    padding-top: 6px;
  }
}
