/* =====================================================================
   NX — component layer that sits on top of Tailwind utilities.
   Palette: deep navy base, brushed-gold accent, muted teal support.
   ===================================================================== */

:root {
  --nx-bg:        #05070E;
  --nx-bg-2:      #070B14;
  --nx-panel:     #0A1120;
  --nx-panel-2:   #0C1424;
  --nx-line:      rgba(201, 161, 90, 0.14);
  --nx-line-soft: rgba(255, 255, 255, 0.06);
  --nx-gold:      #C9A15A;
  --nx-gold-lite: #E7C787;
  --nx-gold-deep: #8E6B2E;
  --nx-teal:      #35A99B;
  --nx-text:      #E8EDF6;
  --nx-muted:     #8A94A6;
  --nx-shell:     1240px;
}

/* ---------- base ---------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  background-color: var(--nx-bg);
  color: var(--nx-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(201, 161, 90, .3); color: #fff; }

body::before {
  /* ambient page glow */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(201, 161, 90, .10), transparent 60%),
    radial-gradient(48rem 34rem at 6% 22%, rgba(53, 169, 155, .05), transparent 60%);
}
#nx-top { position: relative; z-index: 1; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070B14; }
::-webkit-scrollbar-thumb { background: #1A2338; border-radius: 99px; border: 2px solid #070B14; }
::-webkit-scrollbar-thumb:hover { background: #263149; }

/* ---------- layout -------------------------------------------------- */
.nx-shell { width: 100%; max-width: var(--nx-shell); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .nx-shell { padding-inline: 2rem; } }

.nx-band { border-block: 1px solid var(--nx-line-soft); background: rgba(10, 17, 32, .45); }

/* ---------- typography ---------------------------------------------- */
.font-display { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }

.nx-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #fff;
}
.nx-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
}
.nx-gold-text {
  background: linear-gradient(96deg, #F0DAAC 0%, #C9A15A 48%, #E7C787 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nx-lead { color: var(--nx-muted); font-size: 1.0625rem; line-height: 1.75; }

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .6875rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--nx-gold);
  width: 100%;
}
.nx-eyebrow.justify-center { justify-content: center; }
.nx-eyebrow-line {
  display: block;
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nx-gold));
}
.nx-rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--nx-gold), transparent);
}
.nx-rule.mx-auto { background: linear-gradient(90deg, transparent, var(--nx-gold), transparent); }

/* ---------- buttons ------------------------------------------------- */
.nx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: .625rem;
  padding: .875rem 1.5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: all .35s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}
.nx-btn .nx-btn-ic { display: inline-flex; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.nx-btn:hover .nx-btn-ic { transform: translateX(4px); }

.nx-btn-gold {
  color: #120D04;
  background: linear-gradient(100deg, #E7C787, #C9A15A 55%, #D8B571);
  box-shadow: 0 10px 30px -12px rgba(201, 161, 90, .6);
}
.nx-btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(231, 199, 135, .75); transform: translateY(-2px); }

.nx-btn-ghost {
  color: #E8EDF6;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(6px);
}
.nx-btn-ghost:hover { border-color: var(--nx-gold); color: #fff; background: rgba(201, 161, 90, .08); transform: translateY(-2px); }

.nx-btn-teal { color: #04120F; background: linear-gradient(100deg, #4FD1BC, #35A99B); }
.nx-btn-teal:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(79, 209, 188, .6); }

.nx-btn-plain { color: var(--nx-gold); padding-inline: 0; }
.nx-btn-plain:hover { color: var(--nx-gold-lite); }

.nx-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--nx-gold);
  transition: color .3s, gap .3s;
}
.nx-arrow-link:hover { color: var(--nx-gold-lite); gap: .85rem; }

/* ---------- header -------------------------------------------------- */
.nx-topbar {
  border-bottom: 1px solid var(--nx-line-soft);
  background: #04060C;
  font-size: .75rem;
  color: var(--nx-muted);
}
.nx-topbar a:hover { color: var(--nx-gold-lite); }

.nx-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s, padding .4s;
}
.nx-header.is-stuck {
  background: rgba(5, 7, 14, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--nx-line-soft);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9);
}

