/*
 * NOVEX PRODUCTS / PRODUCT ROUTING CONSOLE
 * One estate. Explicit roles, states, and execution boundaries.
 */

body.nx-products-page {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--nx-white) !important;
  background: var(--nx-ink) !important;
  font-family: var(--nx-body) !important;
  -webkit-font-smoothing: antialiased;
}

.nx-products-page *,
.nx-products-page *::before,
.nx-products-page *::after { box-sizing: border-box; }

.nx-products-page h1,
.nx-products-page h2,
.nx-products-page h3,
.nx-products-page p { text-wrap: pretty; }

.nx-products-page h1,
.nx-products-page h2,
.nx-products-page h3 { font-family: var(--nx-display) !important; }

.nx-products-page a { color: inherit; }

.nx-products-page .nx-header {
  background: rgba(10, 13, 15, 0.88);
  border-bottom-color: var(--nx-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nx-products-page .nx-header.is-scrolled { background: rgba(10, 13, 15, 0.98); }
.nx-products-page .nx-header::before { display: none; }

.nx-products-page .nx-nav a[aria-current="page"] {
  color: var(--nx-white) !important;
  box-shadow: inset 0 -1px var(--nx-blue);
}

.np-hero > *,
.np-section-head > *,
.np-execution__grid > *,
.np-intelligence__grid > *,
.np-sensei > *,
.np-final > * { min-width: 0; }

/* Hero */

.np-hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(99, 217, 229, .04) 50%, transparent calc(50% + .5px)),
    var(--nx-ink);
}

.np-hero::before {
  position: absolute;
  top: -22%;
  right: -10%;
  width: min(73vw, 1080px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(99, 217, 229, .14), rgba(99, 217, 229, .025) 43%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.np-hero__index {
  position: absolute;
  z-index: 2;
  top: 124px;
  right: max(24px, calc((100vw - var(--nx-width)) / 2));
  color: var(--nx-muted);
  font: 500 10px/1 var(--nx-mono);
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}

.np-hero__inner {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--nx-width));
  min-height: 980px;
  margin: 0 auto;
  padding: 148px 0 40px;
  grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(48px, 6vw, 94px);
}

.np-hero__copy { max-width: 730px; }
.np-hero .nx-kicker { color: var(--nx-blue) !important; }

.np-hero h1 {
  margin: 0;
  color: var(--nx-white) !important;
  font-size: clamp(66px, 6.75vw, 101px) !important;
  font-weight: 500 !important;
  line-height: .91;
  letter-spacing: -.067em !important;
}

.np-hero__lede {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--nx-copy) !important;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 450;
  line-height: 1.72;
}

/* Interactive product router */

.np-router {
  align-self: center;
  scroll-margin-top: 100px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(13, 18, 20, .92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.np-router__head,
.np-router__foot {
  display: flex;
  min-height: 56px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--nx-copy);
  font: 500 10px/1.4 var(--nx-mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}

.np-router__head { border-bottom: 1px solid var(--nx-line); }
.np-router__head strong { display: inline-flex; align-items: center; gap: 8px; color: var(--nx-green); font-weight: 500; }
.np-router__head i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

.np-router__body { display: grid; grid-template-columns: 138px minmax(0, 1fr); }

.np-router__choices {
  display: grid;
  border-right: 1px solid var(--nx-line);
}

.np-router__choices button {
  display: grid;
  min-height: 78px;
  padding: 12px 14px;
  grid-template-columns: 25px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 4px 8px;
  border: 0;
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-muted);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.np-router__choices button:last-child { border-bottom: 0; }
.np-router__choices button:hover { color: var(--nx-white); background: rgba(99, 217, 229, .05); }
.np-router__choices button[aria-pressed="true"] { color: var(--nx-white); background: rgba(99, 217, 229, .08); box-shadow: inset 2px 0 var(--nx-blue); }
.np-router__choices button:focus-visible { outline: 2px solid var(--nx-blue); outline-offset: -3px; }

.np-router__choices span {
  grid-row: 1 / -1;
  align-self: center;
  color: var(--nx-blue);
  font: 500 9px/1 var(--nx-mono);
}

.np-router__choices strong { color: currentColor; font-size: 13px; font-weight: 600; }
.np-router__choices small { color: var(--nx-muted); font: 500 9px/1 var(--nx-mono); text-transform: uppercase; }

.np-router__display { display: grid; min-width: 0; grid-template-rows: 210px auto; }

.np-router__field {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--nx-line);
  background:
    linear-gradient(rgba(99, 217, 229, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 217, 229, .035) 1px, transparent 1px),
    #0b0f11;
  background-size: 38px 38px;
}

.np-router__field::before,
.np-router__field::after {
  position: absolute;
  content: "";
  background: rgba(99, 217, 229, .13);
}

.np-router__field::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.np-router__field::after { top: 50%; right: 0; left: 0; height: 1px; }

.np-router__orbit,
.np-router__orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(99, 217, 229, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.np-router__orbit { width: 164px; aspect-ratio: 1; animation: np-orbit 22s linear infinite; }
.np-router__orbit i:nth-child(1) { width: 112px; aspect-ratio: 1; }
.np-router__orbit i:nth-child(2) { width: 242px; aspect-ratio: 1; opacity: .55; }
.np-router__orbit i:nth-child(3) { width: 330px; aspect-ratio: 1; opacity: .25; }

.np-router__code {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  color: var(--nx-blue);
  font: 500 9px/1 var(--nx-mono);
  letter-spacing: .09em;
}

.np-router__field > strong {
  position: relative;
  z-index: 2;
  color: var(--nx-white);
  font: 500 clamp(32px, 4.2vw, 54px)/1 var(--nx-mono);
  letter-spacing: -.065em;
  text-shadow: 0 0 28px rgba(99, 217, 229, .2);
}

.np-router__detail { padding: 20px; }

.np-router__detail > p {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--nx-blue) !important;
  font: 500 9px/1 var(--nx-mono);
  letter-spacing: .06em;
}

.np-router__detail > p b {
  padding: 6px 8px;
  border: 1px solid rgba(88, 211, 154, .34);
  color: var(--nx-green);
  font-weight: 500;
}

.np-router__detail h2 {
  margin: 17px 0 0;
  color: var(--nx-white) !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 500 !important;
  line-height: 1;
  letter-spacing: -.045em !important;
}

.np-router__statement {
  min-height: 47px;
  margin-top: 14px;
  color: var(--nx-copy);
  font-size: 13px;
  line-height: 1.55;
}

.np-router__detail dl { display: grid; margin: 18px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nx-line); }
.np-router__detail dl div { min-width: 0; padding: 13px 10px 0 0; }
.np-router__detail dt { color: var(--nx-muted); font: 500 9px/1 var(--nx-mono); text-transform: uppercase; }
.np-router__detail dd { margin: 7px 0 0; color: var(--nx-white); font: 500 10px/1.3 var(--nx-mono); text-transform: uppercase; }

