/* ============ Next.js service page ============ */
:root {
  --nx-blue: #58b8ff;
  --nx-grid: rgba(245,242,236,0.06);
}

.nx-page { background: var(--ink-0); }

#fluid-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
  opacity: 0.45; mix-blend-mode: screen;
}
.nx-page > section,
.nx-page > footer,
.nx-page > .nx-crumb { position: relative; z-index: 3; }
.nx-page > header.nav { z-index: 40; }
.nx-page > .cursor, .nx-page > .cursor-ring { z-index: 100; }

/* Crumb */
.nx-crumb {
  position: fixed; top: 80px; left: var(--gutter);
  z-index: 30; display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-3); pointer-events: auto;
}
.nx-crumb a { color: var(--bone-3); transition: color .25s; }
.nx-crumb a:hover { color: var(--lime); }
.nx-crumb .cur { color: var(--bone); }
.nx-crumb .sep { opacity: .4; }

/* ============ HERO ============ */
.nx-hero {
  position: relative; min-height: 100vh;
  padding: 140px var(--gutter) 60px;
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto;
}
.nx-hero__canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0; pointer-events: none;
  opacity: 0.95;
}
.nx-hero__nodes {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.nx-hero__nodes .node {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-2);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.nx-hero__nodes .node .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 14px var(--lime);
  position: relative;
}
.nx-hero__nodes .node .pip::after {
  content:""; position:absolute; inset:-4px; border:1px solid var(--lime);
  border-radius: 50%; opacity: .5;
  animation: nodePing 2.4s ease-out infinite;
}
@keyframes nodePing {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(2.6); opacity: 0; }
}

.nx-hero__statbar {
  position: relative; z-index: 4;
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(8px);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.nx-hero__statbar .it {
  flex: 1; min-width: 200px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--line);
}
.nx-hero__statbar .it:last-child { border-right: 0; }
.nx-hero__statbar .lbl { color: var(--bone-3); }
.nx-hero__statbar .val { color: var(--bone); font-weight: 500; }
.nx-hero__statbar .val em { font-style: normal; color: var(--bone-3); }
.nx-hero__statbar .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

.nx-hero__grid {
  position: relative; z-index: 4;
  display: grid; grid-template-rows: auto 1fr auto;
  gap: 32px; align-content: end;
  padding-top: 40px;
}
.nx-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
  padding: 8px 16px; border: 1px solid var(--line);
  border-radius: 999px; width: fit-content;
  background: rgba(10,10,10,0.4);
}
.nx-hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s infinite;
}
.nx-hero__title {
  font-size: clamp(56px, 9.5vw, 168px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin: 0; color: var(--bone);
}
.nx-hero__title .line { display: block; overflow: hidden; }
.nx-hero__title .line.indent { padding-left: clamp(40px, 8vw, 160px); }
.nx-hero__title .line > span { display: inline-block; }
.nx-hero__title .underline { position: relative; }
.nx-hero__title .underline::after {
  content:""; position:absolute; left:0; right:0; bottom:0.04em;
  height: 0.06em; background: var(--lime); opacity: .9; z-index: -1;
}

.nx-hero__bottom {
  display: grid; grid-template-columns: 1.1fr auto;
  gap: 40px; align-items: end; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.nx-hero__lede {
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--bone-2); max-width: 60ch; line-height: 1.55; margin: 0;
}
.nx-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.nx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px;
  transition: all .35s var(--ease-out);
  position: relative; overflow: hidden;
}
.nx-btn--solid { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.nx-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(212,255,58,.3); }
.nx-btn--ghost { color: var(--bone); }
.nx-btn--ghost:hover { background: var(--bone); color: var(--ink-0); border-color: var(--bone); }
.nx-btn--lg { padding: 18px 30px; font-size: 13px; }
.nx-btn .arrow { transition: transform .3s var(--ease-out); }
.nx-btn:hover .arrow { transform: translateX(4px); }

/* Hero readout (floating log) */
.nx-hero__readout {
  position: absolute; right: var(--gutter); top: 200px;
  z-index: 3;
  width: 320px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(10px);
  padding: 14px 16px;
  font-size: 10px; line-height: 1.7;
  color: var(--bone-2);
}
.nx-hero__readout .row {
  display: grid; grid-template-columns: 60px 50px 1fr;
  gap: 8px; align-items: center;
  padding: 4px 0; border-bottom: 1px dashed rgba(245,242,236,0.06);
}
.nx-hero__readout .row:last-child { border-bottom: 0; }
.nx-hero__readout .t { color: var(--bone-3); }
.nx-hero__readout .lvl {
  font-size: 9px; padding: 2px 6px; text-align: center;
  border-radius: 2px; letter-spacing: .14em;
}
.nx-hero__readout .lvl.ok { background: rgba(212,255,58,0.12); color: var(--lime); }
.nx-hero__readout em { font-style: normal; color: var(--bone); }
@media (max-width: 1100px) { .nx-hero__readout { display: none; } }

