/* Nexa Capital — landing page */

:root {
  --ink: #060606;
  --ink-2: #0b0b0b;
  --ink-3: #121212;
  --hair: rgba(212, 175, 55, 0.2);
  --hair-2: rgba(255, 255, 255, 0.08);
  --gold: #d4af37;
  --gold-hi: #f6e2a0;
  --gold-lo: #9c7420;
  --gold-grad: linear-gradient(135deg, #f6e2a0 0%, #d4af37 40%, #b8892b 70%, #f2d27a 100%);
  --text: #f4efe3;
  --muted: #a39b8b;
  --dim: #6d675c;
  --up: #3ddc97;
  --down: #ff5f6d;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --strip: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body.nx {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.nx) a {
  color: inherit;
  text-decoration: none;
}

.nx h1,
.nx h2,
.nx h3,
.nx h4,
.nx p {
  margin: 0;
}

.nx h1,
.nx h2,
.nx h3,
.nx h4 {
  font-weight: 600;
  color: var(--text);
}

.nx-wrap {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.nx-wrap--narrow {
  width: min(900px, 100% - 48px);
}

.mono {
  font-family: var(--mono);
}

/* ---------- Buttons ---------- */
.nx-btn {
  --pad: 13px 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, color 0.35s, border-color 0.35s, background 0.35s;
}

.nx-btn i {
  font-size: 0.85em;
  transition: transform 0.35s var(--ease);
}

.nx-btn:hover i.nxi--arrow-right {
  transform: translateX(5px);
}

.nx-btn--gold {
  color: #120d02;
  background: var(--gold-grad);
  background-size: 200% 200%;
  box-shadow: 0 12px 34px -12px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: nx-grad 6s ease infinite;
}

.nx-btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.nx-btn--gold:hover::after {
  transform: translateX(120%);
}

.nx-btn--line {
  color: var(--text);
  border-color: var(--hair);
  background: transparent;
}

.nx-btn--line:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
}

.nx-btn--sm {
  --pad: 10px 18px;
  font-size: 14px;
}

.nx-btn--xl {
  --pad: 20px 34px;
  font-size: 16px;
  letter-spacing: 0.02em;
}

@keyframes nx-grad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nx-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-hi);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: gap 0.35s var(--ease);
}

.nx-arrow-link i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair);
  font-size: 12px;
  transition: background 0.35s, color 0.35s;
}

.nx-arrow-link:hover {
  gap: 18px;
}

.nx-arrow-link:hover i {
  background: var(--gold);
  color: #120d02;
}

.nx-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Header ---------- */
.nx-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: top 0.5s var(--ease);
}

.nx-header.is-scrolled {
  top: calc(-1 * var(--strip));
}

.nx-header.is-menu-open {
  top: 0;
}

.nx-strip {
  height: var(--strip);
  display: flex;
  align-items: stretch;
  background: #0a0906;
  border-bottom: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 12px;
}

.nx-strip__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #120d02;
  background: var(--gold-grad);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}

.nx-strip__label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #120d02;
  animation: nx-blink 1.2s infinite;
}

.nx-strip__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.nx-strip__track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: nx-marquee 70s linear infinite;
}

.nx-strip:hover .nx-strip__track {
  animation-play-state: paused;
}

.nx-tick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-right: 1px solid var(--hair-2);
}

.nx-tick b {
  color: var(--text);
  font-weight: 600;
}

.nx-tick span {
  color: var(--muted);
  transition: color 0.4s;
}

.nx-tick em {
  font-style: normal;
}

.nx-tick em.up,
.nx-tick span.flash-up { color: var(--up); }
.nx-tick em.down,
.nx-tick span.flash-down { color: var(--down); }

@keyframes nx-marquee {
  to { transform: translateX(-50%); }
}

@keyframes nx-blink {
  50% { opacity: 0.2; }
}

.nx-nav {
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
}

.nx-header.is-scrolled .nx-nav {
  padding: 10px 0;
  background: rgba(6, 6, 6, 0.8);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hair-2);
}

.nx-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nx-brand__logo {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.25));
  transition: height 0.4s var(--ease), filter 0.4s;
}

.nx-brand:hover .nx-brand__logo {
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.45));
}

.nx-header.is-scrolled .nx-brand__logo {
  height: 48px;
}

.nx-menu {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nx-menu > a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 13px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}

.nx-menu > a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  opacity: 0.7;
}

.nx-menu > a:hover,
.nx-menu > a.is-active {
  color: var(--text);
}

.nx-menu > a.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px;
  height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}

.nx-menu__auth {
  display: none;
}

.nx-nav__actions {
  display: flex;
  gap: 10px;
}

.nx-burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nx-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nx-burger span:nth-child(1) { top: 18px; }
.nx-burger span:nth-child(2) { top: 26px; }
.nx-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nx-burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Banner: stage ---------- */
.nx-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--strip) + 120px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, #15110a 0%, var(--ink) 70%);
}

