/* ===========================================================================
   PH-2 — the shared public footer
   ===========================================================================
   ONE stylesheet for the footer on every public page: the three static pages
   (public/pending-home.html, public/about.html, public/support.html) link it
   directly, and the legal pages load the same file through
   app/(public)/_legal/PublicFooter.tsx. The markup is written four times (the
   three static pages and the React component) and must stay identical; this
   file is written once.

   The look is the platform's existing footer — the home deck's .bb-footer in
   bb-public.css: a dark base-19 band, base-6 links that turn base-1 on hover,
   Burrow Body. It is restyled here, not shared, because bb-public.css belongs
   to the real home deck (held) and the static pages do not load it.

   Every typographic value is set explicitly, in px, so the footer renders the
   same inside .bb-public-page (18px body, global-reset's `p` margin) and on the
   static pages (16px body) — nothing is inherited from the page around it.
   Needs tokens.css and the Burrow Body face, which every public page loads.
   =========================================================================== */

.bb-site-foot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 32px 24px 36px;
  background: var(--color-base-19);
  color: var(--color-base-9);
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: var(--tracking-body);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bb-site-foot .bb-site-foot-links,
.bb-site-foot .bb-site-foot-legal {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  text-wrap: balance;
}

.bb-site-foot .bb-site-foot-legal {
  margin-top: 12px;
  font-size: 12px;
  line-height: 20px;
  color: var(--color-base-9);
}

/* Each item keeps its words together; a line may break only at a separator. */
.bb-site-foot .bb-site-foot-item { white-space: nowrap; }

.bb-site-foot .bb-site-foot-sep { color: var(--color-base-12); }

.bb-site-foot .bb-site-foot-link {
  color: var(--color-base-6);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 200ms var(--ease-in-out);
}
.bb-site-foot .bb-site-foot-link:hover { color: var(--color-base-1); }
.bb-site-foot .bb-site-foot-link:focus-visible {
  outline: 2px solid var(--color-base-1);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .bb-site-foot .bb-site-foot-link { transition: none; }
}