.nx-hero__marquee {
  position: relative; z-index: 4;
  margin-top: 30px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: rgba(10,10,10,0.4);
}
.nx-marquee__track {
  display: flex; gap: 30px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-2); white-space: nowrap;
  animation: nxScroll 40s linear infinite;
}
.nx-marquee__track > span:nth-child(odd) { color: var(--bone); }
.nx-marquee__track > span:nth-child(even) { color: var(--lime); }
@keyframes nxScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ INTRO STATS ============ */
.nx-intro { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-intro__head { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.nx-intro__head h2 { margin: 0; }
.nx-intro__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.nx-stat {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 50px 30px; min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nx-stat__num { font-size: clamp(64px, 8vw, 132px); line-height: 1; }
.nx-stat__num sup {
  font-family: var(--f-mono); font-size: 0.25em;
  vertical-align: super; color: var(--lime); margin-left: .1em;
}
.nx-stat__label { font-size: 11px; color: var(--bone-3); letter-spacing: .14em; text-transform: uppercase; }
.nx-stat__label[data-zero] { color: var(--lime); }
@media (max-width: 900px) {
  .nx-intro__head { grid-template-columns: 1fr; }
  .nx-intro__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ CAPABILITIES (horizontal pin) ============ */
.nx-cap { padding: 80px 0 0; height: auto; }
.nx-cap__sticky { padding: 80px var(--gutter) 80px; }
.nx-cap__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; max-width: 1400px; }
.nx-cap__head h2 { margin: 16px 0 0; }
.nx-cap__head p { margin: 0; }
.nx-cap__track {
  display: flex; gap: 24px;
  padding: 20px 0;
  width: max-content;
}
.nx-cap__card {
  flex: 0 0 480px;
  border: 1px solid var(--line);
  background: rgba(17,17,17,0.6);
  backdrop-filter: blur(4px);
  display: grid; grid-template-rows: 240px 1fr;
  transition: border-color .3s, transform .3s var(--ease-out);
  position: relative;
}
.nx-cap__card:hover { border-color: var(--lime); transform: translateY(-4px); }
.nx-cap__art {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--ink-0);
  overflow: hidden;
}
.nx-cap__art canvas { display: block; width: 100% !important; height: 100% !important; }
.nx-cap__art-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); padding: 4px 10px;
  border: 1px solid rgba(212,255,58,0.3);
  background: rgba(10,10,10,0.7);
  z-index: 2;
}
.nx-cap__body { padding: 28px; }
.nx-cap__num { font-size: 11px; color: var(--bone-3); letter-spacing: .14em; }
.nx-cap__body h3 {
  font-family: var(--f-display); font-weight: 300; font-size: 38px;
  line-height: 1; letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.nx-cap__body h3 em { font-style: italic; color: var(--bone-2); }
.nx-cap__body p { font-size: 14px; color: var(--bone-2); margin: 0 0 18px; line-height: 1.55; }
.nx-cap__body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.nx-cap__body li {
  font-family: var(--f-mono); font-size: 12px; color: var(--bone-2);
  display: flex; gap: 10px; align-items: baseline;
}
.nx-cap__body li span { color: var(--lime); }
.nx-cap__body code {
  font-family: var(--f-mono); font-size: 0.92em;
  background: rgba(212,255,58,0.08);
  color: var(--lime); padding: 1px 5px; border-radius: 2px;
}

/* ============ RENDER MODE SWITCHER ============ */
.nx-render { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-render__head { max-width: 800px; margin-bottom: 80px; }
.nx-render__head h2 { margin: 16px 0 24px; }
.nx-render__stage {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.6);
}
@media (max-width: 980px) { .nx-render__stage { grid-template-columns: 1fr; } }
.nx-render__panel { padding: 32px; }
.nx-render__dial-panel { border-right: 1px solid var(--line); }

.nx-render__dial-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3); margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.nx-render__dial-head span:last-child { color: var(--lime); font-weight: 600; }

