html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.site-footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--sub);
  font-size: 11px;
}

.site-footer-brand {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.site-footer-copy { margin-left: 10px; color: var(--sub); font-weight: 400; }
.site-footer-copy strong { color: var(--ink); font-weight: 800; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--sub); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .site-footer { margin-top: 34px; }
  .site-footer-inner { min-height: 112px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding: 20px 0; }
  .site-footer-copy { display: block; margin: 4px 0 0; }
}
