/* Compact proportions aligned with the approved Btwixt presentation. */
.site-header {
  background: rgba(248, 250, 253, .98);
  border-bottom: 1px solid #dce4ee;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(7, 22, 47, .12);
}

.site-header .brand,
.site-header .main-nav {
  color: #142033;
}

.site-header .main-nav > a:hover,
.site-header .main-nav > a:focus,
.site-header .main-nav > a.active {
  color: #0b5e9f;
  border-color: #2776b9;
}

.site-header .main-nav .nav-cta {
  color: #0b5e9f;
  border-color: #2776b9;
  background: #ffffff;
}

.site-header .main-nav .nav-cta:hover,
.site-header .main-nav .nav-cta:focus {
  color: #ffffff;
  background: #2776b9;
}

.site-header .menu-toggle span:not(.sr-only) {
  background: #102a4c;
}

h1 {
  font-size: clamp(2.35rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}

.nav-wrap {
  min-height: 96px;
}

.brand-panel {
  width: 285px;
  height: 78px;
  background: transparent;
  padding: 5px 7px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header .brand-panel,
.site-footer .brand-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.site-header .brand-panel {
  width: 400px;
  height: 103px;
  justify-content: flex-start;
  overflow: visible;
}

.site-header .brand-panel img {
  object-position: left center;
  transform: translateX(-132px);
}

.site-footer {
  color: #425166;
  background: #f8fafd;
  border-top: 1px solid #dce4ee;
}

.site-footer .footer-identity,
.site-footer .footer-grid h2 {
  color: #102a4c;
}

.site-footer a {
  color: #425166;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #0b5e9f;
}

.site-footer .footer-bottom {
  color: #64748b;
  border-top-color: #dce4ee;
}

.brand-name {
  letter-spacing: .035em;
}

.main-nav > a {
  padding-top: 37px;
  padding-bottom: 30px;
}

.hero {
  min-height: 650px;
}

.hero-image {
  inset: 0 0 102px 44%;
}

.hero-grid {
  min-height: 548px;
  grid-template-columns: minmax(0, 590px) 1fr;
}

.hero-copy {
  padding: 58px 0 64px;
}

.hero-copy .eyebrow {
  margin-bottom: 14px;
}

.hero-intro {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.proof-grid > div {
  padding: 20px 28px;
}

.footer-logo {
  width: 270px;
  height: 92px;
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 82px;
  }

  .brand-panel {
    width: 220px;
    height: 64px;
  }

  .site-header .brand-panel {
    width: 245px;
    height: 66px;
  }

  .site-header .brand-panel img {
    object-position: left center;
    transform: none;
  }

  .main-nav {
    top: 82px;
    background: #f8fafd;
    border-top-color: #dce4ee;
    box-shadow: 0 18px 30px rgba(7, 22, 47, .12);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.35rem;
  }

  .brand-panel {
    width: 190px;
    height: 58px;
  }

  .site-header .brand-panel {
    width: 205px;
    height: 60px;
  }
}
