/* Vexera: phone optimisation (loaded after fx.css) */
html,body{overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button,.btn,.chip{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn:active{transform:scale(.97)}

@media(max-width:700px){
  /* ---- home: hero ---- */
  .banner{padding:6.5rem 1.1rem 2.2rem;min-height:calc(100svh - 64px);min-height:min(calc(100svh - 64px),760px)}
  .center{width:100%;max-width:420px}
  .crystal{width:min(230px,58vw)}
  .word{margin:1.1rem 0 .7rem}
  .tag{letter-spacing:.5em;text-indent:.5em}
  .banner .cta{flex-direction:column;align-items:stretch;gap:.8rem;margin-top:1.8rem;width:100%;max-width:320px;margin-inline:auto}
  .banner .cta .btn{width:100%}
  .tl,.tr{top:2.4rem;font-size:.5rem;letter-spacing:.22em;line-height:2}
  .tl{left:1.6rem}.tr{right:1.3rem}
  .bt{margin-top:2rem;gap:.35rem 1.6rem;font-size:.52rem}
  .cw .ring{opacity:.8;width:min(480px,82vw)}
  .cw .r2{width:min(560px,90vw)}
  .gl.a,.gl.b{height:34%}

  /* ---- spacing ---- */
  section{padding:3.4rem 0}
  .hero{padding:3rem 0 3rem}
  h2{margin-bottom:1.5rem}
  .hero p{font-size:1rem;max-width:none}
  .hero .cta{flex-direction:column;align-items:stretch}
  .hero .cta .btn{width:100%}
  .wrap{width:min(1100px,100% - 2rem)}
  .final{padding:3rem 1.2rem}
  .grid{gap:.9rem}
  .card{padding:1.5rem 1.3rem}
  .stat{padding:1.3rem 1rem}
  .stat strong{font-size:1.9rem}
  footer .wrap{flex-direction:column;align-items:center;text-align:center}
  footer{letter-spacing:.22em}

  /* ---- touch targets ---- */
  nav .btn{min-height:40px;padding:.7rem 1rem}
  .btn{min-height:46px}
  .ch-x{width:2.75rem;height:2.75rem}
  .card a.v{display:inline-flex;align-items:center;min-height:44px}

  /* ---- keep phones smooth: drop the heavy repaint animations ---- */
  .word{filter:none}
  nav{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(4,7,26,.94)}
  .orb{filter:blur(50px)}
  body::after{display:none}
  .crystal{animation:fx-crystal-lite 7s ease-in-out infinite}
  @keyframes fx-crystal-lite{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
  .cw .r2{animation-duration:60s}
}

@media(max-width:700px) and (max-height:700px){
  .banner{padding-top:5.4rem}
  .crystal{width:min(190px,50vw)}
  .bt{display:none}
}

/* ---- chat on phones ---- */
@media(max-width:700px){
  .ch-h{padding:.75rem .9rem}
  .log{padding:1rem .9rem}
  .ctl{padding:.7rem .9rem calc(.7rem + env(safe-area-inset-bottom,0px));max-height:52dvh}
  .msg{max-width:92%}
  .tin input,.tin textarea{min-width:0}
  .tin .btn{min-height:48px;padding:0 1rem}
}

/* ---- /links (QR landing) ---- */
/* logo + rings live in one square box (--S); every ring is sized from that box so they always sit
   centred on the crystal on any screen. Masks use closest-side so the rings are true circles. */
body.lk{--S:min(250px,66vw,31svh)}
body.lk main{max-width:360px}
body.lk .cw{width:var(--S);height:var(--S);margin:0 auto;display:grid;grid-template-columns:100%;grid-template-rows:100%;place-items:center;position:relative;overflow:visible}
body.lk .cw::before{width:130%;height:auto;aspect-ratio:1;justify-self:center;align-self:center}
body.lk .cw .ring{height:100%;aspect-ratio:1;border-radius:50%;justify-self:center;align-self:center;opacity:.9}
body.lk .cw .r2{width:100%;
  -webkit-mask:radial-gradient(closest-side,transparent 95%,#000 95.6%,#000 98.5%,transparent 99.2%);
  mask:radial-gradient(closest-side,transparent 95%,#000 95.6%,#000 98.5%,transparent 99.2%)}
body.lk .cw .r1{width:84%;
  -webkit-mask:radial-gradient(closest-side,transparent 94%,#000 94.8%,#000 98.5%,transparent 99.3%);
  mask:radial-gradient(closest-side,transparent 94%,#000 94.8%,#000 98.5%,transparent 99.3%)}
body.lk .crystal{width:60%;max-width:none;height:auto;position:relative;z-index:1}
body.lk .word{margin:1.6rem 0 .7rem;font-size:clamp(1.8rem,9vw,2.3rem)}
body.lk .tag{font-size:.66rem}
body.lk .ask{margin:1.4rem 0 .2rem;font-size:.6rem}
body.lk a.btn{min-height:54px;font-size:.72rem}
body.lk .handle{margin-top:1.2rem}
@media(max-width:700px){
  body.lk{padding:calc(22px + env(safe-area-inset-top,0px)) 18px calc(24px + env(safe-area-inset-bottom,0px))}
  body.lk .crystal{animation:fx-crystal-lite 7s ease-in-out infinite}
}
@media(min-width:901px){
  body.lk{--S:min(400px,30vw,56svh)}
  body.lk main{max-width:1040px;grid-template-columns:minmax(0,1fr) minmax(0,420px)}
  body.lk .cw{justify-self:center}
  body.lk .word{margin:0 0 .8rem;font-size:clamp(2.2rem,3.4vw,3rem)}
  body.lk a.btn{min-height:58px}
}
@media(max-height:640px){
  body.lk{--S:min(170px,50vw)}
  body.lk .word{margin:.9rem 0 .4rem}
  body.lk .ask{margin:1rem 0 .1rem}
  body.lk a.btn{margin-top:.6rem;min-height:50px}
  body.lk .handle{margin-top:.8rem}
}

/* ---- desktop hero: keep the Brands/Websites/Marketing/Growth row clear of the buttons ---- */
@media(min-width:761px){
  .banner{padding-bottom:7.5rem}
}
