/* ==========================================================================
   Service family — the 14 section service pages (service-child.html)

   One template, four parent sections. Each parent has its own accent and
   bento rhythm; each page has its own hero object (picked by slug in
   render_service_child). Sections: scope list + photographic plate,
   capability bento, delivery timeline, deliverables ledger, FAQ split.
   Prefix: nxs-. Builds on the shared layer at the end of nexla.css.
   ========================================================================== */

.nxs {
  --nxs-acc: #3BA4FF;          /* accent on dark */
  --nxs-acc-ink: #0A6FD6;      /* accent on light */
  --nxs-acc-a: rgba(59, 164, 255, .14);
  --nxs-acc-b: rgba(59, 164, 255, .42);
  --nxs-ok: #00DBB2;
  --nxs-warn: #FFB547;
  --nxs-bad: #FF6B6B;
  --nxs-hair: rgba(255, 255, 255, .11);
  --nxs-panel: rgba(255, 255, 255, .045);
}
.nxs--cloud {
  --nxs-acc: #00DBB2; --nxs-acc-ink: #00806A;
  --nxs-acc-a: rgba(0, 219, 178, .13); --nxs-acc-b: rgba(0, 219, 178, .42);
}
.nxs--automation {
  --nxs-acc: #A48BFF; --nxs-acc-ink: #5B3FD6;
  --nxs-acc-a: rgba(164, 139, 255, .15); --nxs-acc-b: rgba(164, 139, 255, .45);
}
.nxs--commerce {
  --nxs-acc: #FFB547; --nxs-acc-ink: #A35F00;
  --nxs-acc-a: rgba(255, 181, 71, .13); --nxs-acc-b: rgba(255, 181, 71, .45);
}

/* ---------- Hero ---------- */
.nxs-hero .nx-page-hero__grid { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
@media (max-width: 992px) { .nxs-hero .nx-page-hero__grid { grid-template-columns: 1fr; } }
.nxs-hero .nx-eyebrow { color: var(--nxs-acc); }
.nxs-hero .nx-eyebrow::before { background: var(--nxs-acc); }
.nxs-hero .nx-lead { font-size: clamp(.98rem, .94rem + .2vw, 1.1rem); }
.nxs-hero__visual { isolation: isolate; }
.nxs-hero__visual::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--nxs-acc-a), transparent);
  transform: scale(1.25);
}

.nxs-stack {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.6rem;
  margin-top: clamp(2.6rem, 2rem + 2.4vw, 4.4rem);
  padding-top: 1.25rem; border-top: 1px solid var(--nx-hair-dark);
}
.nxs-stack__k {
  margin: 0; flex: none;
  font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--nxs-acc);
}
.nxs-stack__list { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.nxs-stack__list li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--nx-font-mono); font-size: .76rem; color: rgba(238, 243, 250, .72);
}
.nxs-stack__list li::before { content: ''; width: 4px; height: 4px; background: var(--nxs-acc); opacity: .8; }

/* ---------- Figure kit (hero objects) ---------- */
.nxs-fig {
  position: relative; color: var(--nx-on-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nxs-fig--plan {
  padding: clamp(1rem, .7rem + 1vw, 1.5rem);
  background:
    radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}
.nxs-fig__chrome {
  display: flex; align-items: center; gap: .8rem;
  padding: .72rem 1rem; border-bottom: 1px solid var(--nxs-hair);
}
.nxs-dots { display: inline-flex; gap: 5px; flex: none; }
.nxs-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.nxs-fig__url {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .06em;
  color: var(--nx-on-dark-mut);
  padding: .3rem .7rem; border-radius: 6px; background: rgba(255, 255, 255, .05);
}
.nxs-fig__foot {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .8rem 1rem; border-top: 1px solid var(--nxs-hair);
}
.nxs-fig__cap {
  display: flex; align-items: center; gap: .7rem; margin: .95rem 0 0;
  font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-fig__cap span { color: var(--nxs-acc); white-space: nowrap; }
.nxs-fig__cap em {
  margin-inline-start: auto; font-style: normal;
  padding: .28rem .6rem; border: 1px solid var(--nxs-hair); border-radius: 99px;
}

.nxs-k {
  display: block; font-family: var(--nx-font-mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--nx-on-dark-mut);
  margin-bottom: .3rem;
}
.nxs-sk {
  display: block; height: 6px; width: var(--w, 60%); border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}
.nxs-sk + .nxs-sk { margin-top: 6px; }
.nxs-sk--lg { height: 10px; background: rgba(255, 255, 255, .3); }
.nxs-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.nxs-dot--ok { background: var(--nxs-ok); }
.nxs-dot--run { background: var(--nxs-acc); box-shadow: 0 0 0 0 var(--nxs-acc-b); animation: nxs-ping 2.2s var(--nx-ease) infinite; }
.nxs-pill { flex: none; width: 36px; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); margin-inline-start: auto; }
.nxs-pill--ok { background: rgba(0, 219, 178, .28); }
.nxs-pill--run { background: var(--nxs-acc-b); }
.nxs-chip {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  font-family: var(--nx-font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--nx-on-dark); padding: .3rem .6rem;
  border: 1px solid var(--nxs-hair); border-radius: 99px; background: rgba(255, 255, 255, .04);
}
.nxs-chip--ok::before, .nxs-chip--bad::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nxs-ok); }
.nxs-chip--bad { color: #FFC2C2; border-color: rgba(255, 107, 107, .4); }
.nxs-chip--bad::before { background: var(--nxs-bad); }
.nxs-live {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  font-family: var(--nx-font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nxs-acc);
}
.nxs-live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--nxs-acc);
  animation: nxs-ping 2.2s var(--nx-ease) infinite;
}
.nxs-float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; padding: .65rem .9rem; border-radius: 10px;
  background: rgba(1, 17, 47, .92); border: 1px solid var(--nxs-acc-b);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8);
}
.nxs-float--br { inset-block-end: -1.1rem; inset-inline-end: 1rem; }
.nxs-float--tl { inset-block-start: .4rem; inset-inline-start: 0; }
@media (min-width: 1200px) {
  .nxs-float--br { inset-inline-end: -1.4rem; }
}
@keyframes nxs-ping {
  0% { box-shadow: 0 0 0 0 var(--nxs-acc-b); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes nxs-travel { from { transform: translateX(0); } to { transform: translateX(var(--nxs-run, 100px)); } }
@keyframes nxs-dash { to { stroke-dashoffset: -24; } }
@keyframes nxs-sheen { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* -- web application (browser) -- */
.nxs-web { display: grid; grid-template-columns: 17% minmax(0, 1fr); min-height: 20rem; }
.nxs-web__nav { display: flex; flex-direction: column; gap: 9px; padding: 1rem .8rem; border-inline-end: 1px solid var(--nxs-hair); }
.nxs-web__nav b { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--nxs-acc), var(--nxs-ok)); margin-bottom: .6rem; }
.nxs-web__nav i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.nxs-web__nav i:nth-of-type(odd) { width: 80%; }
.nxs-web__nav i.is-on { background: var(--nxs-acc); }
.nxs-web__main { padding: 1rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.nxs-web__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.nxs-web__kpis > div { padding: .65rem; border-radius: 9px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); }
.nxs-web__kpis svg { display: block; width: 100%; height: 16px; margin-top: .55rem; fill: none; stroke: var(--nxs-acc); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.nxs-web__kpis svg path { vector-effect: non-scaling-stroke; }
.nxs-web__chart { position: relative; height: 7.5rem; border-radius: 9px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); overflow: hidden; }
.nxs-web__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nxs-web__chart path { vector-effect: non-scaling-stroke; fill: none; }
.nxs-web__grid { stroke: rgba(255, 255, 255, .06); }
.nxs-web__area { fill: var(--nxs-acc-a) !important; }
.nxs-web__line { stroke: var(--nxs-acc); stroke-width: 2; }
.nxs-web__line2 { stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; stroke-dasharray: 4 4; }
.nxs-web__dot {
  position: absolute; inset-inline-end: 4px; top: 10%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--nxs-acc); animation: nxs-ping 2.2s var(--nx-ease) infinite;
}
[dir="rtl"] .nxs-web__chart svg { transform: scaleX(-1); }
.nxs-web__rows > div { display: flex; align-items: center; gap: .7rem; padding: .5rem .2rem; border-top: 1px solid var(--nxs-hair); }
.nxs-web__rows .nxs-sk { margin: 0; flex: none; }