.np-router__detail > a {
  display: flex;
  min-height: 49px;
  margin: 18px -20px -20px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--nx-line);
  color: var(--nx-blue) !important;
  font: 500 10px/1 var(--nx-mono);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.np-router__detail > a:hover { color: var(--nx-ink) !important; background: var(--nx-blue); }
.np-router__foot { min-height: 48px; border-top: 1px solid var(--nx-line); }
.np-router__foot > span { color: var(--nx-blue); }
.np-router__foot p { margin: 0; color: var(--nx-muted) !important; font: inherit; }

.np-hero__facts {
  grid-column: 1 / -1;
  display: grid;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--nx-line);
}

.np-hero__facts > div { min-width: 0; padding: 18px 18px 3px 0; border-right: 1px solid var(--nx-line); }
.np-hero__facts > div:not(:first-child) { padding-left: 18px; }
.np-hero__facts > div:last-child { border-right: 0; }
.np-hero__facts dt { color: var(--nx-muted); font: 500 10px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-hero__facts dd { margin: 7px 0 0; color: var(--nx-white); font: 500 11px/1.4 var(--nx-mono); text-transform: uppercase; }

/* Shared section heads */

.np-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(40px, 7vw, 100px);
}

.np-section-head h2 {
  margin: 0;
  font-size: clamp(54px, 6.4vw, 92px) !important;
  font-weight: 500 !important;
  line-height: .96;
  letter-spacing: -.064em !important;
}

.np-section-head > p {
  max-width: 500px;
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.68;
}

.np-card-bar {
  display: flex;
  min-height: 50px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: 500 10px/1.4 var(--nx-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.np-card-bar strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.np-card-bar strong i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }

/* Execution */

.np-execution {
  padding: clamp(100px, 10vw, 150px) max(24px, calc((100vw - var(--nx-width)) / 2));
  color: var(--nx-ink);
  background: var(--nx-paper);
}

.np-execution .nx-kicker,
.np-ledger .nx-kicker { color: var(--nx-blue-dark) !important; }
.np-execution .np-section-head h2,
.np-ledger .np-section-head h2 { color: var(--nx-ink) !important; }
.np-execution .np-section-head > p,
.np-ledger .np-section-head > p { color: var(--nx-paper-copy) !important; }

.np-execution__grid { display: grid; margin-top: 76px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nx-line-dark); border-left: 1px solid var(--nx-line-dark); }

.np-execution-card {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  border-right: 1px solid var(--nx-line-dark);
  border-bottom: 1px solid var(--nx-line-dark);
  background: rgba(255, 255, 255, .24);
}

.np-execution-card .np-card-bar { color: var(--nx-paper-muted); border-bottom: 1px solid var(--nx-line-dark); }
.np-execution-card .np-card-bar strong { color: #256842; }

.np-execution-card__visual {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 34px;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  gap: 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--nx-line-dark);
  background:
    linear-gradient(rgba(10, 13, 15, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 13, 15, .045) 1px, transparent 1px),
    rgba(99, 217, 229, .16);
  background-size: 36px 36px;
}

.np-execution-card__visual > span {
  display: grid;
  width: min(150px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(10, 13, 15, .34);
  border-radius: 50%;
  color: var(--nx-ink);
  background: rgba(239, 242, 239, .7);
  font: 500 clamp(21px, 2.6vw, 34px)/1 var(--nx-mono);
  letter-spacing: -.05em;
}

.np-execution-card__visual > b { color: var(--nx-ink); font: 500 22px/1 var(--nx-mono); }
.np-execution-card__visual > i { position: absolute; right: 15px; bottom: 13px; color: var(--nx-blue-copy); font: 500 9px/1 var(--nx-mono); font-style: normal; letter-spacing: .07em; }
.np-execution-card__visual--terminal { background-color: rgba(10, 13, 15, .08); }
.np-execution-card__visual--terminal > span { border-radius: 0; }
.np-execution-card__visual--terminal > b { padding: 9px 10px; border: 1px solid rgba(10, 13, 15, .34); font-size: 11px; }

.np-execution-card__copy { padding: clamp(34px, 4.4vw, 62px); }
.np-execution-card__copy h3 { margin: 0; color: var(--nx-ink) !important; font-size: clamp(42px, 4.6vw, 65px) !important; font-weight: 500 !important; line-height: 1; letter-spacing: -.055em !important; }
.np-execution-card__thesis { display: block; margin-top: 22px; color: var(--nx-blue-dark); font: 500 10px/1.45 var(--nx-mono); letter-spacing: .035em; text-transform: uppercase; }
.np-execution-card__copy > p { max-width: 590px; margin: 25px 0 0; color: var(--nx-paper-copy) !important; font-size: 15px; line-height: 1.7; }
.np-execution-card__copy dl { display: grid; margin: 39px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nx-line-dark); }
.np-execution-card__copy dl div { min-width: 0; padding: 15px 8px 0 0; }
.np-execution-card__copy dt { color: var(--nx-paper-muted); font: 500 9px/1 var(--nx-mono); text-transform: uppercase; }
.np-execution-card__copy dd { margin: 8px 0 0; color: var(--nx-ink); font: 500 10px/1.4 var(--nx-mono); text-transform: uppercase; }

.np-card-actions { display: grid; margin-top: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nx-line-dark); }
.np-card-actions a { display: flex; min-height: 59px; padding: 0 18px; align-items: center; justify-content: space-between; gap: 18px; border-right: 1px solid var(--nx-line-dark); color: var(--nx-ink) !important; font: 500 10px/1 var(--nx-mono); text-decoration: none; text-transform: uppercase; transition: background-color 160ms ease; }
.np-card-actions a:last-child { border-right: 0; }
.np-card-actions a:hover { background: var(--nx-blue); }

/* Intelligence layer */

.np-intelligence {
  padding: clamp(100px, 10vw, 150px) max(24px, calc((100vw - var(--nx-width)) / 2));
  color: var(--nx-white);
  background: #0d1113;
}

.np-intelligence .nx-kicker { color: var(--nx-blue) !important; }
.np-intelligence .np-section-head h2 { color: var(--nx-white) !important; }
.np-intelligence .np-section-head > p { color: var(--nx-copy) !important; }

.np-intelligence__grid { display: grid; margin-top: 76px; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nx-line); border-left: 1px solid var(--nx-line); }

.np-intel-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-white) !important;
  background: rgba(255, 255, 255, .012);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.np-intel-card:hover { background: rgba(99, 217, 229, .045); }
.np-intel-card .np-card-bar { color: var(--nx-muted); border-bottom: 1px solid var(--nx-line); }
.np-intel-card .np-card-bar strong { color: var(--nx-copy); }
.np-intel-card .np-card-bar strong:has(i) { color: var(--nx-green); }

