/* /network - Cexlens sales landing. Standalone design system (designer spec). Mobile-first.
   Fonts (Space Grotesk + JetBrains Mono) are a deliberate per-page exception to the Inter SOT,
   scoped to .nw. */
.nw {
  --bg: #070810; --card: #0b0c14; --card2: #0c0d16;
  --grad-card: linear-gradient(160deg, #11101c, #0a0b13);
  --bd: #1a1b26; --bd2: #1c1d29; --bd3: #23242f;
  --tx: #e9ebf2; --tx2: #a6a9b8; --tx3: #9396a4; --tx4: #6f7283;
  --pp: #9B72FF; --pp-tint: #c9b6ff; --pp-deep: #6A3DF0;
  --green: #2ed573; --gold: #E0A93D;
  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  margin: 0; background: var(--bg); color: var(--tx); font-family: var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.nw * { box-sizing: border-box; }
.nw .lx { color: var(--pp); }
.nw-desk { display: none; }

/* cloak */
.nw-cloak { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity .3s; }
html.ready .nw-cloak { opacity: 0; pointer-events: none; }
.nw-cloak-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pp); animation: nw-pulse 1s ease-in-out infinite; }

/* living network canvas */
.nw-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .72; pointer-events: none; }
.nw-herowash { position: fixed; top: 0; left: 0; right: 0; height: 70vh; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(139,108,255,.22), transparent 60%); }

.nw-wrap { position: relative; isolation: isolate; max-width: 1180px; margin: 0 auto; padding: 0 16px 40px; }

/* shared dot + eyebrow */
.nw-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: nw-pulse 1.6s ease-in-out infinite; }
.nw-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--tx3); }
.nw-eyebrow-c { display: block; margin-bottom: 14px; }

/* CTAs */
.nw-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 700; font-size: 15px; color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 13px; background: linear-gradient(135deg, var(--pp), var(--pp-deep)); box-shadow: 0 14px 34px rgba(106,61,240,.5); transition: filter .15s, transform .15s; min-height: 46px; }
.nw-cta:hover { filter: brightness(1.07); }
.nw-cta:active { transform: translateY(1px); }
.nw-cta-sm { padding: 9px 15px; font-size: 13px; border-radius: 10px; min-height: 38px; box-shadow: 0 8px 20px rgba(106,61,240,.45); }
.nw-cta-lg { padding: 16px 30px; font-size: 16px; }
.nw-cta-ghost { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; color: #c9cbd6; text-decoration: none; padding: 14px 20px; border: 1px solid #2b2c3a; border-radius: 13px; background: transparent; }
.nw-arr { font-weight: 400; }

/* topbar */
.nw-top { position: relative; z-index: 10; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.nw-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--tx); text-decoration: none; letter-spacing: -.2px; }
.nw-top-nav { gap: 22px; }
.nw-top-nav a { color: var(--tx3); text-decoration: none; font-size: 14px; font-weight: 500; }
.nw-top-nav a.active, .nw-top-nav a:hover { color: var(--tx); }
.nw-top-right { display: flex; align-items: center; gap: 10px; }
.nw-lang { display: inline-flex; border: 1px solid var(--bd2); border-radius: 8px; overflow: hidden; }
.nw-lang button { background: none; border: 0; color: var(--tx4); font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 5px 8px; cursor: pointer; }
.nw-lang button.active { color: var(--tx); background: rgba(155,114,255,.14); }
.nw-signin { display: none; color: var(--tx2); text-decoration: none; font-size: 14px; font-weight: 500; }

