/* Shared footer for every page. Colors fall back to the brand values if a page lacks the tokens. */
.site-footer { border-top: 1px solid var(--border, #E2E8F0); background: var(--bg-alt, #F8FAFC); color: var(--muted, #475569); font-size: .925rem; }
.site-footer .foot-wrap { max-width: 1160px; margin: 0 auto; padding: 48px 20px 8px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 1.1rem; color: var(--fg, #1E1B4B); text-decoration: none; width: fit-content; }
.site-footer .foot-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--primary, #4F46E5); color: #fff; display: grid; place-items: center; }
.site-footer .foot-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .foot-about { margin: 8px 0 0; max-width: 30em; }
.site-footer .foot-title { margin: 0 0 4px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg, #1E1B4B); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer nav a, .site-footer .foot-mail { color: var(--muted, #475569); text-decoration: none; display: flex; width: fit-content; align-items: center; min-height: 44px; transition: color .2s ease; }
.site-footer nav a:hover, .site-footer .foot-mail:hover, .site-footer nav a[aria-current="page"] { color: var(--primary-strong, #4338CA); }
.site-footer nav a[aria-current="page"] { font-weight: 600; }
.site-footer .foot-bottom { max-width: 1160px; margin: 24px auto 0; padding: 20px 20px 28px; border-top: 1px solid var(--border, #E2E8F0); font-size: .875rem; }
.site-footer .foot-bottom p { margin: 0; }
@media (max-width: 760px) {
  .site-footer .foot-wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .foot-wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) { .site-footer .foot-wrap { grid-template-columns: 1fr; } }
