.home-main-nav {
  gap: 16px;
}

@media (min-width: 1200px) {
  .home-main-nav {
    gap: 32px;
  }
}

.home-mobile-app {
  overflow: hidden;
  scroll-margin-top: 100px;
  border-bottom: 1px solid #e7eefb;
  background: #f9fbff;
  padding: 88px 32px 92px;
}

.home-mobile-app__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 4.5vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.home-mobile-app__intro,
.home-mobile-app__features {
  min-width: 0;
}

.home-mobile-app__eyebrow {
  margin: 0 0 18px;
  color: #1768ed;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-mobile-app__title {
  margin: 0;
  color: #122956;
  font-size: clamp(36px, 3.3vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.home-mobile-app__title span {
  display: block;
  color: #1768ed;
}

.home-mobile-app__description {
  max-width: 480px;
  margin: 24px 0 0;
  color: #546889;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.6;
}

.home-mobile-app__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-mobile-app__stores a {
  display: block;
  width: min(46%, 155px);
  border-radius: 8px;
  transition: transform 180ms ease;
}

.home-mobile-app__stores a:hover {
  transform: translateY(-2px);
}

.home-mobile-app__stores img {
  display: block;
  width: 100%;
  height: auto;
}

.home-mobile-app__devices {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 39 / 56;
  justify-self: center;
}

.home-mobile-app__phone {
  position: absolute;
  overflow: hidden;
  border: 6px solid #15191f;
  border-radius: 31px;
  background: #fff;
  box-shadow: 0 24px 42px rgba(14, 36, 75, .15);
}

.home-mobile-app__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.home-mobile-app__phone--back {
  top: 6%;
  left: 47%;
  width: 52%;
  transform: rotate(5deg);
}

.home-mobile-app__phone--front {
  z-index: 1;
  top: 8%;
  left: 3%;
  width: 55%;
  transform: rotate(-6deg);
}

.home-mobile-app__feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.home-mobile-app__feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.home-mobile-app__feature-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
}

.home-mobile-app__feature-icon svg {
  width: 23px;
  height: 23px;
}

.home-mobile-app__feature-icon--green { background: #e0f7ec; color: #089b62; }
.home-mobile-app__feature-icon--blue { background: #e5f0ff; color: #1768ed; }
.home-mobile-app__feature-icon--violet { background: #eee8ff; color: #7948d9; }
.home-mobile-app__feature-icon--orange { background: #fff0e0; color: #e97716; }

.home-mobile-app__feature-list strong,
.home-mobile-app__feature-list small {
  display: block;
}

.home-mobile-app__feature-list strong {
  color: #122956;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.home-mobile-app__feature-list small {
  margin-top: 3px;
  color: #546889;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .home-mobile-app__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    max-width: 900px;
    column-gap: 50px;
    row-gap: 26px;
  }

  .home-mobile-app__devices {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .home-mobile-app__features {
    grid-column: 1;
  }

  .home-mobile-app__title {
    font-size: clamp(34px, 4vw, 46px);
  }
}

@media (max-width: 900px) {
  .home-mobile-app {
    padding: 64px 24px 72px;
  }

  .home-mobile-app__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    max-width: 520px;
  }

  .home-mobile-app__title {
    font-size: clamp(36px, 9vw, 48px);
  }

  .home-mobile-app__description {
    margin-top: 18px;
    font-size: 17px;
  }

  .home-mobile-app__devices {
    align-self: center;
  }

  .home-mobile-app__phone--back {
    left: 44%;
  }

  .home-mobile-app__feature-list {
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .home-mobile-app {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-mobile-app__phone--back { transform: rotate(4deg); }
  .home-mobile-app__phone--front { transform: rotate(-5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .home-mobile-app__stores a { transition: none; }
  .home-mobile-app__stores a:hover { transform: none; }
}