/* hero */
.nw-hero { text-align: center; padding: 26px 4px 8px; }
.nw-h1 { font-size: 38px; line-height: 1.04; font-weight: 700; letter-spacing: -1px; margin: 16px 0 0; }
.nw-h1-accent { color: var(--pp); }
.nw-slogan { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pp-tint); margin: 14px 0 0; }
.nw-hero-sub { font-size: 15px; line-height: 1.55; color: var(--tx2); margin: 14px auto 0; max-width: 460px; }
.nw-hero-ctas { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.nw-hero-ctas .nw-cta { width: 100%; }
.nw-micro { font-family: var(--mono); font-size: 11px; color: var(--tx4); margin-top: 12px; letter-spacing: .3px; }

/* live band */
.nw-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 20px auto 0; padding: 9px 14px; background: var(--card2); border: 1px solid var(--bd3); border-radius: 11px; font-family: var(--mono); font-size: 10px; max-width: 520px; }
.nw-band-live { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.nw-band-amt { color: var(--green); font-weight: 700; }
.nw-band-mid, .nw-band-meta { color: var(--tx3); }
.nw-band-sep { color: #43465a; }

/* stats (desktop) */
.nw-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: -24px; }
.nw-stat { background: var(--grad-card); border: 1px solid var(--bd2); border-radius: 16px; padding: 20px; text-align: center; }
.nw-stat-n { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.nw-stat-l { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--tx3); margin-top: 4px; }

/* earned counter */
.nw-earned { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px auto 0; }
.nw-earned-coin { width: 30px; height: 30px; display: block; flex: none; }
.nw-earned-num { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--green); letter-spacing: -.5px; }
.nw-earned-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tx3); }
.nw-earned-live { font-family: var(--mono); font-size: 10px; color: var(--tx4); display: inline-flex; align-items: center; gap: 5px; }

/* section rhythm */
.nw-ai, .nw-how, .nw-unlock, .nw-cls, .nw-marq-wrap { margin-top: 54px; }
.nw-h2 { font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -.6px; margin: 0 0 10px; }
.nw-lead { font-size: 14.5px; line-height: 1.6; color: var(--tx2); margin: 0 0 20px; max-width: 760px; }

/* AI stage */
.nw-ai-stage { display: flex; flex-direction: column; gap: 14px; }
.nw-net-frame { position: relative; background: var(--grad-card); border: 1px solid var(--bd2); border-radius: 20px; overflow: hidden; height: 360px; }
.nw-net { position: absolute; inset: 0; }
.nw-net-pill { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 100px; background: rgba(12,13,22,.78); border: 1px solid var(--bd3); font-family: var(--mono); font-size: 10px; color: var(--tx2); }
.nw-net-wm { position: absolute; bottom: 10px; right: 12px; z-index: 3; font-family: var(--mono); font-size: 10px; color: var(--tx4); letter-spacing: .5px; }
.nw-verdict { background: var(--grad-card); border: 1px solid color-mix(in srgb, var(--pp) 28%, var(--bd2)); border-radius: 20px; padding: 18px; }
.nw-verdict-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.nw-verdict-spark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(155,114,255,.16); color: var(--pp); }
.nw-verdict-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pp); font-weight: 700; }
.nw-verdict-live { margin-left: auto; }
.nw-verdict-text { font-size: 16px; line-height: 1.55; color: var(--tx); margin: 0 0 14px; font-weight: 500; }
.nw-verdict-text .cur { display: inline-block; width: 9px; background: var(--pp); margin-left: 2px; animation: nw-blink 1s step-end infinite; }
.nw-verdict-foot { font-family: var(--mono); font-size: 10.5px; color: var(--tx4); }

/* how it works */
.nw-steps { display: flex; flex-direction: column; gap: 12px; }
.nw-step { background: var(--grad-card); border: 1px solid var(--bd2); border-radius: 16px; padding: 18px; }
.nw-step-n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--pp); letter-spacing: 1px; }
.nw-step-h { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.nw-step-p { font-size: 13.5px; line-height: 1.55; color: var(--tx2); margin: 0; }

/* unlocks */
.nw-unlock-grid { display: flex; flex-direction: column; gap: 12px; }
.nw-unlock-card { background: var(--grad-card); border: 1px solid var(--bd2); border-radius: 16px; padding: 18px; }
.nw-unlock-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(155,114,255,.14); color: var(--pp); margin-bottom: 12px; }
.nw-unlock-h { font-size: 17px; font-weight: 700; display: inline-block; margin-right: 8px; }
.nw-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--pp-tint); background: rgba(155,114,255,.12); border-radius: 6px; padding: 3px 8px; vertical-align: middle; }
.nw-unlock-p { font-size: 13.5px; line-height: 1.55; color: var(--tx2); margin: 10px 0 0; }

