/* Site footer shared by every public page. The markup lives in
   src/templates/site-footer.html; static pages carry a copy, and
   tests/footerConsistency.test.js fails when a copy drifts.
   Colours come from the page's own tokens when it has them (--text, --muted,
   --muted2, --border or --line, --green-text), otherwise light defaults, so the
   footer follows light and dark mode on every page.
   Bump ?v= in every page that links this file after a change (1-year immutable cache). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage.woff2') format('woff2');
}

.site-foot {
  --foot-text: var(--text, var(--ink, #0a0c10));
  --foot-muted: var(--muted, #4b5563);
  --foot-muted2: var(--muted2, #6b7280);
  --foot-line: var(--border, var(--line, #e1e4e9));
  --foot-accent: var(--green-text, #25D366);
  border-top: 1px solid var(--foot-line);
  background: var(--bg, transparent);
  margin-top: 40px;
  padding: 44px 0 0;
  text-align: left;
}
.site-foot .foot-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.site-foot .foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.site-foot .foot-logo {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: -.03em;
  color: var(--foot-text); text-decoration: none;
}
.site-foot .foot-logo span { color: var(--foot-accent); }
.site-foot .foot-claim { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--foot-muted); }
.site-foot .foot-trust {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 14px; font-size: 12.5px; color: var(--foot-muted);
}
.site-foot .foot-trust .flag { width: 15px; height: 11px; border-radius: 1.5px; vertical-align: -1px; display: inline-block; }
.site-foot .foot-trust .ico { width: 13px; height: 13px; vertical-align: -2px; }
.site-foot .foot-h {
  margin: 0 0 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--foot-muted2);
}
.site-foot .foot-col a {
  display: block; padding: 4px 0; font-size: 14px; font-weight: 400;
  color: var(--foot-muted); text-decoration: none; transition: color .2s;
}
.site-foot .foot-col a:hover { color: var(--foot-text); }
.site-foot .foot-bottom {
  border-top: 1px solid var(--foot-line);
  padding: 18px 0 28px; font-size: 12.5px; color: var(--foot-muted2);
}

@media (max-width: 900px) {
  .site-foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-foot .foot-wrap { padding: 0 16px; }
  .site-foot .foot-grid { gap: 24px 20px; }
}
