/**
 * Marketing footer only — for register.php and other pages outside the full vitrine bundle.
 * Mirrors templates/website_landing.html footer + public/website/styles.css (subset).
 */

:root {
  --hero-bg: #001139;
  --text: #1a1a1a;
  --text-muted: #5a6570;
  --border: #e2e8f0;
  --font-sans: "Gilroy", system-ui, sans-serif;
  --font-display: "Gilroy", system-ui, sans-serif;
  --max: 1180px;
  --section-pad-y: clamp(2.5rem, 5.5vw, 3.5rem);
  --section-pad-x: clamp(1.25rem, 4vw, 2rem);
  --section-gap: clamp(1.5rem, 3vw, 2.25rem);
  --section-gap-lg: clamp(2rem, 4vw, 3rem);
}

.wrap {
  width: min(calc(100% - 2 * var(--section-pad-x)), var(--max));
  margin-inline: auto;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.logo > .logo-img--for-light-bg,
.logo > .logo-img--for-dark-bg {
  display: none;
}

.logo.logo--footer > .logo-img--for-light-bg {
  display: none;
}

.logo.logo--footer > .logo-img--for-dark-bg {
  display: block;
}

.site-footer {
  background: var(--hero-bg);
  color: #8fa3b8;
  padding: var(--section-pad-y) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: var(--section-gap-lg);
  padding-bottom: var(--section-gap-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  margin: 0.65rem 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  max-width: none;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .footer-tagline {
    white-space: normal;
    font-size: 12px;
  }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
}

.footer-col h4 {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
}

.footer-col a {
  display: block;
  color: #9eb4cc;
  text-decoration: none;
  font-size: 13px;
  padding: 0.15rem 0;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--section-gap) var(--section-gap-lg);
  padding: var(--section-gap-lg) 0 var(--section-pad-y);
  font-size: 12px;
}

.footer-bottom-copy {
  flex: 1 1 18rem;
  min-width: min(100%, 16rem);
  max-width: 52rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}

.footer-copyright {
  color: #9eb4cc;
}

.footer-bottom .footer-mor,
.footer-bottom .footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 11px;
  line-height: 1.55;
  color: #7a8fa8;
  letter-spacing: normal;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: #7a8fa8;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-top,
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer .footer-col h4,
  .site-footer .footer-col a,
  .site-footer .footer-bottom p,
  .site-footer .footer-tagline {
    text-align: left;
  }
}