.np-intel-card__body { padding: 32px; }
.np-intel-card__body > span { color: var(--nx-blue); font: 500 10px/1 var(--nx-mono); letter-spacing: .07em; }
.np-intel-card__body h3 { margin: 82px 0 0; color: var(--nx-white) !important; font-size: clamp(38px, 3.9vw, 55px) !important; font-weight: 500 !important; line-height: .98; letter-spacing: -.055em !important; }
.np-intel-card__body p { margin: 24px 0 0; color: var(--nx-copy) !important; font-size: 15px; line-height: 1.68; }
.np-intel-card__foot { display: flex; min-height: 57px; margin-top: auto; padding: 0 18px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--nx-line); color: var(--nx-blue); font: 500 10px/1 var(--nx-mono); text-transform: uppercase; }

.np-sensei { grid-column: 1 / -1; display: grid; grid-template-columns: .88fr 1.12fr; border-right: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.np-sensei__copy { min-width: 0; border-right: 1px solid var(--nx-line); }
.np-sensei__copy .np-card-bar { color: var(--nx-muted); border-bottom: 1px solid var(--nx-line); }
.np-sensei__copy .np-card-bar strong { color: var(--nx-green); }
.np-sensei__body { padding: clamp(36px, 5vw, 70px); }
.np-sensei__body > span { color: var(--nx-blue); font: 500 10px/1 var(--nx-mono); letter-spacing: .07em; }
.np-sensei__body h3 { max-width: 690px; margin: 70px 0 0; color: var(--nx-white) !important; font-size: clamp(46px, 5.2vw, 72px) !important; font-weight: 500 !important; line-height: .96; letter-spacing: -.06em !important; }
.np-sensei__body > p { max-width: 660px; margin: 27px 0 0; color: var(--nx-copy) !important; font-size: 15px; line-height: 1.7; }
.np-sensei__body dl { display: grid; margin: 40px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nx-line); }
.np-sensei__body dl div { min-width: 0; padding: 16px 8px 0 0; }
.np-sensei__body dt { color: var(--nx-muted); font: 500 9px/1 var(--nx-mono); text-transform: uppercase; }
.np-sensei__body dd { margin: 8px 0 0; color: var(--nx-white); font: 500 11px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-sensei__body > a { display: flex; min-height: 58px; margin: 40px 0 0; padding: 0 18px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--nx-line); color: var(--nx-blue) !important; font: 500 10px/1 var(--nx-mono); text-decoration: none; text-transform: uppercase; transition: color 160ms ease, background-color 160ms ease; }
.np-sensei__body > a:hover { color: var(--nx-ink) !important; background: var(--nx-blue); }

.np-sensei__proof { display: grid; min-width: 0; min-height: 680px; margin: 0; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--nx-ink); }
.np-sensei__proof > div,
.np-sensei__proof figcaption { display: flex; min-height: 48px; padding: 0 18px; align-items: center; justify-content: space-between; gap: 18px; color: var(--nx-muted); font: 500 9px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-sensei__proof > div { border-bottom: 1px solid var(--nx-line); }
.np-sensei__proof figcaption { border-top: 1px solid var(--nx-line); }
.np-sensei__proof img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; object-position: 58% center; filter: saturate(.86) contrast(1.04); }

/* Operator route */

.np-path {
  display: grid;
  padding: clamp(92px, 9vw, 138px) max(24px, calc((100vw - var(--nx-width)) / 2));
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(50px, 8vw, 120px);
  color: var(--nx-ink);
  background: var(--nx-blue);
}

.np-path .nx-kicker { color: var(--nx-ink) !important; }
.np-path h2 { margin: 0; color: var(--nx-ink) !important; font-size: clamp(52px, 6vw, 86px) !important; font-weight: 500 !important; line-height: .95; letter-spacing: -.063em !important; }
.np-path header > p:last-child { max-width: 490px; margin: 25px 0 0; color: var(--nx-blue-copy) !important; font-size: 16px; line-height: 1.65; }
.np-path ol { margin: 0; padding: 0; border-top: 1px solid rgba(10, 13, 15, .28); list-style: none; }
.np-path li a { display: grid; min-height: 82px; padding: 0 4px; grid-template-columns: 46px 1fr 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid rgba(10, 13, 15, .28); color: var(--nx-ink) !important; text-decoration: none; transition: padding 160ms ease, background-color 160ms ease; }
.np-path li a:hover { padding-right: 12px; padding-left: 12px; background: rgba(239, 242, 239, .22); }
.np-path li span,
.np-path li small,
.np-path li b { color: var(--nx-blue-copy); font: 500 10px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-path li strong { color: var(--nx-ink); font-size: 17px; font-weight: 600; }

/* Complete estate */

.np-ledger {
  padding: clamp(100px, 10vw, 150px) max(24px, calc((100vw - var(--nx-width)) / 2));
  color: var(--nx-ink);
  background: var(--nx-paper);
}

.np-ledger .np-section-head > p a { color: var(--nx-blue-dark); }
.np-ledger__legend { display: flex; min-height: 50px; margin-top: 76px; padding: 0 16px; align-items: center; gap: 28px; border: 1px solid var(--nx-line-dark); color: var(--nx-paper-muted); font: 500 9px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-ledger__legend span { display: inline-flex; align-items: center; gap: 8px; }
.np-ledger__legend span:nth-child(3) { margin-left: auto; }
.np-ledger__legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--nx-paper-muted); }
.np-ledger__legend i.is-live { background: #256842; box-shadow: 0 0 8px rgba(37, 104, 66, .35); }
.np-ledger__legend p { margin: 0; color: var(--nx-paper-muted) !important; font: inherit; }
.np-ledger__table { border-top: 0; }
.np-ledger__row { display: grid; min-height: 68px; padding: 0 18px; grid-template-columns: 1.25fr 1fr 1fr .5fr; align-items: center; gap: 24px; border-right: 1px solid var(--nx-line-dark); border-bottom: 1px solid var(--nx-line-dark); border-left: 1px solid var(--nx-line-dark); color: var(--nx-ink) !important; text-decoration: none; transition: background-color 160ms ease, padding 160ms ease; }
a.np-ledger__row:hover { padding-right: 24px; padding-left: 24px; background: var(--nx-paper-2); }
.np-ledger__labels { min-height: 40px; color: var(--nx-paper-muted); font: 500 9px/1 var(--nx-mono); letter-spacing: .05em; text-transform: uppercase; }
.np-ledger__row strong { color: var(--nx-ink); font-size: 15px; font-weight: 600; }
.np-ledger__row span { color: var(--nx-paper-copy); font-size: 13px; }
.np-ledger__row em,
.np-ledger__row b { color: var(--nx-paper-muted); font: 500 10px/1.4 var(--nx-mono); font-style: normal; text-transform: uppercase; }
.np-ledger__row em.is-live { color: #256842; }
.np-ledger__row b { justify-self: end; color: var(--nx-blue-dark); }
.np-ledger__academy-note { margin: 18px 0 0; color: var(--nx-paper-muted) !important; font: 500 10px/1.65 var(--nx-mono); text-transform: uppercase; }
.np-ledger__academy-note strong { color: var(--nx-ink); font-weight: 500; }
.np-ledger__academy-note a { color: var(--nx-blue-dark); text-underline-offset: 3px; }

/* Final */

.np-final {
  display: grid;
  padding: clamp(100px, 10vw, 150px) max(24px, calc((100vw - var(--nx-width)) / 2));
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: clamp(56px, 9vw, 140px);
  color: var(--nx-white);
  background: var(--nx-ink);
}

.np-final .nx-kicker { color: var(--nx-blue) !important; }
.np-final h2 { margin: 0; color: var(--nx-white) !important; font-size: clamp(54px, 6.4vw, 92px) !important; font-weight: 500 !important; line-height: .95; letter-spacing: -.064em !important; }
.np-final > div:first-child > p:last-child { max-width: 660px; margin: 28px 0 0; color: var(--nx-copy) !important; font-size: 16px; line-height: 1.7; }
.np-final__actions { border-top: 1px solid var(--nx-line); }
.np-final__actions a { display: grid; min-height: 105px; padding: 0 3px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: center; gap: 9px 20px; border-bottom: 1px solid var(--nx-line); color: var(--nx-white) !important; text-decoration: none; transition: padding 160ms ease, background-color 160ms ease; }
.np-final__actions a:hover { padding-right: 14px; padding-left: 14px; background: rgba(99, 217, 229, .05); }
.np-final__actions span { color: var(--nx-white); font-size: 20px; font-weight: 500; }
.np-final__actions small { color: var(--nx-muted); font: 500 10px/1.4 var(--nx-mono); text-transform: uppercase; }
.np-final__actions b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--nx-blue); font: 500 10px/1 var(--nx-mono); text-transform: uppercase; }

