/* =========================================================
   NexLevelMatrix — Shared Design System
   Bootstrap 5.3 + custom theme. No build step required.
   ========================================================= */

:root {
  --nlm-bg: #020605;
  --nlm-bg-2: #031A11;
  --nlm-card: #063B25;
  --nlm-neon: #00FF66;
  --nlm-emerald: #00C978;
  --nlm-text: #F5FFF9;
  --nlm-text-2: #A8C1B3;
  --nlm-border: rgba(0, 255, 102, 0.35);
  --nlm-border-soft: rgba(0, 255, 102, 0.14);
  --nlm-glow: 0 0 18px rgba(0, 255, 102, 0.35);
  --nlm-glow-strong: 0 0 28px rgba(0, 255, 102, 0.55);
  --nlm-danger: #FF4D6A;
  --nlm-warning: #FFC94D;
  --nlm-info: #4DD6FF;
  --nlm-radius: 8px;
  --nlm-font-display: "Rajdhani", "Exo 2", sans-serif;
  --nlm-font-body: "Exo 2", system-ui, sans-serif;
  --nlm-font-heading: "Rajdhani", "Exo 2", sans-serif;
  --nlm-space-1: .25rem; --nlm-space-2: .5rem; --nlm-space-3: 1rem;
  --nlm-space-4: 1.5rem; --nlm-space-5: 3rem; --nlm-space-6: 5rem;

  /* Bootstrap overrides */
  --bs-body-bg: var(--nlm-bg);
  --bs-body-color: var(--nlm-text);
  --bs-body-font-family: var(--nlm-font-body);
  --bs-border-color: var(--nlm-border-soft);
  --bs-link-color: var(--nlm-neon);
  --bs-link-hover-color: var(--nlm-emerald);
  --bs-secondary-color: var(--nlm-text-2);
}

html { scroll-behavior: smooth; }
body {
  background: var(--nlm-bg);
  color: var(--nlm-text);
  font-family: var(--nlm-font-body);
  overflow-x: hidden;
}
.nlm-circuit {
  background-image:
    linear-gradient(rgba(0,255,102,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
h1,h2,h3,h4,h5,.nlm-display { font-family: var(--nlm-font-body); font-weight: 700; letter-spacing: 0; }
.text-neon { color: var(--nlm-neon) !important; }
.text-soft { color: var(--nlm-text-2) !important; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid var(--nlm-neon); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--nlm-neon); color: #000; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Logo ---------- */
.nlm-logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--nlm-text); }
.nlm-logo img { flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(0,255,102,.5)); }
.nlm-logo .wordmark { font-weight: 700; font-size: 1.45rem; line-height: 1; }
.nlm-logo .wordmark span { color: var(--nlm-neon); }
.nlm-logo small { display: block; font-size: .72rem; color: var(--nlm-text-2); margin-top: .2rem; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; padding: .7rem 1.4rem; min-height: 44px; transition: all .2s ease; }
.btn-neon { background: linear-gradient(180deg, #3dff8c, var(--nlm-neon)); color: #01200d; border: 0; box-shadow: var(--nlm-glow); }
.btn-neon:hover, .btn-neon:focus { color: #000; box-shadow: var(--nlm-glow-strong); transform: translateY(-1px); }
.btn-outline-neon { border: 1px solid var(--nlm-border); color: var(--nlm-text); background: rgba(0,255,102,.04); }
.btn-outline-neon:hover, .btn-outline-neon:focus { border-color: var(--nlm-neon); color: var(--nlm-neon); background: rgba(0,255,102,.08); }
.btn-sm { min-height: 36px; padding: .4rem .9rem; }
.btn:disabled, .btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Public navbar ---------- */
.nlm-nav { background: rgba(2,8,6,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nlm-border-soft); }
.nlm-nav .nav-link { color: var(--nlm-text-2); font-weight: 500; padding: .5rem .85rem !important; border-radius: 8px; }
.nlm-nav .nav-link:hover, .nlm-nav .nav-link.active { color: var(--nlm-neon); }
.nlm-nav .nav-link.active { background: rgba(0,255,102,.07); }
.navbar-toggler { border-color: var(--nlm-border); }
.navbar-toggler-icon { filter: invert(1); }

/* ---------- Hero ---------- */
.nlm-hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; padding: 8rem 0 5rem; overflow: hidden; }
.nlm-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/hero-bg.png") center / cover no-repeat; z-index: -2; }
.nlm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,8,6,.92) 0%, rgba(2,8,6,.62) 38%, rgba(2,8,6,.05) 68%), linear-gradient(0deg, var(--nlm-bg) 0%, transparent 22%), linear-gradient(180deg, rgba(2,8,6,.75) 0%, transparent 22%); }
.nlm-connect { position: absolute; right: 0; top: 38%; margin: 0; font-style: italic; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.25; color: var(--nlm-neon); text-shadow: 0 0 16px rgba(0,255,102,.55); transform: rotate(-4deg); text-align: left; }
.nlm-hero-title { font-size: clamp(2.6rem, 6.5vw, 5rem); font-style: italic; font-weight: 800; line-height: 1; }
.nlm-hero-title span { color: var(--nlm-neon); text-shadow: 0 0 22px rgba(0,255,102,.45); }
.nlm-hero-tag { font-size: clamp(1.4rem, 3vw, 2.3rem); font-style: italic; font-weight: 500; }
.nlm-check { list-style: none; padding: 0; }
.nlm-check li { display: flex; gap: .6rem; align-items: center; margin-bottom: .45rem; }
.nlm-check i { color: var(--nlm-neon); }
.nlm-hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }
.nlm-illustration-label { font-size: .72rem; color: var(--nlm-text-2); text-align: center; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Matrix SVG ---------- */
.matrix-svg line { stroke: var(--nlm-neon); stroke-width: 1.4; opacity: .55; }
.matrix-svg circle.node { fill: #04140d; stroke: var(--nlm-neon); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(0,255,102,.7)); }
.matrix-svg circle.node.root { fill: #0a3a20; stroke-width: 3; }
.matrix-svg circle.node.empty { stroke: rgba(0,255,102,.3); stroke-dasharray: 3 3; filter: none; }
.matrix-svg .pulse { animation: nlmPulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nlmPulse { 50% { opacity: .55; } }

/* ---------- Sections & cards ---------- */
.nlm-section { padding: var(--nlm-space-6) 0; position: relative; }
.nlm-eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nlm-neon); font-weight: 600; }
.nlm-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-style: italic; font-weight: 800; }
.nlm-card {
  background: linear-gradient(180deg, rgba(10,32,22,.85), rgba(6,19,15,.92));
  border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius);
  padding: var(--nlm-space-4); position: relative; height: 100%;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.nlm-card.corner::before, .nlm-card.corner::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--nlm-neon); opacity: .8; }
