/* footer.css - Shared global footer styling.
 *
 * Loaded as a standalone stylesheet by the non-built pages (blog + legal),
 * mirroring how /css/header.css carries the shared nav styling. The sales
 * page inlines the same rules via build-pages.js (src/shared/css/footer.css).
 *
 * var() fallbacks keep this token-set-agnostic: the blog, legal and sales
 * pages each define their own --border/--text-muted/--primary names, so the
 * fallbacks (blog palette) apply only where a token is absent. Keep in sync
 * with src/shared/css/footer.css.
 */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border, #f0e0d0);
}

footer a {
  font-size: 0.85rem;
  color: var(--text-muted, #7a5a62);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--primary, #ea580c);
}

.footer-brand {
  width: 100%;
  text-align: center;
}

.footer-brand img {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted, #7a5a62);
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  footer { padding: 2rem 1rem; }
  footer a { font-size: 0.9rem; }
  .footer-copy { font-size: 0.85rem; }
}