.nx-render__dial {
  position: relative; aspect-ratio: 1; max-width: 320px; margin: 0 auto;
}
.nx-dial-svg { width: 100%; height: 100%; }
.nx-dial-needle { transform-origin: 140px 140px; transition: transform .6s cubic-bezier(.5,1.6,.4,1); }
#nx-dial-handle { transform-origin: 140px 140px; transition: transform .6s cubic-bezier(.5,1.6,.4,1); }
#nx-dial-handle:hover { fill: rgba(212,255,58,0.15); }
#nx-dial-handle:active { cursor: grabbing; }
.nx-render__dial-hint { font-size: 10px; color: var(--bone-3); text-align: center; margin: 12px 0 0; letter-spacing: .14em; text-transform: uppercase; }

.nx-render__modes {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.nx-render__mode {
  text-align: left; padding: 14px 16px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  background: transparent; transition: background .25s;
}
.nx-render__mode:hover { background: rgba(212,255,58,0.05); }
.nx-render__mode.is-active { background: rgba(212,255,58,0.1); }
.nx-render__mode .key { font-size: 10px; color: var(--bone-3); letter-spacing: .14em; }
.nx-render__mode.is-active .key { color: var(--lime); }
.nx-render__mode .t { font-family: var(--f-display); font-size: 18px; }
.nx-render__mode .t em { font-style: italic; color: var(--bone-3); font-size: 13px; font-family: var(--f-mono); }

.nx-render__preview-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-2); padding-bottom: 14px;
  border-bottom: 1px dashed var(--line); margin-bottom: 20px;
}
.nx-render__preview-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: pulse 2s infinite; }
.nx-render__preview-head .badge {
  margin-left: auto;
  font-size: 9px; padding: 3px 8px;
  background: rgba(212,255,58,0.15); color: var(--lime);
  letter-spacing: .14em;
}
.nx-render__preview-body p { font-size: 14px; color: var(--bone-2); margin: 0 0 20px; line-height: 1.6; max-width: 56ch; }

