/* Homepage refinements; a new URL avoids the immutable cache of the base CSS. */
.hero-inner {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--hero-start, 0px));
  min-height: calc(100svh - var(--hero-start, 0px));
  padding-bottom: 0;
}

.hero-link-row {
  position: static;
  left: auto;
  align-self: center;
  width: 100%;
  margin: auto 0 0;
  padding: 1rem 0;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: var(--background);
  transform: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 1.5rem;
}

.hero-subheader {
  max-width: 35rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}

.hero-benefits {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero-benefits li::marker {
  color: var(--primary);
  font-size: 0.7em;
}

.hero-copy .lead-form-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hero-copy input[type="email"] {
  min-width: 0;
}

.problem-story {
  width: 100%;
  max-width: 70ch;
  margin: 0 auto;
}

.problem-story h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.problem-story p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-copy .hero-subheader {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-benefits {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero-copy .lead-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy .lead-form-inline {
    margin-top: 1.5rem;
  }
}
