/* ============================================================
   the home page ( / ), built from the positioning in
   ../positioning/POSITIONING.md (hero: "From source system to trusted
   answer"). Written from scratch; shares nothing with /platform/.
   Colour comes only from the tokens in /styles.css. Product screens are
   real captures of the demo workspace, always light, framed by .nx-shot.
   Class prefix: nx-  (never .chip / .bar — both are global in styles.css)
   ============================================================ */

.nx-eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-hover); margin: 0 0 16px; font-weight: 500;
}
.nx-h2 { margin: 0; font-size: clamp(28px, 3.5vw, 46px); line-height: 1.1; letter-spacing: -.024em; font-weight: 600; max-width: 20ch; }
.nx-sub { margin: 18px 0 0; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.nx-head { margin-bottom: clamp(32px, 4.5vw, 56px); }

/* ---------- product screen frame ---------- */
.nx-shot {
  margin: 0; min-width: 0; background: #fff; border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 0 oklch(0.15 0.02 274 / 0.04), 0 22px 54px oklch(0.15 0.02 274 / 0.12);
}
.nx-shot figcaption {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: oklch(0.975 0.003 270);
  border-bottom: 1px solid oklch(0.91 0.004 270); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: oklch(0.46 0.012 270);
}
.nx-shot figcaption::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet-500); flex: none; }
.nx-shot figcaption b { color: oklch(0.24 0.012 270); font-weight: 600; }
.nx-shot img { display: block; width: 100%; height: auto; }
.nx-shot-body { position: relative; overflow: hidden; }
.nx-shot.is-cut .nx-shot-body { max-height: var(--cut, 460px); }
.nx-shot.is-cut .nx-shot-body::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff);
}
.nx-note { margin: 12px 2px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.nx-note b { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.nx-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(48px, 6vw, 80px); background:
  radial-gradient(900px 420px at 50% -80px, var(--accent-soft), transparent 70%); }
.nx-hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.nx-hero h1 { margin: 0; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.nx-hero h1 em { font-style: normal; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-hero-line { margin: 22px auto 0; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3; letter-spacing: -.012em; font-weight: 500; color: var(--ink); max-width: 30ch; }
.nx-hero .nx-sub { margin: 18px auto 0; max-width: 62ch; }
.nx-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.nx-duo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: start; margin-top: clamp(40px, 5.5vw, 68px); }
.nx-duo-step { min-width: 0; }
.nx-duo-k { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.4; }
.nx-duo-k b { color: var(--ink); font-weight: 600; }
.nx-duo-k i { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: #fff; background: var(--violet-500); border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; flex: none; transform: translateY(-1px); }
.nx-duo-arrow { align-self: center; justify-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule-strong); display: grid; place-items: center; color: var(--accent); background: var(--surface); margin-top: 40px; }
.nx-duo-arrow svg { width: 16px; height: 16px; display: block; }
@media (max-width: 900px) {
  .nx-duo { grid-template-columns: 1fr; gap: 14px; }
  .nx-duo-arrow { margin: 4px auto; transform: rotate(90deg); }
}

.nx-facts { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nx-facts li { padding: 18px 20px; font-size: 15px; line-height: 1.4; color: var(--ink-2); border-left: 1px solid var(--rule); }
.nx-facts li:first-child { border-left: 0; padding-left: 0; }
.nx-facts b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 860px) { .nx-facts { grid-template-columns: 1fr 1fr; } .nx-facts li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } .nx-facts li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 480px) { .nx-facts { grid-template-columns: 1fr; } .nx-facts li:nth-child(2) { border-top: 1px solid var(--rule); } }

/* ---------- the problem (dark) ---------- */
.nx-problem { background: var(--panel); color: var(--panel-ink); }
.nx-problem .nx-h2 { color: var(--panel-ink); max-width: 24ch; }
.nx-problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--panel-rule); }
.nx-problem-grid div { padding: 24px 28px 4px 0; border-right: 1px solid var(--panel-rule); margin-right: 28px; }
.nx-problem-grid div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.nx-problem-grid h3 { margin: 0; font-size: 19px; letter-spacing: -.012em; color: var(--panel-ink); font-weight: 600; }
.nx-problem-grid p { margin: 10px 0 0; color: var(--panel-ink-2); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 800px) { .nx-problem-grid { grid-template-columns: 1fr; } .nx-problem-grid div { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--panel-rule); padding-bottom: 22px; } .nx-problem-grid div:last-child { border-bottom: 0; } }