.nx-stage__sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.nx-stage__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.26) 0%, rgba(212, 175, 55, 0.08) 35%, transparent 65%);
  animation: nx-breathe 7s ease-in-out infinite;
}

.nx-stage__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transform: translate(-50%, -50%);
}

.nx-stage__ring--1 { width: 900px; height: 900px; }
.nx-stage__ring--2 { width: 1200px; height: 1200px; border-style: dashed; border-color: rgba(212, 175, 55, 0.07); animation: nx-spin 120s linear infinite; }
.nx-stage__ring--3 { width: 1560px; height: 1560px; border-color: rgba(212, 175, 55, 0.05); }

@keyframes nx-breathe {
  50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.08); }
}

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

.nx-stage__globe {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(820px, 120vw);
  height: min(820px, 120vw);
  transform: translate(-50%, -50%);
  z-index: -2;
  opacity: 0;
  animation: nx-globe-in 2s var(--ease) 0.2s forwards;
}

@keyframes nx-globe-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.92); }
  to { opacity: var(--globe-o, 1); transform: translate(-50%, -50%); }
}

.nx-stage__stars {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(246, 226, 160, 0.7), transparent),
    radial-gradient(1px 1px at 82% 14%, rgba(246, 226, 160, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 68% 72%, rgba(246, 226, 160, 0.5), transparent),
    radial-gradient(1px 1px at 24% 78%, rgba(246, 226, 160, 0.5), transparent),
    radial-gradient(1px 1px at 92% 52%, rgba(246, 226, 160, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 6% 52%, rgba(246, 226, 160, 0.45), transparent),
    radial-gradient(1px 1px at 40% 8%, rgba(246, 226, 160, 0.5), transparent);
  animation: nx-twinkle 5s ease-in-out infinite alternate;
}

@keyframes nx-twinkle {
  to { opacity: 0.35; }
}

.nx-stage__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.nx-in {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  animation: nx-rise 1.2s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes nx-rise {
  to { opacity: 1; transform: none; filter: none; }
}

.nx-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.nx-kicker i {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--gold);
}

.nx-stage__title {
  margin-top: 28px !important;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
}

.nx-stage__line {
  display: block;
}

.nx-stage__line--gold {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em;
  font-style: italic;
  font-weight: 500;
}

.nx-stage__line--gold em {
  background: var(--gold-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nx-grad 5s ease infinite;
}

.nx-flip {
  position: relative;
  display: inline-grid;
  height: 1.05em;
  overflow: hidden;
  justify-items: start;
  text-align: left;
  transition: width 0.7s var(--ease);
}

.nx-flip > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  padding-right: 0.06em;
  color: var(--gold);
  transform: translateY(100%) rotateX(-80deg);
  transform-origin: 50% 0;
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.nx-flip > span.is-active {
  transform: none;
  opacity: 1;
}

.nx-flip > span.is-leaving {
  transform: translateY(-100%) rotateX(80deg);
  transform-origin: 50% 100%;
  opacity: 0;
}

.nx-stage__lead {
  margin-top: 26px !important;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.nx-stage__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nx-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-weight: 500;
}

.nx-play small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.nx-play__icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair);
  color: var(--gold-hi);
}

.nx-play__icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  animation: nx-ripple 2.4s ease-out infinite;
}

@keyframes nx-ripple {
  from { transform: scale(0.85); opacity: 1; }
  to { transform: scale(1.45); opacity: 0; }
}

.nx-play:hover .nx-play__icon {
  background: var(--gold);
  color: #120d02;
}

/* Panoramic chart band */
.nx-pano {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hair);
  background: linear-gradient(to bottom, rgba(10, 9, 6, 0.4), rgba(6, 6, 6, 0.95));
  backdrop-filter: blur(6px);
}

.nx-pano__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--hair-2);
}

.nx-pano__stats > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding: 16px 10px;
}

.nx-pano__stats > div + div {
  border-left: 1px solid var(--hair-2);
}

.nx-pano__stats b {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-hi);
}

.nx-pano__stats span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.nx-pano__chart {
  position: relative;
  height: 150px;
}

.nx-pano__chart canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.nx-pano__tag {
  position: absolute;
  top: 16px;
  left: max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
}

.nx-pano__tag span {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.nx-pano__tag strong {
  font-size: 22px;
  font-weight: 600;
  transition: color 0.3s;
}

.nx-pano__tag strong.flash-up { color: var(--up); }
.nx-pano__tag strong.flash-down { color: var(--down); }

.nx-pano__tag em,
.is-up,
.is-down {
  font-style: normal;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
}

.is-up { color: var(--up); background: rgba(61, 220, 151, 0.1); }
.is-down { color: var(--down); background: rgba(255, 95, 109, 0.1); }

/* ---------- Reveal ---------- */
.nx-reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
}

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