.nlm-card.corner::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--nlm-radius); }
.nlm-card.corner::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--nlm-radius); }
.nlm-card.hoverable:hover { border-color: var(--nlm-border); transform: translateY(-4px); box-shadow: var(--nlm-glow); }
.nlm-feature-icon { font-size: 2.3rem; color: var(--nlm-neon); filter: drop-shadow(0 0 8px rgba(0,255,102,.5)); }
.nlm-demo-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; padding: .2rem .6rem; border-radius: 999px; border: 1px dashed var(--nlm-warning); color: var(--nlm-warning); text-transform: uppercase; letter-spacing: .06em; }
.nlm-stat-label { color: var(--nlm-text-2); font-size: .85rem; }
.nlm-stat-value { font-size: 1.6rem; font-weight: 700; word-break: break-word; }

/* ---------- Tables ---------- */
.nlm-table { --bs-table-bg: transparent; --bs-table-color: var(--nlm-text); --bs-table-border-color: var(--nlm-border-soft); --bs-table-hover-bg: rgba(0,255,102,.05); --bs-table-hover-color: var(--nlm-text); margin: 0; }
.nlm-table th { color: var(--nlm-neon); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.nlm-table td { white-space: nowrap; vertical-align: middle; }
.nlm-table .ns { color: var(--nlm-text-2); font-style: italic; }

/* ---------- Stage selector ---------- */
.stage-pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.stage-pill { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); color: var(--nlm-text-2); border-radius: 10px; padding: .55rem 0; font-weight: 600; min-height: 44px; }
.stage-pill:hover { color: var(--nlm-text); border-color: var(--nlm-border); }
.stage-pill.active { background: rgba(0,255,102,.12); color: var(--nlm-neon); border-color: var(--nlm-neon); box-shadow: var(--nlm-glow); }
.stage-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stage-detail div { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-radius: 10px; padding: .7rem; }
.stage-detail small { color: var(--nlm-text-2); display: block; font-size: .75rem; }
.stage-detail strong { font-size: 1.05rem; }

/* ---------- Badges ---------- */
.nlm-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600; border: 1px solid; }
.nlm-badge.success { color: var(--nlm-neon); border-color: var(--nlm-border); background: rgba(0,255,102,.08); }
.nlm-badge.pending { color: var(--nlm-warning); border-color: rgba(255,201,77,.4); background: rgba(255,201,77,.08); }
.nlm-badge.danger { color: var(--nlm-danger); border-color: rgba(255,77,106,.4); background: rgba(255,77,106,.08); }
.nlm-badge.neutral { color: var(--nlm-text-2); border-color: var(--nlm-border-soft); }

/* ---------- Community CTA ---------- */
.nlm-community { position: relative; padding: 6rem 0; overflow: hidden; }
.nlm-community::before { content: ""; position: absolute; inset: 0; background: url("../images/community-bg.png") center / cover no-repeat; z-index: -2; }
.nlm-community::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,8,6,.92), rgba(2,8,6,.45) 55%, rgba(2,8,6,.15)), linear-gradient(0deg, var(--nlm-bg), transparent 25%, transparent 78%, var(--nlm-bg)); }
.nlm-cat-panel { width: 100%; border-radius: var(--nlm-radius); border: 1px solid var(--nlm-border); box-shadow: var(--nlm-glow-strong); display: block; }

