/* Vindex — "steps" cards: light, GPU-friendly effects (transform / opacity only). */
@media(min-width:1200px){
  html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps{position:relative}
  /* connecting line that draws itself behind the cards */
  html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps::before{
    content:"";position:absolute;left:12%;right:12%;top:62px;height:2px;z-index:0;pointer-events:none;
    background:repeating-linear-gradient(90deg,#6aa5ae 0 8px,transparent 8px 16px);opacity:.55;
    transform-origin:left center;transform:scaleX(1);
  }
  html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li{position:relative;z-index:1}
}

html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual:is(div,#vx-smooth-step){
  position:relative;overflow:hidden;width:100%;box-sizing:border-box;
  transform:none!important;will-change:auto;backface-visibility:visible;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .3s ease!important;
}
/* accent bar that grows from the centre */
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,transparent,#3398a8 30%,#17606c 70%,transparent);
  transform:scaleX(0);transition:transform .55s cubic-bezier(.2,.7,.2,1);
}
/* soft inner tint, fades in */
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .45s ease;
  background:radial-gradient(90% 70% at 50% 0%,rgba(88,167,180,.22),transparent 70%);
}
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual>*{position:relative;z-index:1}

/* number badge: teal fill fades in under the digits */
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual>.step-number{
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;isolation:isolate;z-index:1;transition:transform .45s cubic-bezier(.2,.7,.2,1),color .3s ease!important;
}
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual>.step-number::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;opacity:0;transition:opacity .35s ease;
  background:linear-gradient(90deg,#0c2a38 0%,#17606c 60%,#3fa5b5 100%);box-shadow:0 8px 16px -6px rgba(23,83,92,.55);
}

@media(hover:hover) and (pointer:fine){
  html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover>.vx-step-visual:is(div,#vx-smooth-step){
    transform:translateY(-6px)!important;border-color:#87b5bc!important;
    box-shadow:0 24px 34px -20px rgba(23,69,80,.45),0 3px 8px rgba(23,69,80,.06)!important;
  }
  html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover>.vx-step-visual::before{transform:scaleX(1)}
  html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover>.vx-step-visual::after{opacity:1}
  html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover>.vx-step-visual>.step-number{color:#fff!important;transform:scale(1.08)}
  html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover>.vx-step-visual>.step-number::before{opacity:1}
}
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual:focus-within{border-color:#87b5bc!important}

/* A delayed/missed observer must never hide the workflow, including restored pages. */
html body[data-design-version][data-vx-page] .steps>li,
html body[data-design-version][data-vx-page] .steps.vx-steps-ready>li{opacity:1!important;visibility:visible!important;animation:none!important}
html body[data-design-version][data-vx-page] .steps.vx-arrive{opacity:1!important;animation:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){
  html body[data-design-version][data-vx-page] .steps.vx-steps-ready>li{opacity:1!important;animation:none!important}
  html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li>.vx-step-visual{transition:none!important}
}

/* Hover pairs the shared blue gradient with crisp white digits. */
@media(hover:hover) and (pointer:fine){
 html:not([data-vx-edit-mode]) body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li:hover .step-number:is(span,#vx-step-ink):is(span,#vx-step-gradient){color:#fff!important;-webkit-text-fill-color:#fff!important}
}
html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li p:is(p,#vx-step-ink):is(p,#vx-step-gradient){transition:color 450ms ease,-webkit-text-fill-color 450ms ease!important}
@media(prefers-reduced-motion:reduce){html body[data-design-version][data-vx-page] [data-mobile-steps-section] .steps>li p:is(p,#vx-step-ink):is(p,#vx-step-gradient){transition:none!important}}