/* ---------- Generic blocks ---------- */
.nx-block {
  position: relative;
  padding: 140px 0;
}

.nx-block--dark {
  background: var(--ink-2);
  border-block: 1px solid var(--hair-2);
}

.nx-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hair-2);
}

.nx-title-row p {
  max-width: 380px;
  color: var(--muted);
  font-weight: 300;
}

.nx-title-row--center {
  justify-content: center;
  text-align: center;
  border-bottom: 0;
  padding-bottom: 0;
}

.nx-h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.nx-h2 em {
  color: var(--gold);
  font-weight: 500;
}

.nx-num {
  display: inline-block;
  vertical-align: top;
  margin-right: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  transform: translateY(0.6em);
}

.nx-fine {
  margin-top: 14px !important;
  font-size: 12px;
  color: var(--dim);
}

/* ---------- Markets: diagonal split ---------- */
.nx-split {
  --cut: 90px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
  border-bottom: 1px solid var(--hair-2);
}

.nx-split__half {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nx-split__half--fx {
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  background: linear-gradient(135deg, #0c0b08, #050505 70%);
  justify-content: flex-end;
}

.nx-split__half--cx {
  margin-left: calc(-1 * var(--cut));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(225deg, #1b160a, #0a0906 65%);
}

.nx-split__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  transition: transform 6s linear;
}

.nx-split__pattern--fx {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><g fill='none' stroke='%23d4af37' stroke-opacity='0.13' font-family='Georgia' font-size='26'><text x='12' y='40' fill='%23d4af37' fill-opacity='0.09' stroke='none'>$</text><text x='70' y='40' fill='%23d4af37' fill-opacity='0.06' stroke='none'>€</text><text x='12' y='100' fill='%23d4af37' fill-opacity='0.06' stroke='none'>¥</text><text x='70' y='100' fill='%23d4af37' fill-opacity='0.09' stroke='none'>£</text></g></svg>");
  animation: nx-pan 40s linear infinite;
}

.nx-split__pattern--cx {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='98'><path d='M28 0 L56 16 L56 49 L28 65 L0 49 L0 16 Z M28 65 L28 98' fill='none' stroke='%23d4af37' stroke-opacity='0.16'/></svg>");
  animation: nx-pan 30s linear infinite reverse;
}

@keyframes nx-pan {
  to { background-position: 240px 240px; }
}

.nx-split__half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(6, 6, 6, 0.85) 80%);
  pointer-events: none;
}

.nx-split__inner {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 90px 70px;
}

.nx-split__half--fx .nx-split__inner {
  padding-right: calc(var(--cut) + 90px);
}

.nx-split__half--cx .nx-split__inner {
  padding-left: calc(var(--cut) + 90px);
}

.nx-split__ghost {
  position: absolute;
  top: 10px;
  right: 30px;
  font-family: var(--serif);
  font-size: 260px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.18);
  pointer-events: none;
  transition: transform 1.2s var(--ease);
}

.nx-split__half:hover .nx-split__ghost {
  transform: translateY(-14px) rotate(-4deg);
}

.nx-split h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.9;
  font-weight: 600;
}

.nx-split__half--cx h2 {
  font-style: italic;
  color: var(--gold-hi);
}

.nx-split__inner > p {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
}

.nx-split__facts {
  list-style: none;
  margin: 34px 0;
  padding: 22px 0;
  display: flex;
  gap: 30px;
  border-block: 1px solid var(--hair-2);
}

.nx-split__facts li {
  display: flex;
  flex-direction: column;
}

.nx-split__facts b {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
}

.nx-split__facts span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.nx-split__seam {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nx-split__seam span {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.05;
  color: #120d02;
  background: var(--gold-grad);
  box-shadow: 0 0 0 10px rgba(6, 6, 6, 0.9), 0 0 0 11px var(--hair), 0 0 60px rgba(212, 175, 55, 0.45);
  animation: nx-float 5s ease-in-out infinite;
}

@keyframes nx-float {
  50% { transform: translateY(-10px); }
}

/* ---------- Heat map ---------- */
.nx-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid var(--hair-2);
  width: max-content;
  max-width: 100%;
}

.nx-filter button {
  padding: 12px 22px;
  border: 0;
  border-right: 1px solid var(--hair-2);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
}

.nx-filter button:last-child {
  border-right: 0;
}

.nx-filter button:hover {
  color: var(--text);
}

.nx-filter button.is-on {
  color: #120d02;
  background: var(--gold-grad);
  font-weight: 600;
}

.nx-heat {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 104px;
  grid-auto-flow: dense;
  gap: 6px;
}