.nx-logo-mark { display: inline-flex; align-items: center; justify-content: center; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.nx-logo:hover .nx-logo-mark { transform: rotate(-8deg) scale(1.05); }

.nx-navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem 0;
  font-size: .875rem;
  color: #C4CCDA;
  white-space: nowrap;
  transition: color .3s;
}
.nx-navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px; width: 0;
  background: linear-gradient(90deg, var(--nx-gold), var(--nx-gold-lite));
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}
.nx-navlink:hover { color: #fff; }
.nx-navlink:hover::after,
.nx-navlink.is-active::after { width: 100%; }
.nx-navlink.is-active { color: var(--nx-gold-lite); }

.nx-drop {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  width: 22rem;
  transform: translate(-50%, .5rem);
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.22, 1, .36, 1);
  background: rgba(9, 14, 25, .97);
  border: 1px solid var(--nx-line);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px);
  padding: .5rem;
}
.nx-has-drop:hover .nx-drop,
.nx-has-drop:focus-within .nx-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nx-drop a { display: block; padding: .7rem .85rem; transition: background .25s; }
.nx-drop a:hover { background: rgba(201, 161, 90, .08); }

/* mobile drawer */
.nx-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(90vw, 24rem);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  background: #070B14;
  border-left: 1px solid var(--nx-line);
  overflow-y: auto;
}
.nx-drawer.is-open { transform: translateX(0); }
.nx-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(3, 5, 10, .72);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: all .35s;
}
.nx-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- hero ---------------------------------------------------- */
.nx-hero { position: relative; overflow: hidden; }
.nx-hero-art {
  position: absolute;
  inset: 0 0 0 42%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 1023px) {
  .nx-hero-art { position: relative; inset: auto; clip-path: none; height: 22rem; margin-top: 2.5rem; }
}
.nx-hero-art::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--nx-bg) 0%, rgba(5, 7, 14, .92) 20%, rgba(5, 7, 14, .32) 46%, transparent 68%),
    linear-gradient(to top, var(--nx-bg) 0%, rgba(5, 7, 14, .55) 12%, transparent 30%);
}
/* thin lit edge that traces the diagonal cut */
.nx-hero-edge {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 3;
  pointer-events: none;
  clip-path: polygon(18% 0, 18.16% 0, 0.16% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(231, 199, 135, .55), rgba(231, 199, 135, .03));
}
@media (max-width: 1023px) { .nx-hero-edge { display: none; } }
.nx-art { display: block; width: 100%; height: 100%; object-fit: cover; }

.nx-quote-card {
  border: 1px solid var(--nx-line);
  background: rgba(7, 11, 20, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}

.nx-hero-feature {
  position: relative;
  padding-left: 0;
}
.nx-hero-feature + .nx-hero-feature::before {
  content: '';
  position: absolute; left: -1rem; top: .25rem; bottom: .25rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.12), transparent);
}

/* ---------- cards --------------------------------------------------- */
.nx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(12, 20, 36, .9), rgba(7, 11, 20, .9));
  border: 1px solid var(--nx-line-soft);
  padding: 1.75rem;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .45s, box-shadow .45s;
  overflow: hidden;
}
.nx-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(22rem 12rem at 50% 0%, rgba(201, 161, 90, .13), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.nx-card:hover { transform: translateY(-6px); border-color: var(--nx-line); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95); }
.nx-card:hover::before { opacity: 1; }
.nx-card > * { position: relative; z-index: 1; }

.nx-card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3.25rem; width: 3.25rem;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  color: var(--nx-gold);
  background: rgba(201, 161, 90, .05);
  transition: all .45s;
}
.nx-card:hover .nx-card-ic { background: rgba(201, 161, 90, .13); color: var(--nx-gold-lite); transform: scale(1.06); }

.nx-spec {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 0;
  border-top: 1px dashed rgba(255, 255, 255, .07);
  font-size: .8125rem;
}
.nx-spec span:first-child { color: var(--nx-muted); }
.nx-spec span:last-child { color: #E8EDF6; font-weight: 600; }

/* insight / post cards */
.nx-post { display: block; overflow: hidden; }
.nx-post-art { position: relative; height: 11rem; overflow: hidden; }
.nx-post-art .nx-art { transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.nx-post:hover .nx-post-art .nx-art { transform: scale(1.08); }
.nx-post-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,11,20,.95), transparent 55%);
}

/* numbered step marker (approach page) */
.nx-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3rem; width: 3rem;
  border: 1px solid var(--nx-line);
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  color: var(--nx-gold-lite);
  background: rgba(201,161,90,.06);
}