.nx-render__metrics {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line); margin-bottom: 20px;
}
.nx-render__metrics .m {
  padding: 12px 14px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.nx-render__metrics .m:last-child { border-right: 0; }
.nx-render__metrics .k { font-size: 9px; color: var(--bone-3); letter-spacing: .14em; text-transform: uppercase; }
.nx-render__metrics .v { font-family: var(--f-display); font-size: 22px; font-weight: 300; color: var(--bone); }
.nx-render__metrics .v em { font-family: var(--f-mono); font-style: normal; font-size: 11px; color: var(--bone-3); margin-left: 2px; }

.nx-render__code { border: 1px solid var(--line); margin-bottom: 20px; background: #050505; }
.nx-render__code-head {
  display: flex; justify-content: space-between;
  padding: 8px 14px; border-bottom: 1px solid var(--line);
  font-size: 10px; color: var(--bone-3); letter-spacing: .1em;
}
.nx-render__code-head .fname { color: var(--bone-2); }
.nx-render__code-head .lang { color: var(--lime); }
.nx-render__code-pre {
  margin: 0; padding: 16px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--bone-2); line-height: 1.6;
  overflow-x: auto;
}
.nx-render__code-pre code { color: inherit; background: none; padding: 0; }

.nx-render__pipeline-head { font-size: 10px; color: var(--bone-3); letter-spacing: .18em; margin-bottom: 12px; }
.nx-render__pipeline-flow {
  display: flex; gap: 0; align-items: center;
  border: 1px solid var(--line); padding: 14px;
  font-family: var(--f-mono); font-size: 11px;
  flex-wrap: wrap; gap: 10px;
}
.nx-render__pipeline-flow .step {
  padding: 6px 10px; border: 1px dashed rgba(245,242,236,0.15);
  color: var(--bone-2);
}
.nx-render__pipeline-flow .step.lit {
  border-color: var(--lime); color: var(--lime);
  background: rgba(212,255,58,0.08);
}
.nx-render__pipeline-flow .arr { color: var(--bone-3); }

/* ============ BUILD PIPELINE ============ */
.nx-pipeline { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); overflow: hidden; }
.nx-pipeline__head { max-width: 800px; margin-bottom: 60px; }
.nx-pipeline__head h2 { margin: 16px 0 0; }
.nx-pipeline__stage {
  position: relative; height: 600px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.6);
  background-image:
    linear-gradient(to right, var(--nx-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--nx-grid) 1px, transparent 1px);
  background-size: 80px 80px;
}
.nx-pipeline__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-pipeline__steps { position: absolute; inset: 0; }
.nx-pipeline__step {
  position: absolute; max-width: 240px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--line); padding: 16px;
  backdrop-filter: blur(8px);
  transition: border-color .3s;
}
.nx-pipeline__step:hover { border-color: var(--lime); }
.nx-pipeline__step .num { font-size: 10px; color: var(--lime); letter-spacing: .14em; margin-bottom: 8px; }
.nx-pipeline__step h3 { font-family: var(--f-display); font-weight: 300; font-size: 22px; margin: 0 0 6px; line-height: 1.1; }
.nx-pipeline__step h3 em { font-style: italic; color: var(--bone-2); }
.nx-pipeline__step p { font-size: 12px; color: var(--bone-2); margin: 0 0 8px; line-height: 1.5; }
.nx-pipeline__step code { font-size: 10px; color: var(--lime); background: rgba(212,255,58,0.08); padding: 2px 6px; }
.nx-pipeline__dot {
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px var(--lime), 0 0 40px var(--lime);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ============ ARCHITECTURE ============ */
.nx-arch { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-arch__head { max-width: 800px; margin-bottom: 60px; }
.nx-arch__head h2 { margin: 16px 0 24px; }
.nx-arch__stage {
  position: relative; height: 640px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(212,255,58,0.05) 0%, rgba(10,10,10,0.95) 70%);
  overflow: hidden;
}
.nx-arch__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.nx-arch__overlay { position: absolute; inset: 0; pointer-events: none; }
.nx-arch__legend {
  position: absolute; top: 20px; left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-2);
  background: rgba(10,10,10,0.6);
  padding: 12px 14px; border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nx-arch__legend .it { display: flex; align-items: center; gap: 8px; }
.nx-arch__legend .sw { width: 10px; height: 10px; display: inline-block; border-radius: 2px; }
.nx-arch__legend .sw--line {
  width: 16px; height: 1px; background: transparent;
  border-top: 1px dashed var(--bone-3); border-radius: 0;
}
.nx-arch__readout {
  position: absolute; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(10,10,10,0.7);
  padding: 16px 20px; border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  min-width: 280px;
}
.nx-arch__readout .lbl { font-size: 9px; color: var(--bone-3); letter-spacing: .18em; text-transform: uppercase; }
.nx-arch__readout .title { font-family: var(--f-display); font-size: 22px; color: var(--lime); }
.nx-arch__readout .meta { font-family: var(--f-mono); font-size: 11px; color: var(--bone-2); }

/* ============ STACK PAIRINGS ============ */
.nx-stack { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-stack__head { max-width: 800px; margin-bottom: 60px; }
.nx-stack__head h2 { margin: 16px 0 24px; }
.nx-stack__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (max-width: 1100px) { .nx-stack__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .nx-stack__grid { grid-template-columns: repeat(2, 1fr); } }
.nx-stack__cell {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 24px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: background .25s;
}
.nx-stack__cell:hover { background: rgba(212,255,58,0.06); }
.nx-stack__cell::before {
  content:""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--lime);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s var(--ease-out);
}
.nx-stack__cell:hover::before { transform: scaleY(1); transform-origin: top; }
.nx-stack__cell .cat { font-size: 10px; color: var(--bone-3); letter-spacing: .14em; }
.nx-stack__cell .name { font-family: var(--f-display); font-size: 36px; font-weight: 300; line-height: 1; margin: 14px 0 6px; }
.nx-stack__cell .role { font-family: var(--f-mono); font-size: 11px; color: var(--bone-2); }

/* ============ MIGRATIONS ============ */
.nx-mig { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-mig__head { max-width: 800px; margin-bottom: 40px; }
.nx-mig__head h2 { margin: 16px 0 24px; }
.nx-mig__tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.nx-mig__tab {
  padding: 12px 18px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-2); background: rgba(10,10,10,0.5);
  display: flex; gap: 10px; align-items: center;
  transition: all .25s;
}
.nx-mig__tab:hover { border-color: var(--bone-2); }
.nx-mig__tab.is-active { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
.nx-mig__tab .mono { color: inherit; opacity: .7; }
.nx-mig__panel {
  display: grid; grid-template-columns: 1fr 200px 1fr;
  gap: 0; align-items: stretch;
  border: 1px solid var(--line); background: rgba(10,10,10,0.5);
}
@media (max-width: 900px) {
  .nx-mig__panel { grid-template-columns: 1fr; }
  .nx-mig__bridge { display: none; }
}
.nx-mig__from, .nx-mig__to { padding: 30px; }
.nx-mig__from { border-right: 1px solid var(--line); }
.nx-mig__to { border-left: 1px solid var(--line); }
.nx-mig__from .lbl, .nx-mig__to .lbl {
  font-size: 10px; color: var(--bone-3); letter-spacing: .18em; text-transform: uppercase;
}
.nx-mig__from h3, .nx-mig__to h3 {
  font-family: var(--f-display); font-weight: 300; font-size: 32px;
  margin: 12px 0 16px; line-height: 1.05;
}
.nx-mig__to h3 em { font-style: italic; color: var(--bone-2); }
.nx-mig__from p { font-size: 14px; color: var(--bone-2); margin: 0 0 18px; }
.nx-mig__from p code { font-family: var(--f-mono); background: rgba(245,242,236,0.06); padding: 1px 5px; font-size: 12px; }
.nx-mig__from ul, .nx-mig__to ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nx-mig__from li, .nx-mig__to li {
  font-family: var(--f-mono); font-size: 12px; color: var(--bone-2);
  display: flex; gap: 10px; align-items: baseline;
}
.nx-mig__from li span { color: #ff5b5b; }
.nx-mig__to li span { color: var(--lime); }
.nx-mig__bridge {
  position: relative; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.nx-mig__bridge-line {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--lime), transparent);
}
.nx-mig__bridge-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 16px var(--lime);
  position: relative; z-index: 2;
}
.nx-mig__bridge-time {
  position: relative; z-index: 2;
  background: var(--ink-0); padding: 8px 14px;
  border: 1px solid var(--lime);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.nx-mig__bridge-time em { font-style: normal; font-size: 9px; color: var(--bone-3); }

/* ============ PROCESS ============ */
.nx-process { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-process__head { margin-bottom: 60px; max-width: 800px; }
.nx-process__head h2 { margin: 16px 0 0; }
.nx-process__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .nx-process__grid { grid-template-columns: 1fr 1fr; } }
.nx-process__step {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 24px; min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .25s;
}
.nx-process__step:hover { background: rgba(212,255,58,0.04); }
.nx-process__step .num { font-size: 10px; color: var(--lime); letter-spacing: .14em; }
.nx-process__step h3 { font-family: var(--f-display); font-weight: 300; font-size: 28px; margin: 0; line-height: 1.1; }
.nx-process__step h3 em { font-style: italic; color: var(--bone-2); }
.nx-process__step p { font-size: 13px; color: var(--bone-2); margin: 0; line-height: 1.55; }

/* ============ FAQs ============ */
.nx-faqs { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); }
.nx-faqs__head { margin-bottom: 50px; max-width: 800px; }
.nx-faqs__head h2 { margin: 16px 0 0; }
.nx-faqs__list { border-top: 1px solid var(--line); }
.nx-faq { border-bottom: 1px solid var(--line); }
.nx-faq__q {
  width: 100%; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px); text-align: left;
  color: var(--bone); cursor: pointer;
}
.nx-faq__q em { font-style: italic; color: var(--bone-2); }
.nx-faq__q .plus { font-family: var(--f-mono); font-size: 24px; color: var(--lime); transition: transform .3s; }
.nx-faq.is-open .nx-faq__q .plus { transform: rotate(45deg); }
.nx-faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.nx-faq.is-open .nx-faq__a { max-height: 200px; }
.nx-faq__a p { padding: 0 0 22px; margin: 0; max-width: 70ch; color: var(--bone-2); font-size: 15px; line-height: 1.6; }