.nx-cell {
  --bg: rgba(212, 175, 55, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: default;
  transition: background 1s, opacity 0.5s, transform 0.5s var(--ease), filter 0.5s;
}

.nx-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.07), transparent 50%);
  pointer-events: none;
}

.nx-cell:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.nx-cell.is-dim {
  opacity: 0.14;
  filter: grayscale(1);
  transform: scale(0.97);
}

.nx-cell.pulse {
  animation: nx-cell-pulse 0.9s var(--ease);
}

@keyframes nx-cell-pulse {
  30% { box-shadow: inset 0 0 0 1px rgba(246, 226, 160, 0.7); }
}

.nx-cell.is-loading {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.025) 30%, rgba(212, 175, 55, 0.09) 50%, rgba(255, 255, 255, 0.025) 70%) 0 0 / 300% 100%;
  animation: nx-shimmer 1.4s linear infinite;
}

.nx-cell.is-loading .nx-cell__px {
  opacity: 0.4;
}

@keyframes nx-shimmer {
  to { background-position: -300% 0; }
}

.nx-cell__sym {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.nx-cell__name {
  display: block;
  font-size: 11px;
  color: rgba(244, 239, 227, 0.55);
}

.nx-cell__px {
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(244, 239, 227, 0.85);
}

.nx-cell__chg {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.nx-cell__chg.up { color: var(--gold-hi); }
.nx-cell__chg.down { color: #ff8e98; }

.nx-cell--w2 { grid-column: span 2; }
.nx-cell--h2 { grid-row: span 2; }

.nx-cell--h2 .nx-cell__sym {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.nx-cell--h2 .nx-cell__px {
  font-size: 20px;
}

.nx-cell--h2 .nx-cell__chg {
  font-size: 16px;
}

.nx-cell__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.nx-cell:not(.nx-cell--w2) .nx-cell__foot {
  flex-direction: column;
  gap: 2px;
}

/* ---------- Platform: expanding panels ---------- */
.nx-panels {
  display: flex;
  gap: 10px;
  height: 480px;
}

.nx-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 30px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--hair-2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--ink);
  transition: flex 0.8s var(--ease), border-color 0.5s, background 0.5s;
  outline: none;
}

.nx-panel:hover,
.nx-panel:focus-visible {
  border-color: var(--hair);
}

.nx-panel.is-open {
  flex: 5;
  cursor: default;
  border-color: rgba(212, 175, 55, 0.4);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(212, 175, 55, 0.16), transparent 70%),
    var(--ink);
}

.nx-panel__no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
}

.nx-panel__label {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 30px !important;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.4s;
}

.nx-panel.is-open .nx-panel__label {
  opacity: 0;
}

.nx-panel__body {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.6s var(--ease);
  pointer-events: none;
}

.nx-panel.is-open .nx-panel__body {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
  pointer-events: auto;
}

.nx-panel__icon {
  font-size: 30px;
  color: var(--gold);
}

.nx-panel__body h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.05;
}

.nx-panel__body p {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
}

.nx-speed {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nx-speed span {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.nx-speed span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold-hi));
  animation: nx-zip 1.2s var(--ease) infinite;
}

@keyframes nx-zip {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}

.nx-speed b {
  font-family: var(--mono);
  font-size: 26px;
  color: var(--gold-hi);
}

.nx-speed small {
  font-size: 13px;
  color: var(--dim);
}

.nx-mix {
  margin-top: 26px;
  display: flex;
  height: 34px;
  gap: 3px;
}

.nx-mix span {
  width: var(--w);
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: #120d02;
  background: var(--gold);
}

.nx-mix span:nth-child(2) { background: var(--gold-hi); }
.nx-mix span:nth-child(3) { background: var(--gold-lo); color: var(--text); }

.nx-mini-chart {
  margin-top: 22px;
  width: 100%;
  max-width: 360px;
  height: 80px;
}

.nx-mini-chart path {
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 2;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.nx-panel.is-open .nx-mini-chart path {
  animation: nx-draw 1.6s var(--ease) 0.4s forwards;
}

@keyframes nx-draw {
  to { stroke-dashoffset: 0; }
}

.nx-risk {
  margin-top: 24px;
  display: grid;
  gap: 6px;
  max-width: 300px;
  font-family: var(--mono);
  font-size: 12px;
}

.nx-risk span {
  padding: 7px 12px;
  border-left: 3px solid;
}

.nx-risk .tp { border-color: var(--up); background: rgba(61, 220, 151, 0.08); color: var(--up); }
.nx-risk .px { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); color: var(--gold-hi); }
.nx-risk .sl { border-color: var(--down); background: rgba(255, 95, 109, 0.08); color: var(--down); }

.nx-pings {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nx-pings span {
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--hair);
  color: var(--gold-hi);
  animation: nx-blink 2.4s ease-in-out infinite;
}

.nx-pings span:nth-child(2) { animation-delay: 1.2s; }

