/* ══════════════════════════════════════════
   FIRE SITE KIT: THE FOOTER
   fire.co's footer (fire-devspace/fire-marketing, public/css/nav.css) as
   partners.fire.co and go.fire.co draw it (owner, 2026-10-17): on the page's
   own ground; at the left the Fire mark at 48px and FIRE at 24px (or FIRE
   and the product's name in weight 500), with the Y Combinator line and the
   copyright under them; at the right the menu's columns, placed from the
   right. On a phone the columns stack under the mark and the two lines come
   last.
   ══════════════════════════════════════════ */

.site-footer {
  position: relative;
  z-index: var(--z-base);
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}

.site-footer .container {
  max-width: var(--page-max);
}

.site-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
}

.site-footer__start {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-footer__brand .fire-mark {
  width: 48px;
  height: 48px;
}

.site-footer__wordmark {
  font-family: var(--sans);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer__product {
  font-weight: 500;
}

.site-footer__menus {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-16);
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.site-footer__heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-3);
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__link {
  font-size: var(--text-sm);
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--duration-slow) var(--ease-out);
}

.site-footer__link:hover {
  color: var(--text);
  opacity: 1;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__backed,
.site-footer__copy {
  font-size: var(--text-xs);
  color: var(--text-3);
}

@media (max-width: 768px) {
  .site-footer__row {
    flex-direction: column;
  }

  .site-footer__start {
    display: contents;
  }

  .site-footer__bottom {
    order: 1;
  }

  .site-footer__menus {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-8) var(--space-12);
  }

  /* Each link a finger's height. */
  .site-footer__links {
    gap: 0;
  }

  .site-footer__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--target);
  }
}