/* ============ CTA ============ */
.nx-cta { padding: var(--sec-y) var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nx-cta__inner { max-width: 1000px; }
.nx-cta__eyebrow { font-size: 11px; color: var(--bone-3); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 24px; }
.nx-cta h2 { margin: 0 0 24px; }
.nx-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ============ Tweaks panel ============ */
.nx-tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--line); padding: 18px;
  width: 240px;
  font-family: var(--f-mono); font-size: 11px;
  backdrop-filter: blur(10px);
}
.nx-tweaks h6 {
  margin: 0 0 14px; font-size: 10px; color: var(--bone-3);
  letter-spacing: .18em; text-transform: uppercase;
}
.nx-tweaks .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.nx-tweaks .row > span { color: var(--bone-2); letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }
.nx-tweaks .swatches { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nx-tweaks .swatches .sw {
  width: 16px; height: 16px; cursor: pointer;
  border: 1px solid transparent;
}
.nx-tweaks .swatches .sw.active { border-color: var(--bone); }
.nx-tweaks .swatches button {
  background: transparent; border: 1px solid var(--line);
  color: var(--bone-2); padding: 4px 8px; font-size: 9px;
  cursor: pointer; letter-spacing: .14em; text-transform: uppercase;
  font-family: inherit;
}
.nx-tweaks .swatches button.active { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