/* ---------- the path ---------- */
.nx-path-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.nx-stage { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 18px 18px; display: flex; flex-direction: column; min-width: 0; }
.nx-stage::before { counter-increment: st; content: '0' counter(st); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.nx-stage:not(:last-child)::after {
  content: ''; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.nx-stage h3 { margin: 10px 0 0; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.018em; font-weight: 600; }
.nx-stage p { margin: 8px 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.nx-stage .nx-who { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; padding-top: 12px; border-top: 1px dashed var(--rule-strong); font-size: 13px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.nx-who svg { width: 15px; height: 15px; flex: none; color: var(--accent); margin-top: 1px; }
.nx-stage.is-end { background: var(--accent-soft); border-color: transparent; }
.nx-own { margin-top: 14px; border: 1.5px dashed var(--rule-strong); border-radius: 14px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.nx-own > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nx-own ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.nx-own li { font-size: 14.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .nx-path-row { grid-template-columns: 1fr; gap: 12px; }
  .nx-stage:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -11px; transform: rotate(135deg); }
  .nx-stage p { margin-bottom: 12px; }
}

/* ---------- pillars ---------- */
.nx-pillar { border-top: 1px solid var(--rule); }
.nx-pillar.is-tint { background: var(--bg-2); }
.nx-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nx-split.is-rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.nx-split.is-rev > :first-child { order: 2; }
@media (max-width: 940px) { .nx-split, .nx-split.is-rev { grid-template-columns: 1fr; } .nx-split.is-rev > :first-child { order: 0; } }

.nx-h3 { margin: 0; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.18; letter-spacing: -.02em; font-weight: 600; max-width: 22ch; }
.nx-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hover); margin: 0 0 12px; font-weight: 500; }
.nx-p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.nx-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; max-width: 54ch; }
.nx-ticks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.nx-ticks li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.nx-ticks b { color: var(--ink); font-weight: 600; }

.nx-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.nx-stack { display: grid; gap: 18px; min-width: 0; }
.nx-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 700px) { .nx-pair { grid-template-columns: 1fr; } }

/* served-to row */
.nx-served { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.nx-served li { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 16px 15px; min-width: 0; }
.nx-served b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.008em; }
.nx-served span { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.nx-served-h { margin: clamp(36px, 5vw, 60px) 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.nx-served-h + .nx-served { margin-top: 14px; }
@media (max-width: 980px) { .nx-served { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nx-served { grid-template-columns: 1fr; } }

/* ---------- control ---------- */
.nx-control { background: var(--panel); color: var(--panel-ink); border-top: 0; }
.nx-control .nx-h2, .nx-control .nx-h3 { color: var(--panel-ink); }
.nx-control .nx-sub, .nx-control .nx-p, .nx-control .nx-note { color: var(--panel-ink-2); }
.nx-control .nx-note b { color: var(--panel-ink); }
.nx-control .nx-eyebrow { color: var(--violet-300); }
.nx-control .nx-shot { border-color: var(--panel-rule); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.nx-gate { background: var(--panel-2); border: 1px solid var(--panel-rule); border-radius: 16px; padding: 26px 26px 24px; }
.nx-gate h3 { margin: 0; font-size: 20px; letter-spacing: -.014em; color: var(--panel-ink); font-weight: 600; }
.nx-gate > p { margin: 8px 0 0; font-size: 14.5px; color: var(--panel-ink-2); line-height: 1.5; }
.nx-gate ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.nx-gate li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--panel-rule); font-size: 15.5px; line-height: 1.4; color: var(--panel-ink); }
.nx-gate li svg { width: 17px; height: 17px; flex: none; color: var(--violet-300); margin-top: 2px; }
.nx-gate .nx-gate-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--panel-rule); font-size: 14.5px; color: var(--panel-ink-2); }
.nx-gate .nx-gate-foot b { color: var(--panel-ink); font-weight: 600; }
.nx-control .nx-pair { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- yours ---------- */
.nx-yours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nx-yours li { border: 1px solid var(--rule); background: var(--surface); border-radius: 14px; padding: 22px 20px 20px; min-width: 0; }
.nx-yours small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hover); }
.nx-yours b { display: block; margin-top: 6px; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; font-weight: 600; }
.nx-yours p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) { .nx-yours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nx-yours { grid-template-columns: 1fr; } }
.nx-model { margin-top: clamp(36px, 5vw, 60px); }
.nx-stores { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.55; color: var(--ink); max-width: 56ch; }

