/* MODRN motion v2 add-on. Transforms/opacity for layout-affecting motion; overlay is absolutely positioned (no layout impact). */
/* ---------- live laptop screen (also shown under reduced motion, with final values) ---------- */
.m2-screen{position:absolute;left:17.083%;top:14.098%;width:66.25%;height:68.91%;overflow:hidden;border-radius:.4% .4% 0 0/.6% .6% 0 0;z-index:2;pointer-events:none;opacity:0;transition:opacity .35s}
.m2-screen.m2-ready{opacity:1}
html.dark .m2-screen{display:none}
.m2-ui{position:absolute;left:0;top:0;width:1272px;height:787px;transform-origin:0 0;transform:scale(var(--m2s,.5));background:#f6f6f6;font-family:var(--sans,'DM Sans',Arial,sans-serif);color:#1f1f26;contain:layout paint}
.m2-notch{position:absolute;left:578px;top:0;width:136px;height:24px;background:#050505;border-radius:0 0 10px 10px;z-index:3}
.m2-notch::after{content:"";position:absolute;left:62px;top:7px;width:9px;height:9px;border-radius:50%;background:#1d2633}
.m2-head{position:absolute;left:62px;right:62px;top:34px;display:flex;align-items:center;justify-content:space-between}
.m2-title{font-size:30px;font-weight:500;letter-spacing:-.01em}
.m2-live{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:500}
.m2-chip{font-size:13px;font-weight:600;color:#6a5bd9;background:#efecfd;border-radius:999px;padding:5px 12px}
.m2-dot{position:relative;width:11px;height:11px;border-radius:50%;background:#34b45a}
.m2-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#34b45a;animation:m2ping 1.6s cubic-bezier(0,0,.2,1) infinite}
@keyframes m2ping{75%,100%{transform:scale(2.6);opacity:0}}
.m2-card{position:absolute;background:#fdfdfd;border-radius:12px;box-shadow:0 1px 2px rgba(20,20,40,.05),0 0 0 1px rgba(20,20,40,.035)}
.m2-kpi{top:96px;height:146px;padding:26px 30px}
.m2-k1{left:52px;width:380px}.m2-k2{left:446px;width:376px}.m2-k3{left:836px;width:384px}
.m2-lbl{font-size:16px;color:#55566a}
.m2-val{font-size:36px;font-weight:500;margin-top:16px;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.m2-sub{font-size:14px;color:#6c6d7e;margin-top:6px}
.m2-spark{position:absolute;right:26px;bottom:34px;width:150px;height:62px}
.m2-rev{left:52px;top:258px;width:770px;height:296px;padding:24px 30px}
.m2-prof{left:836px;top:258px;width:384px;height:296px;padding:24px 30px}
.m2-h{font-size:18px;font-weight:500}
.m2-tabs{position:absolute;right:30px;top:20px;display:flex;gap:6px;font-size:14px;color:#6c6d7e}
.m2-tabs span{padding:5px 14px;border-radius:999px}.m2-tabs .on{background:#8372ea;color:#fff}
.m2-area{position:absolute;left:30px;right:30px;top:62px;bottom:24px}
.m2-area svg{width:100%;height:100%;overflow:visible}
.m2-ax{font-size:13px;fill:#6c6d7e}
.m2-bars{position:absolute;left:72px;right:30px;top:76px;height:170px;display:flex;align-items:flex-end;gap:16px}
.m2-bars i{flex:1;height:100%;border-radius:6px 6px 3px 3px;background:#8372ea;transform-origin:bottom;transform:scaleY(var(--h,.5));transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.m2-bars i:last-child{background:#6a58e6}
.m2-ylab{position:absolute;left:30px;top:66px;height:180px;display:flex;flex-direction:column;justify-content:space-between;font-size:13px;color:#6c6d7e}
.m2-xlab{position:absolute;left:72px;right:30px;bottom:24px;display:flex;justify-content:space-between;font-size:13px;color:#6c6d7e}
.m2-bot{left:46px;top:574px;width:1180px;height:180px;padding:24px 30px}
.m2-feed{position:absolute;left:30px;top:62px;width:520px;height:100px;overflow:hidden}
.m2-row{position:absolute;left:0;right:0;top:0;height:100px;display:flex;align-items:center;gap:22px;transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .7s}
.m2-row.out{transform:translateY(-40px);opacity:0}.m2-row.pre{transform:translateY(40px);opacity:0;transition:none}
.m2-ico{width:62px;height:62px;flex:none;border-radius:12px;background:#fff;box-shadow:0 0 0 1px #ecebf2;display:grid;place-items:center;color:#7d6dde;font-size:24px}
.m2-row p{margin:0;font-size:16px;line-height:1.5;color:#3c3d4c}.m2-row small{display:block;color:#8a8b99;font-size:13px}
.m2-act{position:absolute;left:600px;right:30px;top:24px}
.m2-act .m2-h{font-size:17px;margin-bottom:16px}
.m2-ar{display:grid;grid-template-columns:150px 1fr 70px;align-items:center;gap:0;margin:13px 0;font-size:15px;color:#3c3d4c}
.m2-tr{height:8px;border-radius:9px;background:#f0eff2;overflow:hidden}
.m2-tr i{display:block;height:100%;border-radius:9px;background:#8372ea;transform-origin:left;transform:scaleX(var(--w,.5));transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.m2-ar b{text-align:right;color:#2f9e4f;font-weight:500;font-variant-numeric:tabular-nums}
.m2-flash{animation:m2flash .9s}
@keyframes m2flash{30%{color:#6558e8}}

@media (prefers-reduced-motion:no-preference){
/* disable the site's own reveals so they never stack with ours */
html.m2 .reveal{opacity:1!important;transform:none!important;transition:none!important}
html.m2 .m2-rv{opacity:0;transform:translate3d(0,24px,0);transition:opacity .6s cubic-bezier(.16,.84,.3,1),transform .6s cubic-bezier(.16,.84,.3,1);transition-delay:calc(var(--m2i,0)*70ms)}
html.m2 .m2-rv.m2-in{opacity:1;transform:none}
html.m2 .m2-l{transform:translate3d(-24px,0,0)}html.m2 .m2-r{transform:translate3d(24px,0,0)}

/* hover (cards only; book-call buttons untouched) */
html.m2 .m2-card-h{transition:transform .35s cubic-bezier(.2,.85,.28,1),box-shadow .35s,opacity .6s}
html.m2 .m2-card-h.m2-in:hover{transform:translate3d(0,-8px,0);box-shadow:0 22px 40px -24px rgba(101,88,232,.45)}
html.m2 .ticker-track span{transition:transform .25s}html.m2 .ticker-track span:hover{transform:translateY(-4px) scale(1.05)}
html.m2 .client-logo{transition:transform .3s}html.m2 .client-logo:hover{transform:scale(1.07)}
/* soft moving gradient + particles */
html.m2 .m2-bgsec{isolation:isolate;position:relative}
html.m2 .m2-bgsec>.m2-glow{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.m2-glow i{position:absolute;width:46vmax;height:46vmax;border-radius:50%;opacity:.5}
.m2-glow i:nth-child(1){background:radial-gradient(circle,#d9d3ff,transparent 70%);left:-12vmax;top:-18vmax;}
.m2-glow i:nth-child(2){background:radial-gradient(circle,#ece8ff,transparent 70%);right:-14vmax;bottom:-20vmax;}
.why-band .m2-glow i{opacity:.22}.why-band .m2-glow i:nth-child(1){background:radial-gradient(circle,#6558e8,transparent 70%)}.why-band .m2-glow i:nth-child(2){background:radial-gradient(circle,#8f85ff,transparent 70%)}
@keyframes m2a{to{transform:translate3d(8vw,5vh,0)}}@keyframes m2b{to{transform:translate3d(-8vw,-4vh,0)}}
.m2-glow canvas{position:absolute;inset:0;width:100%;height:100%}
/* v3.2: slow drift only for fine pointers; nothing scroll-linked; hero mesh left as the site draws it (no zoom) */
/* Lena: ambient m2-glow is a static radial-gradient; motion is hover/focus only. */
html.m2 .m2-bgsec,html.m2 .m2-bgsec>.m2-glow{contain:paint}
html.m2-paused *,html.m2-paused *::before,html.m2-paused *::after{animation-play-state:paused!important}
}
@media (prefers-reduced-motion:reduce){.m2-dot::after{display:none}.m2-screen{transition:none}.m2-glow{display:none}}
/* Book-call buttons: never animated by this layer */
.m2-static{transform:none!important;animation:none!important}
/* v3.2 perf: the site's own hero mesh and CTA aurora used filter:blur(60-90px) on large layers (desktop scroll jank).
   Replace with pre-blurred radial-gradients (no filter), same colors and approximate softness. Only while motion layer is active. */
@media (prefers-reduced-motion:no-preference){
html.m2 .rh-mesh i{filter:none!important;opacity:.16}
html.m2 .rh-mesh i:nth-child(1){background:radial-gradient(closest-side,#6558e8 0%,rgba(101,88,232,.55) 40%,rgba(101,88,232,0) 100%)!important;transform:scale(1.35)}
html.m2 .rh-mesh i:nth-child(2){background:radial-gradient(closest-side,#a99fff 0%,rgba(169,159,255,.55) 40%,rgba(169,159,255,0) 100%)!important;transform:scale(1.35)}
html.m2 .cta-aurora{filter:none!important}
html.m2 .cta-aurora i:nth-child(1){background:radial-gradient(closest-side,#4f42d6,rgba(79,66,214,0))!important}
html.m2 .cta-aurora i:nth-child(2){background:radial-gradient(closest-side,#6558e8,rgba(101,88,232,0))!important}
html.m2 .cta-aurora i:nth-child(3){background:radial-gradient(closest-side,#8f85ff,rgba(143,133,255,0))!important}
}
@media (hover:none),(pointer:coarse){html.m2 .m2-glow i,html.m2 .cta-aurora i{animation:none!important}}

/* v3.2 tap targets (Ivy should-fix #5): below 1024px only; not motion, so applies with reduced motion too */
@media (max-width:1023.98px){
 header nav a,.header nav a,header .back,footer a,.footer a,.footer-services a,.review-link{display:inline-flex;align-items:center;min-height:44px}
 footer,.footer,footer a,.footer a,footer span,.footer span,footer p,.footer p,.footer-services a{font-size:max(13px,1em)}
 .theme-toggle,.tt{min-width:44px;min-height:44px}
}

/* v3.3 MUST: hero background layers fade out instead of ending in a hard line at the section bottom */
.rh-mesh,.rh>.m2-glow{-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.rh-mesh:after{-webkit-mask-image:radial-gradient(80% 70% at 50% 30%,#000,transparent);mask-image:radial-gradient(80% 70% at 50% 30%,#000,transparent)}
/* v3.3: infinite animations pause while their section is off-screen (class toggled by IntersectionObserver) */
.m-off,.m-off *,.m-off::before,.m-off::after,.m-off *::before,.m-off *::after{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-play-state:paused!important}}
/* v3.3 contrast (>=4.5:1) on the live laptop mock labels, same hues */
.m2-row small{color:#646575}.m2-ar b{color:#1f7a3a}.m2-tabs .on{background:#6352d8}.m2-tabs{color:#5d5e6e}
/* v3.3: gridDrift animates background-position (repaints the whole band every frame); keep the grid, stop the drift */
html.m2 .cta-band::before,html.m2 .closing-inner::before,html.m2 .hero::before{animation:none!important}
@media (prefers-reduced-motion:reduce){.cta-aurora i,.cta-band::before,.closing-inner::before,.client-track,.ticker-track{animation:none!important}}
@media (min-width:1600px){html.m2 .rh .m2-glow i{animation:none!important}}
