.rental-story {
  --rental-ink: #171717;
  --rental-muted: #575757;
  --rental-rule: #cdcdcd;
  --rental-paper: #f6f6f6;
  background: var(--rental-paper);
  color: var(--rental-ink);
  font-family: var(--sans, "Space Grotesk", sans-serif);
  padding-block: clamp(64px, 7vw, 116px);
  scroll-margin-top: 66px;
}
.rental-story .rental-inner {
  width: min(1312px, calc(100% - clamp(48px, 9vw, 160px)));
  margin-inline: auto;
}
.rental-story h2 {
  margin: 0 0 clamp(32px, 4vw, 60px);
  font-size: clamp(54px, 6.1vw, 96px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.07em;
}
.rental-story h2 span { color: #555555; }
.rental-story .rental-screen { display: none; }
.rental-story .rental-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rental-story .rental-step {
  min-width: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.rental-story .rental-copy {
  display: grid;
  grid-template-columns: 2ch 1fr;
  gap: clamp(12px, 1.5vw, 24px);
  padding-top: 20px;
}
.rental-story .rental-number {
  color: var(--rental-muted);
  font: 500 12px/1.6 ui-monospace, Menlo, monospace;
  padding-top: .4em;
}
.rental-story h3 {
  font-size: clamp(29px, 3.4vw, 52px);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: 1.06;
  margin: 0 0 12px;
}
.rental-story .rental-copy p {
  max-width: 35ch;
  margin: 0;
  font: 400 clamp(15px, 1.18vw, 18px)/1.55 Arial, Helvetica, sans-serif;
  color: var(--rental-muted);
}
.rental-story .rental-frame,
.rental-story .rental-screen {
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(18px, 2.5vw, 38px);
  background: #e9e9e9;
}
.rental-story .rental-frame { position: relative; aspect-ratio: 1.28; }
.rental-story .rental-scene {
  --action: .42;
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.rental-story .rent-scene {
  background: radial-gradient(ellipse at 39% 25%, #fbfbfb 0%, #e9e9e9 54%, #d7d7d7 100%);
}
.rental-story .rent-station {
  position: absolute;
  width: 67%;
  height: 90%;
  left: 8%;
  bottom: 4%;
  mix-blend-mode: multiply;
  transform: translate3d(calc(var(--action) * 1.8%), 0, 0) scale(calc(.97 + var(--action) * .035));
}
.rental-story .rent-station img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rental-story .rent-card {
  position: absolute;
  left: 63%;
  top: 49%;
  width: 29%;
  aspect-ratio: 1.59;
  border-radius: 1.55cqw;
  background: linear-gradient(147deg, #808080, #3e3e3e 42%, #313131 70%, #595959);
  border: 1px solid #b1b1b1;
  box-shadow: inset 1px 1px 0 #e7e7e780, 1px 2px 0 #252525, 1.5cqw 2.2cqw 4cqw #1b1b1b4d;
  transform: perspective(520px) translate3d(calc(11% - var(--action) * 54%), calc(12% - var(--action) * 26%), 0) rotate(-13deg) rotateY(-13deg);
}
.rental-story .rent-card-chip {
  position: absolute;
  left: 15%;
  top: 41%;
  width: 16%;
  height: 22%;
  border: 1px solid #dddddda6;
  border-radius: 22%;
  background: linear-gradient(90deg, transparent 43%, #6d6d6d 45% 49%, transparent 50%), linear-gradient(0deg, transparent 45%, #6d6d6d 47% 51%, transparent 52%), linear-gradient(155deg, #dbdbdb, #a6a6a6, #d7d7d7);
}
.rental-story .rent-card-groove {
  position: absolute;
  right: 6%;
  bottom: 9%;
  height: 2px;
  width: 19%;
  background: #a1a1a1;
  border-radius: 10px;
}
.rental-story .rent-radio {
  position: absolute;
  right: 10%;
  top: 14%;
  width: 12%;
  height: 18%;
  color: #e5e5e5;
}
.rental-story .charge-scene {
  background: radial-gradient(ellipse at 36% 32%, #f4f4f4, #e3e3e3 67%, #d1d1d1);
}
.rental-story .charge-rig {
  position: absolute;
  inset: 9% 4% 14%;
  transform: rotate(calc(-8deg + var(--action) * 3deg)) translateY(calc(3% - var(--action) * 6%));
}
.rental-story .charge-phone {
  position: absolute;
  top: 0;
  left: 24%;
  width: 31%;
  height: 93%;
  padding: 1.1%;
  border-radius: 4.5cqw;
  border: .25cqw solid #a8a8a8;
  background: linear-gradient(135deg, #1d1d1d, #494949 52%, #0d0d0d);
  box-shadow: inset .16cqw .12cqw .25cqw #e3e3e3, -.6cqw 1cqw 0 #4e4e4e, -1.5cqw 1.8cqw 3cqw #10101038;
}
.rental-story .charge-display {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1cqw;
  width: 100%;
  height: 100%;
  border-radius: 3.3cqw;
  background: radial-gradient(ellipse at 95% 105%, #696969, transparent 55%), radial-gradient(ellipse at 10% 5%, #454545, transparent 58%), #1a1a1a;
}
.rental-story .charge-island {
  position: absolute;
  left: 35%;
  top: 2%;
  width: 30%;
  height: 3.7%;
  border-radius: 20px;
  background: #151515;
}
.rental-story .charge-battery {
  width: 8.3cqw;
  height: 3.9cqw;
  border: .28cqw solid #d2d2d2;
  border-radius: 1cqw;
  padding: .4cqw;
  position: relative;
}
.rental-story .charge-battery::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 28%;
  width: .55cqw;
  height: 44%;
  margin-left: .35cqw;
  border-radius: 0 3px 3px 0;
  background: #d2d2d2;
}
.rental-story .charge-battery i {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: .4cqw;
  transform-origin: left;
  transform: scaleX(calc(.2 + var(--action) * .8));
}
.rental-story .charge-status {
  color: #e4e4e4;
  font-size: 1.5cqw;
  line-height: 1.2;
  font-weight: 550;
}
.rental-story .charge-lead {
  position: absolute;
  left: 39%;
  bottom: -8%;
  width: 29%;
  height: 26%;
  border: .85cqw solid #3a3a3a;
  border-top: 0;
  border-radius: 0 0 5cqw 6cqw;
  box-shadow: 0 .35cqw .35cqw #19191940, inset 0 -.14cqw .14cqw #f4f4f4;
}
.rental-story .charge-pack {
  position: absolute;
  left: 59%;
  top: 26%;
  width: 23%;
  height: 68%;
  max-width: none;
  border-radius: 4% 4% 9% 9% / 1.6% 1.6% 4% 4%;
  transform: rotate(8deg);
  box-shadow: -.45cqw .55cqw 0 #939393, -1.1cqw 1.5cqw 2cqw #2d2d2d33;
}
.rental-story .return-scene { background: #e4e4e4; }
.rental-story .return-camera {
  position: absolute;
  left: -12%;
  top: 55%;
  width: 120%;
  aspect-ratio: 860 / 993;
  transform: translateY(-64%) scale(calc(.965 + var(--action) * .075));
}
.rental-story .return-camera > img {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}
.rental-story .return-mouth {
  position: absolute;
  left: 40.3%;
  top: 62.2%;
  width: 20.6%;
  height: 4.45%;
  border-radius: 200px;
  background: linear-gradient(#050505, #141414);
  opacity: clamp(0, calc((1 - var(--action)) * 13), 1);
  box-shadow: inset 0 .2cqw .15cqw #070707;
}
.rental-story .return-gate {
  position: absolute;
  left: 31%;
  top: 64%;
  width: 44%;
  height: 33%;
  overflow: hidden;
}
.rental-story .return-carriage {
  position: absolute;
  top: -2%;
  left: 24%;
  width: 42%;
  height: 58%;
  transform: translateY(calc(3% - var(--action) * 96%));
}
.rental-story .return-deck {
  display: block;
  width: 100%;
  height: 185%;
  transform-origin: center top;
  transform: perspective(270cqw) rotateX(65deg);
  overflow: hidden;
  border-radius: 5%;
  box-shadow: 0 -.65cqw 0 #424242, 0 -1cqw 1cqw #22222266;
}
.rental-story .return-pack {
  width: 100%;
  height: 100%;
  border-radius: 5%;
  transform: rotate(180deg);
}
.rental-story.is-scrolling .rental-screen > .rental-scene {
  opacity: var(--visibility, 0);
  pointer-events: none;
}
@media (min-width: 761px) and (min-height: 520px) and (prefers-reduced-motion: no-preference) {
  .rental-story.is-scrolling .rental-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    align-items: start;
    gap: clamp(35px, 7vw, 116px);
  }
  .rental-story.is-scrolling .rental-screen {
    display: block;
    position: sticky;
    top: max(88px, 15vh);
    width: 100%;
    height: min(55vw, 64vh, 556px);
    min-height: 270px;
  }
  .rental-story.is-scrolling .rental-steps {
    display: block;
  }
  .rental-story.is-scrolling .rental-step {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--rental-rule);
    min-height: clamp(176px, 31vh, 290px);
  }
  .rental-story.is-scrolling .rental-step:last-child {
    border-bottom: 1px solid var(--rental-rule);
  }
  .rental-story.is-scrolling .rental-copy {
    padding-block: 24px;
  }
  .rental-story.is-scrolling .rental-frame { display: none; }
  .rental-story.is-scrolling .rental-number {
    position: relative;
    font-size: 13px;
  }
  .rental-story.is-scrolling .rental-number::before {
    content: "";
    position: absolute;
    left: -.8em;
    top: .92em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #171717;
    opacity: var(--step-emphasis, 0);
  }
}
@media (max-width: 760px) {
  .rental-story { padding-block: 54px; }
  .rental-story .rental-inner { width: calc(100% - 40px); }
  .rental-story h2 { font-size: clamp(44px, 8vw, 61px); }
  .rental-story .rental-steps { grid-template-columns: 1fr; gap: 38px; }
  .rental-story .rental-frame { width: 100%; aspect-ratio: 1.65; }
  .rental-story .rental-copy { padding-top: 18px; gap: 13px; }
  .rental-story h3 { font-size: 32px; margin-bottom: 6px; }
  .rental-story .rental-copy p { max-width: 48ch; }
}
@media (max-width: 380px) {
  .rental-story .rental-inner { width: calc(100% - 32px); }
  .rental-story .rental-frame { aspect-ratio: 1.5; }
}