/* ---------- Zig-zag timeline ---------- */
.nx-zig {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.nx-zig__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hair-2);
  transform: translateX(-50%);
}

.nx-zig__line span {
  position: absolute;
  inset: 0 0 auto;
  height: var(--fill, 0%);
  background: linear-gradient(to bottom, transparent, var(--gold));
  box-shadow: 0 0 12px var(--gold);
}

.nx-zig__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  min-height: 260px;
}

.nx-zig__big {
  font-family: var(--serif);
  font-size: 220px;
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.35);
  text-align: right;
  transition: -webkit-text-stroke-color 0.6s, color 0.6s;
}

.nx-zig__item:hover .nx-zig__big {
  color: rgba(212, 175, 55, 0.08);
  -webkit-text-stroke-color: var(--gold);
}

.nx-zig__dot {
  justify-self: center;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: var(--ink);
  box-shadow: 0 0 0 8px var(--ink), 0 0 20px rgba(212, 175, 55, 0.5);
}

.nx-zig__item.is-in .nx-zig__dot {
  background: var(--gold);
}

.nx-zig__text h3 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
}

.nx-zig__text p {
  margin-top: 12px;
  max-width: 380px;
  color: var(--muted);
  font-weight: 300;
}

.nx-zig__item:nth-child(odd) .nx-zig__big { order: 3; text-align: left; }
.nx-zig__item:nth-child(odd) .nx-zig__dot { order: 2; }
.nx-zig__item:nth-child(odd) .nx-zig__text { order: 1; text-align: right; }
.nx-zig__item:nth-child(odd) .nx-zig__text p { margin-left: auto; }

/* ---------- Market sessions ---------- */
.nx-sess {
  --label: 210px;
  border: 1px solid var(--hair-2);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04), transparent 40%);
}

.nx-sess__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--hair-2);
}

.nx-sess__clock {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.nx-sess__clock span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.nx-sess__clock strong {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-hi);
}

.nx-sess__clock small {
  font-size: 13px;
  color: var(--muted);
}

.nx-sess__status {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  text-align: right;
}

.nx-sess__status p {
  font-size: 16px;
  color: var(--text);
}

.nx-sess__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: nx-sess-pulse 2s infinite;
}

@keyframes nx-sess-pulse {
  70% { box-shadow: 0 0 0 12px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.nx-sess__grid {
  --now: 0;
  position: relative;
  padding: 18px 34px 26px;
}

.nx-sess__scale {
  display: flex;
  justify-content: space-between;
  margin-left: var(--label);
  padding-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.nx-sess__scale span {
  width: 0;
  display: flex;
  justify-content: center;
}

.nx-sess__row {
  display: grid;
  grid-template-columns: var(--label) 1fr;
  align-items: center;
  padding: 7px 0;
}

.nx-sess__label b {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.nx-sess__label small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.nx-sess__track {
  position: relative;
  height: 46px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px calc(100% / 8)),
    rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hair-2);
  overflow: hidden;
}

.nx-sess__bar {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  transition: background 0.4s, box-shadow 0.4s;
}

.nx-sess__bar.is-open {
  border-color: transparent;
  background: linear-gradient(90deg, #9c7420, #d4af37 45%, #f6e2a0 60%, #d4af37 75%, #9c7420) 0 0 / 200% 100%;
  box-shadow: 0 0 24px -4px rgba(212, 175, 55, 0.55);
  animation: nx-sess-flow 6s linear infinite;
}

.nx-sess__bar.is-full {
  left: 0;
  right: 0;
  background: repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.55) 0 10px, rgba(212, 175, 55, 0.3) 10px 20px);
  animation: nx-sess-stripes 2s linear infinite;
  background-size: 28px 28px;
}

@keyframes nx-sess-flow {
  to { background-position: -200% 0; }
}

@keyframes nx-sess-stripes {
  to { background-position: 28px 0; }
}

.nx-sess__state {
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
  background: rgba(6, 6, 6, 0.85);
  border: 1px solid var(--hair-2);
}

.nx-sess__state.is-open {
  color: var(--up);
  border-color: rgba(61, 220, 151, 0.35);
}

.nx-sess__now {
  position: absolute;
  top: 10px;
  bottom: 16px;
  left: calc(34px + var(--label) + (100% - 68px - var(--label)) * var(--now));
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, transparent, #fff3c9 12%, #fff3c9 88%, transparent);
  box-shadow: 0 0 14px rgba(246, 226, 160, 0.8);
  pointer-events: none;
  transition: left 0.6s var(--ease);
}

.nx-sess__now span {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #120d02;
  background: var(--gold-grad);
}

.nx-sess__notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair-2);
}

.nx-sess__notes > div {
  padding: 28px 34px;
}

.nx-sess__notes > div + div {
  border-left: 1px solid var(--hair-2);
}

