/* Shared marketing footer + GDPR banner. Pages must define :root tokens (--brand, --muted, --surface, --line, --text, --bg). */

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  font-size: 0.9rem;
  color: var(--muted, #667085);
}

.site-footer-brand {
  font-weight: 700;
  color: var(--text, #111827);
  text-decoration: none;
  font-family: "DM Sans", Inter, sans-serif;
}

.site-footer-brand:hover {
  color: var(--brand, #e85d3d);
}

.site-footer-copy {
  color: var(--muted, #667085);
}

.site-footer-links {
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer-links a {
  color: var(--brand, #e85d3d);
  font-weight: 600;
  text-decoration: none;
}

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

.site-footer-links span[aria-hidden="true"] {
  color: var(--muted, #667085);
  font-weight: 400;
  margin: 0 2px;
}

/* GDPR / cookie notice */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transform: translateY(100%);
  transition: transform 0.38s ease;
  pointer-events: none;
}

.gdpr-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.gdpr-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px clamp(20px, 5vw, 36px) 18px;
  box-sizing: border-box;
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--line, #e5e7eb);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

.gdpr-banner-text {
  margin: 0;
  flex: 1 1 220px;
  max-width: 52rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text, #111827);
}

.gdpr-banner-text a {
  color: var(--brand, #e85d3d);
  font-weight: 600;
  text-decoration: none;
}

.gdpr-banner-text a:hover {
  text-decoration: underline;
}

.gdpr-banner-actions {
  flex-shrink: 0;
}

.gdpr-banner-actions .btn.primary {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--brand, #e85d3d);
  background: var(--brand, #e85d3d);
  color: #fff;
  font-size: 0.9rem;
}

.gdpr-banner-actions .btn.primary:hover {
  filter: brightness(0.95);
}

@media (prefers-reduced-motion: reduce) {
  .gdpr-banner {
    transition: none;
    transform: translateY(0);
    opacity: 0;
    pointer-events: none;
  }
  .gdpr-banner.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Legal document pages */
.legal-page main {
  padding: 32px 0 48px;
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-doc h1 {
  font-family: "DM Sans", Inter, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--text, #111827);
}

.legal-doc .legal-updated {
  font-size: 0.85rem;
  color: var(--muted, #667085);
  margin: 0 0 28px;
}

.legal-doc h2 {
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--text, #111827);
}

.legal-doc p,
.legal-doc li {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text, #111827);
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.legal-doc .legal-disclaimer {
  margin-top: 36px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(232, 93, 61, 0.06);
  border: 1px solid rgba(232, 93, 61, 0.2);
  font-size: 0.86rem;
  color: var(--muted, #667085);
}

.legal-doc a {
  color: var(--brand, #e85d3d);
  font-weight: 600;
  text-decoration: none;
}

.legal-doc a:hover {
  text-decoration: underline;
}