/* ---------- Preview panels (dashboard / leaderboard) ---------- */
.nlm-panel { padding: var(--nlm-space-4) var(--nlm-space-4) var(--nlm-space-3); }
.nlm-panel-icon { font-size: 1.9rem; color: var(--nlm-neon); filter: drop-shadow(0 0 10px rgba(0,255,102,.6)); }
.nlm-panel-icon.gold { color: #FFC94D; filter: drop-shadow(0 0 10px rgba(255,201,77,.55)); }
.nlm-stat-num { display: block; font-size: 1.35rem; font-weight: 700; }
.nlm-stat-up { color: var(--nlm-neon); font-size: .78rem; font-weight: 600; }
.nlm-crown { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 2; color: #FFC94D; font-size: 1.5rem; filter: drop-shadow(0 0 8px rgba(255,201,77,.7)); }
.nlm-earners li { display: flex; align-items: center; gap: .8rem; padding: .7rem .4rem; border-bottom: 1px solid var(--nlm-border-soft); }
.nlm-earners li:last-child { border-bottom: 0; }
.nlm-medal { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; color: #08130d; flex-shrink: 0; }
.nlm-medal.gold { background: linear-gradient(180deg, #ffe08a, #f5b301); box-shadow: 0 0 10px rgba(245,179,1,.5); }
.nlm-medal.silver { background: linear-gradient(180deg, #e8edf1, #9fb0bd); }
.nlm-medal.bronze { background: linear-gradient(180deg, #e3a06b, #a05c2c); color: #fff; }
.nlm-avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; border: 1px solid var(--nlm-border); color: #04140d; }
.nlm-avatar.a1 { background: linear-gradient(135deg, #7dffab, #00c978); }
.nlm-avatar.a2 { background: linear-gradient(135deg, #ff9ecf, #b04de0); color: #fff; }
.nlm-avatar.a3 { background: linear-gradient(135deg, #8ad2ff, #2e6bd8); color: #fff; }
.nlm-earner-name { font-weight: 600; }
.nlm-earner-sum { margin-left: auto; color: var(--nlm-neon); font-size: 1.15rem; text-shadow: 0 0 10px rgba(0,255,102,.4); }

/* ---------- Footer ---------- */
.nlm-footer { border-top: 1px solid var(--nlm-border-soft); background: var(--nlm-bg-2); padding: 3rem 0 1.5rem; }
.nlm-footer a { color: var(--nlm-text-2); }
.nlm-footer a:hover { color: var(--nlm-neon); }
.nlm-social a { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--nlm-border-soft); border-radius: 10px; font-size: 1.15rem; }

/* ---------- Forms ---------- */
.form-label { color: var(--nlm-text); font-weight: 500; font-size: .92rem; }
.form-control, .form-select {
  background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); color: var(--nlm-text);
  border-radius: 10px; min-height: 48px; padding: .65rem 1rem;
}
.form-control::placeholder { color: rgba(166,181,174,.6); }
.form-control:focus, .form-select:focus { background: var(--nlm-bg-2); color: var(--nlm-text); border-color: var(--nlm-neon); box-shadow: 0 0 0 .2rem rgba(0,255,102,.15); }
.form-control.is-invalid { border-color: var(--nlm-danger); }
.form-control.is-valid { border-color: var(--nlm-emerald); }
.invalid-feedback { color: var(--nlm-danger); }
.input-group .btn-toggle-pw { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-left: 0; color: var(--nlm-text-2); border-radius: 0 10px 10px 0; min-width: 48px; }
.input-group .form-control { border-right: 0; }
.input-group .form-control:focus + .btn-toggle-pw { border-color: var(--nlm-neon); }
.form-check-input { background-color: var(--nlm-bg-2); border-color: var(--nlm-border); width: 1.15em; height: 1.15em; }
.form-check-input:checked { background-color: var(--nlm-neon); border-color: var(--nlm-neon); }
.input-icon { position: relative; }
.pw-strength { height: 6px; border-radius: 4px; background: var(--nlm-bg-2); overflow: hidden; }
.pw-strength span { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }

/* ---------- Auth pages ---------- */
.nlm-auth { min-height: 100vh; display: flex; position: relative; }
.nlm-auth::before { content: ""; position: absolute; inset: 0; background: url("../images/hero-bg.png") center / cover no-repeat; opacity: .3; z-index: -2; }
.nlm-auth::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(0,201,120,.12), transparent 60%), linear-gradient(90deg, rgba(2,8,6,.9), rgba(2,8,6,.75)); z-index: -1; }
.nlm-auth-card { background: rgba(8,23,18,.92); border: 1px solid var(--nlm-border); border-radius: 18px; padding: 2.25rem; box-shadow: 0 30px 80px rgba(0,0,0,.6), var(--nlm-glow); backdrop-filter: blur(8px); }
.nlm-auth-brand h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-style: italic; font-weight: 800; }

/* ---------- Alerts ---------- */
.nlm-alert { border-radius: 10px; padding: .8rem 1rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; border: 1px solid; }
.nlm-alert.error { color: #ffd0d8; background: rgba(255,77,106,.1); border-color: rgba(255,77,106,.4); }
.nlm-alert.warn { color: #ffe9b3; background: rgba(255,201,77,.08); border-color: rgba(255,201,77,.35); }
.nlm-alert.success { color: #c9ffdc; background: rgba(0,255,102,.08); border-color: var(--nlm-border); }
.nlm-alert.info { color: #c9f2ff; background: rgba(77,214,255,.08); border-color: rgba(77,214,255,.35); }

/* ---------- Dashboard ---------- */
.nlm-dash { display: flex; min-height: 100vh; }
.nlm-sidebar { width: 260px; flex-shrink: 0; background: var(--nlm-bg-2); border-right: 1px solid var(--nlm-border-soft); padding: 1.5rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.nlm-sidebar .nav-link { color: var(--nlm-text-2); display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 10px; font-weight: 500; margin-bottom: .2rem; }
.nlm-sidebar .nav-link i { font-size: 1.1rem; }
.nlm-sidebar .nav-link:hover { color: var(--nlm-text); background: rgba(0,255,102,.05); }
.nlm-sidebar .nav-link.active { color: var(--nlm-neon); background: rgba(0,255,102,.1); box-shadow: inset 3px 0 0 var(--nlm-neon); }
.nlm-main { flex: 1; min-width: 0; overflow-x: hidden; }
.nlm-topbar { position: sticky; top: 0; z-index: 1020; background: rgba(2,8,6,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nlm-border-soft); padding: .8rem 1.5rem; }
.nlm-icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--nlm-border-soft); background: var(--nlm-bg-2); color: var(--nlm-text); position: relative; }
.nlm-icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; background: var(--nlm-neon); border-radius: 50%; box-shadow: var(--nlm-glow); }
.offcanvas.nlm-offcanvas { background: var(--nlm-bg-2); color: var(--nlm-text); border-right: 1px solid var(--nlm-border); width: 280px; }
.dropdown-menu { background: var(--nlm-card); border: 1px solid var(--nlm-border-soft); --bs-dropdown-link-color: var(--nlm-text); --bs-dropdown-link-hover-bg: rgba(0,255,102,.08); --bs-dropdown-link-hover-color: var(--nlm-neon); --bs-dropdown-divider-bg: var(--nlm-border-soft); }
.summary-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,255,102,.1); color: var(--nlm-neon); font-size: 1.3rem; border: 1px solid var(--nlm-border-soft); }
.copy-field { display: flex; gap: .5rem; }
.copy-field code { flex: 1; min-width: 0; background: var(--nlm-bg-2); border: 1px dashed var(--nlm-border); border-radius: 10px; padding: .7rem 1rem; color: var(--nlm-neon); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlm-empty { text-align: center; padding: 2rem 1rem; border: 1px dashed var(--nlm-border-soft); border-radius: var(--nlm-radius); }
.nlm-empty i { font-size: 2.2rem; color: var(--nlm-emerald); }
.nlm-skeleton { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--nlm-bg-2), rgba(0,255,102,.08), var(--nlm-bg-2)); background-size: 200% 100%; animation: nlmShimmer 1.4s infinite; }
@keyframes nlmShimmer { to { background-position: -200% 0; } }
.state-switcher { border: 1px dashed var(--nlm-warning); border-radius: 12px; padding: .75rem 1rem; }

/* ---------- Toast ---------- */
.toast { background: var(--nlm-card); color: var(--nlm-text); border: 1px solid var(--nlm-border); box-shadow: var(--nlm-glow); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .nlm-sidebar { display: none; }
  .nlm-hero { min-height: auto; padding-top: 6.5rem; text-align: left; }
  .nlm-hero::after { background: linear-gradient(180deg, rgba(2,8,6,.9), rgba(2,8,6,.8) 60%, var(--nlm-bg)); }
  .nlm-nav .navbar-collapse { padding: 1rem 0; }
}
@media (max-width: 575.98px) {
  .nlm-section { padding: 3.5rem 0; }
  .stage-pills { grid-template-columns: repeat(3, 1fr); }
  .stage-detail { grid-template-columns: repeat(2, 1fr); }
  .nlm-auth-card { padding: 1.5rem; }
  .nlm-topbar { padding: .7rem 1rem; }
  .nlm-logo .wordmark { font-size: 1.2rem; }
  .nlm-logo img { max-width: 48px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Premium reference restoration: artwork remains unobscured; lighting uses theme tokens. */
:root {
 --nlm-lime: #B7FF4A; --nlm-turquoise: #00FFD0;
 --nlm-glass: color-mix(in srgb, var(--nlm-bg-2) 66%, transparent);
 --nlm-reflection: color-mix(in srgb, var(--nlm-neon) 18%, transparent);
 --nlm-shadow: color-mix(in srgb, var(--nlm-bg) 90%, transparent);
 --nlm-bloom: 0 0 4px var(--nlm-reflection), 0 0 20px var(--nlm-reflection), 0 0 40px color-mix(in srgb, var(--nlm-emerald) 12%, transparent);
 --nlm-surface: linear-gradient(135deg, var(--nlm-glass), color-mix(in srgb, var(--nlm-bg) 92%, transparent) 58%, var(--nlm-glass));
}
.container { max-width: 1240px; }
.nlm-nav { min-height: 76px; background: var(--nlm-shadow); border-bottom-color: var(--nlm-border); box-shadow: 0 1px 12px var(--nlm-reflection); }
.nlm-nav .nlm-logo img { width: 76px; height: auto; }
.nlm-logo .wordmark { font-size: 24px; font-weight: 800; }
.nlm-logo small { color: var(--nlm-text); font-size: 11px; }
.nlm-nav .nav-link { font-size: 13px; padding-inline: 10px !important; }
.nlm-hero { isolation: isolate; margin-top: 76px; min-height: 460px; padding: 46px 0 42px; }
.nlm-hero::before { background-position: center; filter: saturate(1.18) brightness(1.1); }
.nlm-hero::after { background: linear-gradient(90deg, color-mix(in srgb, var(--nlm-bg) 58%, transparent), transparent 52%), linear-gradient(0deg, var(--nlm-bg), transparent 10%); }
.nlm-hero-title { font-size: 64px; line-height: 1.05; font-weight: 800; white-space: nowrap; }
.nlm-hero-tag { font-size: 30px; line-height: 1.2; }
.nlm-hero .lead { font-size: 16px; max-width: 430px !important; line-height: 1.45; color: var(--nlm-text) !important; }
.nlm-check { font-size: 14px; }
.nlm-check i { filter: drop-shadow(0 0 4px var(--nlm-neon)); }
.nlm-connect { right: 0; top: 20px; font-family: var(--nlm-font-display); font-size: 34px; line-height: 1.2; font-weight: 700; transform: rotate(-10deg); }
.btn { border-radius: 8px; }
.btn-neon { background: linear-gradient(165deg, var(--nlm-lime), var(--nlm-neon) 50%, var(--nlm-emerald)); color: var(--nlm-bg); border: 1px solid var(--nlm-neon); box-shadow: 0 0 4px var(--nlm-neon), 0 0 18px var(--nlm-reflection), inset 0 1px 0 var(--nlm-lime); }
.btn-neon:hover, .btn-neon:focus { color: var(--nlm-bg); box-shadow: 0 0 8px var(--nlm-neon), 0 0 28px var(--nlm-reflection); }
.btn-outline-neon { background: var(--nlm-shadow); border-color: var(--nlm-neon); }
.nlm-section { padding: 52px 0; }
.nlm-features { padding-bottom: 26px; }
.nlm-card { background: var(--nlm-surface); border-color: var(--nlm-border); box-shadow: inset 0 1px 0 var(--nlm-reflection), inset 0 -1px 12px color-mix(in srgb, var(--nlm-emerald) 7%, transparent), var(--nlm-bloom); backdrop-filter: blur(6px); }
.nlm-card.corner::before, .nlm-card.corner::after { width: 26px; height: 26px; box-shadow: -3px -3px 14px var(--nlm-reflection); }
.nlm-features .nlm-card { padding: 18px 12px; min-height: 164px; }
.nlm-feature-icon { font-size: 35px; }
.nlm-features h3 { font-size: 15px; line-height: 1.2; }
.nlm-features p { font-size: 12px; line-height: 1.4; }
#preview { padding-bottom: 22px; }
.nlm-panel { overflow: hidden; padding: 20px; min-height: 290px; }
.nlm-stat-block { border: 1px solid var(--nlm-border-soft); background: var(--nlm-glass); padding: 12px; }
.nlm-network-art { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center top; padding-top: 10px; border-radius: 4px; }
.nlm-panel .h4 { font-size: 22px; }
.nlm-stat-num { font-size: 20px; }
.nlm-earners li { background: linear-gradient(90deg, var(--nlm-glass), transparent); margin-bottom: 5px; }
.nlm-earner-name { font-size: 14px; }
.nlm-earner-sum { font-size: 18px; white-space: nowrap; }
.nlm-section-heading { margin-bottom: 28px; max-width: 800px; }
.nlm-section-title { font-size: 36px; line-height: 1.15; }
.nlm-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.nlm-plan-heading h3 { font-family: var(--nlm-font-display); font-size: 30px; margin: 0; }
.nlm-plan-entry { font-family: var(--nlm-font-display); font-size: 34px; color: var(--nlm-neon); line-height: 1; text-align: right; }
.nlm-plan-entry small { display: block; font-family: var(--nlm-font-body); font-size: 12px; color: var(--nlm-text-2); margin-top: 5px; }
.nlm-payplan { font-size: 13px; font-variant-numeric: tabular-nums; }
.nlm-payplan th, .nlm-payplan td { padding: 13px 8px; text-align: right; }
.nlm-payplan th:first-child, .nlm-payplan td:first-child { text-align: left; }
.nlm-payplan td:nth-child(2) { color: var(--nlm-neon); font-weight: 700; }
.nlm-payplan tbody tr:nth-child(even) { background: var(--nlm-glass); }
.nlm-payplan thead { background: var(--nlm-reflection); }
.nlm-disclosure { font-size: 13px; color: var(--nlm-text-2); margin: 20px 0 0; line-height: 1.6; }
.nlm-token { border-block: 1px solid var(--nlm-border-soft); background: linear-gradient(120deg, var(--nlm-bg-2), var(--nlm-bg) 70%); }
.nlm-token-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }
.nlm-flow { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; gap: 12px; }
.nlm-flow article { min-width: 0; padding-top: 22px; border-top: 1px solid var(--nlm-neon); }
.nlm-flow article > i { font-size: 42px; color: var(--nlm-neon); filter: drop-shadow(0 0 8px var(--nlm-reflection)); }
.nlm-flow h3 { font-family: var(--nlm-font-display); font-size: 24px; line-height: 1.1; margin: 16px 0 12px; }
.nlm-flow p { font-size: 14px; color: var(--nlm-text-2); line-height: 1.6; }
.nlm-flow-arrow { align-self: start; margin-top: 48px; color: var(--nlm-turquoise); font-size: 24px; filter: drop-shadow(0 0 6px var(--nlm-neon)); }
.nlm-token-info h3 { font-size: 22px; }
.nlm-token-symbol { display: block; font-size: 38px; color: var(--nlm-neon); margin-bottom: 8px; }
.nlm-token-info dl { font-size: 13px; margin: 20px 0; }
.nlm-token-info dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--nlm-border-soft); }
.nlm-token-info dt { font-weight: 500; color: var(--nlm-text-2); }
.nlm-token-info dd { margin: 0; text-align: right; }
[aria-disabled="true"][data-token-details] { opacity: .55; cursor: not-allowed; }
.nlm-mechanism-status { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 18px 0; border-block: 1px solid var(--nlm-border-soft); margin-top: 20px; font-size: 12px; color: var(--nlm-text-2); }
.nlm-mechanism-status span:first-child { color: var(--nlm-lime); }
.nlm-community { isolation: isolate; padding: 45px 0; min-height: 300px; }
.nlm-community::before { background-size: cover; filter: saturate(1.2) brightness(1.15); }
.nlm-community::after { background: linear-gradient(90deg, color-mix(in srgb, var(--nlm-bg) 55%, transparent), transparent 50%), linear-gradient(0deg, var(--nlm-bg), transparent 18%, transparent 85%, var(--nlm-bg)); }
.nlm-community .lead { font-size: 16px; color: var(--nlm-text) !important; }
.nlm-cat-panel { border-radius: 8px; box-shadow: var(--nlm-bloom); }
.nlm-footer { padding: 20px 0; border-top-color: var(--nlm-neon); background: var(--nlm-bg); box-shadow: 0 -2px 20px var(--nlm-reflection); }
.nlm-footer .list-inline { font-size: 13px; }
.nlm-social a { border: 0; width: 28px; height: 32px; }
.nlm-auth { isolation: isolate; }
.nlm-auth::before { opacity: .95; filter: saturate(1.2); background-position: center; }
.nlm-auth::after { background: linear-gradient(90deg, var(--nlm-shadow), color-mix(in srgb, var(--nlm-bg) 24%, transparent) 55%, var(--nlm-glass)); }
.nlm-auth-card { border-radius: 8px; background: color-mix(in srgb, var(--nlm-bg) 88%, transparent); box-shadow: 0 25px 70px var(--nlm-shadow), var(--nlm-bloom), inset 0 1px 0 var(--nlm-reflection); }
.nlm-auth-brand h1 { font-size: 46px; }
.nlm-sidebar { background: linear-gradient(180deg, var(--nlm-bg-2), var(--nlm-bg)); border-right-color: var(--nlm-border); }
.nlm-sidebar .nlm-logo { gap: 8px; padding-inline: 0 !important; }
.nlm-topbar { border-bottom-color: var(--nlm-border); }
.nlm-plan-details summary { color: var(--nlm-neon); cursor: pointer; font-size: 13px; }
.stage-detail div { background: transparent; border: 0; border-radius: 0; padding: 8px 0; border-bottom: 1px solid var(--nlm-border-soft); }
.stage-detail strong { overflow-wrap: anywhere; }
.nlm-reward-summary { border-bottom: 1px solid var(--nlm-border-soft); padding: 8px 0; }
.nlm-reward-summary small { display: block; color: var(--nlm-text-2); }
.nlm-reward-summary strong { display: block; overflow-wrap: anywhere; font-size: 14px; }
.nlm-auth-card, .nlm-card { animation: nlmEdgeLight 6s ease-in-out infinite; }
@keyframes nlmEdgeLight { 50% { border-color: color-mix(in srgb, var(--nlm-neon) 65%, transparent); } }
@media (min-width: 992px) and (max-width: 1199px) {
 .nlm-nav .nlm-logo img { width: 60px; } .nlm-nav .wordmark { font-size: 21px; }
 .nlm-nav .nav-link { padding-inline: 7px !important; font-size: 12px; }
 .nlm-hero-title { font-size: 48px; } .nlm-hero-tag { font-size: 26px; }
}
@media (max-width: 991px) {
 .nlm-hero { min-height: 640px; padding: 32px 0 285px; }
 .nlm-hero::before { background-size: auto 370px; background-position: 77% bottom; }
 .nlm-hero::after { background: linear-gradient(180deg, var(--nlm-bg) 5%, transparent 55%); }
 .nlm-hero-title { font-size: 54px; } .nlm-hero-tag { font-size: 28px; }
 .nlm-token-layout { grid-template-columns: 1fr; }
 .nlm-token-info { max-width: 550px; }
 .nlm-auth-brand h1 { font-size: 36px; }
 .nlm-auth::before { background-size: auto 800px; background-position: right top; }
}
@media (max-width: 575px) {
 .nlm-nav { min-height: 68px; } .nlm-nav .nlm-logo img { width: 52px; }
 .nlm-hero { margin-top: 68px; min-height: 710px; padding: 34px 0 270px; }
 .nlm-hero-title { font-size: 34px; } .nlm-hero-tag { font-size: 21px; }
 .nlm-hero .lead { font-size: 14px; }
 .nlm-hero .btn { font-size: 14px; padding: 12px; }
 .nlm-section { padding-block: 32px; }
 .nlm-features .nlm-card { min-height: 140px; }
 .nlm-section-title { font-size: 29px; }
 .nlm-token-info { max-width: none; }
 .nlm-flow { grid-template-columns: 1fr; }
 .nlm-flow article { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
 .nlm-flow h3 { margin: 8px 0; } .nlm-flow p { grid-column: 2; }
 .nlm-flow-arrow { margin: 0 0 0 10px; transform: rotate(90deg); }
 .nlm-community { padding-top: 32px; }
 .nlm-community::before { background-size: auto 340px; background-position: center top; }
 .nlm-community .row { row-gap: 100px !important; }
 .nlm-auth-brand { display: none; }
 .nlm-plan-panel { padding: 16px; }
 .nlm-payplan { font-size: 12px; }
 .nlm-panel { padding: 16px; }
 .nlm-earners li { gap: 7px; }
 .nlm-earner-name { font-size: 12px; } .nlm-earner-sum { font-size: 15px; }
 .nlm-demo-badge { font-size: 9px; letter-spacing: 0; }
 .nlm-logo .wordmark { font-size: 20px; }
}
@media (max-width: 359px) { .nlm-hero-title { font-size: 29px; } }
@media (prefers-reduced-motion: reduce) { .nlm-auth-card, .nlm-card { animation: none; } }

/* Targeted wide-screen correction: keep the medium composition, cap artwork
   at its natural aspect ratio instead of enlarging it to fill ultrawide screens. */
@media (min-width: 992px) and (max-width: 1279px) { .nlm-hero { min-height: 484px; } }
#token, #plans, #early-information { scroll-margin-top: 92px; }
@media (min-width: 1280px) {
 .nlm-hero::before { left: 50%; right: auto; width: 1296px; max-width: 100%; transform: translateX(-50%); background-size: contain; background-position: center; }
 .nlm-hero::after { background: linear-gradient(90deg, var(--nlm-bg), transparent calc(50% - 590px), transparent calc(50% + 590px), var(--nlm-bg)), linear-gradient(0deg, var(--nlm-bg), transparent 12%); }
}
.nlm-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nlm-nav-actions .btn { white-space: nowrap; padding-inline: 16px; }
.nlm-nav-actions .btn-outline-neon:hover { color: var(--nlm-text); box-shadow: var(--nlm-glow); }
@media (min-width: 992px) and (max-width: 1279px) {
 .nlm-nav-actions { gap: 6px; } .nlm-nav-actions .btn { padding-inline: 10px; font-size: 12px; }
 .nlm-nav .nav-link { padding-inline: 6px !important; }
}
@media (max-width: 991px) { .nlm-nav-actions { margin-top: 16px; } }
[hidden] { display: none !important; }
.nlm-reveal { text-align: center; }
.nlm-reveal-heading { max-width: 780px; margin-inline: auto; }
.nlm-reveal-heading .nlm-section-title { margin-top: 12px; }
.nlm-reveal-subtitle { font-family: var(--nlm-font-display); font-size: 25px; line-height: 1.25; margin: 16px 0; }
.nlm-reveal-heading p { line-height: 1.7; }
.nlm-reveal-status { color: var(--nlm-neon); font-size: 21px; font-family: var(--nlm-font-display); font-weight: 700; margin: 30px 0 24px; }
.nlm-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 750px; margin: 0 auto 30px; }
.nlm-countdown-block { background: var(--nlm-surface); border: 1px solid var(--nlm-border); border-radius: var(--nlm-radius); padding: 22px 8px; box-shadow: var(--nlm-bloom); min-height: 140px; animation: nlmEdgeLight 6s ease-in-out infinite; }
.nlm-countdown-block strong { display: block; font-family: var(--nlm-font-display); font-size: 58px; line-height: 1; color: var(--nlm-neon); font-variant-numeric: tabular-nums; text-shadow: var(--nlm-glow); overflow-wrap: anywhere; }
.nlm-countdown-block span { display: block; font-size: 12px; margin-top: 16px; color: var(--nlm-text-2); }
.nlm-security-note { display: flex; align-items: start; gap: 12px; max-width: 780px; margin: 28px auto 0; font-size: 13px; color: var(--nlm-text-2); line-height: 1.7; text-align: left; border-top: 1px solid var(--nlm-border-soft); padding-top: 22px; }
.nlm-token-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 44px 0 56px; text-align: left; }
.nlm-token-features article { padding: 28px; }
.nlm-token-features h3 { font-family: var(--nlm-font-display); font-size: 23px; line-height: 1.2; margin: 20px 0 14px; }
.nlm-token-features p { font-size: 14px; line-height: 1.7; margin: 0; }
.nlm-mystery { display: flex; align-items: center; justify-content: center; gap: 36px; margin: 10px auto 56px; max-width: 900px; text-align: left; }
.nlm-mystery-art { width: 300px; max-width: 44vw; height: auto; border-radius: 50%; box-shadow: 0 0 60px rgba(0,255,102,.35), 0 0 140px rgba(0,201,120,.18); animation: nlmTokenFloat 7s ease-in-out infinite; }
.nlm-mystery-title { font-family: var(--nlm-font-display); font-weight: 700; font-style: italic; font-size: 42px; line-height: 1.1; color: var(--nlm-neon); text-shadow: var(--nlm-glow); margin: 0 0 14px; }
.nlm-mystery-sub { font-size: 17px; color: var(--nlm-text); margin: 0; max-width: 420px; line-height: 1.6; }
@keyframes nlmTokenFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.nlm-reveal-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; max-width: 980px; margin: 0 auto 20px; text-align: left; }
.nlm-reveal-timeline::before { content: ""; position: absolute; inset: 30px 6% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--nlm-neon), transparent); box-shadow: var(--nlm-glow); }
.nlm-timeline-step { background: var(--nlm-surface); border: 1px solid var(--nlm-border); border-radius: var(--nlm-radius); padding: 26px 22px; position: relative; }
.nlm-timeline-dot { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--nlm-bg-2); border: 1px solid var(--nlm-border); color: var(--nlm-neon); font-size: 24px; box-shadow: var(--nlm-bloom); }
.nlm-timeline-step h4 { font-family: var(--nlm-font-display); font-size: 19px; margin: 18px 0 10px; }
.nlm-timeline-step p { font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.nlm-lock-badge { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--nlm-text-2); border: 1px dashed var(--nlm-border); border-radius: 999px; padding: 5px 12px; }
.nlm-security-note i { font-size: 26px; color: var(--nlm-neon); }
.nlm-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.nlm-benefits::before { content: ""; position: absolute; inset: 44px 0 auto; height: 1px; background: var(--nlm-neon); box-shadow: var(--nlm-glow); }
.nlm-benefits article { padding: 28px; }
.nlm-benefits h3 { font-family: var(--nlm-font-display); font-size: 25px; line-height: 1.2; margin: 20px 0 14px; }
.nlm-benefits p { font-size: 14px; line-height: 1.7; margin: 0; }
.nlm-benefit-number { float: right; font-family: var(--nlm-font-display); font-size: 24px; color: var(--nlm-text-2); }
.nlm-early-cta { margin-top: 28px; }
.nlm-official-reveal { max-width: 780px; margin: 24px auto; text-align: left; border-block: 1px solid var(--nlm-border); padding-block: 24px; }
.nlm-official-reveal dl div { padding: 10px 0; border-bottom: 1px solid var(--nlm-border-soft); }
.nlm-official-reveal dt { color: var(--nlm-text-2); font-size: 13px; }
.nlm-official-reveal dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.nlm-official-reveal a { margin: 10px 10px 0 0; }
@media (max-width: 767px) {
 .nlm-benefits { grid-template-columns: 1fr; } .nlm-benefits::before { display: none; }
 .nlm-countdown { gap: 8px; } .nlm-countdown-block { padding: 18px 4px; min-height: 110px; }
 .nlm-countdown-block strong { font-size: 36px; } .nlm-countdown-block span { font-size: 10px; }
 .nlm-reveal-subtitle { font-size: 22px; }
 .nlm-token-features { grid-template-columns: 1fr; }
 .nlm-mystery { flex-direction: column; text-align: center; gap: 24px; }
 .nlm-mystery-art { width: 220px; max-width: 70vw; }
 .nlm-mystery-title { font-size: 30px; }
 .nlm-mystery-sub { margin-inline: auto; }
 .nlm-reveal-timeline { grid-template-columns: 1fr; }
 .nlm-reveal-timeline::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nlm-countdown-block { animation: none; } }

/* Homepage refinements: preserve the existing template typography elsewhere. */
.nlm-homepage h1, .nlm-homepage h2, .nlm-homepage .nlm-connect { font-family: var(--nlm-font-heading); font-weight: 700; letter-spacing: .01em; }
.nlm-homepage .nlm-hero-title { font-size: 48px; }
.nlm-homepage .nlm-hero-tag { font-size: 23px; line-height: 1.45; max-width: 520px; }
.nlm-homepage .nlm-connect { font-size: 28px; line-height: 1.5; }
.nlm-homepage .nlm-section-title { font-size: 30px; line-height: 1.5; }
.nlm-homepage .nlm-panel h2 { font-size: 18px; line-height: 1.5; }
.nlm-homepage section[id] { scroll-margin-top: 92px; }
.nlm-vision { border-block: 1px solid var(--nlm-border-soft); }
.nlm-ecosystem-art { display: block; width: 100%; height: auto; object-fit: contain; }
.nlm-vision p, .nlm-future p { line-height: 1.8; }
.nlm-journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.nlm-journey li { position: relative; min-width: 0; }
.nlm-journey li:not(:last-child)::after { content: ""; height: 1px; position: absolute; top: 28px; left: 56px; right: -20px; background: var(--nlm-neon); box-shadow: var(--nlm-glow); }
.nlm-journey-node { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--nlm-neon); border-radius: 50%; color: var(--nlm-neon); background: var(--nlm-bg-2); box-shadow: var(--nlm-glow); font-size: 23px; }
.nlm-journey small { display: block; margin-top: 20px; color: var(--nlm-turquoise); }
.nlm-journey h3 { font-size: 18px; margin: 10px 0; line-height: 1.4; }
.nlm-journey p { font-size: 14px; line-height: 1.7; color: var(--nlm-text-2); }
.nlm-ambition { background: var(--nlm-surface); border-block: 1px solid var(--nlm-border); }
.nlm-highlights { list-style: none; padding: 0; margin: 0; }
.nlm-highlights li { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--nlm-border-soft); padding: 16px 0; }
.nlm-highlights i { color: var(--nlm-neon); font-size: 24px; }
.nlm-progression { border-top: 1px solid var(--nlm-neon); padding: 24px 0 0; }
.nlm-progression h3 { font-family: var(--nlm-font-display); font-size: 28px; }
.nlm-progression .matrix-svg { width: 100%; height: 230px; margin: 12px 0; }
.nlm-progression .stage-pill { border-radius: 8px; }
.nlm-progression .stage-detail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nlm-progression .stage-detail strong { font-size: 16px; }
.nlm-future { position: relative; isolation: isolate; background: var(--nlm-bg-2); }
.nlm-future::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--nlm-bg), color-mix(in srgb, var(--nlm-bg) 94%, transparent) 30%, color-mix(in srgb, var(--nlm-bg) 10%, transparent)); }
.nlm-future-copy { max-width: 660px; padding-block: 25px; }
.nlm-trust { border-block: 1px solid var(--nlm-border-soft); }
.nlm-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.nlm-trust-grid article { display: flex; align-items: start; gap: 16px; padding-top: 20px; border-top: 1px solid var(--nlm-border); }
.nlm-trust-grid i { color: var(--nlm-turquoise); font-size: 28px; }
.nlm-trust-grid h3 { font-size: 19px; line-height: 1.4; }
.nlm-trust-grid p { font-size: 14px; line-height: 1.7; color: var(--nlm-text-2); }
.nlm-faq-inner { max-width: 920px; }
.nlm-homepage .accordion-button { background: transparent; color: var(--nlm-text); line-height: 1.6; }
.nlm-homepage .accordion-button:not(.collapsed) { color: var(--nlm-neon); box-shadow: none; }
.nlm-homepage .nlm-community .nlm-section-title { font-size: 30px; }
@media (min-width: 992px) and (max-width: 1199px) { .nlm-homepage .nlm-hero-title { font-size: 36px; } .nlm-homepage .nlm-hero-tag { font-size: 19px; } }
@media (max-width: 991px) {
 .nlm-homepage .nlm-hero-title { font-size: 44px; }
 .nlm-journey { grid-template-columns: 1fr; gap: 24px; }
 .nlm-journey li { padding-left: 78px; }
 .nlm-journey-node { position: absolute; top: 0; left: 0; }
 .nlm-journey small { margin-top: 0; }
 .nlm-journey li:not(:last-child)::after { width: 1px; height: auto; top: 56px; bottom: -24px; left: 28px; right: auto; }
 .nlm-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .nlm-future::before { opacity: .25; }
}
@media (max-width: 575px) {
 .nlm-homepage .nlm-hero-title { font-size: 26px; }
 .nlm-homepage .nlm-hero-tag { font-size: 18px; }
 .nlm-homepage .nlm-section-title, .nlm-homepage .nlm-community .nlm-section-title { font-size: 22px; line-height: 1.6; }
 .nlm-homepage .nlm-panel h2 { font-size: 16px; }
 .nlm-trust-grid { grid-template-columns: 1fr; }
 .nlm-progression .stage-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .nlm-progression .matrix-svg { height: 180px; }
 .nlm-homepage .nlm-community .row { row-gap: 36px !important; }
}
@media (max-width: 359px) { .nlm-homepage .nlm-hero-title { font-size: 23px; } }