/* Progressive reveal */

[data-reveal].is-reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1); }
[data-reveal].is-reveal-ready.is-visible { opacity: 1; transform: none; }

@keyframes np-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1180px) {
  .np-hero__inner { grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr); gap: 44px; }
  .np-router__body { grid-template-columns: 120px minmax(0, 1fr); }
  .np-router__choices button { padding: 10px; grid-template-columns: 21px 1fr; }
  .np-sensei { grid-template-columns: 1fr; }
  .np-sensei__copy { border-right: 0; border-bottom: 1px solid var(--nx-line); }
  .np-sensei__proof { min-height: 620px; }
}

@media (max-width: 980px) {
  .np-hero { min-height: 0; }
  .np-hero__inner { min-height: 0; padding-top: 142px; grid-template-columns: 1fr; grid-template-rows: auto; }
  .np-hero__copy { max-width: 860px; }
  .np-router { width: 100%; }
  .np-hero__facts { margin-top: 10px; }
  .np-section-head { grid-template-columns: 1fr; align-items: start; }
  .np-section-head > p { max-width: 680px; }
  .np-intelligence__grid { grid-template-columns: 1fr 1fr; }
  .np-intel-card:nth-child(3) { grid-column: 1 / -1; min-height: 400px; }
  .np-sensei { grid-column: 1 / -1; }
  .np-path { grid-template-columns: 1fr; }
  .np-final { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .np-execution__grid { grid-template-columns: 1fr; }
  .np-execution-card { min-height: 0; }
  .np-intelligence__grid { grid-template-columns: 1fr; }
  .np-intel-card,
  .np-intel-card:nth-child(3) { grid-column: auto; min-height: 410px; }
  .np-sensei { grid-column: auto; }
  .np-sensei__proof { min-height: 540px; }
  .np-sensei__proof img { min-height: 440px; }
  .np-ledger__row { grid-template-columns: 1.1fr .9fr .9fr auto; gap: 14px; }
}

@media (max-width: 680px) {
  .np-hero__inner { width: min(calc(100% - 32px), var(--nx-width)); padding-top: 118px; gap: 40px; }
  .np-hero__index { display: none; }
  .np-hero h1 { font-size: clamp(50px, 15vw, 74px) !important; }
  .np-hero__lede { font-size: 15px; }
  .np-router__body { grid-template-columns: 1fr; }
  .np-router__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--nx-line); }
  .np-router__choices button { min-height: 72px; border-right: 1px solid var(--nx-line); }
  .np-router__choices button:nth-child(3n) { border-right: 0; }
  .np-router__choices button:nth-last-child(-n + 3) { border-bottom: 0; }
  .np-router__choices button[aria-pressed="true"] { box-shadow: inset 0 2px var(--nx-blue); }
  .np-router__display { grid-template-rows: 190px auto; }
  .np-router__foot { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .np-hero__facts { grid-template-columns: repeat(2, 1fr); }
  .np-hero__facts > div:nth-child(2) { border-right: 0; }
  .np-hero__facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--nx-line); }
  .np-hero__facts > div:nth-child(3) { padding-left: 0; }
  .np-section-head h2,
  .np-final h2 { font-size: clamp(46px, 13vw, 66px) !important; }
  .np-execution,
  .np-intelligence,
  .np-ledger,
  .np-final { padding-right: 16px; padding-left: 16px; }
  .np-execution__grid,
  .np-intelligence__grid { margin-top: 52px; }
  .np-execution-card__visual { min-height: 190px; padding: 25px; }
  .np-execution-card__visual > span { width: min(118px, 100%); }
  .np-execution-card__copy dl,
  .np-sensei__body dl { grid-template-columns: 1fr; }
  .np-execution-card__copy dl div,
  .np-sensei__body dl div { padding: 13px 0; border-bottom: 1px solid var(--nx-line-dark); }
  .np-sensei__body dl div { border-bottom-color: var(--nx-line); }
  .np-intel-card { min-height: 380px; }
  .np-intel-card__body h3 { margin-top: 54px; }
  .np-sensei__body h3 { margin-top: 54px; font-size: clamp(43px, 12.5vw, 62px) !important; }
  .np-sensei__proof { min-height: 420px; }
  .np-sensei__proof img { min-height: 320px; }
  .np-path { padding-right: 16px; padding-left: 16px; }
  .np-path li a { grid-template-columns: 36px 1fr auto; }
  .np-path li small { display: none; }
  .np-ledger__legend { margin-top: 52px; flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; }
  .np-ledger__legend span:nth-child(3) { width: 100%; margin-left: 0; }
  .np-ledger__legend p { width: 100%; }
  .np-ledger__labels { display: none; }
  .np-ledger__table { border-top: 1px solid var(--nx-line-dark); }
  .np-ledger__row { min-height: 84px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: center; gap: 6px 18px; }
  .np-ledger__row strong,
  .np-ledger__row span { grid-column: 1; }
  .np-ledger__row em,
  .np-ledger__row b { grid-column: 2; justify-self: end; }
  .np-ledger__row em { grid-row: 1; }
  .np-ledger__row b { grid-row: 2; }
}

