.nx-how{
  --navy:#181526;
  --deep:#14111f;
  --violet:#241a42;
  --purple:#9e7bb7;
  --glow:#c9a3ea;
  --light:#e9eff9;
  --muted:#9b91b3;

  --line:rgba(158,123,183,.22);
  --line-soft:rgba(158,123,183,.12);
  --panel:rgba(233,239,249,.03);

  --max:1180px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --ease-soft:cubic-bezier(.33,1,.68,1);

  position:relative;
  width:100%;
  overflow:hidden;
  background:var(--navy);
  color:var(--light);
  font-family:Montserrat,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  isolation:isolate;
}
.nx-how *,
.nx-how *::before,
.nx-how *::after{box-sizing:border-box}
.nx-how a{color:inherit}
.nx-how h1,.nx-how h2,.nx-how h3,.nx-how p{margin:0}
.nx-how canvas{display:block}
.nx-how ::selection{background:rgba(158,123,183,.32);color:#fff}

.nx-how .nx-how-section{position:relative;padding:clamp(64px,9vw,120px) 0}
.nx-how .nx-how-inner{width:min(var(--max),calc(100% - 48px));margin:0 auto;position:relative;z-index:2}
.nx-how .nx-how-mono{font-family:"JetBrains Mono",monospace}

.nx-how .nx-how-tag{
  display:inline-flex;align-items:center;gap:var(--nx-eyebrow-gap);
  padding:var(--nx-eyebrow-pad);border:1px solid var(--nx-eyebrow-border);border-radius:999px;
  color:var(--nx-eyebrow-color);background:var(--nx-eyebrow-bg);
  font:var(--nx-badge-font);letter-spacing:var(--nx-eyebrow-tracking);text-transform:uppercase;
}
.nx-how .nx-how-tag::before{
  content:"";width:var(--nx-eyebrow-dot);height:var(--nx-eyebrow-dot);border-radius:50%;
  background:var(--nx-eyebrow-dot-color);box-shadow:var(--nx-eyebrow-dot-glow);
}
.nx-how .nx-how-tag.nx-in-view::before,
.nx-how .nx-in-view .nx-how-tag::before{
  animation:nxDotBreath 2.1s var(--ease-soft) .35s 2;
}

.nx-how .nx-how-hero{
  min-height:min(820px,100svh);
  padding:130px 0 118px;
  display:flex;align-items:center;
  overflow:hidden;
  background:linear-gradient(180deg,var(--deep) 0%,var(--navy) 82%);
}
.nx-how .nx-how-flow{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:0;pointer-events:none;opacity:.9;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 74%,transparent);
          mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 74%,transparent);
}
.nx-how .nx-how-hero::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(58% 52% at 50% 46%,rgba(36,26,66,.62),transparent 72%),
    linear-gradient(180deg,transparent 0%,transparent 62%,var(--navy) 100%);
}

.nx-how .nx-how-hero-glow{
  position:absolute;top:0;left:0;z-index:1;
  width:620px;height:620px;margin:-310px 0 0 -310px;
  border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,
    rgba(201,163,234,.13) 0%,
    rgba(158,123,183,.06) 38%,
    transparent 70%);
  opacity:0;
  transform:translate3d(var(--gx,50%),var(--gy,45%),0);
  transition:transform .6s var(--ease-soft),opacity .9s var(--ease-soft);
  will-change:transform,opacity;
}
.nx-how .nx-how-hero.nx-is-lit .nx-how-hero-glow{opacity:1}

.nx-how .nx-how-hero-inner{max-width:900px;margin:0 auto;text-align:center}

.nx-how .nx-how-title{
  margin:24px auto 0;max-width:20ch;
  font-size:clamp(34px,5.4vw,58px);line-height:1.14;letter-spacing:-.03em;
  font-weight:700;text-wrap:balance;
}
.nx-how .nx-how-sub{
  margin:26px auto 0;max-width:52ch;
  font-size:clamp(15px,1.6vw,17px);line-height:1.75;color:var(--muted);text-wrap:pretty;
}

.nx-how .nx-how-title .nx-word{
  display:inline-block;
  opacity:0;
  transform:translateY(.42em);
  animation:nxWordIn .8s var(--ease-soft) forwards;
  animation-delay:calc(var(--nx-w,0) * .055s + .18s);
}

.nx-how .nx-how-focal{
  font-style:normal;
  color:var(--glow);
}
.nx-how .nx-how-focal .nx-word{
  background:linear-gradient(100deg,
    var(--purple) 0%, var(--purple) 26%,
    #ffffff 45%, var(--glow) 58%,
    var(--purple) 100%);
  background-size:280% 100%;
  background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
}
.nx-how .nx-how-title.nx-is-split .nx-how-focal .nx-word{
  animation:
    nxWordIn .8s var(--ease-soft) forwards,
    nxHowFocalLock 1.4s var(--ease-soft) both;
  animation-delay:
    calc(var(--nx-w,0) * .055s + .18s),
    var(--nx-focal,1s);
}
@keyframes nxHowFocalLock{
  0%  {background-position:100% 0;filter:blur(7px)}
  55% {filter:blur(0)}
  100%{background-position:0 0;
       filter:blur(0) drop-shadow(0 0 12px rgba(201,163,234,.4))}
}