.nx-sess__notes i {
  color: var(--gold);
  font-size: 18px;
}

.nx-sess__notes h3 {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.nx-sess__notes p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Security: radial ---------- */
.nx-radial {
  position: relative;
  height: 560px;
}

.nx-radial__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nx-radial__lines path {
  fill: none;
  stroke: rgba(212, 175, 55, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation: nx-dash 1.6s linear infinite;
  vector-effect: non-scaling-stroke;
}

@keyframes nx-dash {
  to { stroke-dashoffset: -24; }
}

.nx-radial__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.nx-radial__spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hair);
  border-top-color: var(--gold);
  animation: nx-rot 8s linear infinite;
}

.nx-radial__spin--2 {
  inset: 24px;
  border-style: dashed;
  border-top-color: transparent;
  border-left-color: var(--gold-hi);
  animation-duration: 12s;
  animation-direction: reverse;
}

@keyframes nx-rot {
  to { transform: rotate(360deg); }
}

.nx-radial__lock {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 40px;
  color: #120d02;
  background: var(--gold-grad);
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.5), 0 0 0 12px rgba(212, 175, 55, 0.08);
}

.nx-radial__node {
  position: absolute;
  width: 290px;
  padding: 24px 26px;
  background: rgba(6, 6, 6, 0.92);
  border: 1px solid var(--hair-2);
  border-left: 2px solid var(--gold);
  transition: transform 0.5s var(--ease), border-color 0.5s;
}

.nx-radial__node:hover {
  transform: translateY(-6px);
  border-color: var(--hair);
}

.nx-radial__node i {
  font-size: 22px;
  color: var(--gold);
}

.nx-radial__node h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 28px;
}

.nx-radial__node p {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.nx-radial__node--tl { left: 0; top: 0; }
.nx-radial__node--tr { right: 0; top: 0; }
.nx-radial__node--bl { left: 0; bottom: 0; }
.nx-radial__node--br { right: 0; bottom: 0; }

/* ---------- Magazine ---------- */
.nx-mag {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
}

.nx-mag__art {
  position: relative;
  height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.06) 0 1px, transparent 1px 48px),
    radial-gradient(circle at 50% 60%, rgba(212, 175, 55, 0.35), transparent 60%),
    #0d0b06;
  border: 1px solid var(--hair);
}

.nx-mag__coin {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 110px;
  font-weight: 700;
  color: #120d02;
  background: var(--gold-grad);
  box-shadow: 0 30px 80px -20px rgba(212, 175, 55, 0.7), inset 0 -8px 20px rgba(0, 0, 0, 0.25);
  animation: nx-coin 6s ease-in-out infinite;
}

@keyframes nx-coin {
  0%, 100% { transform: rotateY(-28deg) translateY(0); }
  50% { transform: rotateY(28deg) translateY(-12px); }
}

.nx-mag__orbit {
  position: absolute;
  width: 320px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(246, 226, 160, 0.4);
  transform: rotate(-18deg);
}

.nx-mag__lead-text {
  padding-top: 30px;
}

.nx-mag__lead h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.nx-mag__lead p {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 300;
}

.nx-mag__meta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.nx-mag__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mag;
}

.nx-mag__list li {
  position: relative;
  counter-increment: mag;
  padding: 28px 0 28px 70px;
  border-bottom: 1px solid var(--hair-2);
  cursor: pointer;
  transition: padding-left 0.4s var(--ease);
}

.nx-mag__list li:first-child {
  padding-top: 0;
}

.nx-mag__list li:first-child::before {
  top: 0;
}

.nx-mag__list li::before {
  content: "0" counter(mag);
  position: absolute;
  left: 0;
  top: 28px;
  font-family: var(--serif);
  font-size: 40px;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
}

.nx-mag__list li:hover {
  padding-left: 80px;
}

.nx-mag__list h4 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  transition: color 0.3s;
}

.nx-mag__list li:hover h4 {
  color: var(--gold-hi);
}

.nx-mag__list small {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

/* ---------- FAQ ---------- */
.nx-qa details {
  border-top: 1px solid var(--hair-2);
}

.nx-qa details:last-child {
  border-bottom: 1px solid var(--hair-2);
}

.nx-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 28px 60px 28px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s;
}

.nx-qa summary::-webkit-details-marker {
  display: none;
}

.nx-qa summary span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
}

.nx-qa summary::before,
.nx-qa summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}

.nx-qa summary::after {
  transform: rotate(90deg);
}

.nx-qa details[open] summary {
  color: var(--gold-hi);
}

.nx-qa details[open] summary::after {
  transform: rotate(0deg);
}

.nx-qa details p {
  padding: 0 60px 30px 52px;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
  animation: nx-open 0.5s var(--ease);
}

@keyframes nx-open {
  from { opacity: 0; transform: translateY(-10px); }
}