/* ---------- security strip ---------- */
.nx-sec { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.nx-sec li { padding: 18px 22px 0 0; }
.nx-sec b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.008em; }
.nx-sec span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 860px) { .nx-sec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .nx-sec { grid-template-columns: 1fr; } }
.nx-more { margin: 26px 0 0; font-size: 15px; }
.nx-more a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px; }
.nx-more a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- works with ---------- */
.nx-works dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.nx-works dl > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.nx-works dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.nx-works dd { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
@media (max-width: 860px) { .nx-works dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nx-works dl { grid-template-columns: 1fr; } }

/* ---------- partners (brand band) ---------- */
.nx-partners { background: var(--violet-500); color: #fff; }
.nx-partners .nx-eyebrow { color: rgb(255 255 255 / .78); }
.nx-partners .nx-h2 { color: #fff; max-width: 22ch; }
.nx-partners-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nx-partners ul { list-style: none; margin: 0; padding: 0; display: grid; }
.nx-partners li { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .28); }
.nx-partners li:last-child { border-bottom: 1px solid rgb(255 255 255 / .28); }
.nx-partners li b { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; }
.nx-partners li span { display: block; margin-top: 5px; font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / .86); }
.nx-partners .btn { margin-top: 28px; background: #fff; color: oklch(0.36 0.16 274); border-color: #fff; }
.nx-partners .btn:hover { background: oklch(0.95 0.02 274); }
@media (max-width: 860px) { .nx-partners-in { grid-template-columns: 1fr; } }

/* ---------- company facts ---------- */
.nx-co { padding: clamp(40px, 5vw, 64px) 0; }
.nx-co ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-co b { display: block; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.022em; font-weight: 600; }
.nx-co span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.nx-co a { color: inherit; }
@media (max-width: 760px) { .nx-co ul { grid-template-columns: 1fr 1fr; } }

/* text column keeps pace with a tall stack of screens */
@media (min-width: 941px) { .nx-rows .nx-split > div:first-child:not(.nx-stack) { position: sticky; top: 96px; } }
/* the AI providers screen is narrow: do not stretch it */
.nx-model .nx-shot { max-width: 606px; justify-self: end; width: 100%; }

/* ---------- v2: the path is the hero picture; the two screens moved to #proof ---------- */
.nx-hero-path { margin-top: clamp(40px, 5.5vw, 64px); text-align: left; }
.nx-hero-path .nx-stage { padding: 22px 20px 20px; box-shadow: 0 14px 34px oklch(0.15 0.02 274 / 0.07); }
.nx-hero-path .nx-stage::before { position: absolute; right: 18px; top: 20px; }
.nx-stage-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.nx-stage-ic svg { width: 23px; height: 23px; display: block; }
.nx-stage.is-end .nx-stage-ic { background: var(--violet-500); color: #fff; }
.nx-hero-path .nx-stage h3 { margin-top: 16px; font-size: clamp(21px, 1.9vw, 26px); }
.nx-hero-path .nx-own { background: var(--surface); }
@media (max-width: 1000px) {
  .nx-hero-path .nx-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .nx-hero-path .nx-stage .nx-stage-ic { grid-row: 1 / span 3; }
  .nx-hero-path .nx-stage h3 { margin-top: 0; font-size: 21px; }
  .nx-hero-path .nx-stage p { margin: 4px 0 10px; }
  .nx-hero-path .nx-stage .nx-who { grid-column: 2; margin-top: 0; padding-top: 10px; }
  .nx-hero-path .nx-stage:not(:last-child)::after { left: 36px; }
}
.nx-proof { border-top: 1px solid var(--rule); }
.nx-proof .nx-h2 { max-width: 24ch; }
.nx-proof .nx-duo { margin-top: 0; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.08fr); }
@media (max-width: 1040px) {
  .nx-proof .nx-duo { grid-template-columns: 1fr; gap: 14px; }
  .nx-proof .nx-duo-arrow { margin: 4px auto; transform: rotate(90deg); }
  .nx-proof .nx-shot.is-cut .nx-shot-body { max-height: none; }
  .nx-proof .nx-shot.is-cut .nx-shot-body::after { display: none; }
}

/* ============================================================
   v3 — screenshots live ONLY in the product carousel (#product).
   Every other section explains its idea with a drawn graphic (.nx-art),
   generated as inline SVG and coloured from the site tokens.
   ============================================================ */
.nx-art { margin: 0; min-width: 0; background: var(--bg-2); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(12px, 2.4vw, 30px); }
.nx-art svg, .nx-hero-art svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .nx-dot { display: none; } }
.nx-pillar.is-tint#answers { background: transparent; }

/* hero: the drawn path on wide screens, the stacked stages on narrow ones */
.nx-hero-art { margin: clamp(30px, 4.5vw, 54px) 0 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; padding: clamp(8px, 1.6vw, 22px) clamp(8px, 1.4vw, 18px); box-shadow: 0 30px 70px oklch(0.15 0.02 274 / 0.10); }
@media (min-width: 960px) { .nx-hero-path { display: none; } }
@media (max-width: 959px) { .nx-hero-art { display: none; } }

/* the dark band re-maps the tokens, so the same drawing works on it */
.nx-control {
  --surface: var(--panel-2); --bg-2: oklch(0.185 0.007 274); --ink: var(--panel-ink); --ink-2: var(--panel-ink-2); --ink-3: var(--panel-ink-3);
  --rule: var(--panel-rule); --rule-strong: oklch(0.38 0.012 274); --accent: var(--violet-400); --accent-hover: var(--violet-300);
  --accent-soft: oklch(0.68 0.17 274 / 0.18);
}
.nx-control .nx-sec { border-top-color: var(--panel-rule); }
.nx-yours .nx-stage-ic { margin-bottom: 16px; }

/* ---------- the product carousel ---------- */
.nx-tour { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.nx-tour .nx-head { margin-bottom: 26px; }
.nx-tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-tour-tabs button {
  appearance: none; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 15px; transition: background .15s, color .15s, border-color .15s;
}
.nx-tour-tabs button:hover { color: var(--ink); border-color: var(--ink-3); }
.nx-tour-tabs button[aria-selected="true"] { background: var(--violet-500); border-color: var(--violet-500); color: #fff; }
.nx-tour-tabs button:focus-visible, .nx-tour-nav:focus-visible, .nx-tour-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nx-tour-view { position: relative; margin-top: 26px; }
.nx-tour-track {
  --slide: min(1060px, 86vw);
  display: flex; gap: clamp(14px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px calc((100vw - var(--slide)) / 2) 8px; -webkit-overflow-scrolling: touch;
}
.nx-tour-track::-webkit-scrollbar { display: none; }
.nx-slide { margin: 0; flex: none; width: var(--slide); scroll-snap-align: center; opacity: .45; transition: opacity .3s ease; }
.nx-slide.is-on { opacity: 1; }
.nx-win { background: #fff; border: 1px solid var(--rule-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px oklch(0.15 0.02 274 / 0.16); }
.nx-win::before {
  content: ''; display: block; height: 30px; border-bottom: 1px solid oklch(0.91 0.004 270);
  background: radial-gradient(circle at 18px 15px, oklch(0.82 0.01 270) 4.5px, transparent 5px), radial-gradient(circle at 34px 15px, oklch(0.82 0.01 270) 4.5px, transparent 5px), radial-gradient(circle at 50px 15px, oklch(0.82 0.01 270) 4.5px, transparent 5px), oklch(0.965 0.003 270);
}
.nx-win img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; }
.nx-slide figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 16px 4px 0; font-size: 15.5px; color: var(--ink-2); }
.nx-slide figcaption b { color: var(--ink); font-weight: 600; font-size: 17px; }
.nx-tour-nav {
  position: absolute; top: calc(50% - 44px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--rule-strong); box-shadow: 0 10px 26px oklch(0.15 0.02 274 / 0.16);
}
.nx-tour-nav svg { width: 20px; height: 20px; display: block; }
.nx-tour-nav.is-prev { left: max(14px, calc((100vw - min(1060px, 86vw)) / 2 - 23px)); }
.nx-tour-nav.is-next { right: max(14px, calc((100vw - min(1060px, 86vw)) / 2 - 23px)); }
.nx-tour-nav:disabled { opacity: 0; pointer-events: none; }
.nx-tour-nav:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 700px) {
  .nx-tour-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .nx-tour-tabs::-webkit-scrollbar { display: none; }
  .nx-tour-tabs button { flex: none; }
  .nx-tour-track { --slide: 90vw; }
  .nx-tour-nav { display: none; }
  .nx-win::before { height: 20px; background-size: auto; background: oklch(0.965 0.003 270); }
}

/* the product section is centred; a screen can never be stretched */
.nx-tour .nx-head { text-align: center; }
.nx-tour .nx-head .nx-h2, .nx-tour .nx-head .nx-sub { margin-left: auto; margin-right: auto; }
.nx-tour .nx-head .nx-h2 { max-width: 22ch; }
.nx-tour-tabs { justify-content: center; }
@media (max-width: 700px) { .nx-tour-tabs { justify-content: flex-start; } }
.nx-win img { object-fit: cover; object-position: top left; }
.nx-slide figcaption { justify-content: center; text-align: center; }

/* centred section heads */
.nx-head.is-center { text-align: center; }
.nx-head.is-center .nx-h2, .nx-head.is-center .nx-sub { margin-left: auto; margin-right: auto; }
.nx-head.is-center .nx-h2 { max-width: 24ch; }
.nx-head.is-center .nx-sub { max-width: 62ch; }

/* ---------- sovereign AI ---------- */
.nx-sov-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
@media (max-width: 940px) { .nx-sov-split { grid-template-columns: 1fr; } }
.nx-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.nx-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--rule); }
.nx-points li:first-child { border-top: 0; padding-top: 0; }
.nx-points li:last-child { padding-bottom: 0; }
.nx-points h3 { margin: 0; font-size: 18.5px; letter-spacing: -.012em; font-weight: 600; }
.nx-points p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.nx-sov .nx-head.is-center .nx-h2 { max-width: 30ch; }

.nx-inline { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.nx-inline:hover { color: var(--accent); border-color: var(--accent); }

.nx-rows .nx-more { margin-top: 18px; }
.nx-rows .nx-more + .nx-more { margin-top: 8px; }
