/* ============================================================
   Demand Conversion · custom CSS (goes into the page head code)
   Only what Webflow classes can't express: JS states (is-solid,
   is-light on the nav), keyframes, and elements that lp.js
   creates at runtime (testimonial avatars, chat bubbles).
   ============================================================ */

/* type scale (same as Home 2): everything is in rem, so the page grows with the screen above 1440
   (1920 → 18px, 2560 → 20.7px, 3840 → 26px) and shrinks a little between 992 and 1440 */
html{font-size:calc(.625rem + .41666666666666663vw)}
@media screen and (max-width:1920px){html{font-size:calc(.625rem + .41666666666666674vw)}}
@media screen and (max-width:1440px){html{font-size:calc(-.00022271714922050823rem + 1.111358574610245vw)}}
@media screen and (max-width:991px){html{font-size:calc(.758056640625rem + .390625vw)}}
@media screen and (max-width:479px){html{font-size:1rem}}

/* Lenis smooth scroll (Home 2), desktop with a fine pointer only (lp.js loads it) */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}

/* header states (set by lp.js) */
.lp-nav.is-solid{background-color:rgba(10,10,10,.72);-webkit-backdrop-filter:blur(1.125rem);backdrop-filter:blur(1.125rem)}
.lp-nav.is-solid .lp-nav_bar{padding-top:.75rem;padding-bottom:.75rem}
.lp-nav.is-light.is-solid{background-color:rgba(255,255,255,.8)}
.lp-nav.is-light .lp-nav_logo-img{opacity:0}
.lp-nav.is-light .lp-nav_logo-img.is-black{opacity:1}
.lp-nav.is-light .lp-nav_link{color:#525252}
.lp-nav.is-light .lp-nav_btn{border-color:rgba(0,0,0,.12);color:#0a0a0a}
@media screen and (max-width:767px){
  .lp-nav.is-solid{background-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  .lp-nav.is-solid .lp-nav_bar{padding-top:.4375rem;padding-bottom:.4375rem}
  .lp-nav.is-light .lp-nav_bar{background-color:rgba(255,255,255,.8);border-color:rgba(10,10,10,.08)}
}

/* rotating channel icon in Chat buttons */
@keyframes lpRot{0%{opacity:0;transform:rotateX(75deg)}5%{opacity:1;transform:rotateX(0)}31%{opacity:1;transform:rotateX(0)}36%{opacity:0;transform:rotateX(-75deg)}100%{opacity:0;transform:rotateX(-75deg)}}
.lp-rot_icon{animation:lpRot 7.8s cubic-bezier(.22,1,.36,1) infinite;animation-delay:-.4s}
.lp-rot_icon.is-2{animation-delay:2.2s}
.lp-rot_icon.is-3{animation-delay:4.8s}

/* customer logos: marquee when the row doesn't fit (lp.js duplicates the logos) */
@keyframes lpMq{to{transform:translate3d(-50%,0,0)}}
@media screen and (max-width:991px){
  .lp-logos_track{width:max-content;animation:lpMq 24s linear infinite}
}

/* stars (lp.js fills .lp-stars) */
.lp-stars i{position:absolute;border-radius:50%;background:#dce1ff;box-shadow:0 0 .5rem #c9d2ff}

/* testimonials: avatars and the word-by-word quote (built by lp.js) */
.lp-testi_quote .w{color:rgba(255,255,255,.3);transition:color .35s cubic-bezier(.22,1,.36,1)}
.lp-testi_quote .w.on{color:#fff}
.lp-testi_metric>*,.lp-testi_quote-wrap{transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1),filter .6s}
.lp-testi .fade{opacity:0;transform:translateY(.875rem);filter:blur(.375rem)}
.lp-testi .av{width:3.9375rem;height:3.9375rem;border-radius:50%;flex:none;position:relative;background:#1b1f2e;border:1px solid #2a2d3a;padding:0;display:grid;place-items:center;cursor:pointer;transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .4s}
.lp-testi .av:hover{transform:scale(1.06)}
.lp-testi .av:focus-visible{outline:.125rem solid #506bff;outline-offset:.1875rem}
.lp-testi .av video{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;opacity:.42;transition:opacity .4s cubic-bezier(.22,1,.36,1)}
.lp-testi .av:hover video{opacity:.7}
.lp-testi .av.on video{opacity:1}
.lp-testi .av.on{border-color:transparent}
.lp-testi .av .ring{position:absolute;left:-1px;top:-1px;width:3.9375rem;height:3.9375rem;transform:rotate(-90deg);pointer-events:none;opacity:0;transition:opacity .4s}
.lp-testi .av.on .ring{opacity:1}
.lp-testi .ring circle{fill:none;stroke-width:2}
.lp-testi .ring .tk{stroke:#2a2d3a}
.lp-testi .ring .pg{stroke:#506bff;stroke-linecap:round}
.lp-testi .av .bd{position:absolute;left:2.375rem;top:2.375rem;width:1.625rem;height:1.625rem;border-radius:50%;background:#0a0a0a;border:1px solid #506bff;display:grid;place-items:center;z-index:2;transition:background .3s,transform .3s}
.lp-testi .av .bd svg{width:.625rem;height:.625rem}
.lp-testi .av.on .bd{background:#506bff;box-shadow:0 .125rem .625rem rgba(80,107,255,.45)}
.lp-testi .av .bd .pse,.lp-testi .av.on .bd .ply,.lp-testi .av.on.paused .bd .pse,.lp-testi .av.muted .bd .pse{display:none}
.lp-testi .av.on .bd .pse,.lp-testi .av.on.paused .bd .ply{display:block}
.lp-testi .av .bd .snd{display:none}
.lp-testi .av.on.muted .bd .snd{display:block}
.lp-testi .av.on.muted .bd .pse,.lp-testi .av.on.muted .bd .ply{display:none}
@media screen and (max-width:767px){
  .lp-testi_mob{position:relative;z-index:1;display:flex;flex-direction:column;gap:2rem;width:100%}
  .lp-testi_avatars{gap:.5rem;width:calc(100% + 2.5rem);margin:0 -1.25rem;padding:0 1.25rem .375rem;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
  .lp-testi_avatars::-webkit-scrollbar{display:none}
  .lp-testi .av,.lp-testi .av .ring{width:3rem;height:3rem}
  .lp-testi .av .bd{left:1.875rem;top:1.875rem;width:1.25rem;height:1.25rem}
  .lp-testi .av .bd svg{width:.5rem;height:.5rem}
}

/* FAQ chat: question list scroll, input, bubbles (built by lp.js) */
.lp-faq_list{-webkit-mask:linear-gradient(#000 calc(100% - 3.5rem),transparent);mask:linear-gradient(#000 calc(100% - 3.5rem),transparent);scrollbar-width:thin;scrollbar-color:#506bff rgba(255,255,255,.08)}
.lp-faq_list::-webkit-scrollbar{width:.25rem}
.lp-faq_list::-webkit-scrollbar-track{background:rgba(255,255,255,.08);border-radius:.125rem}
.lp-faq_list::-webkit-scrollbar-thumb{background:#506bff;border-radius:.125rem}
.lp-faq_q:focus-visible{outline:.125rem solid #506bff;outline-offset:.1875rem}
.lp-faq_msgs::-webkit-scrollbar{display:none}
.lp-faq_msgs>:first-child{margin-top:auto}
.lp-faq_field{flex:1;min-width:0;height:2.75rem;margin:0;padding:0;border:0;background:none;color:#fff;font:inherit;font-size:1rem;outline:0;box-shadow:none}
.lp-faq_field::placeholder{color:#506bff}
.lp-faq_send{width:1.5rem;height:1.5rem;padding:0;border:0;border-radius:.375rem;background:#506bff;display:grid;place-items:center;flex:none;cursor:pointer}
.lp-faq .m.u{align-self:flex-end;max-width:28.75rem;background:#506bff;padding:.75rem 1rem;border-radius:.75rem}
.lp-faq .m.u.kv{white-space:pre-wrap}
.lp-faq .m.b{align-self:flex-start;display:flex;gap:.625rem}
.lp-faq .m.b .ka{width:1.75rem;height:1.75rem;padding:.3125rem;border-radius:.5rem;background:#506bff;flex:none;display:grid;place-items:center}
.lp-faq .m.b .ka img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
.lp-faq .m.b .ka.kini{padding:0;color:#fff;font-size:.8125rem;font-weight:600}
.lp-faq .m.b .bb{max-width:29rem;background:#15171f;border:1px solid #2a2d3a;padding:.75rem 1rem;border-radius:.75rem}
.lp-faq .m.b .bb p{margin:0}
.lp-faq .m.b .bb p+p,.lp-faq .m.b .bb p+ul,.lp-faq .m.b .bb ul+p{margin-top:.5rem}
.lp-faq .m.b .bb ul{margin:.375rem 0 0;padding-left:1.125rem;display:block;text-align:left;list-style:disc;color:inherit}
.lp-faq .m.b .bb li{display:list-item;text-align:left;color:inherit}
.lp-faq .m.b .bb li+li{margin-top:.25rem}
.lp-faq .m.b .bb a{color:#9fb0ff;text-decoration:underline}
.lp-faq .m.b .bb strong{font-weight:600}
.lp-faq .m.b .bb code{font-size:.9em;background:rgba(255,255,255,.08);padding:0 .25rem;border-radius:.25rem}
.lp-faq .m.b .bb .kimg{display:block;max-width:100%;border-radius:.5rem;margin-top:.5rem}
.lp-faq .m.b .bb .kname{font-size:.75rem;color:#8f93b8;margin-bottom:.25rem}
.lp-faq .m.s{align-self:flex-start;color:#8f93b8;font-size:.875rem;padding:0 .25rem 0 2.375rem}
.lp-faq .m.u .kfail{margin-top:.375rem;font-size:.8125rem;opacity:.85}
.lp-faq .m.u .kfail button{color:#fff;text-decoration:underline;background:none;border:0;padding:0;font:inherit}
.lp-faq .dots{display:inline-flex;gap:.25rem;padding:.375rem 0}
.lp-faq .dots i{width:.375rem;height:.375rem;border-radius:50%;background:#8a8da3;animation:lpBlink 1s infinite}
.lp-faq .dots i:nth-child(2){animation-delay:.15s}
.lp-faq .dots i:nth-child(3){animation-delay:.3s}
@keyframes lpBlink{0%,100%{opacity:.25}50%{opacity:1}}
.lp-faq .chn{display:flex;gap:.5rem;margin-top:.625rem;flex-wrap:wrap}
.lp-faq .chn a,.lp-faq .chn button{display:flex;align-items:center;height:2.25rem;padding:0 .75rem;border:0;border-radius:.5rem;background:#fff;color:#0a0a0a;font:inherit;font-size:.875rem;font-weight:600;text-decoration:none;cursor:pointer;transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s,background .3s,color .3s}
.lp-faq .chn a:hover,.lp-faq .chn button:hover{transform:translateY(-.125rem);background:#f1f3ff;color:#2e46d6;box-shadow:0 0 0 .125rem #506bff,0 .5rem 1.375rem -.375rem rgba(80,107,255,.7)}
@media screen and (max-width:767px){
  .lp-faq_list{-webkit-mask:none;mask:none}
  .lp-faq .m.u{max-width:18.75rem}
  .lp-faq .m.b .bb{max-width:16.375rem}
}

/* CTA visual (globe video + door canvas, sized by lp.js) */
.lp-cta_canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
.lp-cta_video{position:absolute;left:0;top:0;transform-origin:50% 61.6%;will-change:transform;pointer-events:none;-webkit-mask:linear-gradient(180deg,transparent 0,transparent 8%,#000 40%);mask:linear-gradient(180deg,transparent 0,transparent 8%,#000 40%)}

@media (prefers-reduced-motion:reduce){
  .lp-rot_icon{animation:none}
  .lp-rot_icon:first-child{opacity:1}
  .lp-logos_track{animation:none!important}
  .lp-nav,.lp-nav_bar{transition:none}
}

/* scroll reveal (Home 2 .rv): lp.js adds is-in once 15% is visible */
[data-lp-rv]{opacity:0;transform:translate3d(0,.875rem,0);filter:blur(.625rem);transition:opacity 1s cubic-bezier(.22,1,.36,1),transform 1.1s cubic-bezier(.22,1,.36,1),filter 1s cubic-bezier(.22,1,.36,1)}
[data-lp-rv].is-in{opacity:1;transform:none;filter:none}

/* FAQ chat bubbles pop in (Home 2) */
@keyframes lpPop{from{opacity:0;transform:translateY(.625rem)}}
.lp-faq .m{animation:lpPop .5s cubic-bezier(.22,1,.36,1)}

/* footer: sits under the CTA and rises with lp.js (Home 2 parallax); the site footer's own interaction is
   switched off here so the movement isn't doubled. Spacing as on Home 2: the lift is capped by the top padding,
   so 140px (72px on phones) is what gives the footer room to rise ~110px without sliding under the CTA edge */
.lp-footer{position:relative;z-index:1;will-change:transform}
.lp-footer .footer{transform:none!important;padding-top:8.75rem!important;padding-bottom:3rem!important}
@media (max-width:767px){.lp-footer .footer{padding-top:4.5rem!important}}

@media (prefers-reduced-motion:reduce){
  [data-lp-rv]{opacity:1;transform:none;filter:none;transition:none}
  .lp-faq .m{animation:none}
  .lp-footer{transform:none!important}
}

/* Webflow build: the two HTML Embeds sit inside native wrappers (.lp-faq_input, .lp-cta_fx); their .w-embed box must not
   change layout, so it is flattened and its clearfix pseudo-elements are dropped */
.lp-faq_input>.w-embed,.lp-cta_fx>.w-embed{display:contents}
.lp-faq_input>.w-embed:before,.lp-faq_input>.w-embed:after,.lp-cta_fx>.w-embed:before,.lp-cta_fx>.w-embed:after{display:none}
/* state set by lp.js on an answered question (no element carries it in the Designer, so it lives here) */
.lp-faq_q.is-done{color:#6b6d78}
/* properties the Webflow style panel can't hold */
.lp-page{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.lp-stats_num.is-knock{-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.lp-faq .m.u:not(.kv){text-transform:capitalize}
/* "View All Case Studies": same as Home 2 card links, the arrow slides a little to the right on hover */
.lp-link_icon{transition:transform .3s cubic-bezier(.22,1,.36,1)}
.lp-link:hover .lp-link_icon,.lp-link:focus-visible .lp-link_icon{transform:translateX(4px)}
