.hero-inner {
  padding-block: 20px 36px;
}

.hero .hero-copy {
  gap: 23px;
}

.hero-carousel {
  min-width: 0;
  width: 100%;
}

.hero-carousel [hidden] {
  display: none;
}

.carousel-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding-block: 10px 34px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.carousel-stage::before {
  position: absolute;
  z-index: -1;
  inset-block-start: 70px;
  width: min(100%, 576px);
  height: calc(100% - 60px);
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.carousel-phone {
  width: 276px;
  box-shadow: 0 22px 42px -22px #1f454133;
}

.carousel-slide {
  aspect-ratio: 1206 / 2622;
}

.carousel-slide:not([hidden]) {
  animation: carousel-screen-in 350ms ease-out;
}

.carousel-slide img {
  height: 100%;
  object-fit: contain;
}

.carousel-controls {
  width: min(100%, 526px);
  margin-inline: auto;
}

.carousel-caption {
  margin-block-end: 6px;
  text-align: center;
}

.carousel-status {
  min-width: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 30px;
}

.carousel-navigation, .carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-navigation {
  gap: 8px;
}

.carousel-dot, .carousel-rotation {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: transparent;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.carousel-dot {
  width: 32px;
}

.carousel-dot::after {
  width: 9px;
  height: 9px;
  border: 2px solid #64847c;
  border-radius: 20px;
  content: "";
}

.carousel-dot[aria-current="true"]::after {
  width: 22px;
  border-color: var(--brand);
  background: var(--brand);
}

.carousel-rotation {
  width: 36px;
}

.carousel-rotation svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-dot:hover, .carousel-rotation:hover {
  background: var(--mint);
}

.carousel-dot:focus-visible, .carousel-rotation:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.carousel-sample {
  margin-block-start: 10px;
  padding-inline: 4px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

@media (max-width: 1000px) and (min-width: 801px) {
  .carousel-status {
    font-size: 16px;
    line-height: 26px;
  }

}

@media (max-width: 800px) {
  .hero-inner {
    gap: 24px;
    padding-block: 12px 40px;
  }

  .hero .hero-copy {
    gap: 16px;
  }

  .hero-description {
    font-size: 17px;
    line-height: 28px;
  }

  .hero .hero-note {
    font-size: 12px;
    line-height: 22px;
  }

  .hero-actions {
    gap: 4px;
  }

  .hero .download-note {
    font-size: 11px;
    line-height: 19px;
  }

  .hero .explore-link {
    min-height: 36px;
    font-size: 14px;
  }

  .hero-carousel {
    max-width: 568px;
  }

  .carousel-stage {
    padding-block: 0 30px;
  }

  .carousel-stage::before {
    inset-block-start: 68px;
    width: min(calc(100% + 40px), 500px);
    height: calc(100% - 80px);
  }

  .carousel-phone {
    width: 236px;
    padding: 6px;
    border-radius: 31px;
  }

  .carousel-phone img {
    border-radius: 25px;
  }

  .carousel-caption {
    margin-block-end: 4px;
  }

  .carousel-status {
    font-size: 15px;
    line-height: 24px;
  }

  .carousel-sample {
    margin-block-start: 8px;
    font-size: 11px;
    line-height: 20px;
  }
}

@media (max-width: 374px) {
  .carousel-status {
    font-size: 14px;
  }

}

@keyframes carousel-screen-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide:not([hidden]) {
    animation: none;
  }
}