/* reviews */
.nx-stars { display: inline-flex; gap: .2rem; }
.nx-stars svg { color: rgba(201,161,90,.28); }
.nx-stars svg.is-on { color: var(--nx-gold-lite); }
.nx-meter { position: relative; flex: 1; height: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.nx-meter > i {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--nx-gold-deep), var(--nx-gold-lite));
}
.nx-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem; flex: none;
  border: 1px solid rgba(201,161,90,.3);
  border-radius: 999px;
  font-family: 'Playfair Display', serif; font-size: .875rem;
  color: var(--nx-gold-lite);
  background: rgba(201,161,90,.07);
}
.nx-review { position: relative; }
.nx-review-quote { position: absolute; top: 1.6rem; right: 1.6rem; color: rgba(201,161,90,.16); }

/* featured insight banner */
.nx-feature {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--nx-line-soft);
  min-height: 22rem;
  display: flex; align-items: flex-end;
}
.nx-feature-art { position: absolute; inset: 0; }
.nx-feature-art .nx-art { transition: transform 1.3s cubic-bezier(.22, 1, .36, 1); }
.nx-feature:hover .nx-feature-art .nx-art { transform: scale(1.06); }
.nx-feature-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,14,.94) 8%, rgba(5,7,14,.72) 55%, rgba(5,7,14,.35));
}
.nx-feature:hover { border-color: rgba(201,161,90,.35); }

/* long-form article body */
.nx-article { font-size: 1rem; line-height: 1.85; }
.nx-article h2 { font-size: 1.75rem; }
.nx-article > p:first-child { color: #C4CDDB; }
.nx-article hr { border: 0; border-top: 1px solid var(--nx-line-soft); margin: 2.5rem 0; }

/* process steps */
.nx-step-ic {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 5rem; width: 5rem;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  color: var(--nx-gold);
  background: rgba(10, 17, 32, .8);
  transition: all .45s;
}
.nx-step:hover .nx-step-ic { color: var(--nx-gold-lite); border-color: var(--nx-gold); box-shadow: 0 0 0 6px rgba(201, 161, 90, .06); }
.nx-step-link {
  position: absolute; top: 2.5rem; left: 60%; right: -40%;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(201,161,90,.5) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
}

/* ---------- accordion ----------------------------------------------- */
.nx-acc { border-bottom: 1px solid var(--nx-line-soft); }
.nx-acc-btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  width: 100%; padding: 1.35rem .25rem;
  text-align: left; color: #E8EDF6;
  font-size: 1rem; font-weight: 500;
  transition: color .3s;
}
.nx-acc-btn:hover { color: var(--nx-gold-lite); }
.nx-acc-num { font-family: 'Playfair Display', serif; font-size: .875rem; color: var(--nx-gold); min-width: 2rem; }
.nx-acc-ic { flex: none; color: var(--nx-gold); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.nx-acc.is-open .nx-acc-ic { transform: rotate(180deg); }
.nx-acc.is-open .nx-acc-btn { color: var(--nx-gold-lite); }
.nx-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1); }
.nx-acc.is-open .nx-acc-body { grid-template-rows: 1fr; }
.nx-acc-body > div { overflow: hidden; }

