/* A single motion score: large entrances, slow atmosphere, quick controls. */
:root{--arrival-ease:cubic-bezier(.16,1,.3,1);--arrival-time:850ms}
main{overflow:clip}
.motion-scene{position:relative;isolation:isolate}
.motion-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;contain:paint;border-radius:inherit}
.light-pool{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;opacity:.42;animation:pool-travel 16s ease-in-out infinite alternate;animation-play-state:paused;will-change:transform}
.pool-blue{left:-24%;top:-25%;background:radial-gradient(circle,rgba(48,148,245,.26),transparent 66%)}
.pool-amber{right:-24%;bottom:-38%;background:radial-gradient(circle,rgba(255,165,0,.25),transparent 66%);animation-name:pool-return;animation-duration:21s;animation-delay:-7s}
.motion-ring{position:absolute;display:block;width:72%;aspect-ratio:1;border:1px solid rgba(66,144,213,.16);border-radius:50%;transform:translate3d(var(--drift-x,0px),var(--drift-y,0px),0) rotate(var(--scene-turn,0deg));transition:transform 150ms linear}
.ring-one{right:-28%;top:4%;border-style:dashed;animation:ring-turn 70s linear infinite;animation-play-state:paused}
.ring-two{left:-35%;bottom:-12%;width:87%;border-color:rgba(255,165,0,.16)}
.route-spark{position:absolute;top:15%;left:-10%;width:38%;height:1px;background:linear-gradient(90deg,transparent,var(--blue),var(--orange),transparent);rotate:-28deg;animation:route-cross 12s ease-in-out infinite;animation-play-state:paused;opacity:.38}
.scene-active .motion-atmosphere>*{animation-play-state:running}
.hero .motion-atmosphere{z-index:1;opacity:.8}
.hero .motion-atmosphere .pool-blue{left:30%;top:-20%;opacity:.36}
.hero .motion-atmosphere .pool-amber{right:-20%;bottom:-45%;opacity:.6}
.hero .motion-ring{border-color:rgba(255,255,255,.11)}
.hero .hero-copy{position:relative;z-index:2}
.hero-visual>img{animation:hero-breathe 18s ease-in-out infinite alternate;transform-origin:65% 45%;will-change:transform}
.hero .hero-image-shade{z-index:1}
.journey .pool-blue,.business-inner .pool-blue{opacity:.65}
.journey .ring-one{right:-15%;width:65%;top:10%}
.coverage .motion-atmosphere{z-index:0;opacity:.45}
.coverage-copy,.product-orbit{position:relative;z-index:1}
.business-inner .motion-atmosphere{z-index:0;opacity:.6}
.business-copy,.business-panel{position:relative;z-index:1}

