/* Shared site footer for the plain static HTML pages (public/*.html).
 *
 * These pages are hand-written and do NOT load the Tailwind bundle, so the
 * canonical footer (src/components/SiteFooterMarkup.jsx) can't be reused
 * directly. This stylesheet reproduces that footer's "Direction 2B / Corporate
 * Dark" look with plain CSS, and scripts/partials/footer.html supplies the
 * matching markup. scripts/inject-footer.mjs injects the partial into every
 * static page and ensures this stylesheet is linked, so the static footers
 * cannot drift from the React one.
 *
 * Tokens mirror src/index.css @theme:
 *   --color-dark-800: #0B1120  (footer background)
 *   --color-accent:   #3B82F6
 *   --color-on-dark:  #F1F5F9
 *   --color-on-dark-muted: #94A3B8
 */

.site-footer {
  background: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 48px;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 36px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: none; }

/* Top: brand + link columns */
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer__brand svg { display: block; }
.site-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 280px;
  margin: 0;
}
.site-footer__col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F1F5F9;
  margin: 0 0 16px;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__col a {
  font-size: 14.5px;
  color: #94A3B8;
  transition: color 0.15s ease;
}
.site-footer__col a:hover { color: #fff; }

/* Bottom: copyright + legal links */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}
.site-footer__copy {
  font-size: 13.5px;
  color: rgba(148, 163, 184, 0.7);
  margin: 0;
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer__social a {
  display: inline-flex;
  color: rgba(148, 163, 184, 0.7);
  transition: color 0.15s ease;
}
.site-footer__social a:hover { color: #fff; }
.site-footer__social svg { display: block; }
.site-footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__legal a {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.7);
  transition: color 0.15s ease;
}
.site-footer__legal a:hover { color: #fff; }

@media (max-width: 860px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .site-footer__brand-block { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__inner { padding: 48px 22px 32px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