.nx-qa__more {
  margin-top: 30px !important;
  text-align: center;
  color: var(--muted);
}

.nx-qa__more a {
  color: var(--gold);
  border-bottom: 1px solid var(--hair);
}

/* ---------- Finale ---------- */
.nx-finale {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--hair-2);
  background: radial-gradient(ellipse 60% 70% at 50% 50%, #17130a, var(--ink) 75%);
}

.nx-finale__rows {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transform: rotate(-5deg) scale(1.15);
}

.nx-finale__row {
  display: flex;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(80px, 11vw, 170px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.28);
  animation: nx-marquee 50s linear infinite;
}

.nx-finale__row--rev {
  animation-direction: reverse;
  -webkit-text-stroke-color: rgba(212, 175, 55, 0.16);
}

.nx-finale__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px 70px;
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%), rgba(8, 7, 5, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(212, 175, 55, 0.25);
}

.nx-finale__card h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.nx-finale__card h2 em {
  color: var(--gold);
  font-weight: 500;
}

.nx-finale__login {
  font-size: 14px;
  color: var(--muted);
}

.nx-finale__login b {
  color: var(--gold-hi);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.nx-foot {
  position: relative;
  padding-top: 70px;
  overflow: hidden;
  background: #040404;
  border-top: 1px solid var(--hair-2);
}

.nx-foot__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hair-2);
}

.nx-foot__links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
}

.nx-foot__links nav a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  transition: color 0.3s;
}

.nx-foot__links nav a:hover {
  color: var(--gold);
}

.nx-foot__social {
  display: flex;
  gap: 10px;
}

.nx-foot__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  color: var(--gold-hi);
  transition: background 0.3s, color 0.3s;
}

.nx-foot__social a:hover {
  background: var(--gold);
  color: #120d02;
}

.nx-foot__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 26px 0;
  font-size: 15px;
  color: var(--muted);
}

.nx-foot__contact i {
  color: var(--gold);
  margin-right: 8px;
}

.nx-foot__contact a:hover {
  color: var(--text);
}

.nx-foot__risk {
  padding: 20px 0;
  border-top: 1px solid var(--hair-2);
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}

.nx-foot__risk strong {
  color: var(--muted);
}

.nx-foot__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 10px;
  font-size: 13px;
  color: var(--dim);
}

