/* The hero, after Harvey: the headline left and the founders' promise right, then the live product
   on its image, flowing into How it works. */

.hv {
  position: relative;
}

.hv h1,
.hv p {
  margin: 0;
}

.hv--light {
  background: #f7f7f5;
  color: var(--ink);
  transition:
    background-color 400ms var(--ease),
    color 400ms var(--ease);
}

.hv-harvey {
  padding-top: 156px;
}

/* Buttons. */
.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms var(--ease);
}

.hv-btn--dark {
  background: var(--ink);
  color: var(--white);
}

.hv-btn--dark:hover {
  background: var(--blue);
}

/* Each top sits in the page's column. */
.hv-top {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  animation: rise 700ms var(--ease) both;
}

.hv-top h1 {
  font-size: clamp(56px, 7vw, 120px);
  line-height: 1;
}

.hv-top p {
  color: #2a3443;
  font-size: 20px;
  line-height: 1.45;
}

/* The headline left, the promise right. */
.v-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}

.hv-top .v-split h1 {
  font-size: clamp(56px, 6.6vw, 112px);
}

/* The founders' promise. */
.v-note {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 470px;
}

.hv-top .v-note p {
  color: var(--ink);
  font-size: 32px;
  line-height: 1.18;
}

.v-sign {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.v-sign .mark {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

/* The live product on its image; How it works follows straight on. */
.hv-harvey__product {
  padding: clamp(56px, 7vw, 100px) var(--gutter) clamp(104px, 12vw, 176px);
  color: var(--ink);
  scroll-margin-top: 40px;
}

@media (max-width: 900px) {
  .hv-harvey {
    padding-top: 120px;
  }

  .v-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hv-top .v-note p {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv-top {
    animation: none;
  }
}