.nx-how .nx-how-preview{
  margin-top:46px;display:flex;align-items:center;justify-content:center;gap:0;
}
.nx-how .nx-how-preview-node{
  width:9px;height:9px;border-radius:50%;background:var(--line);flex:none;
  transition:background .45s var(--ease),box-shadow .45s var(--ease);
}
.nx-how .nx-how-preview-node.nx-is-on{
  background:var(--glow);box-shadow:0 0 10px 1px var(--glow);
}
.nx-how .nx-how-preview-seg{
  width:clamp(20px,4vw,44px);height:1px;background:var(--line);flex:none;
}

.nx-how .nx-how-statement{padding-top:0;padding-bottom:clamp(48px,7vw,86px)}
.nx-how .nx-how-statement-inner{
  position:relative;
  max-width:940px;margin:0 auto;
  padding-left:clamp(24px,4vw,44px);
}
.nx-how .nx-how-statement-inner::before{
  content:"";position:absolute;left:0;top:.28em;bottom:.5em;width:2px;
  border-radius:2px;
  background:linear-gradient(180deg,var(--glow),rgba(158,123,183,.5) 40%,transparent);
}
.nx-how .nx-how-statement-text{
  margin:0;
  font-size:clamp(23px,3.5vw,40px);
  line-height:1.4;letter-spacing:-.02em;font-weight:600;
  color:#b8b0c9;
  text-wrap:pretty;
}
.nx-how .nx-how-accent{
  font-weight:700;
  background:linear-gradient(96deg,
    var(--glow) 0%, var(--purple) 40%,
    #6f6685 74%, #6f6685 100%);
  background-size:300% 100%;
  background-position:0 0;
  -webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
}

.nx-how .nx-how-statement-inner.nx-in-view .nx-how-accent{
  animation:nxHowFocalLock 1.25s var(--ease-soft) both;
}
.nx-how .nx-how-statement-inner.nx-in-view .nx-how-accent:nth-of-type(1){animation-delay:.25s}
.nx-how .nx-how-statement-inner.nx-in-view .nx-how-accent:nth-of-type(2){animation-delay:.55s}
.nx-how .nx-how-statement-inner.nx-in-view .nx-how-accent:nth-of-type(3){animation-delay:.85s}

.nx-how .nx-how-pipeline{padding-top:clamp(20px,4vw,40px)}
.nx-how .nx-how-pipeline-inner{max-width:1000px;margin:0 auto}
.nx-how .nx-how-rail-wrap{position:relative;--nx-node:48px}

.nx-how .nx-how-rail{
  position:absolute;left:calc(var(--nx-node) / 2 - 1px);width:2px;
  top:6px;bottom:6px;
  background:var(--line);z-index:0;border-radius:2px;
}
.nx-how .nx-how-rail-fill{
  position:absolute;left:0;top:0;width:100%;height:0;
  background:linear-gradient(180deg,var(--glow),var(--purple));
  box-shadow:0 0 10px 1px rgba(201,163,234,.4);
}
.nx-how .nx-how-rail-fill::after{
  content:"";position:absolute;left:50%;bottom:0;width:7px;height:7px;
  transform:translate(-50%,50%);border-radius:50%;
  background:var(--light);box-shadow:0 0 12px 2px var(--glow);
  opacity:0;transition:opacity .4s var(--ease);
}
.nx-how .nx-how-rail-wrap.nx-is-running .nx-how-rail-fill::after{opacity:1}

.nx-how .nx-how-stages{list-style:none;margin:0;padding:0}
.nx-how .nx-how-stage{
  position:relative;display:grid;
  grid-template-columns:var(--nx-node) 1fr;gap:0 28px;
  padding-bottom:clamp(36px,5vw,56px);
}
.nx-how .nx-how-stage:last-child{padding-bottom:0}
.nx-how .nx-how-node{
  position:relative;z-index:1;width:var(--nx-node);
  display:flex;align-items:center;justify-content:center;
}
.nx-how .nx-how-node-dot{
  width:14px;height:14px;border-radius:50%;
  background:var(--navy);border:2px solid var(--purple);
  transition:background .45s var(--ease),border-color .45s var(--ease),
             box-shadow .45s var(--ease),transform .45s var(--ease);
}
.nx-how .nx-how-stage.nx-is-active .nx-how-node-dot{
  background:var(--glow);border-color:var(--glow);
  box-shadow:0 0 0 6px rgba(201,163,234,.14),0 0 16px 2px var(--glow);
  transform:scale(1.08);
}

.nx-how .nx-how-card{
  position:relative;overflow:hidden;
  background:var(--panel);
  border:1px solid var(--line);border-radius:14px;
  padding:clamp(22px,3vw,34px) clamp(22px,3vw,36px);
  transition:border-color .5s var(--ease),background .5s var(--ease),
             transform .5s var(--ease),box-shadow .5s var(--ease);
}
.nx-how .nx-how-card > *{position:relative;z-index:1}
.nx-how .nx-how-stage.nx-is-active .nx-how-card{
  border-color:rgba(158,123,183,.5);
  background:rgba(233,239,249,.045);
}

.nx-how .nx-how-card::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  opacity:0;transition:opacity .45s var(--ease);
  background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),
             rgba(201,163,234,.14),transparent 62%);
}
.nx-how .nx-how-card.nx-is-lit::after{opacity:1}
.nx-how .nx-how-card.nx-is-lit{
  border-color:rgba(201,163,234,.42);
  transform:translateY(-2px);
  box-shadow:0 18px 40px -26px rgba(201,163,234,.55);
}

