.motion-story {
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 55%,
      #0a84ff0b,
      transparent 60%),
    #0b0b0d;
  isolation: isolate;
  overflow: clip;
  margin-block: 0 110px;
}
.motion-sticky {
  padding: 70px 24px 32px;
  max-width: 1240px;
  margin: auto;
}
.motion-heading {
  text-align: center;
  margin-bottom: 40px;
}
.motion-heading .eyebrow {
  margin-bottom: 16px;
}
.motion-heading h2 {
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.02;
}
.motion-heading h2 span {
  color: #85858d;
}
.motion-scenes {
  display: grid;
  gap: 70px;
}
.motion-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 850px;
  width: 100%;
  margin: auto;
}
.motion-caption {
  max-width: 370px;
}
.motion-index {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 650;
  color: #64b5ff;
  display: block;
  margin-bottom: 14px;
}
.motion-caption h3 {
  font-size: clamp(29px, 3.3vw, 43px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.motion-caption p {
  font-size: 17px;
  line-height: 1.5;
  margin-top: 17px;
}
.motion-device {
  --motion-turn:0deg;
  --motion-tilt:0deg;
  --motion-lift:0px;
  position: relative;
  justify-self: center;
  display: block;
  width: min(300px, 70vw);
  background:
    linear-gradient(
      135deg,
      #a5a5ad,
      #29292b 14%,
      #747475 48%,
      #252527 85%);
  padding: 5px;
  border-radius: 39px;
  box-shadow: inset 0 0 0 1px #b6b6c177, 18px 35px 65px #0009;
  transform: perspective(1100px) translateY(var(--motion-lift)) rotateX(var(--motion-tilt)) rotateY(var(--motion-turn));
  transform-style: preserve-3d;
}
.motion-app-capture {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  border-radius: 34px;
  background: #101012;
}
.motion-enlarge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  background: #252528ed;
  border: 1px solid #ffffff30;
  border-radius: 20px;
  padding: 8px 11px;
  opacity: 0;
  transition: opacity .2s;
}
.motion-device:hover .motion-enlarge,
.motion-device:focus-visible .motion-enlarge {
  opacity: 1;
}
.motion-device:focus-visible {
  outline: 3px solid #64b5ff;
  outline-offset: 7px;
}
.motion-footer {
  text-align: center;
  margin-top: 35px;
}
.motion-footer p {
  font-size: 10px;
  color: #8e8e98;
  line-height: 1.5;
}
.motion-progress {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.motion-progress span {
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: #303844;
}
.motion-progress .is-current {
  background: #0a84ff;
}
.motion-ready .motion-story {
  height: 240svh;
}
.motion-ready .motion-sticky {
  position: sticky;
  top: 62px;
  height: calc(100svh - 62px);
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.motion-ready .motion-heading {
  margin-bottom: 30px;
}
.motion-ready .motion-scenes {
  position: relative;
  flex: 1;
  min-height: 0;
  display: block;
  max-height: 510px;
  width: 100%;
  perspective: 1100px;
}
.motion-ready .motion-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .48s ease, visibility .48s;
  gap: 65px;
}
.motion-ready .motion-step.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.motion-ready .motion-device {
  width: min(260px, 22svh);
  will-change: transform;
}
.motion-ready .motion-progress {
  display: flex;
}
.motion-ready .motion-footer {
  margin-top: 20px;
}
@media (max-width: 700px) {
  .motion-story {
    margin-bottom: 90px;
  }
  .motion-sticky {
    padding-inline: 22px;
  }
  .motion-heading h2 {
    font-size: 44px;
  }
  .motion-heading {
    margin-bottom: 32px;
  }
  .motion-step {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .motion-caption {
    margin: auto;
    max-width: 330px;
  }
  .motion-caption h3 {
    font-size: 28px;
  }
  .motion-caption p {
    font-size: 14px;
    margin-top: 9px;
  }
  .motion-index {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .motion-device {
    border-radius: 31px;
  }
  .motion-app-capture {
    border-radius: 26px;
  }
  .motion-ready .motion-story {
    height: 240svh;
  }
  .motion-ready .motion-sticky {
    min-height: 0;
    top: 62px;
    height: calc(100svh - 62px);
    padding-top: 16px;
    padding-bottom: 16px;
    justify-content: flex-start;
  }
  .motion-ready .motion-heading {
    margin-bottom: 16px;
  }
  .motion-ready .motion-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .motion-ready .motion-heading h2 {
    font-size: clamp(33px, 5.2svh, 44px);
  }
  .motion-ready .motion-scenes {
    max-height: none;
  }
  .motion-ready .motion-step {
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .motion-ready .motion-caption {
    margin: 0;
  }
  .motion-ready .motion-caption h3 {
    font-size: clamp(23px, 3.3svh, 28px);
  }
  .motion-ready .motion-caption p {
    font-size: 13px;
    line-height: 1.4;
  }
  .motion-ready .motion-index {
    font-size: 8px;
    margin-bottom: 7px;
  }
  .motion-ready .motion-device {
    width: min(238px, 21svh);
    flex: none;
  }
  .motion-ready .motion-footer {
    margin-top: 11px;
  }
  .motion-footer p {
    font-size: 8px;
    max-width: 280px;
    margin: auto;
  }
  .motion-progress {
    margin-bottom: 9px;
  }
}
@media (max-height: 680px) and (max-width: 700px) {
  .motion-ready .motion-heading h2 {
    font-size: 30px;
  }
  .motion-ready .motion-heading {
    margin-bottom: 8px;
  }
  .motion-ready .motion-caption p {
    font-size: 12px;
  }
  .motion-ready .motion-caption h3 {
    font-size: 23px;
  }
  .motion-ready .motion-step {
    gap: 10px;
  }
  .motion-ready .motion-device {
    width: 19svh;
  }
  .motion-ready .motion-index {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-story {
    height: auto;
  }
  .motion-ready .motion-sticky {
    position: static;
    height: auto;
    max-height: none;
    min-height: 0;
    padding-block: 60px;
  }
  .motion-ready .motion-scenes {
    display: grid;
    position: static;
    max-height: none;
    gap: 60px;
  }
  .motion-ready .motion-step {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    display: grid;
  }
  .motion-ready .motion-device {
    transform: none;
    will-change: auto;
  }
  .motion-ready .motion-progress {
    display: none;
  }
  .motion-ready .motion-caption {
    margin: auto;
  }
}
@media (hover: none) {
  .motion-enlarge {
    opacity: 1;
    font-size: 9px;
    padding: 6px 9px;
    bottom: 12px;
  }
}