/* rich text inside answers / articles / legal pages */
.nx-prose { color: #A9B3C4; font-size: .9375rem; line-height: 1.8; }
.nx-prose p { margin-bottom: 1rem; }
.nx-prose strong, .nx-prose b { color: #E8EDF6; font-weight: 600; }
.nx-prose h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.6rem; margin: 2.25rem 0 1rem; }
.nx-prose h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.25rem; margin: 2rem 0 .85rem; }
.nx-prose h4, .nx-prose h5, .nx-prose h6 { color: #fff; font-size: 1rem; margin: 1.5rem 0 .6rem; font-weight: 600; }
.nx-prose ul, .nx-prose ol { margin: 0 0 1.25rem 1.1rem; }
.nx-prose ul { list-style: none; }
.nx-prose ul > li { position: relative; padding-left: 1.1rem; margin-bottom: .55rem; }
.nx-prose ul > li::before {
  content: ''; position: absolute; left: 0; top: .7rem;
  height: 5px; width: 5px; rotate: 45deg;
  background: var(--nx-gold);
}
.nx-prose ol { list-style: decimal; }
.nx-prose ol > li { margin-bottom: .55rem; padding-left: .35rem; }
.nx-prose ol > li::marker { color: var(--nx-gold); }
.nx-prose a { color: var(--nx-gold-lite); text-decoration: underline; text-underline-offset: 3px; }
.nx-prose hr { border-color: var(--nx-line-soft); margin: 2rem 0; }
.nx-prose img { max-width: 100%; height: auto; }
.nx-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .875rem; }
.nx-prose th, .nx-prose td { border: 1px solid var(--nx-line-soft); padding: .6rem .75rem; text-align: left; }
.nx-prose th { color: #fff; background: rgba(201,161,90,.06); }
.nx-prose blockquote {
  border-left: 2px solid var(--nx-gold);
  padding: .35rem 0 .35rem 1.25rem;
  color: #C9D2E0; font-style: italic; margin: 1.5rem 0;
}

/* ---------- forms --------------------------------------------------- */
.nx-field {
  width: 100%;
  background: rgba(6, 10, 19, .9);
  border: 1px solid var(--nx-line-soft);
  color: #E8EDF6;
  padding: .85rem 1rem;
  font-size: .9375rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nx-field::placeholder { color: #5D6779; }
.nx-field:focus {
  outline: none;
  border-color: var(--nx-gold);
  background: rgba(10, 17, 32, .95);
  box-shadow: 0 0 0 3px rgba(201, 161, 90, .12);
}
.nx-field option { background: #0A1120; color: #E8EDF6; }
.nx-label { display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--nx-muted); margin-bottom: .55rem; }
.nx-form-note {
  border-left: 2px solid var(--nx-gold);
  padding: .75rem 0 .75rem 1rem;
  font-size: .875rem; line-height: 1.7;
}
.nx-form-note.is-ok  { border-color: #35A99B; color: #8FD9CD; background: rgba(53,169,155,.06); }
.nx-form-note.is-bad { border-color: #C97A5A; color: #E8B49B; background: rgba(201,122,90,.06); }
.nx-btn.is-busy { opacity: .6; pointer-events: none; }

/* ---------- page hero / breadcrumbs ---------------------------------- */
.nx-page-hero { position: relative; border-bottom: 1px solid var(--nx-line-soft); overflow: hidden; }
.nx-page-hero-art { position: absolute; inset: 0; opacity: .4; }
.nx-page-hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--nx-bg) 12%, rgba(5,7,14,.7) 55%, rgba(5,7,14,.9));
}
.nx-crumbs { display: flex; align-items: center; gap: .75rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-muted); }
.nx-crumbs a { color: var(--nx-gold); }
.nx-crumbs a:hover { color: var(--nx-gold-lite); }
.nx-crumb-sep { display: block; height: 1px; width: 1.25rem; background: rgba(255,255,255,.2); }

/* ---------- auth (sign in / sign up) --------------------------------- */
.nx-auth { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .nx-auth { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .nx-auth { grid-template-columns: 1.05fr 1fr; } }
.nx-auth-aside { position: relative; display: none; overflow: hidden; border-right: 1px solid var(--nx-line-soft); }
@media (min-width: 1024px) { .nx-auth-aside { display: block; } }
.nx-auth-art { position: absolute; inset: 0; }
.nx-auth-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,14,.92), rgba(5,7,14,.78) 45%, rgba(5,7,14,.95));
}
.nx-auth-main { display: flex; flex-direction: column; }
.nx-auth-inner {
  width: 100%; max-width: 34rem;
  margin: 0 auto; padding: 2rem 1.5rem 4rem;
}
@media (min-width: 1024px) { .nx-auth-inner { padding: 4.5rem 3.5rem; margin: auto; } }