/* ---------- Hero hook + CTA trust row ---------- */
.nlm-hero-hook { font-family: var(--nlm-font-heading); font-size: 17px; color: var(--nlm-text); margin: 0 0 14px; }
.nlm-hero-hook strong { color: var(--nlm-neon); text-shadow: 0 0 10px var(--nlm-reflection); white-space: nowrap; }
.nlm-cta-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 18px 0 0; }
.nlm-cta-trust li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--nlm-text-2); }
.nlm-cta-trust i { color: var(--nlm-neon); font-size: 15px; filter: drop-shadow(0 0 4px var(--nlm-reflection)); }

/* ---------- Animated numbers strip ---------- */
.nlm-numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nlm-number { text-align: center; padding: 22px 10px; border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); background: var(--nlm-glass); box-shadow: var(--nlm-bloom); }
.nlm-number strong { display: block; font-family: var(--nlm-font-display); font-size: 34px; line-height: 1.1; color: var(--nlm-neon); text-shadow: 0 0 14px var(--nlm-reflection); font-variant-numeric: tabular-nums; }
.nlm-number strong small { font-size: 14px; color: var(--nlm-text-2); font-weight: 600; }
.nlm-number > span { display: block; margin-top: 8px; font-size: 12px; color: var(--nlm-text-2); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 767px) { .nlm-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nlm-number strong { font-size: 24px; } }

