/* Shared site footer — keep in sync across marketing and legal pages */

.site-footer {
  --site-footer-border: #e8eaef;
  --site-footer-muted: #6b7280;
  --site-footer-text: #111827;
  --site-footer-max: 1140px;
  --site-footer-white: #ffffff;
  --site-footer-purple: #6338f2;

  background: var(--site-footer-white);
  border-top: 1px solid var(--site-footer-border);
  padding: 32px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.site-footer .footer-inner {
  max-width: var(--site-footer-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--site-footer-text);
  text-decoration: none;
}

.site-footer .footer-brand .logo:hover {
  color: var(--site-footer-text);
  text-decoration: none;
}

.site-footer .footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer .footer-brand .tag {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--site-footer-muted);
  max-width: 280px;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.site-footer .footer-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--site-footer-text);
  padding: 3px 0;
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  color: var(--site-footer-purple);
  text-decoration: none;
}

.site-footer .footer-links h4 {
  margin: 0 0 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--site-footer-muted);
}

.site-footer .copyright {
  max-width: var(--site-footer-max);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--site-footer-border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--site-footer-muted);
}

/* Legal pages (privacy, terms) use a narrower content column */
.site-footer--legal {
  --site-footer-max: 860px;
}
