/* ==========================================================================
   Site footer — shared by every page (homepage, legal pages, blog, 404).
   Self-contained: does not depend on page-specific CSS variables.
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(42, 224, 106, 0.15);
  padding: 48px 48px 32px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8f5ec;
  text-decoration: none;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  color: #8fbf9e;
  max-width: 320px;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #e8f5ec;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-bottom a {
  font-size: 14px;
  color: #8fbf9e;
  text-decoration: none;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: #2ae06a;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(42, 224, 106, 0.15);
  padding-top: 20px;
  font-size: 13px;
  color: #8fbf9e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  font-size: 13px;
}

.site-footer a:focus-visible {
  outline: 3px solid #9dffc0;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 40px 32px 28px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 40px 20px 28px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

@media print {
  .site-footer {
    display: none;
  }
}
