
/*
 * First-fold correction: remove dead vertical space and make the full homepage
 * hero readable in realistic desktop browser windows with toolbars visible.
 */
@media (min-width: 1161px) {
  .site-header-inner,
  .site-header.is-condensed .site-header-inner {
    grid-template-columns: minmax(220px, 300px) minmax(430px, 1fr) minmax(330px, auto) !important;
    min-height: 64px;
    align-items: center;
  }

  #primary-menu {
    justify-self: center;
    justify-content: center;
    width: 100%;
  }

  .header-right {
    justify-self: end;
  }
}

.hero-home {
  min-height: calc(100svh - 64px) !important;
  padding-top: clamp(34px, 5vh, 48px) !important;
  padding-bottom: clamp(28px, 4vh, 42px) !important;
}

.hero-home .hero-grid {
  align-items: center !important;
  gap: clamp(26px, 3vw, 44px) !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.74fr) !important;
}

.hero-home .section-kicker,
.hero-home .hero-brand-lockup {
  display: none !important;
}

.hero-home .hero-copy-column {
  max-width: 720px !important;
}

.hero-home .hero-copy-column h1 {
  max-width: 12.6ch !important;
  margin-bottom: 14px !important;
  font-size: clamp(3.9rem, 5.25vw, 4.85rem) !important;
  line-height: 0.93 !important;
}

.hero-home .hero-intro {
  max-width: 42rem !important;
  font-size: 1.02rem !important;
  line-height: 1.5 !important;
}

.hero-home .hero-actions {
  gap: 12px !important;
  margin-top: 18px !important;
}

.hero-home .hero-actions .button {
  min-height: 42px !important;
}

.hero-capability-strip {
  max-width: 520px !important;
  margin-top: 14px !important;
  font-size: 0.64rem !important;
}

.quick-search {
  grid-template-columns: minmax(0, 1fr) 112px !important;
  max-width: 580px !important;
  min-height: 46px !important;
  margin-top: 16px !important;
}

.quick-search input,
.quick-search button {
  min-height: 42px !important;
}

.quick-searches,
.hero-trust-inline {
  display: none !important;
}

.hero-visual-proofwall {
  align-self: center !important;
}

.hero-proofwall {
  max-height: min(535px, calc(100svh - 164px)) !important;
  padding: 14px !important;
}

.hero-proofwall-head {
  padding-bottom: 10px !important;
}

.hero-proofwall-head h2 {
  font-size: clamp(1.45rem, 2vw, 1.82rem) !important;
}

.hero-proofwall-grid {
  gap: 9px !important;
  margin: 10px 0 !important;
}

.hero-proofwall-card {
  min-height: 118px !important;
}

.hero-proofwall-card:first-child {
  min-height: clamp(178px, 18vw, 220px) !important;
}

.hero-proofwall-footer {
  padding-top: 10px !important;
}

@media (max-width: 1160px) {
  .hero-home .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto !important;
    padding-top: 44px !important;
    padding-bottom: 38px !important;
  }

  .hero-home .hero-copy-column h1 {
    font-size: clamp(2.75rem, 12vw, 3.2rem) !important;
  }

  .hero-capability-strip {
    display: none !important;
  }
}
