/* ============================================================
   Shared site footer — used by home, blog, faq, about,
   notifications, terms and privacy so the footer is identical
   across the site. One markup block, one stylesheet.
   ============================================================ */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.footer-columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap: 2rem;
  margin: 0 0 2rem;
  text-align: left;
}

.footer-columns > div {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
  box-sizing: border-box;
}

.site-footer h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footer-about-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.footer-products {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 2;
}

/* Keep the footer list tight even on pages that set global `li`/`ul` spacing
   (e.g. Terms and Privacy). */
.footer-products li {
  margin: 0;
  line-height: 2;
}

.footer-products a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-products a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--accent-blue);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 0.5rem;
}

@media (max-width: 899px) {
  .footer-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-columns > div {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer-inner { padding: 1.5rem 1rem; }
}