/* ---------- Stage ladder ---------- */
.nlm-ladder { margin: 0 0 30px; max-width: 640px; }
.nlm-ladder-title { display: block; font-size: 13px; color: var(--nlm-text-2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.nlm-ladder-step { padding: 3px 0; }
.nlm-ladder-bar { width: var(--w); min-width: 130px; display: flex; align-items: baseline; gap: 10px; padding: 9px 14px; border: 1px solid var(--nlm-border); border-radius: 8px; background: linear-gradient(90deg, rgba(0,255,102,.16), rgba(0,255,102,.03)); box-shadow: var(--nlm-bloom); white-space: nowrap; }
.nlm-ladder-bar strong { font-family: var(--nlm-font-display); color: var(--nlm-neon); font-size: 15px; }
.nlm-ladder-bar span { font-size: 13px; font-weight: 700; }
.nlm-ladder-bar small { font-size: 11px; color: var(--nlm-text-2); }
@media (max-width: 575px) { .nlm-ladder-bar { flex-wrap: wrap; gap: 4px 10px; white-space: normal; } }

/* ---------- Sticky mobile join bar ---------- */
.nlm-sticky-join { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--nlm-bg) 88%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--nlm-border); box-shadow: 0 -4px 20px rgba(0,0,0,.5); }
@media (max-width: 991px) { .nlm-homepage .nlm-footer { padding-bottom: 90px; } }

