/* Shared typography for the home page. */
.home-about__title,
.home-offers__title {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 1279px) and (min-width: 768px) {
  .home-about__title,
  .home-offers__title {
    font-size: clamp(42px, 5vw, 56px);
  }
}

@media (max-width: 767px) {
  .home-hero .home-hero__description,
  .home-about__description,
  .home-partners__description {
    font-family: var(--font-main);
    font-size: var(--fs-home-body-mobile);
    font-weight: 400;
    font-style: normal;
    line-height: var(--lh-home-body-mobile);
    letter-spacing: -0.03em;
  }

  .home-about__title,
  .home-offers__title {
    font-size: clamp(34px, 10vw, 44px);
  }


  .home-about__title {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    font-size: clamp(24px, 6.5vw, 27px);
    line-height: 1.08;
  }

  .home-about__intro {
    gap: 0;
  }

  .home-about__eyebrow {
    margin-bottom: 16px;
  }

  .home-about__title + .home-about__button {
    margin-top: 29px;
  }
}

@media (min-width: 1280px) {
  .home-about__title,
  .home-offers__title {
    font-size: var(--fs-home-display-lg);
    line-height: 1;
  }

  .home-about__title {
    width: 100%;
    max-width: min(100%, 23.2em);
    margin-inline: auto;
    font-size: clamp(48px, calc(1.0714vw + 32.571px), 60px);
    line-height: 0.98;
  }


  .home-partners__title {
    font-family: var(--font-display);
    font-size: var(--fs-home-display-md);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
  }
  .home-offers__card-title {
    font-family: var(--font-display);
    font-size: var(--fs-home-card-lg);
    font-weight: 300;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
  }
  .home-hero__description,
  .home-about__description,
  .home-partners__description {
    font-family: var(--font-main);
    font-size: var(--fs-home-body-lg);
    font-weight: 400;
    font-style: normal;
    line-height: var(--lh-home-body);
    letter-spacing: -0.02em;
  }
  .home-about__eyebrow {
    font-family: var(--font-main);
    font-size: var(--fs-home-eyebrow);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
  }


  .home-about__button,
  .home-partners__button {
    font-family: var(--font-main);
    font-size: var(--fs-home-control);
    font-weight: 400;
  }
}
