.sticky-steps {
  display: grid;
  gap: 30px;
}

.sticky-steps-intro h2 {
  text-wrap: balance;
}

.sticky-steps-intro h2 span {
  display: block;
}

.sticky-steps-intro .about-section-lede {
  max-width: 43ch;
  margin-inline: 0;
}

.sticky-steps-counter {
  display: none;
  margin-top: clamp(22px, 4vh, 46px);
  /* Glow outside the clipped reel (px blur). */
  filter: drop-shadow(0 0 22px var(--process-number-glow, #bc92fa75));
  transition: filter .3s ease;
}

.sticky-steps-number {
  /* overflow:clip + horizontal clip-margin keeps the reel masked
     without chopping the last digit ink. Glow is on .sticky-steps-counter. */
  overflow: clip;
  overflow-clip-margin: 0 .4em;
  height: 1.05em;
  margin-inline: -.08em -.4em;
  padding-inline: .08em .4em;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  font-size: clamp(92px, min(12vw, 19vh), 172px);
  font-variant-numeric: tabular-nums;
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: -.065em;
}

.sticky-steps-reel {
  transform: translateY(calc(var(--step-index, 0) * -1.05em));
  transition: transform .56s cubic-bezier(.2, .7, .2, 1);
}

.sticky-steps-reel span {
  display: block;
  height: 1.05em;
  width: max-content;
  padding-inline-end: .06em;
}

.sticky-steps-progress {
  position: relative;
  width: min(55%, 228px);
  height: 2px;
  margin-top: 18px;
  background: #d8c5fa22;
}

.sticky-steps-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #e0c8f5;
  transform: scaleX(var(--step-progress, .16667));
  transform-origin: left center;
  transition: transform .44s cubic-bezier(.2, .7, .2, 1);
}

.sticky-steps-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sticky-steps-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid #aba2cc38;
  border-radius: clamp(19px, 2.1vw, 28px);
  background: linear-gradient(145deg, #24243eaa, #101328cf);
  color: #f7f4ff;
  transition: background-color .4s, border-color .4s, box-shadow .4s, color .4s;
}

.sticky-steps-item > span {
  width: max-content;
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.45;
}

.sticky-steps-item h3 {
  margin: 12px 0 0;
  font-size: clamp(23px, 2.55vw, 36px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -.045em;
}

.sticky-steps-item p {
  max-width: 47ch;
  margin: 13px 0 0;
  color: var(--step-description-color, #cdd2e4);
  font-size: clamp(15px, 1.28vw, 17px);
  line-height: 1.64;
}

.sticky-steps-item p {
  transition: color .4s;
}

@media (min-width: 901px) and (min-height: 640px) {
  .sticky-steps {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    gap: clamp(38px, 6vw, 92px);
  }

  .sticky-steps-intro {
    position: sticky;
    top: clamp(100px, 16vh, 180px);
    align-self: start;
  }

  .sticky-steps[data-enhanced] .sticky-steps-counter { display: block; }

  .sticky-steps-list {
    padding-block: clamp(54px, 12.6vh, 126px) clamp(48px, 10vh, 104px);
    gap: 16px;
  }

  .sticky-steps-item {
    min-height: clamp(182px, 24vh, 246px);
  }

  .sticky-steps[data-enhanced] .sticky-steps-item {
    --step-description-color: #aaaec5;
    background-color: #0b0e1f;
    border-color: #aba2cc20;
    color: #b5b1c7;
  }

  .sticky-steps[data-enhanced] .sticky-steps-item[aria-current="step"] {
    --step-description-color: #e3d9f0;
    background-color: #594071;
    border-color: #e7b9f5a8;
    color: #fff8ff;
    box-shadow: inset 0 1px 0 #fae3ff38, 0 14px 36px #03041675, 0 0 42px #b58bef27;
  }
}

:where(.sticky-steps-intro:hover, .sticky-steps-item:hover, [aria-current="step"],
  [data-process-step]:hover, [data-process-step].is-active) {
  --process-number-glow: #d5aaffaa;
}

:is(.process-step-number, .sticky-steps-reel > span, .sticky-steps-item > span) {
  color: #e8d8fc;
}

:is(.process-step-number, .sticky-steps-item > span) {
  filter: drop-shadow(0 0 .13em var(--process-number-glow, #bc92fa75));
  transition: filter .3s ease;
}


@supports (background-clip: text) or (-webkit-background-clip: text) {
  :is(.process-step-number, .sticky-steps-reel > span, .sticky-steps-item > span) {
    background-image:
      radial-gradient(ellipse at 36% 12%, #fff9ff 0%, #fff5ff91 26%, transparent 66%),
      linear-gradient(144deg, #f3e6ff 13%, #ddc5fd 46%, #ad97e0 74%, #ebbefb 98%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.process-step-badge {
  box-shadow: 0 0 .72rem var(--process-number-glow, #bc92fa64), inset 0 1px 3px #fff5ff99;
  transition: box-shadow .3s ease;
}

@media (forced-colors: active) {
  .sticky-steps-counter,
  :is(.process-step-number, .sticky-steps-reel > span, .sticky-steps-item > span) {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step-number,
  .process-step-badge,
  .sticky-steps-item,
  .sticky-steps-item > span,
  .sticky-steps-item p,
  .sticky-steps-reel > span,
  .sticky-steps-reel,
  .sticky-steps-progress::after { transition: none; }
}
