/* HighFelt footer — minimal three-zone bar (white, matches community site)
   px (not rem): Ease sets html { font-size: 62.5% } so rem ≠ 16px root */

.hf-footer {
  --hf-footer-bg: #ffffff;
  --hf-footer-ink: #111111;
  --hf-footer-muted: #6b6570;
  --hf-footer-ink-hover: #000000;
  --hf-footer-line: #e5e5e5;
  --hf-footer-font: "tiktoksans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --hf-footer-pad-x: max(20px, 5.5vw);
  --hf-footer-pad-y: 48px;

  width: 100%;
  margin-top: auto;
  background: var(--hf-footer-bg) !important;
  color: var(--hf-footer-ink);
  font-family: var(--hf-footer-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.hf-footer *,
.hf-footer *::before,
.hf-footer *::after {
  box-sizing: border-box;
}

.hf-footer__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--hf-footer-pad-x);
}

.hf-footer__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: var(--hf-footer-pad-y) 0;
  border-top: 1px solid var(--hf-footer-line);
  white-space: nowrap;
}

/* Higher specificity to beat Ease theme grays */
.hf-footer .hf-footer__copy {
  justify-self: start;
  color: var(--hf-footer-muted) !important;
}

.hf-footer .hf-footer__powered {
  justify-self: end;
  text-align: right;
  color: var(--hf-footer-muted) !important;
}

.hf-footer .hf-footer__powered a {
  color: var(--hf-footer-muted) !important;
}

.hf-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  justify-self: center;
}

.hf-footer__social:empty {
  display: none;
}

.hf-footer .hf-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hf-footer-ink) !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hf-footer .hf-footer__social-link:hover,
.hf-footer .hf-footer__social-link:focus-visible,
.hf-footer .hf-footer__powered a:hover,
.hf-footer .hf-footer__powered a:focus-visible {
  color: var(--hf-footer-ink-hover) !important;
  outline: none;
}

.hf-footer .hf-footer__social-link svg,
.hf-footer .hf-footer__social-link .icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--hf-footer-ink);
}

.hf-footer__social-fallback {
  font-size: 12px;
  color: var(--hf-footer-ink);
}

.hf-footer a {
  color: inherit;
  text-decoration: none;
}

/* Kill legacy Ease footer if anything still references it */
.gh-foot {
  display: none !important;
}

@media (max-width: 720px) {
  .hf-footer {
    --hf-footer-pad-y: 28px;
    font-size: 12px;
  }

  .hf-footer__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    text-align: center;
    white-space: normal;
  }

  .hf-footer__copy,
  .hf-footer__social,
  .hf-footer__powered {
    justify-self: center;
    text-align: center;
  }
}
