.ios-availability {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.ios-availability__note,
.ios-coming-soon {
  margin: 0;
  color: color-mix(in srgb, #08164d 62%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark .ios-availability__note,
.dark .ios-coming-soon {
  color: rgba(251, 248, 255, 0.55);
}

.app-store-badge {
  display: inline-flex;
  overflow: hidden;
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-store-badge:hover {
  opacity: 0.84;
  transform: translateY(-1px);
}

.app-store-badge img {
  display: block;
  width: 112px;
  height: auto;
}

.ios-showcase {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: 10rem 0 11rem;
  background:
    radial-gradient(circle at 15% 18%, rgba(156, 173, 236, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 76%, rgba(196, 231, 210, 0.11), transparent 30rem),
    color-mix(in srgb, #f3f2ff 52%, transparent);
}

.dark .ios-showcase {
  background:
    radial-gradient(circle at 15% 18%, rgba(77, 91, 153, 0.13), transparent 28rem),
    radial-gradient(circle at 85% 76%, rgba(53, 103, 75, 0.08), transparent 30rem),
    rgba(255, 255, 255, 0.012);
}

.ios-showcase__inner {
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
}

.ios-showcase__intro {
  max-width: 52rem;
  margin-bottom: 7rem;
}

.ios-showcase__eyebrow {
  color: rgba(0, 19, 85, 0.42);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.dark .ios-showcase__eyebrow {
  color: rgba(255, 255, 255, 0.3);
}

.ios-showcase__intro h2 {
  margin: 1.25rem 0 1.5rem;
  color: #001355;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(2.65rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.dark .ios-showcase__intro h2 {
  color: #fbf8ff;
}

.ios-showcase__intro p {
  max-width: 44rem;
  margin: 0;
  color: #454651;
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.75;
}

.dark .ios-showcase__intro p {
  color: #c8cfe9;
}

.ios-showcase__phones {
  display: flex;
  flex-direction: column;
  gap: clamp(7rem, 12vw, 11rem);
}

.ios-showcase__step {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(18rem, 1.12fr);
  grid-template-areas: "copy visual";
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
  min-width: 0;
  min-height: min(52rem, 88svh);
}

.ios-showcase__step:nth-child(even) {
  grid-template-columns: minmax(18rem, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas: "visual copy";
}

.ios-showcase__copy {
  grid-area: copy;
  max-width: 31rem;
}

.ios-showcase__visual {
  grid-area: visual;
  min-width: 0;
}

.ios-showcase__number {
  display: block;
  margin-bottom: 1rem;
  color: rgba(0, 19, 85, 0.3);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

.dark .ios-showcase__number {
  color: rgba(255, 255, 255, 0.28);
}

.ios-showcase__step h3 {
  margin: 0 0 1.5rem;
  color: #001355;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.dark .ios-showcase__step h3 {
  color: #fbf8ff;
}

.ios-showcase__copy p {
  max-width: 28rem;
  margin: 0;
  color: #454651;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.dark .ios-showcase__copy p {
  color: #c8cfe9;
}

.ios-showcase__intro,
.ios-showcase__copy,
.ios-showcase__visual {
  opacity: 1;
  transform: none;
  transition:
    opacity 900ms cubic-bezier(0.21, 0.6, 0.35, 1),
    transform 1100ms cubic-bezier(0.21, 0.6, 0.35, 1);
}

.ios-showcase.ios-story-ready .ios-showcase__intro:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 2.5rem, 0);
}

.ios-showcase.ios-story-ready .ios-showcase__step:not(.is-visible) .ios-showcase__copy {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ios-showcase.ios-story-ready .ios-showcase__step:not(.is-visible) .ios-showcase__visual {
  opacity: 0;
  transform: translate3d(4.5rem, 0, 0);
}

.ios-showcase.ios-story-ready .ios-showcase__step:nth-child(even):not(.is-visible) .ios-showcase__copy {
  transform: translate3d(4.5rem, 0, 0);
}

.ios-showcase.ios-story-ready .ios-showcase__step:nth-child(even):not(.is-visible) .ios-showcase__visual {
  transform: translate3d(-4.5rem, 0, 0);
}

.ios-showcase__step .ios-showcase__visual {
  transition-delay: 90ms;
}

.ios-phone {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  padding: 0.42rem;
  border: 1px solid rgba(0, 19, 85, 0.12);
  border-radius: 2.5rem;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 2.5rem 6rem rgba(23, 30, 73, 0.13);
}

.dark .ios-phone {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.42);
}

.ios-phone picture {
  display: block;
  overflow: hidden;
  border-radius: 2.15rem;
}

.ios-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
}

.final-store-paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.apple-trademark-credit {
  margin-top: 0.7rem !important;
  font-size: 0.65rem !important;
  opacity: 0.75;
}

@media (max-width: 767px) {
  .ios-showcase {
    padding: 7rem 0;
  }

  .ios-showcase__inner {
    width: min(100% - 2rem, 34rem);
  }

  .ios-showcase__intro {
    margin-bottom: 4rem;
  }

  .ios-showcase__phones {
    gap: 7.5rem;
  }

  .ios-showcase__step,
  .ios-showcase__step:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
    gap: 2.5rem;
    min-height: 0;
  }

  .ios-showcase__copy {
    max-width: 27rem;
    margin-inline: auto;
    text-align: center;
  }

  .ios-showcase__step h3 {
    max-width: 23rem;
    margin-inline: auto;
    margin-bottom: 1.2rem;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
    text-align: center;
  }

  .ios-showcase__copy p {
    margin-inline: auto;
  }

  .ios-showcase__number {
    text-align: center;
  }

  .ios-phone {
    width: min(100%, 20rem);
    min-width: 280px;
  }

  .ios-showcase.ios-story-ready .ios-showcase__step:not(.is-visible) .ios-showcase__copy,
  .ios-showcase.ios-story-ready .ios-showcase__step:nth-child(even):not(.is-visible) .ios-showcase__copy {
    transform: translate3d(0, 2rem, 0);
  }

  .ios-showcase.ios-story-ready .ios-showcase__step:not(.is-visible) .ios-showcase__visual,
  .ios-showcase.ios-story-ready .ios-showcase__step:nth-child(even):not(.is-visible) .ios-showcase__visual {
    transform: translate3d(0, 2.75rem, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-store-badge {
    transition: none;
  }

  .app-store-badge:hover {
    transform: none;
  }

  .ios-showcase__intro,
  .ios-showcase__copy,
  .ios-showcase__visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}