/* Verified ecosystem totals and permanent contract safety */
.nlm-platform-stats { display: grid; gap: 10px; }
.nlm-platform-stat { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); background: var(--nlm-glass); box-shadow: var(--nlm-bloom); min-width: 0; }
.nlm-platform-stat i { color: var(--nlm-neon); font-size: 25px; }
.nlm-platform-stat small { display: block; color: var(--nlm-text-2); font-size: 11px; text-transform: uppercase; }
.nlm-platform-stat strong { display: block; font-family: var(--nlm-font-heading); font-size: 26px; color: var(--nlm-neon); line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.nlm-early-information .nlm-section-heading { max-width: 1000px; }
.nlm-early-information .nlm-section-title { line-height: 1.35; margin: 18px 0; }
.nlm-early-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nlm-early-benefits h3 { font-size: 23px; }
.nlm-early-decision { border-left: 3px solid var(--nlm-neon); padding-left: 24px; margin-top: 36px; max-width: 950px; }
.nlm-contract-security { border-block: 1px solid var(--nlm-neon); background: var(--nlm-surface); }
.nlm-security-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.nlm-security-shield { font-size: 64px; color: var(--nlm-neon); filter: drop-shadow(var(--nlm-glow)); }
.nlm-contract-verification { border-block: 1px solid var(--nlm-border); padding: 24px 0; margin: 28px 0; }
.nlm-contract-address-row { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.nlm-contract-address-row strong { font-size: 24px; color: var(--nlm-neon); overflow-wrap: anywhere; min-width: 0; }
.nlm-contract-address-row .btn { flex-shrink: 0; }
.nlm-contract-copy-status { color: var(--nlm-neon); margin: 8px 0 0; min-height: 24px; }
.nlm-security-reminders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; padding-left: 20px; color: var(--nlm-text-2); }
@media (max-width: 1199px) { .nlm-early-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nlm-early-benefits, .nlm-security-reminders { grid-template-columns: 1fr; } .nlm-security-heading { align-items: flex-start; gap: 14px; } .nlm-security-shield { font-size: 36px; } .nlm-contract-address-row strong { font-size: 20px; } }

/* ---------- Compact permanent safety panel (inside token section) ---------- */
.nlm-safety-panel { margin-top: 40px; padding: 26px 28px; border: 1px solid var(--nlm-warning); border-radius: var(--nlm-radius); background: color-mix(in srgb, var(--nlm-warning) 7%, var(--nlm-surface)); box-shadow: var(--nlm-bloom); }
.nlm-safety-title { font-family: var(--nlm-font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--nlm-warning); font-size: 22px; margin-bottom: 14px; }
.nlm-safety-panel .nlm-contract-verification { margin: 18px 0 0; padding: 18px 0 4px; }
.nlm-early-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .nlm-early-benefits { grid-template-columns: 1fr; } }