.nx-pw { position: relative; }
.nx-pw-btn {
  position: absolute; top: 50%; right: .75rem; transform: translateY(-50%);
  color: #5D6779; padding: .25rem;
  transition: color .25s;
}
.nx-pw-btn:hover, .nx-pw-btn.is-on { color: var(--nx-gold); }
.nx-check {
  appearance: none; -webkit-appearance: none;
  height: 1.05rem; width: 1.05rem; flex: none; margin-top: .1rem;
  border: 1px solid var(--nx-line);
  background: rgba(6,10,19,.9);
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.nx-check:checked {
  border-color: var(--nx-gold);
  background: var(--nx-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070B14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E") center/70% no-repeat;
}
.nx-check:focus-visible { outline: 2px solid var(--nx-gold); outline-offset: 2px; }

/* ---------- legal pages (terms / privacy) ---------------------------- */
.nx-toc-link {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .5rem 0;
  font-size: .8125rem; line-height: 1.5; color: #9AA5B7;
  transition: color .25s;
}
.nx-toc-link:hover { color: var(--nx-gold-lite); }
.nx-toc-num { font-family: 'Playfair Display', serif; font-size: .75rem; color: var(--nx-gold); flex: none; }
.nx-legal-sec { scroll-margin-top: 7rem; padding-top: 2.75rem; }
.nx-legal-h2 {
  display: flex; align-items: baseline; gap: .85rem;
  font-family: 'Playfair Display', serif; color: #fff;
  font-size: 1.5rem; line-height: 1.3;
}
.nx-legal-num { font-size: .875rem; color: var(--nx-gold); letter-spacing: .1em; }
.nx-legal-anchor { scroll-margin-top: 7rem; }
.nx-legal-doc h3 { padding-top: 1.25rem; border-top: 1px solid var(--nx-line-soft); }
.nx-legal-doc h3:first-child { border-top: 0; padding-top: 0; }

/* ---------- CTA band ------------------------------------------------- */
.nx-cta { position: relative; border: 1px solid var(--nx-line); background: linear-gradient(120deg, rgba(12,20,36,.95), rgba(6,10,19,.95)); overflow: hidden; }
.nx-cta-glow {
  position: absolute; inset: auto -10% -80% 40%;
  height: 26rem;
  background: radial-gradient(closest-side, rgba(201,161,90,.18), transparent);
}
.nx-cta-ic {
  display: inline-flex; align-items: center; justify-content: center;
  height: 4.5rem; width: 4.5rem; border-radius: 999px;
  border: 1px solid var(--nx-line); color: var(--nx-gold);
  background: rgba(201,161,90,.05); flex: none;
}

/* ---------- trust strip ---------------------------------------------- */
.nx-trust { display: flex; align-items: center; justify-content: center; gap: .75rem; padding-inline: 1rem; filter: grayscale(1); opacity: .7; transition: all .4s; }
.nx-trust:hover { filter: none; opacity: 1; }

/* ---------- footer --------------------------------------------------- */
.nx-footer { position: relative; border-top: 1px solid var(--nx-line-soft); background: #04070D; overflow: hidden; }
.nx-footer::before {
  content: ''; position: absolute; inset: -60% 55% auto -10%; height: 40rem;
  background: radial-gradient(closest-side, rgba(201,161,90,.07), transparent);
}
.nx-flink { display: block; padding: .35rem 0; font-size: .875rem; color: #97A2B4; transition: color .3s, padding-left .3s; }
.nx-flink:hover { color: var(--nx-gold-lite); padding-left: .35rem; }
.nx-social {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.35rem; width: 2.35rem;
  border: 1px solid var(--nx-line-soft); color: #97A2B4;
  transition: all .35s;
}
.nx-social:hover { color: var(--nx-gold-lite); border-color: var(--nx-gold); transform: translateY(-3px); }

/* ---------- misc ----------------------------------------------------- */
.nx-scroll-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem;
  border: 1px solid var(--nx-line); color: var(--nx-gold);
  background: rgba(7, 11, 20, .9); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s;
}
.nx-scroll-top.is-on { opacity: 1; visibility: visible; transform: none; }
.nx-scroll-top:hover { background: var(--nx-gold); color: #120D04; }

.nx-stat-num { font-family: 'Playfair Display', serif; font-size: 2.75rem; line-height: 1; color: #fff; }

.nx-marquee { display: flex; gap: 3rem; width: max-content; animation: nx-slide 32s linear infinite; }
@keyframes nx-slide { to { transform: translateX(-50%); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .nx-marquee { animation: none; }
}

/* preloader */
#nx-loader {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: var(--nx-bg);
  transition: opacity .6s ease, visibility .6s ease;
}
#nx-loader.is-done { opacity: 0; visibility: hidden; }
.nx-loader-bar { width: 9rem; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.nx-loader-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--nx-gold-lite), transparent); animation: nx-load 1.1s ease-in-out infinite; }
@keyframes nx-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