@media (max-width: 560px) {
  .np-router__head strong { font-size: 0; }
  .np-router__head strong i { display: block; }
  .np-router__choices button { min-height: 68px; padding: 9px 7px; grid-template-columns: 18px 1fr; gap: 4px; }
  .np-router__choices strong { font-size: 11px; }
  .np-router__choices small { font-size: 8px; }
  .np-router__field { min-height: 170px; }
  .np-card-actions { grid-template-columns: 1fr; }
  .np-card-actions a { border-right: 0; border-bottom: 1px solid var(--nx-line-dark); }
  .np-card-actions a:last-child { border-bottom: 0; }
  .np-execution-card__visual { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .np-execution-card__visual > span { width: min(92px, 100%); font-size: 19px; }
  .np-execution-card__visual > b { font-size: 17px; }
  .np-sensei__proof > div span:last-child { display: none; }
  .np-sensei__proof img { min-height: 270px; height: 270px; object-position: 58% center; }
  .np-final__actions span { font-size: 17px; }
}

@media (max-width: 360px) {
  .np-hero__inner { width: calc(100% - 24px); }
  .np-router__choices button { grid-template-columns: 1fr; }
  .np-router__choices button span { display: none; }
  .np-router__statement { min-height: 68px; }
  .np-execution,
  .np-intelligence,
  .np-path,
  .np-ledger,
  .np-final { padding-right: 12px; padding-left: 12px; }
  .np-execution-card__copy,
  .np-intel-card__body,
  .np-sensei__body { padding-right: 24px; padding-left: 24px; }
  .np-ledger__row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 5px; padding-top: 14px; padding-bottom: 14px; }
  .np-ledger__row strong,
  .np-ledger__row span,
  .np-ledger__row em,
  .np-ledger__row b { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .np-router__orbit { animation: none; }
  [data-reveal].is-reveal-ready { opacity: 1; transform: none; transition: none; }
  .np-router__choices button,
  .np-router__detail > a,
  .np-card-actions a,
  .np-intel-card,
  .np-path li a,
  .np-ledger__row,
  .np-final__actions a { transition: none; }
}

/* Products icon system. Kept on the Products body because Predict and HQ share this file. */

.nx-products-page .np-router__choices button {
  grid-template-columns: 34px 1fr;
}

.nx-products-page .np-router__choice-mark {
  display: grid;
  width: 28px;
  height: 44px;
  grid-row: 1 / -1;
  align-self: center;
  place-items: center;
  gap: 4px;
  color: var(--nx-blue);
}

.nx-products-page .np-router__choice-mark svg {
  width: 25px;
  height: 25px;
}

.nx-products-page .np-router__choice-mark i {
  color: var(--nx-muted);
  font: 500 8px/1 var(--nx-mono);
  font-style: normal;
  letter-spacing: .08em;
}

.nx-products-page .np-router__choices button[aria-pressed="true"] .np-router__choice-mark i {
  color: var(--nx-blue);
}

.nx-products-page .np-router__identity {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 13px;
  color: var(--nx-white);
  text-shadow: 0 0 28px rgba(99, 217, 229, .2);
}

.nx-products-page .np-router__identity svg {
  width: 76px;
  height: 76px;
  padding: 17px;
  color: var(--nx-electric, var(--nx-blue));
  border: 1px solid rgba(120, 242, 255, .32);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(120, 242, 255, .13), rgba(139, 124, 255, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 42px rgba(0, 0, 0, .22);
}

.nx-products-page .np-router__identity strong {
  color: var(--nx-white);
  font: 500 clamp(21px, 2.4vw, 30px)/1 var(--nx-mono);
  letter-spacing: -.045em;
}

.nx-products-page .np-execution-card__visual > span {
  grid-template-rows: auto auto;
  gap: 10px;
}

.nx-products-page .np-execution-card__visual > span svg {
  width: clamp(50px, 5vw, 68px);
  height: clamp(50px, 5vw, 68px);
}

.nx-products-page .np-execution-card__visual > span strong {
  color: var(--nx-ink);
  font: 600 clamp(13px, 1.4vw, 18px)/1 var(--nx-mono);
  letter-spacing: .04em;
}

.nx-products-page .np-execution-card__visual--terminal > span {
  border-radius: 24px;
}

.nx-products-page .np-intel-card__identity,
.nx-products-page .np-sensei__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nx-blue);
  font: 500 10px/1 var(--nx-mono);
  letter-spacing: .07em;
}

.nx-products-page .np-intel-card__identity svg,
.nx-products-page .np-sensei__identity svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid rgba(120, 242, 255, .25);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(120, 242, 255, .1), rgba(139, 124, 255, .08));
}

.nx-products-page .np-intel-card__body h3 {
  margin-top: 54px;
}

.nx-products-page .np-path__mark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nx-products-page .np-path__mark svg {
  width: 28px;
  height: 28px;
}

.nx-products-page .np-path__mark i {
  font: 500 8px/1 var(--nx-mono);
  font-style: normal;
}

.nx-products-page .np-path li a {
  grid-template-columns: 72px 1fr 1fr auto;
}

.nx-products-page .np-ledger__row strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.nx-products-page .np-ledger__row strong svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  flex: 0 0 auto;
  color: var(--nx-blue-dark);
  border: 1px solid rgba(6, 106, 116, .22);
  border-radius: 9px;
  background: rgba(99, 217, 229, .09);
}