.nx-how .nx-how-stage-tag{
  display:block;margin-bottom:12px;
  font:500 11px/1 "JetBrains Mono",monospace;letter-spacing:.12em;color:var(--purple);
}
.nx-how .nx-how-card h2,
.nx-how .nx-how-card h3{
  font-size:clamp(19px,2.2vw,24px);font-weight:700;margin:0 0 12px;letter-spacing:-.01em;
}
.nx-how .nx-how-card p{
  font-size:15px;line-height:1.75;color:var(--muted);margin:0;max-width:62ch;
}

@media(min-width:840px){
  .nx-how .nx-how-rail-wrap{--nx-node:64px}
}

.nx-how .nx-how-cta{padding-top:clamp(40px,7vw,70px);padding-bottom:clamp(64px,9vw,120px)}
.nx-how .nx-how-cta-box{
  position:relative;text-align:center;overflow:hidden;isolation:isolate;
  max-width:var(--max);margin:0 auto;
  border:1px solid var(--line);border-radius:30px;
  padding:64px 30px;
  background:
    radial-gradient(circle at 50% 0%,rgba(43,30,81,.7),transparent 70%),
    rgba(24,21,38,.65);
  transition:border-color .6s var(--ease);
}
.nx-how .nx-how-cta-box:hover{border-color:rgba(158,123,183,.34)}

.nx-how .nx-how-cta-orb{
  position:absolute;inset:0;margin:auto;
  width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,rgba(201,163,234,.16),transparent 65%);
  filter:blur(4px);pointer-events:none;z-index:0;
  animation:nxBreathe 6s ease-in-out infinite;
}
.nx-how .nx-how-cta-box > *{position:relative;z-index:1}
.nx-how .nx-how-cta-box h2{
  font-size:clamp(28px,3.6vw,48px);font-weight:700;
  margin:20px auto 10px;max-width:600px;
  letter-spacing:-.03em;line-height:1.1;text-wrap:balance;
}
.nx-how .nx-how-cta-box p{
  font-size:13px;line-height:1.75;color:var(--muted);max-width:48ch;margin:0 auto;
}
.nx-how .nx-how-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  margin-top:22px;min-width:200px;padding:15px 32px;border-radius:999px;
  border:1px solid rgba(158,123,183,.6);
  background:linear-gradient(110deg,var(--violet),var(--purple));
  color:var(--light)!important;text-decoration:none!important;
  font-size:14px;font-weight:600;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.nx-how .nx-how-btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(158,123,183,.22)}
.nx-how .nx-how-btn:active{transform:translateY(0)}

@media(max-width:960px){
  .nx-how .nx-how-hero{min-height:0;padding:120px 0 100px}
}
@media(max-width:640px){
  .nx-how .nx-how-inner{width:calc(100% - 32px)}
  .nx-how .nx-how-hero{padding:104px 0 88px}
  .nx-how .nx-how-title{max-width:16ch}
  .nx-how .nx-how-preview{display:none}
  .nx-how .nx-how-statement-inner{padding-left:20px}
  .nx-how .nx-how-card p{font-size:14.5px}
  .nx-how .nx-how-cta-box{padding:48px 22px}
  .nx-how .nx-how-btn{width:100%}
}
@media(max-width:390px){
  .nx-how .nx-how-inner{width:calc(100% - 26px)}
}

@media(prefers-reduced-motion:reduce){
  .nx-how *,
  .nx-how *::before,
  .nx-how *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    transition-delay:0s !important;
    scroll-behavior:auto !important;
  }
  .nx-how [data-reveal]{opacity:1;transform:none}
  .nx-how .nx-how-title .nx-word{opacity:1;transform:none}
  .nx-how .nx-how-focal .nx-word,
  .nx-how .nx-how-accent{background-position:0 0;filter:none}
  .nx-how .nx-how-hero-glow{display:none}
}
