.hero-section {
  display: flex;
  width: min(779px, 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 30vh;
  min-height: 340px;
  margin: 0 auto;
  margin-top: 80px;
  text-align: center;
}

.hero-section h1 {
  display: flex;
  width: 100%;
  max-width: 779px;
  flex-direction: column;
  margin: 0;
  font-size: clamp(48px, 10.5vw, 76px);
  font-weight: var(--type-h1-font-weight);
  line-height: var(--type-h1-line-height);
  letter-spacing: -0.035em;
  word-spacing: 0.02em;
  color: var(--ink);
}

.hero-title__clip {
  display: block;
  padding: 0.03em 0 0.08em;
}

.hero-title__line {
  display: block;
  will-change: transform;
}

.hero-copy__mobile-break {
  display: none;
}

.hero-copy {
  max-width: 580px;
  margin-top: 32px;
  font-size: 22px;
  font-weight: var(--type-body-lg-font-weight);
  line-height: var(--type-body-lg-line-height);
  letter-spacing: var(--type-body-lg-letter-spacing);
  color: var(--muted);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .hero-section {
    margin-top: clamp(48px, 6vw, 72px);
  }

  .hero-section h1 {
    font-size: clamp(48px, 6vw, 72px);
    line-height: 0.96;
  }

  .hero-copy {
    max-width: 580px;
    margin-top: clamp(24px, 3vw, 32px);
    font-size: clamp(17px, 1.8vw, 21px);
  }
}

@media (max-width: 809.98px) {

  .hero-section {
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    margin-top: clamp(42px, 5vw, 48px);
  }

  .hero-section h1 {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    font-size: clamp(40px, 6.8vw, 44px);
    line-height: 0.98;
  }

  .hero-title__clip {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow: hidden;
    padding: 0.02em 0.03em 0.07em;
  }

  .hero-title__line {
    display: block;
    white-space: nowrap;
  }

  .hero-title__clip + .hero-title__clip::before {
    content: none;
  }

  .hero-copy {
    width: min(500px, calc(100% - 32px));
    max-width: 100%;
    margin-top: 18px;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 17px;
    line-height: 1.38;
  }
}

@media (max-width: 639px) {

  .hero-section h1 {
    --mobile-hero-size: clamp(36px, 7vw, 41px);
    font-size: var(--mobile-hero-size);
  }

  .hero-title__clip:nth-child(1) .hero-title__line,
  .hero-title__clip:nth-child(2) .hero-title__line {
    font-size: 0;
  }

  .hero-title__clip:nth-child(1) .hero-title__line::before,
  .hero-title__clip:nth-child(1) .hero-title__line::after,
  .hero-title__clip:nth-child(2) .hero-title__line::before {
    display: block;
    font-size: var(--mobile-hero-size);
    line-height: 0.98;
  }

  .hero-title__clip:nth-child(1) .hero-title__line::before {
    content: 'Your Business Is';
  }

  .hero-title__clip:nth-child(1) .hero-title__line::after {
    content: 'Leaking Money';
  }

  .hero-title__clip:nth-child(2) .hero-title__line::before {
    content: 'Right Now';
  }

  .hero-title__clip:nth-child(2) .hero-title__line::after {
    content: none;
  }

  .hero-copy {
    width: min(500px, calc(100% - 16px));
    max-width: 500px;
    margin-top: 18px;
    white-space: nowrap;
    font-size: clamp(13px, 4.2vw, 18px);
    line-height: 1.34;
  }

  .hero-copy__mobile-break {
    display: block;
  }
}


@media (max-width: 479px) {
  .hero-section {
    margin-top: 48px;
    margin-bottom: 50px;
  }
}