/* Elements arrive along different paths, including on touch screens. */
.motion-ready .reveal[data-reveal]{--arrival-x:0px;--arrival-y:64px;--arrival-scale:.98;--arrival-turn:0deg;opacity:0;clip-path:none;transform:perspective(1200px) translate3d(var(--arrival-x),var(--arrival-y),0) rotate(var(--arrival-turn)) scale(var(--arrival-scale));transition:opacity 520ms ease-out,transform var(--arrival-time) var(--arrival-ease);transition-delay:var(--arrival-delay,0ms);will-change:auto}
.motion-ready .reveal[data-reveal="left"]{--arrival-x:-90px;--arrival-y:28px;--arrival-turn:-2deg}
.motion-ready .reveal[data-reveal="right"]{--arrival-x:90px;--arrival-y:28px;--arrival-turn:2deg}
.motion-ready .reveal[data-reveal="scale"]{--arrival-scale:.87;--arrival-y:40px;--arrival-turn:3deg}
.motion-ready .reveal.is-visible[data-reveal]{opacity:1;clip-path:none;transform:translate3d(0,0,0) rotate(0) scale(1)}
.kinetic-word{transition:opacity 450ms ease-out,transform 800ms var(--arrival-ease);transition-delay:calc(60ms + var(--word-index,0) * 32ms);transform:translate3d(var(--word-x,0),44px,0) rotate(var(--word-rotate,0deg)) scale(.96)}
.is-visible .kinetic-word{opacity:1;transform:translate3d(0,0,0) rotate(0) scale(1)}
.hero h1>span{color:#8bc2f5;animation:heading-light 7s ease-in-out infinite alternate}
.service-card.is-visible>*{animation-duration:600ms}
@media(hover:hover) and (pointer:fine){
  .motion-ready .service-card.is-visible:hover,.motion-ready .audience-card.is-visible:hover{transform:perspective(1200px) translateY(-7px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg));transition-duration:250ms;box-shadow:0 28px 70px rgba(23,78,141,.18)}
}
.service-icon{transition:transform 380ms var(--arrival-ease)}
.service-card:hover .service-icon{transform:translateY(-3px) rotate(-9deg) scale(1.08)}
.phone-stage .phone{translate:0 calc(var(--drift-y,0px) * -.18)}
.phone-stage .card-location,.phone-stage .card-confirm{animation:none;margin:0;translate:0 -7px}
.scene-active .card-location{animation:label-hover 5s ease-in-out infinite alternate}
.scene-active .card-confirm{animation:label-hover 5.8s ease-in-out -2s infinite alternate-reverse}
.phone-stage .orbit{animation:ring-turn 60s linear infinite;border-style:dashed;animation-play-state:paused}
.scene-active .phone-stage .orbit{animation-play-state:running}
.product-orbit .orbit-client,.product-orbit .orbit-provider{animation:none;margin:0}
.scene-active .orbit-client{animation:label-hover 5s ease-in-out infinite alternate}
.scene-active .orbit-provider{animation:label-hover 6s ease-in-out -3s infinite alternate-reverse}
.button,.cta-button{position:relative;overflow:hidden;touch-action:manipulation}
.button::after{content:"";position:absolute;inset:-100% auto -100% -65%;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);rotate:25deg;translate:-100% 0;pointer-events:none}
.button:hover::after,.button:focus-visible::after{animation:button-sheen 650ms ease-out}
.button:active{scale:.97;transition:scale 120ms ease-out}
.mobile-nav.open{animation:menu-unfold 300ms var(--arrival-ease) both}
.mobile-nav.open a{animation:menu-link-in 350ms var(--arrival-ease) both}
.mobile-nav.open a:nth-child(2){animation-delay:40ms}.mobile-nav.open a:nth-child(3){animation-delay:80ms}.mobile-nav.open a:nth-child(4){animation-delay:120ms}.mobile-nav.open a:nth-child(5){animation-delay:160ms}
.faq-list details[open] p{animation:answer-in 300ms ease-out both}
.final-cta .cta-glow{animation-duration:12s}
.motion-paused *, .motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important}

@keyframes pool-travel{from{transform:translate3d(-7%,-4%,0) scale(.9)}to{transform:translate3d(35%,22%,0) scale(1.3)}}
@keyframes pool-return{from{transform:translate3d(8%,5%,0) scale(1.2)}to{transform:translate3d(-35%,-25%,0) scale(.85)}}
@keyframes ring-turn{to{rotate:360deg}}
@keyframes route-cross{0%,15%{transform:translate3d(-40%,180px,0);opacity:0}35%{opacity:.5}75%{opacity:.4}100%{transform:translate3d(420%,-180px,0);opacity:0}}
@keyframes hero-breathe{from{scale:1.01}to{scale:1.075}}
@keyframes heading-light{to{color:#c1e4ff}}
@keyframes label-hover{from{translate:0 -7px}to{translate:0 9px}}
@keyframes button-sheen{to{translate:600% 0}}
@keyframes menu-unfold{from{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes menu-link-in{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes answer-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}

@media(max-width:760px){
  .motion-ready .reveal[data-reveal="left"]{--arrival-x:-32px;--arrival-y:24px;--arrival-turn:-2deg}
  .motion-ready .reveal[data-reveal="right"]{--arrival-x:32px;--arrival-y:24px;--arrival-turn:2deg}
  .motion-ready .reveal[data-reveal="scale"]{--arrival-scale:.94;--arrival-turn:2deg}
  .light-pool{width:125%;opacity:.36}.motion-ring{width:140%}
  .hero-visual>img{animation-duration:24s}
  .phone-stage{width:100%;min-height:780px;transform:none;margin-bottom:0;overflow:hidden}
  .phone.phone-real{width:min(310px,calc(100% - 26px));height:auto;aspect-ratio:340/762;padding:9px;border-radius:40px}
  .real-app-capture{border-radius:31px}
  .phone-stage .card-location{left:8px;top:14%;max-width:calc(100% - 16px)}
  .phone-stage .card-confirm{right:8px;bottom:13%;max-width:calc(100% - 16px)}
  .float-card{padding:10px 12px;gap:8px}.float-card strong{font-size:12px}
}
@media(max-width:360px){.phone-stage{min-height:710px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .motion-ready .reveal[data-reveal],.kinetic-word{opacity:1!important;transform:none!important;clip-path:none!important}
  .hero h1>span{background:none;color:#8bc2f5}
  .hero-visual>img{scale:1;transform:none!important}
  .phone-stage .phone,.phone-stage .card-location,.phone-stage .card-confirm{translate:none}
  .motion-ring{transform:none}.route-spark{display:none}
}