/* -- mobile (two phones) -- */
.nxs-phones { position: relative; aspect-ratio: 1 / .96; max-width: 34rem; margin-inline: auto; }
.nxs-phone {
  position: absolute; top: 4%; left: 50%; width: 42%; aspect-ratio: 9 / 18.5;
  padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #1a2f57, #050f24);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.nxs-phone--back { transform: translateX(-98%) translateY(6%) rotate(-7deg); opacity: .78; }
.nxs-phone--front { transform: translateX(-12%) rotate(3deg); }
.nxs-phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, #0c2452, #071633);
  padding: 12% 8% 6%; display: flex; flex-direction: column; gap: 7px;
}
.nxs-phone__screen::before {
  content: ''; position: absolute; top: 9px; left: 50%; width: 30%; height: 9px;
  transform: translateX(-50%); border-radius: 99px; background: #02081a;
}
.nxs-phone__status { position: absolute; top: 11px; inset-inline: 10%; display: flex; justify-content: space-between; }
.nxs-phone__status i { width: 14%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.nxs-toast { display: flex; gap: 7px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.nxs-toast b { display: block; font-size: .56rem; line-height: 1.25; color: #fff; margin-bottom: 5px; }
.nxs-toast div { flex: 1; min-width: 0; }
.nxs-toast__ico { flex: none; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--nxs-acc), var(--nxs-ok)); }
.nxs-phone__hero { height: 22%; border-radius: 10px; background: linear-gradient(135deg, var(--nxs-acc-b), rgba(0, 219, 178, .18)); }
.nxs-phone__card { padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.nxs-banner {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--nx-font-mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase;
  color: #FFD597; padding: 6px 8px; border-radius: 8px;
  background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .32);
}
.nxs-banner svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.nxs-phone__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nxs-phone__list li { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.nxs-phone__list i { flex: none; width: 11px; height: 11px; border-radius: 50%; }
.nxs-phone__list .is-ok i { background: var(--nxs-ok); }
.nxs-phone__list .is-q i { border: 1.5px dashed var(--nxs-warn); }
.nxs-phone__sync {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-family: var(--nx-font-mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-phone__sync b { position: relative; flex: 1; max-width: 50%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.nxs-phone__sync b::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--nxs-acc); animation: nxs-sheen 2.4s var(--nx-ease) infinite; }
.nxs-phone__tabs { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--nxs-hair); }
.nxs-phone__tabs i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.nxs-phone__tabs i.is-on { background: var(--nxs-acc); }

/* -- SaaS (tenants) -- */
.nxs-saas__core {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--nxs-acc-b); background: var(--nxs-acc-a);
  font-weight: 600; color: #fff;
}
.nxs-saas__core .nxs-k { margin: 0; color: #fff; font-size: .68rem; }
.nxs-saas__roles {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-saas__roles i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #0a1d42; margin-inline-end: -.5rem; background: linear-gradient(135deg, var(--nxs-acc), var(--nxs-ok)); }
.nxs-saas__roles i:nth-child(2) { background: #6E86B5; }
.nxs-saas__roles i:nth-child(3) { background: #A8B9D8; margin-inline-end: .2rem; }
.nxs-saas__wires, .nxs-hl__wires { display: block; width: 100%; height: 2.2rem; fill: none; stroke: var(--nxs-acc-b); stroke-width: 1.4; }
.nxs-saas__wires path, .nxs-hl__wires path { vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; animation: nxs-dash 1.6s linear infinite; }
.nxs-saas__tenants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.nxs-tenant { padding: .75rem; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .03); }
.nxs-tenant svg { display: block; width: 26px; height: 26px; margin: .4rem 0 .6rem; fill: none; stroke: var(--nxs-acc); stroke-width: 1.5; }
.nxs-saas__boundary {
  display: flex; align-items: center; gap: .7rem; margin: .6rem 0 0;
  font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-saas__boundary::before, .nxs-saas__boundary::after { content: ''; flex: 1; border-top: 1px dashed rgba(255, 255, 255, .2); }
.nxs-saas__ops { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; margin-top: .8rem; }
.nxs-meter, .nxs-plans { padding: .75rem; border-radius: 10px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); }
.nxs-meter__bars { display: flex; align-items: flex-end; gap: 4px; height: 3rem; }
.nxs-meter__bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--nxs-acc-b); }
.nxs-meter__bars i:last-child { background: var(--nxs-acc); }
.nxs-plans__row { display: flex; align-items: flex-end; gap: 5px; margin: .2rem 0 .7rem; }
.nxs-plans__row i { flex: 1; height: 1.6rem; border-radius: 5px; border: 1px solid var(--nxs-hair); background: rgba(255, 255, 255, .04); }
.nxs-plans__row i.is-on { height: 2.2rem; border-color: var(--nxs-acc); background: var(--nxs-acc-a); }

/* -- API console -- */
.nxs-fig--term { background: linear-gradient(180deg, rgba(4, 14, 36, .92), rgba(2, 9, 26, .92)); overflow: hidden; }
.nxs-api { padding: 1rem 1.1rem; font-family: var(--nx-font-mono); font-size: .74rem; line-height: 1.6; }
.nxs-api p { margin: 0; color: #E6EEFA; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nxs-api pre { margin: .35rem 0 0; font: inherit; font-size: .7rem; color: #9FD3FF; white-space: pre; overflow: hidden; }
.nxs-api__req { padding: .7rem .8rem; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nxs-hair); }
.nxs-verb { color: var(--nxs-acc); margin-inline-end: .5em; }
.nxs-dim { color: var(--nx-on-dark-mut) !important; }
.nxs-api__res { margin-top: .8rem; padding-inline-start: .85rem; border-inline-start: 2px solid var(--nxs-ok); }
.nxs-api__res--warn { border-inline-start-color: var(--nxs-warn); }
.nxs-api__res--warn pre { color: #FFD597; }
.nxs-code { padding: .08rem .4rem; border-radius: 4px; margin-inline-end: .5em; font-weight: 600; }
.nxs-code--ok { background: rgba(0, 219, 178, .16); color: var(--nxs-ok); }
.nxs-code--warn { background: rgba(255, 181, 71, .16); color: var(--nxs-warn); }
[dir="rtl"] .nxs-api, [dir="rtl"] .nxs-log, [dir="rtl"] .nxs-file pre { direction: ltr; text-align: left; }

/* -- cloud landing zone -- */
.nxs-lz { padding: 1rem; border-radius: 14px; border: 1px solid var(--nxs-acc-b); background: rgba(0, 219, 178, .03); }
.nxs-lz__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nxs-lz__head .nxs-k { margin: 0; color: #fff; font-size: .7rem; }
.nxs-lz__base { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.nxs-lz__base span {
  font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nx-on-dark-mut); padding: .3rem .55rem; border-radius: 6px; border: 1px solid var(--nxs-hair);
}
.nxs-lz__regions { display: grid; grid-template-columns: minmax(0, 1fr) 4.6rem minmax(0, 1fr); align-items: center; gap: .5rem; }
.nxs-region { padding: .8rem; border-radius: 11px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); }
.nxs-region--standby { border-style: dashed; }
.nxs-region--standby .nxs-wl { opacity: .6; }
.nxs-wl { display: flex; align-items: center; gap: .5rem; margin-top: .45rem; padding: .5rem; border-radius: 7px; background: rgba(255, 255, 255, .045); }
.nxs-wl .nxs-sk { flex: none; }
.nxs-lz__link { position: relative; text-align: center; }
.nxs-lz__link svg { display: block; width: 100%; height: 14px; fill: none; stroke: var(--nxs-acc); stroke-width: 1.4; }
.nxs-lz__link path { vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; animation: nxs-dash 1.4s linear infinite; }
.nxs-lz__link span {
  display: block; margin-top: .45rem;
  font-family: var(--nx-font-mono); font-size: .5rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-budget { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.nxs-budget .nxs-k { margin: 0; }
.nxs-budget__bar { position: relative; flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.nxs-budget__bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 58%; border-radius: 4px; background: linear-gradient(90deg, var(--nxs-acc-b), var(--nxs-acc)); }
.nxs-budget__bar b { position: absolute; top: -5px; inset-inline-start: 80%; width: 2px; height: 18px; background: var(--nxs-warn); }

/* -- devops: one definition, every environment -- */
.nxs-dvo { display: grid; grid-template-columns: minmax(0, 1.15fr) 2.6rem minmax(0, 1fr); align-items: center; }
.nxs-file { padding: .85rem; border-radius: 11px; background: rgba(0, 0, 0, .28); border: 1px solid var(--nxs-hair); min-width: 0; }
.nxs-file pre { margin: .3rem 0 0; font-family: var(--nx-font-mono); font-size: .66rem; line-height: 1.7; color: #BFD6F5; white-space: pre; overflow: hidden; }
.nxs-file pre b { color: var(--nxs-acc); font-weight: 500; }
.nxs-dvo__fan { display: block; width: 100%; height: 8rem; fill: none; stroke: var(--nxs-acc-b); stroke-width: 1.4; }
.nxs-dvo__fan path { vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; animation: nxs-dash 1.6s linear infinite; }
[dir="rtl"] .nxs-dvo__fan { transform: scaleX(-1); }
.nxs-envs { display: flex; flex-direction: column; gap: .55rem; }
.nxs-env {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 9px;
  border: 1px solid var(--nxs-hair); background: var(--nxs-panel); font-size: .82rem; font-weight: 600; color: #fff;
}
.nxs-env.is-on { border-color: var(--nxs-acc-b); background: var(--nxs-acc-a); }
.nxs-obs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.nxs-obs > div { padding: .75rem; border-radius: 10px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); }
.nxs-obs svg { display: block; width: 100%; height: 2.1rem; fill: none; stroke: var(--nxs-acc); stroke-width: 1.6; }
.nxs-obs > div + div svg { stroke: #9FD3FF; }
.nxs-obs path { vector-effect: non-scaling-stroke; }

/* -- CI/CD pipeline run -- */
.nxs-pipe { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 1.1rem 1rem .5rem; }
.nxs-pipe li {
  flex: 1; min-width: 0;
  font-family: var(--nx-font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-dark-mut);
}
.nxs-pipe i { position: relative; display: block; height: 5px; margin-bottom: .5rem; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.nxs-pipe .is-ok { color: #fff; }
.nxs-pipe .is-ok i { background: var(--nxs-ok); }
.nxs-pipe .is-run { color: var(--nxs-acc); }
.nxs-pipe .is-run i::after { content: ''; position: absolute; inset: 0; width: 45%; background: var(--nxs-acc); animation: nxs-sheen 1.8s var(--nx-ease) infinite; }
.nxs-log { padding: .4rem 1rem 1rem; font-family: var(--nx-font-mono); font-size: .7rem; }
.nxs-log p { display: grid; grid-template-columns: 1.3rem 5.2rem minmax(0, 1fr); gap: .3rem; margin: .32rem 0; color: var(--nx-on-dark-mut); white-space: nowrap; }
.nxs-log span { color: #fff; }
.nxs-log b { font-weight: 500; }
.nxs-log .is-ok { color: var(--nxs-ok); }
.nxs-log .is-run { color: var(--nxs-acc); }
.nxs-log .is-wait { color: var(--nx-on-dark-mut); }
.nxs-rollout { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-top: 1px solid var(--nxs-hair); }
.nxs-rollout .nxs-k { margin: 0; flex: none; }
.nxs-rollout__bar { flex: 1; display: flex; gap: 3px; }
.nxs-rollout__bar i { flex: 1; height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.nxs-rollout__bar i:nth-child(-n+2) { background: var(--nxs-ok); }
.nxs-rollout__bar i.is-run { background: var(--nxs-acc); animation: nxs-blink 1.6s ease-in-out infinite; }
@keyframes nxs-blink { 50% { opacity: .4; } }

/* -- DevSecOps scan -- */
.nxs-scan { list-style: none; margin: 0; padding: .3rem 1rem; }
.nxs-scan li {
  display: grid; grid-template-columns: 6.4rem minmax(0, 1fr) auto; align-items: center; gap: .7rem;
  padding: .68rem .4rem; border-bottom: 1px solid var(--nxs-hair);
}
.nxs-scan li:last-child { border-bottom: 0; }
.nxs-scan__at { font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxs-scan__t { font-size: .84rem; font-weight: 500; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxs-scan b {
  font-family: var(--nx-font-mono); font-size: .58rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: 4px; color: var(--nx-on-dark-mut); background: rgba(255, 255, 255, .06);
}
.nxs-scan .is-ok b { color: var(--nxs-ok); background: rgba(0, 219, 178, .13); }
.nxs-scan .is-bad { background: rgba(255, 107, 107, .07); box-shadow: inset 2px 0 0 var(--nxs-bad); border-radius: 4px; }
[dir="rtl"] .nxs-scan .is-bad { box-shadow: inset -2px 0 0 var(--nxs-bad); }
.nxs-scan .is-bad b { color: #FFB0B0; background: rgba(255, 107, 107, .18); }
.nxs-scan__foot { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-top: 1px solid var(--nxs-hair); }
.nxs-scan__foot svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #FF9A9A; stroke-width: 1.8; }
.nxs-scan__foot span { font-family: var(--nx-font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #FFC2C2; }

/* -- process flow (BPA) -- */
.nxs-proc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 1.4rem; row-gap: .95rem; position: relative;
}
.nxs-pn {
  position: relative; grid-column: 1;
  padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--nxs-hair); background: rgba(6, 20, 48, .85);
  font-size: .86rem; font-weight: 600; color: #fff;
}
.nxs-pn:nth-child(1) { grid-row: 1; } .nxs-pn:nth-child(2) { grid-row: 2; }
.nxs-pn:nth-child(3) { grid-row: 3; } .nxs-pn:nth-child(4) { grid-row: 4; }
.nxs-pn:nth-child(5) { grid-row: 5; }
.nxs-pn:nth-child(-n+4)::after {
  content: ''; position: absolute; top: 100%; inset-inline-start: 1.4rem; width: 1px; height: .95rem;
  background: var(--nxs-acc);
}
.nxs-pn--trigger { border-color: var(--nxs-acc-b); }
.nxs-pn--trigger .nxs-k { color: var(--nxs-acc); }
.nxs-pn--gate { border-color: rgba(255, 181, 71, .5); background: rgba(40, 30, 10, .6); }
.nxs-pn--gate .nxs-k { color: var(--nxs-warn); }
.nxs-pn--auto { border-color: var(--nxs-acc-b); background: var(--nxs-acc-a); }
.nxs-pn--exc { grid-column: 2; grid-row: 3; border-style: dashed; border-color: rgba(255, 181, 71, .45); }
.nxs-pn--exc .nxs-k { color: var(--nxs-warn); }
/* the exception branch: out of Validate, across, down into the queue */
.nxs-pn--exc::before {
  content: ''; position: absolute; bottom: 100%; inset-inline-start: -1.45rem;
  width: calc(1.45rem + 2rem); height: calc(.95rem + 1.75rem);
  border-top: 1px dashed rgba(255, 181, 71, .7); border-inline-end: 1px dashed rgba(255, 181, 71, .7);
  border-start-end-radius: 10px;
}

/* -- integrations hub -- */
.nxs-hub { position: relative; aspect-ratio: 3 / 2; }
.nxs-hub__wires { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--nxs-acc-b); stroke-width: 1.4; }
.nxs-hub__wires path { vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; animation: nxs-dash 1.4s linear infinite; }
.nxs-hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: .85rem 1.15rem; border-radius: 12px; text-align: center; white-space: nowrap;
  border: 1px solid var(--nxs-acc); background: #160f3a; color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 0 0 6px var(--nxs-acc-a), 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.nxs-hub__core .nxs-k { color: var(--nxs-acc); }
.nxs-sys {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--nx-font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  padding: .45rem .7rem; border-radius: 8px; background: #0a1d42; border: 1px solid rgba(255, 255, 255, .18);
}
.nxs-sys--1 { left: 20%; top: 17%; } .nxs-sys--2 { left: 80%; top: 17%; }
.nxs-sys--3 { left: 16%; top: 64%; } .nxs-sys--4 { left: 84%; top: 64%; }
.nxs-sys--5 { left: 50%; top: 91%; }
.nxs-log--light { margin-top: .8rem; padding: .7rem 0 0; border-top: 1px solid var(--nxs-hair); }

/* -- Shopify: storefront to back office -- */
.nxs-shop { display: grid; grid-template-columns: minmax(0, 1fr) 2.8rem minmax(0, 1fr); align-items: center; }
.nxs-shop__front { padding: .75rem; border-radius: 12px; background: #F4F7FB; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.nxs-shop__bar { display: flex; align-items: center; gap: 6px; margin-bottom: .7rem; }
.nxs-shop__bar b { width: 34%; height: 9px; border-radius: 3px; background: var(--nx-navy); margin-inline-end: auto; }
.nxs-shop__bar i { width: 12%; height: 5px; border-radius: 3px; background: #C9D5E6; }
.nxs-shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.nxs-shop__grid span { aspect-ratio: 1; border-radius: 7px; background: linear-gradient(160deg, #E4ECF7, #CEDBEE); }
.nxs-shop__grid span:first-child { background: linear-gradient(160deg, #FFE2B5, #FFC46E); }
.nxs-shop__checkout {
  margin-top: .65rem; padding: .55rem; border-radius: 7px; text-align: center;
  background: var(--nx-navy); color: #fff; font-size: .74rem; font-weight: 600;
}
.nxs-shop__checkout em { display: block; font-style: normal; font-family: var(--nx-font-mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nxs-acc); margin-top: .15rem; }
.nxs-shop__line { position: relative; height: 2px; margin-inline: .3rem; background: repeating-linear-gradient(90deg, var(--nxs-acc-b) 0 4px, transparent 4px 8px); }
.nxs-shop__line i { position: absolute; top: -3px; inset-inline-start: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--nxs-acc); --nxs-run: 1.6rem; animation: nxs-travel 1.8s var(--nx-ease) infinite; }
[dir="rtl"] .nxs-shop__line i { --nxs-run: -1.6rem; }
.nxs-shop__back { display: flex; flex-direction: column; gap: .5rem; }
.nxs-bn { padding: .6rem .8rem; border-radius: 9px; border: 1px solid var(--nxs-hair); background: rgba(6, 20, 48, .85); font-size: .82rem; font-weight: 600; color: #fff; }
.nxs-bn--on { border-color: var(--nxs-acc-b); background: rgba(60, 40, 8, .55); }
.nxs-bn--on .nxs-k { color: var(--nxs-acc); }
.nxs-bn__split { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* -- WooCommerce: layers -- */
[data-nxs="woocommerce"] .nxs-fig { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.nxs-layers { display: flex; flex-direction: column; gap: .5rem; }
.nxs-layer {
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 10px;
  border: 1px solid var(--nxs-hair); background: rgba(6, 20, 48, .85); font-size: .9rem; font-weight: 600; color: #fff;
}
.nxs-layer:nth-child(2) { margin-inline-start: .7rem; }
.nxs-layer:nth-child(3) { margin-inline-start: 1.4rem; }
.nxs-layer:nth-child(4) { margin-inline-start: 2.1rem; }
.nxs-layer .nxs-k { margin: 0; color: var(--nxs-acc); }
.nxs-layer em { margin-inline-start: auto; font-style: normal; font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxs-layer--on { border-color: var(--nxs-acc-b); background: rgba(60, 40, 8, .55); }
.nxs-layers__side { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 0; }
.nxs-layers__side .nxs-chip { max-width: 100%; white-space: normal; text-align: start; }
.nxs-gauge { align-self: stretch; margin-top: .3rem; padding: .75rem; border-radius: 10px; background: var(--nxs-panel); border: 1px solid var(--nxs-hair); }
.nxs-gauge__ticks { display: flex; gap: 3px; margin-top: .4rem; }
.nxs-gauge__ticks i { flex: 1; height: 1.2rem; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.nxs-gauge__ticks i:nth-child(-n+7) { background: linear-gradient(180deg, var(--nxs-acc), var(--nxs-acc-b)); }

/* -- WordPress: content model to theme -- */
.nxs-wp { display: grid; grid-template-columns: minmax(0, 1.1fr) 2.4rem minmax(0, 1fr); align-items: center; }
.nxs-wp__editor { padding: .85rem; border-radius: 11px; background: rgba(6, 20, 48, .85); border: 1px solid var(--nxs-hair); }
.nxs-wp__field { margin-top: .6rem; }
.nxs-wp__field b { display: block; height: 1.4rem; margin-top: .35rem; border-radius: 5px; border: 1px solid var(--nxs-hair); background: rgba(0, 0, 0, .25); }
.nxs-wp__field--tall b { height: 2.8rem; }
.nxs-wp__blocks { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.nxs-wp__blocks .nxs-k { width: 100%; margin: 0; }
.nxs-wp__blocks i { width: 2rem; height: 1.4rem; border-radius: 4px; border: 1px dashed var(--nxs-acc); }
.nxs-wp__arrow { position: relative; height: 2px; margin-inline: .35rem; background: var(--nxs-acc-b); }
.nxs-wp__arrow i { position: absolute; inset-inline-end: -1px; top: -4px; width: 0; height: 0; border-block: 5px solid transparent; border-inline-start: 7px solid var(--nxs-acc); }
.nxs-wp__page { padding: .75rem; border-radius: 11px; background: #F4F7FB; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.nxs-wp__page .nxs-k { color: #5E6B88; }
.nxs-wp__hero { height: 4.2rem; margin-bottom: .7rem; border-radius: 7px; background: linear-gradient(135deg, var(--nxs-acc), #FFE2B5); }
.nxs-wp__page .nxs-sk { background: #D3DEEE; }

/* -- headless: channels / storefront / APIs -- */
.nxs-hl__channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.nxs-hl__channels span {
  text-align: center; padding: .6rem .2rem; border-radius: 8px; border: 1px solid var(--nxs-hair); background: var(--nxs-panel);
  font-family: var(--nx-font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nxs-hl__front {
  padding: .9rem 1rem; border-radius: 12px; text-align: center;
  border: 1px solid var(--nxs-acc-b); background: rgba(60, 40, 8, .55); color: #fff; font-weight: 600;
}
.nxs-hl__front .nxs-k { color: var(--nxs-acc); }
.nxs-hl__front em { display: block; margin-top: .3rem; font-style: normal; font-family: var(--nx-font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxs-hl__back { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ---------- 01 Scope ---------- */
.nxs-scope__grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start;
}
.nxs-scope__head h2 { margin-bottom: 1.2rem; }
.nxs-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line-strong); }
.nxs-points li {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem;
  padding: clamp(1.2rem, 1rem + .6vw, 1.6rem) 0; border-bottom: 1px solid var(--nx-line);
}
.nxs-points__n { font-family: var(--nx-font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--nxs-acc-ink); padding-top: .3rem; }
.nxs-points p { margin: 0; color: var(--nx-body); line-height: 1.6; }
.nxs-points strong {
  display: block; margin-bottom: .35rem; color: var(--nx-text);
  font-family: var(--nx-font-display); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 600; letter-spacing: -.02em;
}
.nxs-plate {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  aspect-ratio: 21 / 7.5; border-radius: var(--nx-radius-lg);
  background: var(--nx-navy);
}
.nxs-plate img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; }
.nxs-plate::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0, 10, 30, .72), rgba(0, 10, 30, .05) 55%), linear-gradient(90deg, var(--nxs-acc-a), transparent 60%);
}
.nxs-plate__tag {
  position: absolute; inset-block-end: 1.1rem; inset-inline-start: 1.3rem;
  font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
}

/* ---------- 02 Capability bento ---------- */
.nxs-caps__head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.nxs-bento {
  display: grid; gap: clamp(.85rem, .6rem + .9vw, 1.3rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(12.5rem, auto);
}
.nxs--software .nxs-bento { grid-template-areas: "a a b c" "a a d e" "f f f f"; }
.nxs--cloud .nxs-bento { grid-template-areas: "a a a b" "c d e b" "c f f f"; }
.nxs--automation .nxs-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a a b" "c d b" "e f f"; }
.nxs--commerce .nxs-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a b c" "a d d" "e e f"; }
.nxs-tile--1 { grid-area: a; } .nxs-tile--2 { grid-area: b; } .nxs-tile--3 { grid-area: c; }
.nxs-tile--4 { grid-area: d; } .nxs-tile--5 { grid-area: e; } .nxs-tile--6 { grid-area: f; }

.nxs-tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(1.3rem, 1rem + .9vw, 1.9rem);
  border-radius: 18px; background: var(--nx-surface); border: 1px solid var(--nx-line);
  transition: transform .45s var(--nx-ease), border-color .45s, box-shadow .45s var(--nx-ease);
}
.nxs-tile:hover { transform: translateY(-3px); border-color: var(--nx-line-strong); box-shadow: 0 30px 60px -40px rgba(1, 17, 47, .4); }
.nxs-tile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 1.6rem; }
.nxs-tile__n { font-family: var(--nx-font-mono); font-size: .74rem; letter-spacing: .12em; color: var(--nxs-acc-ink); }
.nxs-tile__ico {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 11px;
  color: var(--nxs-acc-ink); border: 1px solid var(--nx-line-strong); background: var(--nx-bg);
}
.nxs-tile__ico svg { width: 18px; height: 18px; }
.nxs-tile h3 { font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); letter-spacing: -.02em; margin: 0 0 .5rem; color: var(--nx-text); }
.nxs-tile p { margin: 0; font-size: .95rem; line-height: 1.58; color: var(--nx-body); max-width: 34rem; }

/* wide tiles: heading and description side by side */
.nxs--software .nxs-tile--6, .nxs--cloud .nxs-tile--1, .nxs--cloud .nxs-tile--6,
.nxs--automation .nxs-tile--1, .nxs--automation .nxs-tile--6,
.nxs--commerce .nxs-tile--4, .nxs--commerce .nxs-tile--5 {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 2rem; align-content: space-between;
}
:is(.nxs--software .nxs-tile--6, .nxs--cloud .nxs-tile--1, .nxs--cloud .nxs-tile--6,
    .nxs--automation .nxs-tile--1, .nxs--automation .nxs-tile--6,
    .nxs--commerce .nxs-tile--4, .nxs--commerce .nxs-tile--5) .nxs-tile__top { grid-column: 1 / -1; }
:is(.nxs--software .nxs-tile--6, .nxs--cloud .nxs-tile--1, .nxs--cloud .nxs-tile--6,
    .nxs--automation .nxs-tile--1, .nxs--automation .nxs-tile--6,
    .nxs--commerce .nxs-tile--4, .nxs--commerce .nxs-tile--5) h3 { align-self: end; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); }
:is(.nxs--software .nxs-tile--6, .nxs--cloud .nxs-tile--1, .nxs--cloud .nxs-tile--6,
    .nxs--automation .nxs-tile--1, .nxs--automation .nxs-tile--6,
    .nxs--commerce .nxs-tile--4, .nxs--commerce .nxs-tile--5) p { align-self: end; }

/* the feature tile: dark, larger type, the parent's accent */
.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2,
.nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1 {
  background:
    radial-gradient(28rem 20rem at 100% 0%, var(--nxs-acc-a), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 100% 2.2rem,
    var(--nx-navy-deep);
  border-color: rgba(255, 255, 255, .08); color: var(--nx-on-dark);
}
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) h3 {
  color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; max-width: 14ch;
}
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) p { color: var(--nx-on-dark-mut); font-size: 1rem; }
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) .nxs-tile__n { color: var(--nxs-acc); }
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) .nxs-tile__ico {
  width: 3.6rem; height: 3.6rem; border-radius: 14px; color: var(--nxs-acc);
  background: rgba(255, 255, 255, .04); border-color: var(--nxs-acc-b); box-shadow: 0 0 0 8px var(--nxs-acc-a);
}
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) .nxs-tile__ico svg { width: 24px; height: 24px; }
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1)::after {
  content: ''; position: absolute; z-index: -1; inset-inline-end: -3rem; inset-block-end: -3rem; width: 16rem; height: 16rem;
  border-radius: 50%; border: 1px solid var(--nxs-acc-b); opacity: .35;
  box-shadow: 0 0 0 2.4rem rgba(255, 255, 255, .015), 0 0 0 4.8rem rgba(255, 255, 255, .012);
}

/* ---------- 03 Delivery timeline ---------- */
.nxs-flow__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end;
  gap: clamp(1.4rem, 1rem + 3vw, 5rem); margin-bottom: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
}
.nxs-flow__head h2 { margin: 0; }
.nxs-flow__head .nx-lead { margin: 0; }
.nxs-flow .nx-eyebrow { color: var(--nxs-acc); }
.nxs-flow .nx-eyebrow::before { background: var(--nxs-acc); }
.nxs-timeline {
  list-style: none; margin: 0; padding: 0; position: relative;
  border-top: 1px solid var(--nx-hair-dark);
}
.nxs-step {
  display: grid; grid-template-columns: 3rem 2.8rem minmax(11rem, 15rem) minmax(0, 1fr);
  align-items: center; gap: 1.1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--nx-hair-dark);
}
.nxs-step__n { font-family: var(--nx-font-mono); font-size: .76rem; letter-spacing: .12em; color: var(--nx-on-dark-mut); }
.nxs-step__ico {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px;
  border: 1px solid var(--nx-hair-dark); color: rgba(238, 243, 250, .75);
}
.nxs-step__ico svg { width: 17px; height: 17px; }
.nxs-step__txt b { display: block; font-family: var(--nx-font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.nxs-step__txt span { display: block; margin-top: .15rem; font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxs-step__bar {
  position: relative; height: 2.6rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 20% 100%;
}
[dir="rtl"] .nxs-step__bar { background-position: 100% 0; }
.nxs-step__bar i {
  position: absolute; top: 50%; height: 10px; margin-top: -5px; border-radius: 99px;
  inset-inline-start: calc(var(--i) * 17%); width: 32%;
  background: rgba(255, 255, 255, .17);
  transform-origin: left center;
  transition: transform 1.1s var(--nx-ease) calc(.2s + var(--i) * .12s);
}
[dir="rtl"] .nxs-step__bar i { transform-origin: right center; }
.nx-js .nxs-timeline[data-reveal]:not(.is-revealed) .nxs-step__bar i { transform: scaleX(0); }
.nxs-step.is-key .nxs-step__ico { color: var(--nxs-acc); border-color: var(--nxs-acc-b); background: var(--nxs-acc-a); }
.nxs-step.is-key .nxs-step__n { color: var(--nxs-acc); }
.nxs-step.is-key .nxs-step__bar i {
  height: 14px; margin-top: -7px; overflow: hidden;
  background: linear-gradient(90deg, var(--nxs-acc), var(--nx-teal));
  box-shadow: 0 0 24px -2px var(--nxs-acc-b);
}
.nxs-step.is-key .nxs-step__bar i::after {
  content: ''; position: absolute; inset: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: nxs-sheen 3.2s var(--nx-ease) 1.4s infinite;
}

/* ---------- 04 Deliverables ledger ---------- */
.nxs-ledger__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start;
}
.nxs-ledger__sheet {
  position: relative; overflow: hidden;
  border-radius: 18px; background: var(--nx-surface); border: 1px solid var(--nx-line);
  box-shadow: 0 40px 70px -50px rgba(1, 17, 47, .35);
}
.nxs-ledger__sheet::before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--nxs-acc-ink), var(--nx-teal)); }
.nxs-ledger__cols, .nxs-ledger__list li {
  display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) 3.4rem; gap: 1rem;
  padding-inline: clamp(1.1rem, .8rem + 1vw, 1.7rem);
}
.nxs-ledger__cols {
  padding-block: .85rem; background: var(--nx-bg-soft); border-bottom: 1px solid var(--nx-line);
  font-family: var(--nx-font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted);
}
.nxs-ledger__cols span:last-child { text-align: end; }
.nxs-ledger__list { list-style: none; margin: 0; padding: 0; }
.nxs-ledger__list li { padding-block: 1.35rem; border-bottom: 1px solid var(--nx-line); align-items: start; }
.nxs-ledger__list li:last-child { border-bottom: 0; }
.nxs-ledger__n { font-family: var(--nx-font-mono); font-size: .76rem; letter-spacing: .08em; color: var(--nxs-acc-ink); padding-top: .2rem; }
.nxs-ledger__list p { margin: 0; color: var(--nx-body); line-height: 1.58; }
.nxs-ledger__list strong { display: block; margin-bottom: .25rem; color: var(--nx-text); font-family: var(--nx-font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; }
.nxs-ledger__ok {
  justify-self: end; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  color: var(--nxs-acc-ink); border: 1px solid var(--nx-line-strong); background: var(--nx-bg);
}
.nxs-ledger__ok svg { width: 13px; height: 13px; }
.nxs-ledger__foot {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1.1rem, .8rem + 1vw, 1.7rem);
  border-top: 3px double var(--nx-line-strong); background: var(--nx-bg-soft);
  font-family: var(--nx-font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted);
}

/* ---------- 05 FAQ ---------- */
.nxs-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.nxs-faq__head h2 { margin: 0; }

@media (min-width: 993px) {
  .nxs-scope__head, .nxs-ledger__head, .nxs-faq__head { position: sticky; top: 7.5rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nxs-step { grid-template-columns: 2.6rem 2.6rem minmax(10rem, 13rem) minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .nxs .nxs-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: none; grid-auto-flow: dense; grid-auto-rows: auto; }
  .nxs .nxs-tile { grid-area: auto; min-height: 12rem; }
  .nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1,
  .nxs .nxs-tile--6 { grid-column: span 2; }
  .nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1 { min-height: 17rem; }
  .nxs .nxs-tile { display: flex !important; }
}
@media (max-width: 992px) {
  .nxs-hero__visual { max-width: 40rem; margin-top: .6rem; }
  .nxs-scope__grid, .nxs-ledger__grid, .nxs-faq__grid, .nxs-flow__head { grid-template-columns: 1fr; }
  .nxs-plate { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .nxs-step { grid-template-columns: 2.4rem 2.6rem minmax(0, 1fr); row-gap: .7rem; }
  .nxs-step__bar { grid-column: 2 / -1; height: 1.4rem; }
}
@media (max-width: 600px) {
  .nxs .nxs-bento { grid-template-columns: minmax(0, 1fr); }
  .nxs .nxs-tile { grid-column: auto !important; min-height: 0; display: flex !important; }
  .nxs .nxs-tile__top { padding-bottom: 1.2rem; }
  .nxs-ledger__cols, .nxs-ledger__list li { grid-template-columns: 3.2rem minmax(0, 1fr) 2rem; gap: .7rem; }
  .nxs-ledger__ok { width: 1.6rem; height: 1.6rem; }
  .nxs-points li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .nxs-plate { aspect-ratio: 4 / 3; }
  .nxs-web { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .nxs-web__nav { display: none; }
  .nxs-web__rows > div:nth-child(n+3) { display: none; }
  .nxs-lz__regions { grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1fr); }
  .nxs-lz__link span { display: none; }
  .nxs-dvo { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .nxs-dvo__fan { display: none; }
  .nxs-envs { flex-direction: row; flex-wrap: wrap; }
  .nxs-env { flex: 1 1 8rem; }
  .nxs-scan li { grid-template-columns: minmax(0, 1fr) auto; row-gap: .1rem; }
  .nxs-scan__at { grid-column: 1 / -1; }
  .nxs-scan__t { font-size: .78rem; }
  .nxs-scan b { grid-row: 1 / 3; grid-column: 2; }
  .nxs-shop, .nxs-wp { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .nxs-shop__line, .nxs-wp__arrow { display: none; }
  .nxs-shop__front { max-width: 15rem; }
  [data-nxs="woocommerce"] .nxs-fig { grid-template-columns: minmax(0, 1fr); }
  .nxs-layer:nth-child(n) { margin-inline-start: 0; }
  .nxs-hl__channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nxs-hl__wires:first-of-type { display: none; }
  .nxs-hl__channels { margin-bottom: .6rem; }
  .nxs-proc { column-gap: .8rem; }
  .nxs-pn--exc::before { inset-inline-start: -.8rem; width: calc(.8rem + 1.4rem); height: calc(.95rem + 1.6rem); }
  .nxs-pn { font-size: .78rem; padding: .6rem .7rem; }
  .nxs-saas__tenants .nxs-k { font-size: .52rem; }
  .nxs-sys { font-size: .54rem; padding: .35rem .5rem; }
  .nxs-hub__core { font-size: .8rem; padding: .65rem .8rem; }
  .nxs-log p { grid-template-columns: 1.1rem 4.4rem minmax(0, 1fr); font-size: .64rem; }
  .nxs-pipe li { font-size: .5rem; letter-spacing: .04em; }
  .nxs-float--br { inset-inline-end: .6rem; }
}
@media (max-width: 380px) {
  .nxs-saas__ops { grid-template-columns: minmax(0, 1fr); }
  .nxs-obs { grid-template-columns: minmax(0, 1fr); }
  .nxs-fig__cap { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .nxs *, .nxs *::before, .nxs *::after { animation: none !important; }
  .nxs-step__bar i { transform: none !important; }
  .nxs-tile:hover { transform: none; }
}

/* ---------- Related: dark rows on the deep ground ---------- */
.nxs-related .nx-rel {
  background: rgba(255, 255, 255, .035); border-color: var(--nx-hair-dark);
  padding: 1.6rem 1.6rem 1.8rem;
}
.nxs-related .nx-rel::before { background: var(--nxs-acc); }
.nxs-related .nx-rel:hover { border-color: var(--nxs-acc-b); box-shadow: none; background: rgba(255, 255, 255, .055); }
.nxs-related .nx-rel__eyebrow { color: var(--nxs-acc); }
.nxs-related .nx-rel__title { color: #fff; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.nxs-related .nx-rel__desc { color: var(--nx-on-dark-mut); }
[dir="rtl"] .nxs-related .nx-rel__desc { padding-right: 0; padding-left: 2rem; }

/* ==========================================================================
   Launch clarity pass: distinct section grounds, capped type, calm motion.
   Appended last so it overrides the compositions above.
   ========================================================================== */
.nxs .nx-section { padding-block: clamp(4rem, 2.8rem + 4.5vw, 7rem); }
/* grounds, in page order: hero deep / scope light / build tint / delivery navy /
   handover light / answers tint / related deep / CTA deep */
.nxs-scope { background: var(--nx-bg); }
.nxs-caps { background: var(--nx-bg-tint); border-top: 1px solid var(--nx-line-strong); }
.nxs-flow { background: var(--nx-navy); }
.nxs-ledger { background: var(--nx-bg); }
.nxs-faq { background: var(--nx-bg-soft); border-top: 1px solid var(--nx-line-strong); }
.nxs-related { background: var(--nx-navy-deep); border-bottom: 1px solid var(--nx-hair-dark); }
.nxs .nx-cta { border-top: 1px solid var(--nx-hair-dark); }

/* type caps */
.nxs-hero .nx-display, .nxs-hero h1 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.25rem); }
.nxs .nx-section h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.25rem); }
.nxs .nx-cta h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.nxs .nxs-tile h3 { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem) !important; max-width: none; }
:is(.nxs--software .nxs-tile--1, .nxs--cloud .nxs-tile--2, .nxs--automation .nxs-tile--2, .nxs--commerce .nxs-tile--1) h3 {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem) !important;
}
.nxs .nx-lead, .nxs-tile p, .nxs-points p, .nxs-ledger__list p { max-width: 68ch; }

/* header blocks: label, H2, subtitle, then content, on the start edge */
.nxs .nx-eyebrow { margin-bottom: 1rem; }
.nxs .nx-section h2 { margin: 0 0 1rem; }
.nxs-caps__head { margin-bottom: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.nxs-flow__head { display: block; max-width: 48rem; margin-bottom: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.nxs-flow__head h2 { margin-bottom: 1rem; }

/* the hero object supports the headline, it does not compete with it */
.nxs-hero .nx-page-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.nxs-hero__visual { max-width: 36rem; justify-self: end; width: 100%; }
.nxs-hero__visual::before { opacity: .6; }
@media (max-width: 992px) {
  .nxs-hero .nx-page-hero__grid { grid-template-columns: 1fr; }
  .nxs-hero__visual { justify-self: start; }
}

/* calm motion: no sheens or travelling dots, plate does not move */
.nxs-step.is-key .nxs-step__bar i::after,
.nxs-phone__sync b::after, .nxs-shop__line i { animation: none; }
.nxs-plate img { top: 0; height: 100%; }
.nxs-tile:hover { transform: none; }
@media (max-width: 1024px) {
  .nxs .nxs-tile h3, .nxs .nxs-tile p { align-self: auto; }
}