/* ---------- Token Updates page (dashboard) ---------- */
.nlm-token-hero-art { width: 190px; max-width: 60vw; height: auto; border-radius: 50%; box-shadow: 0 0 40px rgba(0,255,102,.3), 0 0 90px rgba(0,201,120,.15); animation: nlmTokenFloat 7s ease-in-out infinite; }
.nlm-milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; counter-reset: milestone; }
.nlm-milestone { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); padding: 1rem .85rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; position: relative; }
.nlm-milestone[data-status="progress"] { border-color: var(--nlm-border); box-shadow: var(--nlm-glow); }
.nlm-milestone-dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nlm-card); border: 1px solid var(--nlm-border); color: var(--nlm-neon); font-size: 1.15rem; }
.nlm-milestone[data-status="soon"] .nlm-milestone-dot { opacity: .55; border-style: dashed; }
.nlm-milestone strong { font-size: .92rem; line-height: 1.25; }
.nlm-flow { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.nlm-flow li { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); padding: 1rem .75rem; text-align: center; display: flex; flex-direction: column; gap: .45rem; align-items: center; position: relative; }
.nlm-flow li i { font-size: 1.5rem; color: var(--nlm-neon); filter: drop-shadow(0 0 6px rgba(0,255,102,.5)); }
.nlm-flow li span { font-size: .82rem; font-weight: 600; }
.nlm-flow li:not(:last-child)::after { content: "\F135"; font-family: "bootstrap-icons"; position: absolute; right: -.75rem; top: 50%; transform: translateY(-50%); color: var(--nlm-neon); z-index: 1; }
.nlm-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.nlm-access-col { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); padding: .9rem; }
.nlm-access-stages { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.nlm-access-stages span { border: 1px dashed var(--nlm-border); color: var(--nlm-text-2); border-radius: 8px; padding: .3rem .55rem; font-size: .78rem; font-weight: 700; }
.nlm-update-card { background: var(--nlm-bg-2); border: 1px solid var(--nlm-border-soft); border-radius: var(--nlm-radius); padding: 1rem 1.1rem; margin-bottom: .85rem; }
.nlm-update-card.pinned { border-color: var(--nlm-border); box-shadow: var(--nlm-glow); }
@media (max-width: 991.98px) {
  .nlm-milestones { grid-template-columns: 1fr; }
  .nlm-milestone { flex-direction: row; align-items: center; gap: .75rem; }
  .nlm-milestone .nlm-badge { margin-left: auto; }
  .nlm-flow { grid-template-columns: 1fr 1fr; }
  .nlm-flow li:not(:last-child)::after { content: none; }
  .nlm-access-grid { grid-template-columns: 1fr; }
}
