.api-hero {
  text-align: center;
  flex-flow: column;
  align-items: center;
  padding: 120px 22px 0;
  display: flex;
}

.api-hero__media {
  margin-bottom: 49px;
}

.api-hero__img {
  width: 440px;
  max-width: 100%;
  height: auto;
  display: block;
}

.api-hero__title {
  color: #000;
  letter-spacing: -.02em;
  max-width: 993px;
  margin: 0 0 19px;
  font-family: Inter, sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 50px;
}

.api-hero__text {
  color: rgba(0, 0, 0, .7);
  letter-spacing: -.46px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.api-hero__buttons {
  justify-content: center;
  margin-top: 28px;
}

.api-hero__stats {
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 4px;
  width: 100%;
  max-width: 1256px;
  margin-top: 48px;
  display: grid;
}

.api-hero__stat {
  background-color: #fff;
  border-radius: 24px;
  flex-flow: column;
  align-items: center;
  gap: 8px;
  height: 120px;
  padding: 24px 16px 0;
  display: flex;
}

.api-hero__value {
  color: #2e75fb;
  letter-spacing: .4px;
  font-family: ui-rounded, "SF Pro Rounded", Sfprodisplay, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
}

.api-hero__icon {
  width: auto;
  height: 32px;
  margin: 5px 0 3px;
}

.api-hero__caption {
  color: #000;
  letter-spacing: .45px;
  font-family: Sfprodisplay, Arial, sans-serif;
  font-size: 20px;
  line-height: 24px;
}

@media screen and (max-width: 991px) {
  .api-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media screen and (max-width: 767px) {
  .api-hero {
    padding-top: 80px;
  }

  .api-hero__media {
    margin-bottom: 19px;
  }

  .api-hero__img {
    width: 160px;
  }

  .api-hero__title {
    letter-spacing: .4px;
    margin-bottom: 8px;
    font-family: Sfprodisplay, Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
  }

  .api-hero__text {
    color: #000;
    letter-spacing: .7px;
    font-family: Sfprodisplay, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
  }

  .api-hero .api-hero__buttons {
    align-self: stretch;
    margin-top: 16px;
    padding: 0;
  }

  .api-hero__button.btn--black {
    letter-spacing: .35px;
    font-size: 18px;
    line-height: 24px;
  }

  .api-hero__stats {
    margin-top: 24px;
  }

  .api-hero__stat {
    gap: 0;
    height: 94px;
    padding: 14px 16px 10px;
  }

  .api-hero__value {
    font-size: 30px;
    line-height: 36px;
  }

  /* A word does not fit a half-width card at the digits size */
  .api-hero__value_word {
    letter-spacing: 0;
    font-size: 22px;
  }

  .api-hero__icon {
    height: 30px;
    margin: 3px 0;
  }

  .api-hero__caption {
    flex: 1;
    align-items: center;
    letter-spacing: .3px;
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
    display: flex;
  }
}