.nx-foot__word {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 15.5vw;
  font-weight: 700;
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(14%);
  user-select: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nx-menu > a span {
    display: none;
  }

  .nx-radial {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .nx-radial__lines {
    display: none;
  }

  .nx-radial__core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 20px;
  }

  .nx-radial__node {
    position: static;
    width: auto;
  }

  .nx-heat {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1000px) {
  .nx-nav__actions {
    display: none;
  }

  .nx-burger {
    display: block;
  }

  .nx-menu {
    position: fixed;
    inset: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 100px 32px 40px;
    background: rgba(6, 6, 6, 0.98);
    clip-path: circle(0 at calc(100% - 46px) 58px);
    transition: clip-path 0.7s var(--ease);
    z-index: -1;
  }

  .nx-menu.is-open {
    clip-path: circle(150% at calc(100% - 46px) 58px);
  }

  .nx-menu > a {
    padding: 14px 0;
    gap: 14px;
    font-family: var(--serif);
    font-size: 34px;
    color: var(--text);
    border-bottom: 1px solid var(--hair-2);
  }

  .nx-menu > a span {
    display: inline;
    font-size: 12px;
  }

  .nx-menu > a.is-active::before {
    display: none;
  }

  .nx-menu__auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .nx-header.is-menu-open .nx-nav {
    backdrop-filter: none;
    background: transparent;
  }

  .nx-split {
    grid-template-columns: 1fr;
    --cut: 60px;
  }

  .nx-split__half--fx {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
    justify-content: flex-start;
  }

  .nx-split__half--cx {
    margin-left: 0;
    margin-top: calc(-1 * var(--cut));
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  }

  .nx-split__inner,
  .nx-split__half--fx .nx-split__inner,
  .nx-split__half--cx .nx-split__inner {
    width: 100%;
    padding: 90px 32px;
  }

  .nx-split__half--cx .nx-split__inner {
    padding-top: calc(var(--cut) + 70px);
  }

  .nx-split__seam {
    top: calc(50% - 30px);
    left: auto;
    right: 30px;
    transform: translateY(-50%);
  }

  .nx-split__seam span {
    width: 96px;
    height: 96px;
    font-size: 16px;
  }

  .nx-panels {
    flex-direction: column;
    height: auto;
  }

  .nx-panel {
    flex: none;
    padding: 22px 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
  }

  .nx-panel__label {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    font-size: 26px !important;
  }

  .nx-panel.is-open .nx-panel__label {
    display: none;
  }

  .nx-panel__body {
    position: static;
    display: none;
    width: 100%;
  }

  .nx-panel.is-open .nx-panel__body {
    display: block;
  }

  .nx-panel__body h3 {
    font-size: 34px;
  }

  .nx-mag {
    grid-template-columns: 1fr;
  }

  .nx-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-title-row--center {
    align-items: center;
  }
}

@media (max-width: 720px) {
  :root {
    --strip: 32px;
  }

  .nx-brand__logo,
  .nx-header.is-scrolled .nx-brand__logo {
    height: 44px;
  }

  .nx-wrap {
    width: min(100% - 32px, 1280px);
  }

  .nx-block {
    padding: 96px 0;
  }

  .nx-stage {
    padding-top: calc(var(--strip) + 100px);
  }

  .nx-kicker {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .nx-stage__line--gold {
    flex-wrap: wrap;
  }

  .nx-stage__lead {
    font-size: 16px;
  }

  .nx-stage__cta {
    flex-direction: column;
    gap: 22px;
  }

  .nx-pano__stats {
    grid-template-columns: 1fr 1fr;
  }

  .nx-pano__stats > div {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 6px;
  }

  .nx-pano__stats > div:nth-child(3) {
    border-left: 0;
  }

  .nx-pano__stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--hair-2);
  }

  .nx-pano__stats span {
    font-size: 9px;
  }

  .nx-pano__chart {
    height: 120px;
  }

  .nx-pano__tag strong {
    font-size: 17px;
  }

  .nx-split__ghost {
    font-size: 170px;
  }

  .nx-split__facts {
    gap: 18px;
  }

  .nx-split__facts b {
    font-size: 19px;
  }

  .nx-heat {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(96px, auto);
  }

  .nx-cell {
    gap: 10px;
  }

  .nx-cell--h2 {
    grid-row: span 1;
    min-height: 140px;
  }

  .nx-cell--h2 .nx-cell__sym {
    font-size: 30px;
  }

  .nx-filter {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .nx-filter button {
    flex: none;
    padding: 11px 16px;
  }

  .nx-zig__line {
    left: 18px;
  }

  .nx-zig__item,
  .nx-zig__item:nth-child(odd) {
    grid-template-columns: 36px 1fr;
    min-height: 0;
    padding: 30px 0;
    column-gap: 18px;
  }

  .nx-zig__item .nx-zig__big,
  .nx-zig__item:nth-child(odd) .nx-zig__big {
    order: 0;
    grid-column: 2;
    grid-row: 1;
    font-size: 110px;
    text-align: left;
  }

  .nx-zig__item .nx-zig__dot,
  .nx-zig__item:nth-child(odd) .nx-zig__dot {
    order: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 30px;
  }

  .nx-zig__item .nx-zig__text,
  .nx-zig__item:nth-child(odd) .nx-zig__text {
    order: 0;
    grid-column: 2;
    text-align: left;
  }

  .nx-zig__item:nth-child(odd) .nx-zig__text p {
    margin-left: 0;
  }

  .nx-zig__text h3 {
    font-size: 30px;
  }

  .nx-sess {
    --label: 92px;
  }

  .nx-sess__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 18px;
  }

  .nx-sess__clock {
    flex-wrap: wrap;
  }

  .nx-sess__clock strong {
    font-size: 34px;
  }

  .nx-sess__status {
    text-align: left;
  }

  .nx-sess__grid {
    padding: 14px 14px 22px;
  }

  .nx-sess__now {
    left: calc(14px + var(--label) + (100% - 28px - var(--label)) * var(--now));
  }

  .nx-sess__label b {
    font-size: 18px;
  }

  .nx-sess__label small {
    font-size: 9px;
  }

  .nx-sess__scale span:nth-child(even) {
    visibility: hidden;
  }

  .nx-sess__state {
    right: 6px;
    font-size: 9px;
    padding: 2px 6px;
  }

  .nx-sess__notes {
    grid-template-columns: 1fr;
  }

  .nx-sess__notes > div {
    padding: 22px 18px;
  }

  .nx-sess__notes > div + div {
    border-left: 0;
    border-top: 1px solid var(--hair-2);
  }

  .nx-radial {
    grid-template-columns: 1fr;
  }

  .nx-mag__art {
    height: 280px;
  }

  .nx-qa summary {
    font-size: 21px;
    gap: 14px;
    padding-right: 40px;
  }

  .nx-qa details p {
    padding: 0 10px 26px 36px;
    font-size: 16px;
  }

  .nx-finale {
    min-height: 600px;
  }

  .nx-finale__card {
    width: calc(100% - 32px);
    padding: 44px 22px;
  }

  .nx-foot__links nav a {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .nx-stage__globe {
    --globe-o: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .nx-in,
  .nx-reveal,
  .nx-stage__globe {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .nx-stage__globe {
    transform: translate(-50%, -50%);
  }
}
