/* FROZEN COPY of app/assets/stylesheets/pages/pages/home/base.css — /partners only.
   UNLAYERED ON PURPOSE: wrapping the home page CSS in a cascade layer is exactly
   the regression commit e8a8b6e shipped and 8623049 reverted (unlayered Bootstrap
   in /landing/css/styles.css then stomps the page and the hero collapses). */
.home-marketing-brand {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-marketing-brand__logo {
  display: block;
}

body.page-pages-home {
  --home-bg-deep: #0b1220;
  --home-nav-bg: #212529;
  --home-surface-launch-1: #f5f9ff;
  --home-surface-launch-2: #edf4fd;
  --home-surface-launch-3: #e8f0fb;
  --home-surface-markets-1: #f6f9fd;
  --home-surface-markets-2: #edf3fb;
  --home-surface-markets-3: #e7eef8;
  --home-ink-strong: #0f172a;
  --home-ink-muted: #475569;
  --home-ink-bright: #f8fbff;
  --home-ink-soft: #dbeafe;
  --home-ink-dim: #bfd0e6;
  --home-ink-mid: #9fb2d4;
  --home-ink-mid-alt: #9fb4d3;
  --home-ink-mid-faint: #a4b6d2;
  --home-ink-positive: #bbf7d0;
  --home-ink-negative: #fecaca;
  --home-ink-neutral: #bfdbfe;
  --home-accent-amber: #f59e0b;
  --home-accent-gold: #fbbf24;
  --home-accent-violet: #a78bfa;
  --home-accent-green: #22c55e;
  background-color: var(--home-bg-deep);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.page-pages-home > :first-child {
  margin-top: 0 !important;
}

body.page-pages-home .navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

body.page-pages-home .marketing-navbar {
  --marketing-nav-surface: var(--home-nav-bg);
  background: var(--marketing-nav-surface) !important;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.page-pages-home .partner-join-section,
body.page-pages-home .markets-section,
body.page-pages-home .qualification-section {
  scroll-margin-top: 84px;
}

@media (max-width: 767px) {
  body.page-pages-home .partner-join-section,
  body.page-pages-home .markets-section,
  body.page-pages-home .qualification-section {
    scroll-margin-top: 72px;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.page-pages-home .partner-join-section > .container,
  body.page-pages-home .markets-section > .container,
  body.page-pages-home .qualification-section > .container,
  body.page-pages-home .marketing-footer .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .partner-join-intro,
  .markets-section .text-center,
  .qualification-section .text-center {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 576px) {
  body.page-pages-home .partner-join-section,
  body.page-pages-home .markets-section,
  body.page-pages-home .qualification-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .partner-join-intro,
  .markets-section .text-center,
  .qualification-section .text-center {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 420px) {
  body.page-pages-home .partner-join-section > .container,
  body.page-pages-home .markets-section > .container,
  body.page-pages-home .qualification-section > .container,
  body.page-pages-home .marketing-footer .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
}