.nx-products-page .np-ledger__row strong span {
  overflow: hidden;
  color: var(--nx-ink);
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-products-page .np-final__product {
  display: flex;
  align-items: center;
  gap: 13px;
}

.nx-products-page .np-final__product svg {
  width: 39px;
  height: 39px;
  padding: 9px;
  color: var(--nx-electric, var(--nx-blue));
  border: 1px solid rgba(120, 242, 255, .24);
  border-radius: 11px;
  background: rgba(120, 242, 255, .07);
}

.nx-products-page .np-final__product i {
  font-style: normal;
}

@media (max-width: 1180px) {
  .nx-products-page .np-router__choices button { grid-template-columns: 30px 1fr; }
}

@media (max-width: 680px) {
  .nx-products-page .np-path li a { grid-template-columns: 58px 1fr auto; }
  .nx-products-page .np-router__choice-mark { width: 24px; }
  .nx-products-page .np-router__choice-mark svg { width: 21px; height: 21px; }
}

@media (max-width: 560px) {
  .nx-products-page .np-router__choices button { grid-template-columns: 25px 1fr; }
  .nx-products-page .np-router__identity svg { width: 64px; height: 64px; padding: 14px; }
  .nx-products-page .np-execution-card__visual > span svg { width: 45px; height: 45px; }
}

@media (max-width: 360px) {
  .nx-products-page .np-router__choices button { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nx-products-page .np-router__choice-mark { display: grid; }
  .nx-products-page .np-router__choices small { display: none; }
  .nx-products-page .np-ledger__row strong span { white-space: normal; }
}

/* Predict and HQ preview surfaces. Scoped by body class where rules touch shared components. */
:root {
  --np-ink: #0a0d0f;
  --np-ink-2: #111619;
  --np-panel: #171d20;
  --np-paper: #eef0ec;
  --np-paper-2: #e3e6e1;
  --np-white: #f8faf7;
  --np-copy: #a3adb0;
  --np-muted: #8f9da1;
  --np-paper-copy: #465154;
  --np-paper-muted: #596367;
  --np-line: rgba(234, 240, 237, 0.13);
  --np-line-dark: rgba(10, 13, 15, 0.16);
  --np-blue: #63d9e5;
  --np-blue-dark: #066a74;
  --np-green: #58d39a;
  --np-amber: #f0bf6a;
  --np-red: #ef777c;
  --np-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --np-body: Inter, "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --np-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --np-width: 1380px;
}

html { background: var(--np-ink); }

body.nx-preview-page {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--np-white);
  background: var(--np-ink) !important;
  font-family: var(--np-body) !important;
  -webkit-font-smoothing: antialiased;
}

.nx-preview-page *,
.nx-preview-page *::before,
.nx-preview-page *::after { box-sizing: border-box; }

.nx-preview-page h1,
.nx-preview-page h2,
.nx-preview-page h3,
.nx-preview-page p { text-wrap: pretty; }

.nx-preview-page h1,
.nx-preview-page h2,
.nx-preview-page h3 { font-family: var(--np-display) !important; }

.nx-preview-page button { font: inherit; }
.nx-preview-page [hidden] { display: none !important; }

.npreview-signal {
  min-height: 42px;
  margin-top: 72px;
  border-top: 1px solid var(--np-line);
  border-bottom: 1px solid var(--np-line);
  background: #101416;
}

.npreview-signal > div {
  display: flex;
  width: min(calc(100% - 48px), var(--np-width));
  min-height: 42px;
  margin: 0 auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  overflow: hidden;
  color: var(--np-muted);
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.npreview-signal i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--np-green);
  box-shadow: 0 0 10px rgba(88, 211, 154, .45);
}

.npreview-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--np-line);
  background:
    linear-gradient(90deg, transparent 0 49.96%, rgba(99, 217, 229, .04) 50%, transparent 50.04%),
    radial-gradient(circle at 81% 34%, rgba(99, 217, 229, .09), transparent 26%),
    var(--np-ink);
}

.npreview-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.npreview-hero__index {
  position: absolute;
  z-index: 2;
  top: 54px;
  right: max(24px, calc((100vw - var(--np-width)) / 2));
  color: var(--np-muted);
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.npreview-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 48px), var(--np-width));
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(92px, 10vw, 150px) 0 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  align-items: center;
  gap: clamp(60px, 8vw, 126px);
}

.npreview-hero__copy { align-self: center; }

.npreview-kicker {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 12px;
  color: var(--np-blue) !important;
  font: 500 11px/1 var(--np-mono) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

.npreview-kicker::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.npreview-hero h1 {
  max-width: 870px;
  margin: 0;
  color: var(--np-white) !important;
  font-size: clamp(64px, 7.4vw, 110px) !important;
  font-weight: 500 !important;
  line-height: .89;
  letter-spacing: -.068em !important;
}

.npreview-hero h1 span { color: var(--np-muted); }

.npreview-hero__lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--np-copy) !important;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 450;
  line-height: 1.72;
}

.npreview-hero__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 8px;
}

.npreview-state {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(13, 18, 20, .92);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .28);
}

.npreview-state__head,
.npreview-state__foot {
  display: flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--np-muted);
  border-bottom: 1px solid var(--np-line);
  font: 500 11px/1.35 var(--np-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.npreview-state__head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--np-green);
  font-weight: 500;
}

.npreview-state__head strong::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.npreview-state__mark {
  display: grid;
  min-height: 220px;
  padding: 32px 28px;
  align-content: center;
  border-bottom: 1px solid var(--np-line);
}

.npreview-state__mark > span {
  color: var(--np-muted);
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.npreview-state__mark strong {
  margin-top: 10px;
  color: var(--np-white);
  font: 400 clamp(76px, 8vw, 118px)/.9 var(--np-display);
  letter-spacing: -.065em;
}

.npreview-state__mark small {
  margin-top: 12px;
  color: var(--np-blue);
  font: 500 11px/1.35 var(--np-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.npreview-state dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.npreview-state dl div {
  min-width: 0;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--np-line);
  border-bottom: 1px solid var(--np-line);
}

.npreview-state dl div:nth-child(even) { border-right: 0; }

.npreview-state dt,
.npreview-state dd {
  font: 500 11px/1.45 var(--np-mono);
  overflow-wrap: anywhere;
}

.npreview-state dt {
  color: var(--np-muted);
  text-transform: uppercase;
}

.npreview-state dd {
  margin: 9px 0 0;
  color: var(--np-white);
}

.npreview-state__foot {
  min-height: 52px;
  border-bottom: 0;
  color: var(--np-copy);
}

.npreview-state__foot span { color: var(--np-blue); }

.npreview-hero__facts {
  grid-column: 1 / -1;
  display: grid;
  margin: 40px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--np-line);
}

.npreview-hero__facts div {
  min-width: 0;
  padding: 19px 18px 22px;
  border-right: 1px solid var(--np-line);
}

.npreview-hero__facts div:first-child { padding-left: 0; }
.npreview-hero__facts div:last-child { border-right: 0; }

.npreview-hero__facts dt,
.npreview-hero__facts dd {
  font: 500 11px/1.45 var(--np-mono);
  text-transform: uppercase;
}

.npreview-hero__facts dt { color: var(--np-muted); }
.npreview-hero__facts dd { margin: 8px 0 0; color: var(--np-white); }

/* Predict ledger */

.npredict-ledger {
  padding: clamp(96px, 9vw, 140px) max(24px, calc((100vw - var(--np-width)) / 2));
  color: var(--np-ink);
  background: var(--np-paper);
}

.npredict-ledger__head,
.npreview-section-head {
  display: grid;
  grid-template-columns: 1.22fr .58fr;
  align-items: end;
  gap: clamp(46px, 8vw, 118px);
}

.npredict-ledger__head h2,
.npreview-section-head h2 {
  max-width: 900px;
  margin: 0;
  color: var(--np-ink) !important;
  font-size: clamp(48px, 6.3vw, 88px) !important;
  font-weight: 500 !important;
  line-height: .98;
  letter-spacing: -.058em !important;
}

.npredict-ledger__head > p,
.npreview-section-head > p {
  margin: 0 0 7px;
  color: var(--np-paper-copy) !important;
  font-size: 16px;
  line-height: 1.68;
}

.npredict-source {
  display: grid;
  min-height: 82px;
  margin-top: 64px;
  padding: 17px 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: var(--np-paper-copy);
  border: 1px solid var(--np-line-dark);
  background: rgba(255, 255, 255, .28);
  font-size: 13px;
  line-height: 1.6;
}

.nx-predict-page .npredict-source {
  color: var(--np-paper-copy) !important;
  border-color: var(--np-line-dark) !important;
  background: rgba(255, 255, 255, .28) !important;
}

.npredict-source strong { color: var(--np-ink); }

.npredict-source::after {
  content: "VALIDATED LOCALLY";
  color: #256842;
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .04em;
}

.npredict-source.degraded {
  color: #6f4d11;
  border-color: rgba(111, 77, 17, .4);
  background: rgba(240, 191, 106, .12);
}

.nx-predict-page .npredict-source.degraded {
  color: #6f4d11 !important;
  border-color: rgba(111, 77, 17, .4) !important;
  background: rgba(240, 191, 106, .12) !important;
}

.npredict-source.degraded::after { content: "FAIL CLOSED"; color: #6f4d11; }

.npredict-limitations {
  max-width: 980px;
  margin: 16px 0 0;
  color: var(--np-paper-muted) !important;
  font: 500 11px/1.65 var(--np-mono);
  text-transform: uppercase;
}

.npredict-limitations strong { color: var(--np-ink); font-weight: 500; }

.tabs {
  display: flex;
  margin-top: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--np-line-dark);
  border-left: 1px solid var(--np-line-dark);
}

.tab {
  min-height: 46px;
  padding: 0 18px;
  color: var(--np-paper-muted);
  border: 0;
  border-right: 1px solid var(--np-line-dark);
  border-bottom: 1px solid var(--np-line-dark);
  background: transparent;
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}

.tab:hover { color: var(--np-ink); background: rgba(99, 217, 229, .12); }
.tab.active { color: var(--np-ink); background: var(--np-blue); }

.filter-status {
  margin: 13px 0 0;
  color: var(--np-paper-muted) !important;
  font: 500 11px/1.4 var(--np-mono);
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--np-line-dark);
  border-left: 1px solid var(--np-line-dark);
}