/* whale classes */
.nw-cls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nw-cls-card { background: var(--grad-card); border: 1px solid var(--bd2); border-radius: 14px; padding: 15px; }
.nw-cls-top { display: flex; align-items: center; gap: 8px; }
.nw-cls-dia { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); }
.nw-cls-name { font-size: 15px; font-weight: 700; }
.nw-cls-cap { font-family: var(--mono); font-size: 11px; color: var(--tx3); margin: 8px 0 10px; }
.nw-pips { display: flex; gap: 4px; }
.nw-pips i { flex: 1; height: 4px; border-radius: 100px; background: var(--bd3); }
.nw-pips i.on { background: var(--c); }
.nw-cls-note { font-family: var(--mono); font-size: 11px; color: var(--tx4); text-align: center; margin-top: 14px; letter-spacing: .5px; }

/* marquee */
.nw-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nw-marq-row { display: inline-flex; gap: 10px; white-space: nowrap; animation: nw-marq 34s linear infinite; }
.nw-marq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--bd2); border-radius: 100px; background: var(--card2); font-family: var(--mono); font-size: 11px; color: var(--tx2); }
.nw-marq-chip b { color: var(--gold); font-weight: 700; }
.nw-marq-chip .a { color: var(--tx4); }

/* final */
.nw-final { text-align: center; margin-top: 60px; padding: 38px 20px; background: var(--grad-card); border: 1px solid color-mix(in srgb, var(--pp) 24%, var(--bd2)); border-radius: 24px; }
.nw-final-mark { opacity: .9; margin-bottom: 8px; }
.nw-final-h { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin: 0 0 8px; }
.nw-final-p { font-size: 14.5px; line-height: 1.55; color: var(--tx2); margin: 0 auto 20px; max-width: 420px; }
.nw-final .nw-cta { width: 100%; max-width: 320px; }

/* footer */
.nw-foot { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--bd); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.nw-foot-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.nw-foot-links a { color: var(--tx3); text-decoration: none; font-size: 13px; }
.nw-foot-copy { font-family: var(--mono); font-size: 11px; color: var(--tx4); }

/* sticky mobile CTA */
.nw-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; background: rgba(12,13,22,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid #2b2740; border-radius: 16px; transform: translateY(160%); opacity: 0; transition: transform .38s cubic-bezier(.2,.85,.25,1), opacity .3s; }
.nw-sticky.show { transform: translateY(0); opacity: 1; }
.nw-sticky-txt { display: flex; flex-direction: column; line-height: 1.25; }
.nw-sticky-txt b { font-size: 13px; }
.nw-sticky-txt span { font-family: var(--mono); font-size: 10px; color: var(--tx3); }

@keyframes nw-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes nw-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes nw-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── DESKTOP ── */
@media (min-width: 960px) {
  .nw-desk { display: flex; }
  .nw-stats.nw-desk { display: grid; }
  .nw-signin { display: inline; }
  .nw-wrap { padding: 0 24px 60px; }
  .nw-hero { padding: 50px 0 44px; }
  .nw-h1 { font-size: 62px; letter-spacing: -2px; }
  .nw-h1 br { display: none; }
  .nw-h1-accent::before { content: " "; }
  .nw-hero-sub { font-size: 17px; max-width: 480px; }
  .nw-hero-ctas { flex-direction: row; justify-content: center; }
  .nw-hero-ctas .nw-cta { width: auto; }
  .nw-band { font-size: 12px; flex-wrap: nowrap; }
  .nw-ai, .nw-how, .nw-unlock, .nw-cls, .nw-marq-wrap { margin-top: 80px; }
  .nw-h2 { font-size: 44px; }
  .nw-lead { font-size: 16px; }
  .nw-ai-stage { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: stretch; }
  .nw-net-frame { height: auto; min-height: 470px; }
  .nw-verdict { padding: 24px; }
  .nw-verdict-text { font-size: 19px; }
  .nw-steps { flex-direction: row; }
  .nw-step { flex: 1; padding: 24px; }
  .nw-unlock-grid { flex-direction: row; }
  .nw-unlock-card { flex: 1; padding: 24px; }
  .nw-cls-grid { grid-template-columns: repeat(4, 1fr); }
  .nw-final { padding: 56px 20px; margin-top: 90px; }
  .nw-final-h { font-size: 38px; }
  .nw-foot { flex-direction: row; justify-content: space-between; }
  .nw-sticky { display: none; }
}
