/* "How it works" journey: scroll-driven ball (2026-11-02). Desktop = the SVG path, phones = the vertical list.
   The ball follows the scroll position; steps light up as it reaches them and dim again if you scroll back. */
.jr .jr__dots{stroke:var(--line-2);stroke-width:2;stroke-dasharray:1 12}
.jr .jr__draw{stroke:url(#jrG);stroke-width:3.5;stroke-linecap:round;transition:none}
.jr .stop{opacity:.4;transform:none;transition:opacity .5s var(--ease)!important;transition-delay:0s!important}
.jr .stop.done{opacity:1}
.jr .stop .pin,.jr .stop .dot{transform-box:fill-box;transform-origin:center;transition:fill .45s,stroke .45s}
.jr .stop.done .pin{fill:url(#jrG);stroke:transparent}
.jr .stop.done text.n{fill:#fff}
.jr .stop .ring{fill:none;stroke:url(#jrG);stroke-width:2.5;opacity:0;transform-box:fill-box;transform-origin:center}
.jr .stop.pulse .ring{animation:jrRing .95s cubic-bezier(.2,.8,.2,1) both}
.jr .stop.pulse .pin,.jr .stop.pulse .dot{animation:jrPop .65s cubic-bezier(.3,1.5,.4,1)}
@keyframes jrRing{0%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(2.4)}}
@keyframes jrPop{0%{transform:scale(.82)}60%{transform:scale(1.2)}100%{transform:scale(1)}}
.jr__ball .halo{transform-box:fill-box;transform-origin:center;animation:jrBreathe 2.6s ease-in-out infinite}
@keyframes jrBreathe{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.35);opacity:.8}}
.jr__ball .core{filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
html[data-theme="dark"] .jr__ball .core{fill:#fff}

@media(max-width:780px){
  .jv .jv__dots{stroke:var(--line-2)}
  .jv .jv__draw{stroke:url(#jvG);stroke-width:3.5;transition:none}
  .jv .jv__pin{opacity:.45;transform:none;transition:opacity .45s var(--ease),background .45s,border-color .45s,color .45s!important;transition-delay:0s!important}
  .jv .jv__t{opacity:.4;transform:translateY(-50%);transition:opacity .5s var(--ease)!important;transition-delay:0s!important}
  .jv .jv__r.done .jv__pin{opacity:1;background:var(--pc,#FF3D8B);border-color:transparent;color:#fff}
  .jv .jv__r.done .jv__t{opacity:1}
  .jv .jv__pin::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2.5px solid var(--pc,#FF3D8B);opacity:0;pointer-events:none}
  .jv .jv__r.pulse .jv__pin{animation:jrPop .65s cubic-bezier(.3,1.5,.4,1)}
  .jv .jv__r.pulse .jv__pin::after{animation:jrRing .95s cubic-bezier(.2,.8,.2,1) both}
}
@media(prefers-reduced-motion:reduce){.jr__ball{display:none}.jr .stop,.jv .jv__t,.jv .jv__pin{opacity:1!important}.jr .stop.pulse *,.jv .jv__r.pulse *{animation:none!important}}