.stat-card {
  min-width: 0;
  min-height: 126px;
  padding: 23px 20px;
  border-right: 1px solid var(--np-line-dark);
  border-bottom: 1px solid var(--np-line-dark);
}

.nx-predict-page .stat-card {
  border-color: var(--np-line-dark) !important;
  background: transparent !important;
}

.stat-card .value {
  color: var(--np-ink) !important;
  font: 500 30px/1 var(--np-mono);
  letter-spacing: -.04em;
}

.stat-card .label {
  margin-top: 26px;
  color: var(--np-paper-muted);
  font: 500 11px/1.35 var(--np-mono);
  text-transform: uppercase;
}

.markets-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--np-line-dark);
  border-left: 1px solid var(--np-line-dark);
}

.market-card {
  min-width: 0;
  min-height: 400px;
  padding: clamp(26px, 3.6vw, 48px);
  border-right: 1px solid var(--np-line-dark);
  border-bottom: 1px solid var(--np-line-dark);
  background: rgba(255, 255, 255, .22);
}

.nx-predict-page .market-card,
.nx-predict-page .market-card:hover {
  border-color: var(--np-line-dark) !important;
  background: rgba(255, 255, 255, .22) !important;
}

.market-card.sensei-market {
  background: linear-gradient(145deg, rgba(99, 217, 229, .17), rgba(255, 255, 255, .18) 56%);
}

.nx-predict-page .market-card.sensei-market,
.nx-predict-page .market-card.sensei-market:hover {
  background: linear-gradient(145deg, rgba(99, 217, 229, .17), rgba(255, 255, 255, .18) 56%) !important;
}

.market-top {
  display: grid;
  min-height: 138px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
}

.market-question {
  max-width: 560px;
  color: var(--np-ink);
  font: 500 clamp(25px, 2.8vw, 38px)/1.08 var(--np-display);
  letter-spacing: -.045em;
}

