/* Footer */

.footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-3xl) var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer a { color: #fff; text-decoration-color: var(--color-accent); }
.footer a:hover { color: var(--color-accent); }

.footer .text-soft { color: rgba(255, 255, 255, 0.7); }
.footer .text-muted { color: rgba(255, 255, 255, 0.55); }

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.footer__about img {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-md);
  /* Wordmark uses navy text; we need it to read on dark — invert via filter */
  filter: brightness(0) invert(1);
}

.footer__heading {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-md);
}

.footer__list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}
.footer__list li { margin-bottom: var(--space-sm); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__bottom p { margin: 0; }

.footer__legal {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
