/* ============================================================================
   Shared site footer — single source of truth for every static page.
   Mirrors the homepage (React Footer.jsx). Namespaced under .site-footer and
   self-contained (literal colors/fonts) so it never collides with a page's
   own CSS or depends on its variables.
   ========================================================================== */
.site-footer {
  background: #0a2245;
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
  position: relative;
  z-index: 1;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.site-footer * { box-sizing: border-box; }
.site-footer .sf-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.site-footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }

.site-footer .sf-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(8, 1fr);
  gap: 22px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .sf-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .sf-grid ul a { font-size: 14px; }

.site-footer .sf-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); font-weight: 500;
  margin-bottom: 16px; display: block;
}

.site-footer .sf-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.site-footer .sf-logo-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-footer .sf-logo-mark svg { width: 100%; height: 100%; display: block; }
.site-footer .sf-wordmark { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1; display: inline-flex; align-items: baseline; }
.site-footer .sf-ai { color: #a78bfa; font-weight: 800; }
.site-footer .sf-syn { color: #fff; font-weight: 700; letter-spacing: 0.02em; }

.site-footer .sf-lede { margin: 16px 0 0; color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.55; max-width: 360px; }
.site-footer .sf-badges { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .sf-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.site-footer .sf-bottom { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.5); font-size: 13px; }

@media (max-width: 880px) {
  .site-footer .sf-grid { display: block; column-count: 3; column-gap: 28px; }
  .site-footer .sf-grid > div:first-child { column-span: all; margin-bottom: 36px; }
  .site-footer .sf-grid > div { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .site-footer .sf-grid { column-count: 2; column-gap: 22px; }
  .site-footer .sf-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer .sf-container { padding: 0 20px; }
}

/* Animated logo mark (matches nav/home) */
.site-footer .lm-rotate { animation: sf-lm-spin 24s linear infinite; transform-origin: 50px 50px; }
.site-footer .lm-hub-pulse { animation: sf-lm-pulse 2.4s ease-in-out infinite; transform-origin: 50px 50px; }
.site-footer .lm-node { animation: sf-lm-breathe 3s ease-in-out infinite; }
.site-footer .lm-node-0 { animation-delay: 0s; } .site-footer .lm-node-1 { animation-delay: 0.18s; }
.site-footer .lm-node-2 { animation-delay: 0.36s; } .site-footer .lm-node-3 { animation-delay: 0.54s; }
.site-footer .lm-node-4 { animation-delay: 0.72s; } .site-footer .lm-node-5 { animation-delay: 0.90s; }
.site-footer .lm-node-6 { animation-delay: 1.08s; } .site-footer .lm-node-7 { animation-delay: 1.26s; }
@keyframes sf-lm-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes sf-lm-pulse { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.12); filter: brightness(1.18); } }
@keyframes sf-lm-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) {
  .site-footer .lm-rotate, .site-footer .lm-hub-pulse, .site-footer .lm-node { animation: none; }
}