.market-badge {
  padding: 8px 9px;
  color: var(--np-blue-dark);
  border: 1px solid rgba(6, 106, 116, .32);
  font: 500 11px/1 var(--np-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.market-meta {
  display: flex;
  min-height: 76px;
  margin-top: 24px;
  padding: 14px 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  border-top: 1px solid var(--np-line-dark);
  border-bottom: 1px solid var(--np-line-dark);
}

.meta-item {
  color: var(--np-paper-muted);
  font: 500 11px/1.45 var(--np-mono);
}

.meta-item span { color: var(--np-ink); }

.outcomes {
  display: grid;
  margin-top: 28px;
  gap: 10px;
}

.outcome {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
}

.outcome-label,
.outcome-vol {
  color: var(--np-paper-muted);
  font: 500 11px/1 var(--np-mono);
}

.outcome-label.yes { color: #256842; }
.outcome-label.no { color: #9b3e46; }
.outcome-vol { text-align: right; }

.outcome-bar-wrap {
  height: 30px;
  overflow: hidden;
  background: rgba(10, 13, 15, .08);
}

.outcome-bar {
  display: flex;
  height: 100%;
  padding: 0 9px;
  align-items: center;
  color: var(--np-ink);
  font: 500 11px/1 var(--np-mono);
}

.yes-bar { background: rgba(88, 211, 154, .52); }
.no-bar { background: rgba(239, 119, 124, .38); }

.npredict-boundary {
  padding: clamp(96px, 9vw, 138px) max(24px, calc((100vw - var(--np-width)) / 2));
  background: var(--np-ink-2);
}

.npredict-boundary .npreview-section-head h2 { color: var(--np-white) !important; }
.npredict-boundary .npreview-section-head > p { color: var(--np-copy) !important; }
.npredict-boundary .npreview-kicker { color: var(--np-blue) !important; }

.npredict-boundary__grid {
  display: grid;
  margin-top: 68px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--np-line);
  border-left: 1px solid var(--np-line);
}

.npredict-boundary__grid article {
  min-height: 230px;
  padding: 25px;
  border-right: 1px solid var(--np-line);
  border-bottom: 1px solid var(--np-line);
}

.npredict-boundary__grid span {
  color: var(--np-blue);
  font: 500 11px/1 var(--np-mono);
}

.npredict-boundary__grid h3 {
  margin: 54px 0 0;
  color: var(--np-white) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.15;
}

.npredict-boundary__grid p {
  margin: 14px 0 0;
  color: var(--np-copy) !important;
  font-size: 14px;
  line-height: 1.65;
}

/* HQ blueprint */

.nhq-blueprint {
  padding: clamp(96px, 9vw, 140px) max(24px, calc((100vw - var(--np-width)) / 2));
  color: var(--np-ink);
  background: var(--np-paper);
}

.nhq-blueprint__grid {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--np-line-dark);
  border-left: 1px solid var(--np-line-dark);
}

.nhq-capability {
  display: grid;
  min-height: 330px;
  padding: clamp(28px, 4.2vw, 58px);
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0 28px;
  border-right: 1px solid var(--np-line-dark);
  border-bottom: 1px solid var(--np-line-dark);
}

.nhq-capability > span,
.nhq-capability > em {
  color: var(--np-blue-dark);
  font: 500 11px/1 var(--np-mono);
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nhq-capability > em { justify-self: end; color: var(--np-paper-muted); }

.nhq-capability h3 {
  grid-column: 1 / -1;
  margin: 54px 0 0;
  color: var(--np-ink) !important;
  font-size: clamp(40px, 4.3vw, 62px) !important;
  font-weight: 500 !important;
  line-height: .98;
  letter-spacing: -.055em !important;
}

.nhq-capability p {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 30px 0 0;
  align-self: end;
  color: var(--np-paper-copy) !important;
  font-size: 15px;
  line-height: 1.65;
}

.nhq-gate {
  padding: clamp(96px, 9vw, 138px) max(24px, calc((100vw - var(--np-width)) / 2));
  background: var(--np-ink-2);
}

.nhq-gate .npreview-section-head h2 { color: var(--np-white) !important; }
.nhq-gate .npreview-section-head > p { color: var(--np-copy) !important; }

.nhq-gate__rail {
  display: grid;
  margin: 70px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--np-line);
  border-left: 1px solid var(--np-line);
  list-style: none;
}

.nhq-gate__rail li {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--np-line);
  border-bottom: 1px solid var(--np-line);
}

.nhq-gate__rail span {
  color: var(--np-blue);
  font: 500 11px/1 var(--np-mono);
}

.nhq-gate__rail strong {
  display: block;
  margin-top: 62px;
  color: var(--np-white);
  font-size: 20px;
  font-weight: 600;
}

.nhq-gate__rail p {
  margin: 14px 0 0;
  color: var(--np-copy) !important;
  font-size: 14px;
  line-height: 1.65;
}

.nhq-notice {
  display: grid;
  padding: clamp(58px, 7vw, 96px) max(24px, calc((100vw - var(--np-width)) / 2));
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
  color: var(--np-ink);
  background: var(--np-blue);
}

.nhq-notice h2 {
  margin: 0;
  color: var(--np-ink) !important;
  font-size: clamp(42px, 5.3vw, 74px) !important;
  font-weight: 500 !important;
  line-height: .98;
  letter-spacing: -.055em !important;
}

.nhq-notice p {
  margin: 0;
  color: #25383b !important;
  font-size: 16px;
  line-height: 1.68;
}

.nhq-notice .npreview-hero__actions { margin-top: 26px; }
.nhq-notice .nx-button--quiet { color: var(--np-ink) !important; border-color: rgba(10, 13, 15, .4); }

/* Shared footer */

.nx-preview-page .nx-footer { background: var(--np-ink) !important; }

.is-reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1);
}

.is-reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .npreview-hero__inner {
    min-height: auto;
    padding-top: 92px;
    grid-template-columns: 1fr;
  }

  .npreview-state { width: min(100%, 720px); }
  .npreview-hero__facts { margin-top: 68px; }
  .npredict-boundary__grid,
  .nhq-gate__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .npreview-signal { margin-top: 64px; }
  .npreview-signal > div { width: min(calc(100% - 32px), var(--np-width)); }
  .npreview-signal span:nth-of-type(n + 3) { display: none; }

  .npreview-hero__inner {
    width: min(calc(100% - 32px), var(--np-width));
    padding-top: 72px;
    gap: 48px;
  }

  .npreview-hero__index { display: none; }
  .npreview-hero h1 { font-size: clamp(54px, 15vw, 82px) !important; }
  .npreview-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .npreview-hero__facts div:nth-child(2) { border-right: 0; }
  .npreview-hero__facts div:nth-child(n + 3) { border-top: 1px solid var(--np-line); }
  .npreview-hero__facts div:nth-child(3) { padding-left: 0; }

  .npredict-ledger__head,
  .npreview-section-head,
  .nhq-notice { grid-template-columns: 1fr; gap: 28px; }

  .npredict-source { grid-template-columns: 1fr; gap: 10px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .markets-grid,
  .nhq-blueprint__grid { grid-template-columns: 1fr; }
  .market-card { min-height: 0; }
  .nhq-notice { gap: 26px; }
}

@media (max-width: 560px) {
  .npreview-signal > div,
  .npreview-hero__inner { width: min(calc(100% - 28px), var(--np-width)); }

  .npreview-hero__inner { padding-top: 58px; }
  .npreview-hero h1 { font-size: clamp(48px, 16.5vw, 68px) !important; }
  .npreview-hero__lede { font-size: 15px; }
  .npreview-state__mark { min-height: 190px; padding: 28px 20px; }
  .npreview-state dl { grid-template-columns: 1fr; }
  .npreview-state dl div { min-height: 74px; border-right: 0; }
  .npreview-state__foot { align-items: flex-start; flex-direction: column; justify-content: center; }
  .npreview-hero__facts { grid-template-columns: 1fr; }
  .npreview-hero__facts div { padding-left: 0; border-right: 0; border-top: 1px solid var(--np-line); }
  .npreview-hero__facts div:first-child { border-top: 0; }

  .npredict-ledger,
  .npredict-boundary,
  .nhq-blueprint,
  .nhq-gate { padding-right: 14px; padding-left: 14px; }

  .npredict-ledger__head h2,
  .npreview-section-head h2 { font-size: clamp(43px, 14vw, 64px) !important; }
  .tab { flex: 1 1 50%; }
  .stats-row { grid-template-columns: 1fr; }
  .market-card { padding: 24px 18px; }
  .market-top { min-height: 0; grid-template-columns: 1fr; }
  .market-badge { width: fit-content; }
  .market-meta { margin-top: 28px; }
  .outcome { grid-template-columns: 34px minmax(0, 1fr) 48px; gap: 8px; }
  .npredict-boundary__grid,
  .nhq-gate__rail { grid-template-columns: 1fr; }
  .nhq-capability { min-height: 300px; padding: 26px 20px; }
  .nhq-capability h3 { font-size: clamp(38px, 13vw, 54px) !important; }
  .nhq-notice { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 360px) {
  .npreview-hero h1 { font-size: 46px !important; }
  .npreview-hero__actions .nx-button { width: 100%; min-width: 0; }
  .market-question { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-preview-page *,
  .nx-preview-page *::before,
  .nx-preview-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .is-reveal-ready { opacity: 1; transform: none; }
}
