/* Keep the desktop page unchanged; center text and place each feature before its screen on mobile. */
.mobile-footer-art {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    justify-content: center;
  }

  .site-header > span,
  .hero-device {
    display: none;
  }

  .hero-copy,
  .features > .grid {
    text-align: center;
  }

  .hero-copy > p.max-w-md,
  .features > .grid > :last-child > p {
    margin-inline: auto;
  }

  .hero .store-badges,
  .hero .rating-group,
  .bot-section .store-badges {
    justify-content: center;
  }

  .hero .rating-group {
    display: flex;
  }

  .features > .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .features > .grid > :first-child {
    order: 2;
  }

  .features > .grid > :last-child {
    order: 1;
  }

  .features > .grid > :last-child > .rounded-full {
    margin-inline: auto;
  }

  .mobile-footer-art,
  .mobile-footer-art img {
    display: block;
    width: 100%;
  }

  .mobile-footer-art {
    position: relative;
    aspect-ratio: 1024 / 320;
    overflow: hidden;
  }

  .mobile-footer-art img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
  }
}

@media (max-width: 420px) {
  .hero .rating-group .pill,
  .bot-section .pill {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
