/* ============================================================================
   NexusLogix JSP frontend — hand-authored CSS
   Palette mirrors artifacts/nexuslogix Tailwind tokens. Single stylesheet for
   the landing page; expand for /drawback /resources /contact in the next task.
   ============================================================================ */

:root {
  --nl-bg:        #061723;
  --nl-bg-2:      #0A1E2C;
  --nl-bg-3:      #12363C;
  --nl-text:      #F7FAFC;
  --nl-muted:     #7B8FA1;
  --nl-muted-2:   #5C7890;
  --nl-muted-3:   #4A6070;
  --nl-accent:    #DDE8F0;
  --nl-sage:      #8B9E6B;
  --nl-emerald:   rgba(52, 153, 105, 0.7);
  --nl-teal:      #4A7A7E;
  --nl-border:    rgba(255,255,255,0.06);
  --nl-border-2:  rgba(255,255,255,0.10);
  --nl-glass:     rgba(6, 23, 35, 0.7);
  --nl-glass-soft:rgba(255,255,255,0.03);
  --nl-radius:    16px;
  --nl-radius-lg: 20px;
  --nl-max:       80rem;
  --nl-font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nl-mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.nl-body {
  background: var(--nl-bg);
  color: var(--nl-text);
  font-family: var(--nl-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
.nl-body ::selection { background: rgba(92,120,144,0.3); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.nl-container {
  max-width: var(--nl-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ---------- Utility ---------- */
.nl-mono { font-family: var(--nl-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; }
.nl-muted   { color: var(--nl-muted); }
.nl-muted-2 { color: var(--nl-muted-2); }
.nl-muted-3 { color: var(--nl-muted-3); }
.nl-eyebrow {
  font-family: var(--nl-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--nl-muted-3);
  margin: 0 0 1rem;
}
.nl-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--nl-text);
  margin: 0 0 1.5rem;
}
.nl-h2-center { text-align: center; }
.nl-lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--nl-muted);
  margin: 0;
}

/* ---------- Header ---------- */
.nl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(6,23,35,0);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.25s ease;
}
.nl-header.is-scrolled { background: rgba(6,23,35,0.95); }
.nl-header-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nl-wordmark { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.nl-wordmark-nexus { color: var(--nl-text); }
.nl-wordmark-logix { color: var(--nl-sage); }

.nl-header-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.nl-header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--nl-muted);
}
.nl-header-nav a, .nl-header-nav .nl-link-btn {
  background: none; border: 0; padding: 0; color: var(--nl-muted);
  transition: color 0.2s;
}
.nl-header-nav a:hover, .nl-header-nav .nl-link-btn:hover { color: var(--nl-text); }

@media (min-width: 768px) { .nl-header-ctas { display: inline-flex; } }
@media (min-width: 1024px) { .nl-header-nav { display: inline-flex; } }

.nl-mobile-toggle {
  background: none; border: 0; color: rgba(255,255,255,0.6);
  display: inline-flex; flex-direction: column; gap: 6px;
  padding: 0.5rem;
}
.nl-mobile-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
@media (min-width: 1024px) { .nl-mobile-toggle { display: none; } }
.nl-mobile-toggle:hover { color: var(--nl-text); }

.nl-mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 40;
  background: rgba(6,23,35,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nl-mobile-menu[hidden] { display: none; }
.nl-mobile-menu.is-open { transform: translateY(0); opacity: 1; }
.nl-mobile-menu-inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; }
.nl-mobile-link { color: rgba(255,255,255,0.65); font-size: 1.125rem; font-weight: 500; }
.nl-mobile-link-bold { color: var(--nl-text); font-weight: 600; }
.nl-mobile-cta { margin-top: 0.5rem; height: 48px; }

/* ---------- Buttons ---------- */
.nl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  border: 0; outline: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
  height: 36px;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.2s, background-color 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nl-btn:active { transform: scale(0.98); }
.nl-btn-primary-pill {
  color: var(--nl-bg);
  background: linear-gradient(135deg, #DDE8F0 0%, #7B8FA1 100%);
  box-shadow: 0 4px 18px rgba(92,120,144,0.18);
}
.nl-btn-primary-pill:hover { transform: scale(1.02); box-shadow: 0 8px 32px rgba(92,120,144,0.30); }
.nl-btn-ghost-pill {
  color: var(--nl-accent);
  background: rgba(92,120,144,0.15);
  border: 1px solid rgba(92,120,144,0.60);
}
.nl-btn-ghost-pill:hover { border-color: rgba(92,120,144,1); }
.nl-btn-lg { height: 48px; padding: 0 1.75rem; }
.nl-btn-xl { height: 56px; padding: 0 2.5rem; min-width: 200px; }
.nl-btn-block { width: 100%; }

/* ---------- Hero ---------- */
.nl-hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.nl-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none; z-index: 0;
}
.nl-hero-overlay-a {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, rgba(6,23,35,0.92) 0%, rgba(6,23,35,0.7) 50%, rgba(6,23,35,0.3) 100%);
}
.nl-hero-overlay-b {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(6,23,35,0.95) 0%, transparent 50%);
}
.nl-hero-mist {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 4; opacity: 0.8;
}
.nl-hero-inner {
  position: relative; z-index: 5;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.nl-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nl-hero-grid { grid-template-columns: 7fr 5fr; }
}
.nl-hero-copy { display: flex; flex-direction: column; gap: 2rem; }
.nl-eyebrow-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(92,120,144,0.15);
  color: var(--nl-muted);
  font-size: 11px; font-weight: 500; letter-spacing: 0.10em; text-transform: uppercase;
  width: max-content;
}
.nl-dot { width: 6px; height: 6px; border-radius: 999px; display: inline-block; }
.nl-dot-sage { background: var(--nl-sage); }

.nl-hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--nl-text);
  margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.nl-hero-headline-accent { color: var(--nl-emerald); }

.nl-recover-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
}
.nl-recover-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid;
  color: var(--nl-accent);
}
.nl-recover-pill-a {
  background: rgba(92,120,144,0.25);
  border-color: rgba(139,175,212,0.40);
}
.nl-recover-pill-b {
  background: rgba(74,122,126,0.25);
  border-color: rgba(107,188,192,0.40);
}

.nl-hero-sub {
  font-size: 1.125rem; font-weight: 300; line-height: 1.7;
  color: var(--nl-muted);
  max-width: 36rem;
  margin: 0;
}
.nl-hero-sub strong { color: var(--nl-text); font-weight: 600; }

.nl-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.nl-hero-foot {
  font-size: 0.75rem; color: var(--nl-muted-3); letter-spacing: 0.02em;
  margin: 0;
}

/* ---------- Intelligence card ---------- */
.nl-intel-card-wrap { display: none; perspective: 1200px; transform-style: preserve-3d; }
@media (min-width: 1024px) { .nl-intel-card-wrap { display: block; } }
.nl-intel-card {
  border-radius: var(--nl-radius);
  border: 1px solid var(--nl-border-2);
  background: var(--nl-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 1.5rem;
  transition: transform 0.2s ease;
  will-change: transform;
}
.nl-intel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nl-intel-head-l { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; font-weight: 600; color: var(--nl-text); }
.nl-intel-live {
  font-family: var(--nl-mono);
  font-size: 10px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--nl-border-2);
  background: rgba(139,158,107,0.15);
  color: var(--nl-sage);
}
.nl-intel-live[data-scanning] { animation: nl-pulse 1.4s ease-in-out infinite; }
@keyframes nl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.nl-intel-progress {
  height: 1px; margin-bottom: 1.25rem; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.nl-intel-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #5C7890, #8B9E6B);
  transition: width 2.8s linear;
}
.nl-intel-progress span.is-active { width: 100%; }

.nl-intel-rows { display: flex; flex-direction: column; gap: 0.625rem; }
.nl-intel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  opacity: 0; transform: translateX(-16px);
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.2s;
}
.nl-intel-row.is-in { opacity: 1; transform: translateX(0); }
.nl-intel-row:hover { border-color: rgba(255,255,255,0.12); }
.nl-row-id { font-family: var(--nl-mono); font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.nl-row-meta { display: flex; align-items: center; gap: 0.5rem; }
.nl-row-tag {
  font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.nl-row-hts { font-family: var(--nl-mono); font-size: 10px; color: rgba(255,255,255,0.3); }
.nl-row-amt { font-family: var(--nl-mono); font-size: 0.875rem; font-weight: 600; color: var(--nl-sage); text-align: right; }
.nl-row-conf { font-family: var(--nl-mono); font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; text-align: right; }

.nl-intel-skel {
  height: 48px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.015);
  display: flex; align-items: center; padding: 0 1rem;
}
.nl-skel-bar { height: 6px; width: 50%; border-radius: 999px; background: rgba(255,255,255,0.05); animation: nl-skel 1.6s ease-in-out infinite; }
@keyframes nl-skel { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.25; } }

.nl-intel-foot {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--nl-border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--nl-mono); font-size: 10px; color: rgba(255,255,255,0.25);
}
.nl-foot-strong { font-weight: 600; color: var(--nl-muted-2); }

/* ---------- Ticker ---------- */
.nl-ticker-strip {
  border-top: 1px solid var(--nl-border);
  border-bottom: 1px solid var(--nl-border);
  background: rgba(6,23,35,0.98);
  padding: 0.75rem 0;
  overflow: hidden;
}
.nl-ticker { overflow: hidden; width: 100%; }
.nl-ticker-track {
  display: inline-flex; align-items: center; gap: 3rem;
  white-space: nowrap;
  font-family: var(--nl-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--nl-muted-3);
  animation: nl-ticker 60s linear infinite;
  will-change: transform;
  padding-left: 3rem;
}
@keyframes nl-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.nl-ticker-item { display: inline-flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.nl-ticker-dot { width: 4px; height: 4px; border-radius: 999px; display: inline-block; }
.nl-ticker-amt { color: var(--nl-muted-2); }

/* ---------- Sections ---------- */
.nl-section {
  background: var(--nl-bg);
  padding: 8rem 0;
  position: relative;
}
.nl-section-positioning { overflow: hidden; }
.nl-section-platform { background: var(--nl-bg); }
.nl-section-stats {
  background: var(--nl-bg-3);
  padding: 6rem 0;
  border-top: 1px solid var(--nl-border);
  border-bottom: 1px solid var(--nl-border);
}
.nl-section-audience { background: var(--nl-bg-2); }

.nl-positioning-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(92,120,144,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(18,54,60,0.35), transparent 60%);
}

.nl-section-head { text-align: center; margin: 0 auto 5rem; max-width: 48rem; }
.nl-section-head-left { text-align: left; margin: 0 0 5rem; max-width: 48rem; }

/* ---------- Grids ---------- */
.nl-grid-3, .nl-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nl-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .nl-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.nl-soft-card {
  border-radius: var(--nl-radius);
  padding: 2rem;
  border: 1px solid var(--nl-border-2);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.2s;
}
.nl-soft-card:hover { transform: translateY(-4px); }
.nl-soft-card h3 { margin: 0 0 0.75rem; font-size: 1.125rem; font-weight: 600; color: var(--nl-text); }
.nl-soft-card p  { margin: 0; font-size: 0.875rem; line-height: 1.7; color: var(--nl-muted); }
.nl-card-num { margin-bottom: 1.5rem; }
.nl-card-icon { color: var(--nl-accent); margin-bottom: 1.5rem; display: block; }

.nl-glass-card {
  border-radius: var(--nl-radius);
  border: 1px solid var(--nl-border-2);
  background: var(--nl-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 2rem;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.25s ease;
}
.nl-glass-card:hover { transform: translateY(-6px); }
.nl-glass-card-sm { padding: 1.5rem; }
.nl-glass-card h3 { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 600; color: var(--nl-text); }
.nl-glass-card p  { margin: 0; font-size: 0.875rem; line-height: 1.7; color: var(--nl-muted); flex: 1; }
.nl-glass-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.nl-glass-stat {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--nl-border);
}
.nl-glass-stat-num { font-family: var(--nl-mono); font-size: 1.5rem; font-weight: 600; }
.nl-glass-stat-lbl { font-size: 0.75rem; color: var(--nl-muted-3); margin-top: 0.25rem; }
.nl-step-num { margin-bottom: 1rem; }
.nl-card-learn { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 500; color: var(--nl-muted-2); display: flex; align-items: center; gap: 0.375rem; }

/* ---------- Stats ---------- */
.nl-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
@media (min-width: 768px) { .nl-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.nl-stat { text-align: center; }
.nl-stat-value {
  font-family: var(--nl-mono);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--nl-text);
  margin-bottom: 0.5rem;
}
.nl-stat-label {
  font-family: var(--nl-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--nl-muted);
}

/* ---------- Final CTA ---------- */
.nl-final-cta {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
  background: var(--nl-bg);
}
.nl-final-cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.3;
}
.nl-final-cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(6,23,35,0.97) 30%, rgba(6,23,35,0.6) 100%);
}
.nl-final-cta-inner { position: relative; z-index: 2; text-align: center; }
.nl-final-cta-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600; letter-spacing: -0.025em;
  color: var(--nl-text); margin: 0 0 1.5rem;
}
.nl-final-cta-sub {
  font-size: 1.125rem; font-weight: 300;
  color: var(--nl-muted);
  max-width: 36rem; margin: 0 auto 3rem;
}
.nl-final-cta-action { display: flex; justify-content: center; position: relative; }
.nl-pulse-halo {
  position: absolute; inset: 0; margin: auto;
  width: 200px; height: 56px;
  border-radius: 999px;
  background: rgba(92,120,144,0.3);
  animation: nl-halo 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes nl-halo {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.12); opacity: 0; }
}

/* ---------- Footer ---------- */
.nl-footer {
  border-top: 1px solid var(--nl-border);
  padding: 3rem 0;
  background: var(--nl-bg);
}
.nl-footer-top {
  display: flex; flex-direction: column; gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .nl-footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.nl-footer-brand { max-width: 24rem; }
.nl-footer-tagline { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.7; color: var(--nl-muted-3); }
.nl-footer-nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem; color: var(--nl-muted);
}
.nl-footer-nav a { color: var(--nl-muted); transition: color 0.2s; }
.nl-footer-nav a:hover { color: var(--nl-text); }
.nl-footer-li { display: inline-flex; align-items: center; gap: 0.5rem; }
.nl-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--nl-border);
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-family: var(--nl-mono); font-size: 12px;
  color: var(--nl-muted-3);
}
@media (min-width: 768px) { .nl-footer-bottom { flex-direction: row; } }
.nl-footer-legal { display: flex; align-items: center; gap: 2rem; }
.nl-footer-legal a:hover { color: var(--nl-text); transition: color 0.2s; }

/* ---------- Animations: scroll-reveal + entrance ---------- */
.nl-anim-fade-in, .nl-anim-rise, .nl-anim-card-in, .nl-anim-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.nl-anim-fade-in { transform: none; transition-duration: 0.5s; }
.nl-anim-rise   { transform: translateY(24px); }
.nl-anim-card-in {
  transform: translate3d(40px, 20px, 0);
  transition: opacity 1s ease, transform 1s ease;
}
.nl-anim-fade-in.is-in,
.nl-anim-rise.is-in,
.nl-anim-card-in.is-in,
.nl-anim-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.nl-anim-card-in.is-in { transform: translate3d(0,0,0); }

/* ---------- Modal ---------- */
.nl-modal-root {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.nl-modal-root[hidden] { display: none; }
.nl-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 9, 14, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nl-modal-root.is-open .nl-modal-backdrop { opacity: 1; }
.nl-modal-shell {
  position: relative;
  width: min(92vw, 520px);
  max-height: 90vh; overflow: auto;
  border-radius: var(--nl-radius-lg);
  background: linear-gradient(180deg, #0c2735, #061723);
  border: 1px solid var(--nl-border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 2rem;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nl-modal-root.is-open .nl-modal-shell { transform: translateY(0) scale(1); opacity: 1; }
.nl-modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  border: 0; font-size: 1.25rem; line-height: 1;
}
.nl-modal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nl-modal-title { font-size: 1.5rem; font-weight: 600; color: var(--nl-text); margin: 0.5rem 0 0.75rem; letter-spacing: -0.015em; }
.nl-modal-sub { font-size: 0.9375rem; line-height: 1.6; color: var(--nl-muted); margin: 0 0 1.5rem; }

.nl-form { display: flex; flex-direction: column; gap: 1rem; }
.nl-field { display: flex; flex-direction: column; gap: 0.375rem; }
.nl-field label { font-size: 0.8125rem; color: var(--nl-muted); font-weight: 500; }
.nl-field-opt { color: var(--nl-muted-3); font-weight: 400; font-size: 0.75rem; }
.nl-field input,
.nl-field textarea {
  border-radius: 10px;
  border: 1px solid var(--nl-border-2);
  background: rgba(255,255,255,0.03);
  color: var(--nl-text);
  font-family: inherit; font-size: 0.9375rem;
  padding: 0.625rem 0.875rem;
  outline: 0;
  transition: border-color 0.2s, background-color 0.2s;
}
.nl-field input:focus,
.nl-field textarea:focus { border-color: var(--nl-muted-2); background: rgba(255,255,255,0.05); }
.nl-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.nl-field.is-error input,
.nl-field.is-error textarea { border-color: #c25656; }
.nl-field-error { margin: 0; font-size: 0.75rem; color: #e08585; }
.nl-form-error { margin: 0; font-size: 0.8125rem; color: #e08585; }

.nl-spinner {
  width: 14px; height: 14px; border-radius: 999px;
  border: 2px solid rgba(6,23,35,0.25);
  border-top-color: rgba(6,23,35,0.85);
  animation: nl-spin 0.7s linear infinite;
}
@keyframes nl-spin { to { transform: rotate(360deg); } }

.nl-success-check {
  width: 56px; height: 56px; border-radius: 999px;
  background: rgba(139,158,107,0.18); color: var(--nl-sage);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 700;
  margin: 0.5rem 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .nl-anim-fade-in, .nl-anim-rise, .nl-anim-card-in, .nl-anim-reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   DRAWBACK / RESOURCES / CONTACT PAGES (task #27)
   Subpages share the global header + footer + demo modal. Spacing matches the
   landing page (--nl-max container, pt-32-equivalent on inner hero).
   ============================================================================ */

/* Generic back-to-home link used at the top of subpage content. */
.nl-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--nl-muted); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nl-back-link:hover { color: var(--nl-text); }
.nl-back-link svg { transition: transform 0.2s; }
.nl-back-link:hover svg { transform: translateX(-3px); }

/* Slimmer hero for resources / contact (no full-bleed mountain). */
.nl-sub-hero { padding: 8rem 0 3rem; position: relative; }
.nl-sub-hero-inner { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.nl-sub-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.1; font-weight: 600;
  color: var(--nl-text); margin: 0.75rem 0 1.25rem; letter-spacing: -0.02em;
}
.nl-sub-hero .nl-eyebrow { color: var(--nl-muted-2); margin-bottom: 0; }
.nl-sub-hero p.nl-sub-lede {
  font-size: 1.0625rem; line-height: 1.65; color: var(--nl-muted); margin: 0 0 3rem;
}

/* =================== DRAWBACK ============================================ */

/* Programs pills row (colored backgrounds set inline). */
.nl-prog-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nl-prog-pill {
  font-family: var(--nl-mono); font-size: 10px; font-weight: 600;
  padding: 0.25rem 0.5rem; border-radius: 999px; text-transform: uppercase;
  letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.05);
}

/* Opportunity table glass card (right-side hero card). */
.nl-opp-card {
  background: var(--nl-glass); border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--nl-radius-lg); overflow: hidden; backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.nl-opp-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
}
.nl-opp-dots { display: flex; gap: 0.375rem; }
.nl-opp-dots i { width: 12px; height: 12px; border-radius: 999px; opacity: 0.8; }
.nl-opp-dots i:nth-child(1) { background: #ef4444; }
.nl-opp-dots i:nth-child(2) { background: #eab308; }
.nl-opp-dots i:nth-child(3) { background: #22c55e; }
.nl-opp-url {
  flex: 1; display: flex; justify-content: center;
}
.nl-opp-url span {
  font-family: var(--nl-mono); font-size: 11px; color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05);
  padding: 0.25rem 0.75rem; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.nl-opp-body { padding: 1.5rem; }
.nl-opp-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.nl-opp-title {
  font-size: 0.875rem; font-weight: 600; color: var(--nl-text);
  display: flex; align-items: center; gap: 0.5rem; margin: 0;
}
.nl-opp-title svg { color: var(--nl-muted-2); }
.nl-opp-new {
  font-family: var(--nl-mono); font-size: 10px; color: var(--nl-muted-2);
  background: rgba(92,120,144,0.10); padding: 0.25rem 0.5rem; border-radius: 4px;
}
.nl-opp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.nl-opp-table th {
  font-family: var(--nl-mono); font-weight: 400; font-size: 10px;
  color: var(--nl-muted-3); text-transform: uppercase; letter-spacing: 0.08em;
  padding-bottom: 0.75rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nl-opp-table th.r, .nl-opp-table td.r { text-align: right; }
.nl-opp-table td {
  font-family: var(--nl-mono); padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nl-opp-table tr:last-child td { border-bottom: 0; }
.nl-opp-table tr:hover td { background: rgba(255,255,255,0.02); }
.nl-opp-id   { color: rgba(255,255,255,0.7); }
.nl-opp-hts  { color: rgba(255,255,255,0.5); }
.nl-opp-amt  { color: var(--nl-sage); font-weight: 600; }
.nl-opp-conf { color: rgba(255,255,255,0.4); }
.nl-opp-type {
  padding: 0.125rem 0.375rem; border-radius: 4px; font-size: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.nl-opp-foot {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.nl-opp-foot .l { color: var(--nl-muted); }
.nl-opp-foot .r { font-family: var(--nl-mono); color: var(--nl-sage); font-weight: 600; }
.nl-opp-foot .r small { color: rgba(255,255,255,0.3); font-weight: 400; }

/* Drawback hero layout reuses .nl-hero-grid but without the mountain bg. */
.nl-drawback-hero { padding-top: 8rem; padding-bottom: 5rem; position: relative; overflow: hidden; }
.nl-drawback-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(92,120,144,0.15) 0%, transparent 50%);
}
.nl-drawback-hero .nl-container { position: relative; z-index: 1; }
.nl-drawback-hero .nl-hero-headline { font-size: clamp(2.5rem, 5vw, 4.5rem); }

/* Social proof band (4-stat row on #12363C). */
.nl-stats-band {
  background: var(--nl-bg-3); padding: 2rem 0;
  border-top: 1px solid var(--nl-border-2); border-bottom: 1px solid var(--nl-border-2);
}
.nl-stats-band-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
@media (min-width: 768px) { .nl-stats-band-grid { grid-template-columns: repeat(4, 1fr); } }
.nl-stats-band-cell { text-align: center; padding: 0 1rem; position: relative; }
.nl-stats-band-cell + .nl-stats-band-cell { border-left: 1px solid var(--nl-border-2); }
.nl-stats-band-num {
  font-family: var(--nl-mono); font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--nl-text); margin-bottom: 0.25rem;
}
.nl-stats-band-lbl {
  font-size: 0.75rem; color: var(--nl-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Capability card grid (2x3 on desktop). */
.nl-cap-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 4rem;
}
@media (min-width: 768px) { .nl-cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nl-cap-grid { grid-template-columns: repeat(3, 1fr); } }
.nl-cap-card {
  background: var(--nl-glass); border: 1px solid var(--nl-border-2);
  border-radius: var(--nl-radius); padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.nl-cap-card:hover { transform: translateY(-4px); }
.nl-cap-card .nl-cap-icon { color: var(--nl-muted-2); margin-bottom: 1rem; }
.nl-cap-card h4 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--nl-text); }
.nl-cap-card p {
  margin: 0 0 1.5rem; font-size: 0.875rem; line-height: 1.65;
  color: var(--nl-muted); flex: 1;
}
.nl-cap-viz { opacity: 0.5; transition: opacity 0.2s; }
.nl-cap-card:hover .nl-cap-viz { opacity: 1; }

/* Bar chart mini-viz */
.nl-cap-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.nl-cap-bars span {
  flex: 1; background: var(--nl-muted-2); border-radius: 2px 2px 0 0;
  height: 0; transition: height 0.6s ease-out;
}
.nl-cap-bars.is-in span { height: var(--h, 50%); }

/* PSC vs protest flow */
.nl-cap-flow { display: flex; align-items: center; gap: 0.5rem; font-family: var(--nl-mono); font-size: 11px; }
.nl-cap-flow .chip { background: rgba(255,255,255,0.10); padding: 0.25rem 0.5rem; border-radius: 4px; color: var(--nl-text); }
.nl-cap-flow .arr { color: var(--nl-muted-2); }
.nl-cap-flow .col { display: flex; flex-direction: column; gap: 0.25rem; }
.nl-cap-flow .col .a {
  background: rgba(139,158,107,0.20); color: var(--nl-sage);
  padding: 0.25rem 0.5rem; border-radius: 4px;
  border: 1px solid rgba(139,158,107,0.30);
}
.nl-cap-flow .col .b {
  background: rgba(92,120,144,0.20); color: var(--nl-muted-2);
  padding: 0.25rem 0.5rem; border-radius: 4px;
  border: 1px solid rgba(92,120,144,0.30);
}

/* Classification variance rows */
.nl-cap-cls { display: flex; flex-direction: column; gap: 4px; font-family: var(--nl-mono); font-size: 11px; }
.nl-cap-cls .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.25rem 0.5rem; border-radius: 4px;
}
.nl-cap-cls .bad {
  background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.20); color: #f87171;
  text-decoration: line-through;
}
.nl-cap-cls .good {
  background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.20); color: #4ade80;
}

/* Yellow deadline chip */
.nl-cap-alert {
  display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.5rem;
  border-radius: 4px; font-family: var(--nl-mono); font-size: 11px;
  background: rgba(234,179,8,0.10); color: #eab308; border: 1px solid rgba(234,179,8,0.20);
  width: max-content;
}

/* Green "ready" chip */
.nl-cap-ready {
  display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.5rem;
  border-radius: 4px; font-family: var(--nl-mono); font-size: 11px;
  background: rgba(139,158,107,0.10); color: var(--nl-sage);
  border: 1px solid rgba(139,158,107,0.20); width: max-content;
}

/* Import ↔ Export trade flow chips */
.nl-cap-trade { display: flex; align-items: center; gap: 0.5rem; font-family: var(--nl-mono); font-size: 11px; }
.nl-cap-trade .box {
  background: rgba(255,255,255,0.10); padding: 0.25rem 0.5rem; border-radius: 4px;
  border: 1px solid var(--nl-border-2); color: var(--nl-text);
}
.nl-cap-trade svg { color: var(--nl-muted-2); }

/* Section helpers used on drawback. */
.nl-section { padding: 6rem 0; }
.nl-section.alt { background: var(--nl-bg-2); }
.nl-section-head { max-width: 40rem; margin-bottom: 4rem; }
.nl-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.nl-section-head .nl-eyebrow {
  font-family: var(--nl-mono); font-size: 0.75rem;
  color: var(--nl-muted-2); text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 0.75rem; display: block;
}
.nl-section-head h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 600;
  color: var(--nl-text); letter-spacing: -0.02em; margin: 0;
}

/* How it works 4-step row with connecting line. */
.nl-steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) {
  .nl-steps { grid-template-columns: repeat(4, 1fr); }
  .nl-steps::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px;
    background: var(--nl-border-2); transform: translateY(-50%);
  }
}
.nl-step-card {
  position: relative; z-index: 1; padding: 1.5rem;
  background: var(--nl-bg); border: 1px solid var(--nl-border-2);
  border-radius: var(--nl-radius);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 1024px) { .nl-step-card { text-align: left; align-items: flex-start; } }
.nl-step-num {
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(92,120,144,0.20); border: 1px solid rgba(92,120,144,0.30);
  color: var(--nl-muted-2); font-family: var(--nl-mono); font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.nl-step-card h4 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--nl-text); }
.nl-step-card p { margin: 0; font-size: 0.875rem; line-height: 1.65; color: var(--nl-muted); }

/* Audience cards: 3-up with top accent border. */
.nl-aud-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .nl-aud-grid { grid-template-columns: repeat(3, 1fr); } }
.nl-aud-card {
  background: var(--nl-glass); border: 1px solid var(--nl-border-2);
  border-top: 2px solid var(--nl-muted-2);
  border-radius: var(--nl-radius); padding: 2rem;
  display: flex; flex-direction: column; backdrop-filter: blur(14px);
}
.nl-aud-card h3 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; color: var(--nl-text); }
.nl-aud-card p { margin: 0 0 2rem; font-size: 0.875rem; line-height: 1.65; color: var(--nl-muted); flex: 1; }
.nl-aud-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--nl-text);
  text-decoration: none; transition: color 0.2s;
}
.nl-aud-cta:hover { color: var(--nl-muted-2); }

/* Data & security 2x2 grid. */
.nl-sec-quad { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .nl-sec-quad { grid-template-columns: repeat(2, 1fr); } }
.nl-sec-tile { display: flex; gap: 1rem; text-align: left; }
.nl-sec-tile .ico {
  width: 40px; height: 40px; border-radius: 999px; flex: none;
  background: rgba(255,255,255,0.05); border: 1px solid var(--nl-border-2);
  display: flex; align-items: center; justify-content: center; color: var(--nl-muted-2);
}
.nl-sec-tile h4 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--nl-text); }
.nl-sec-tile p { margin: 0; font-size: 0.875rem; line-height: 1.65; color: var(--nl-muted); }

/* Pricing 2-card grid. */
.nl-pricing-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .nl-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
.nl-price-card {
  background: var(--nl-glass); border: 1px solid var(--nl-border-2);
  border-radius: var(--nl-radius); padding: 2rem; position: relative; overflow: hidden;
  backdrop-filter: blur(14px);
}
.nl-price-card.featured { border-color: rgba(92,120,144,0.30); }
.nl-price-card.featured::after {
  content: ''; position: absolute; top: 0; right: 0; width: 8rem; height: 8rem;
  background: rgba(92,120,144,0.10); border-bottom-left-radius: 100%;
  margin-right: -4rem; margin-top: -4rem; filter: blur(32px); pointer-events: none;
}
.nl-price-card h3 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 600; color: var(--nl-text); }
.nl-price-card ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 1rem; }
.nl-price-card ul li {
  display: flex; gap: 0.75rem; font-size: 0.875rem; line-height: 1.5; color: var(--nl-muted);
}
.nl-price-card ul li svg { flex: none; color: var(--nl-sage); }
.nl-price-card.alt ul li svg { color: var(--nl-muted-2); }
.nl-price-foot { text-align: center; color: var(--nl-muted-3); font-size: 0.875rem; margin-top: 2rem; }

/* ============ FAQ accordion (used on drawback + resources) =============== */
.nl-faq { display: flex; flex-direction: column; gap: 0.5rem; }
.nl-faq-item {
  border: 1px solid var(--nl-border-2); background: rgba(255,255,255,0.05);
  border-radius: 12px; overflow: hidden;
}
.nl-faq-btn {
  width: 100%; padding: 1rem 1.5rem; background: transparent; border: 0;
  color: var(--nl-text); text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font: inherit; transition: background 0.2s;
}
.nl-faq-btn:hover { background: rgba(255,255,255,0.05); }
.nl-faq-q { font-size: 0.875rem; font-weight: 500; padding-right: 2rem; }
.nl-faq-chev {
  color: var(--nl-muted); transition: transform 0.25s ease;
  flex: none;
}
.nl-faq-item[data-open] .nl-faq-chev { transform: rotate(180deg); }
.nl-faq-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  border-top: 0 solid var(--nl-border);
}
.nl-faq-item[data-open] .nl-faq-panel { opacity: 1; border-top-width: 1px; }
.nl-faq-panel-inner {
  padding: 0.5rem 1.5rem 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--nl-muted);
}

/* =================== RESOURCES =========================================== */
.nl-resources-section { padding-top: 8rem; }
.nl-resources-inner { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }

.nl-cta-card {
  margin-top: 4rem; border: 1px solid var(--nl-border-2); border-radius: var(--nl-radius-lg);
  padding: 2.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(92,120,144,0.18), rgba(18,54,60,0.18));
}
.nl-cta-card h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; color: var(--nl-text); }
.nl-cta-card p { margin: 0 auto 2rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: var(--nl-muted); }

/* =================== CONTACT ============================================= */
.nl-contact-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr; max-width: 64rem;
  margin: 0 auto; padding: 0 1.5rem;
}
@media (min-width: 1024px) { .nl-contact-grid { grid-template-columns: 2fr 3fr; } }

.nl-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.nl-contact-tile {
  border: 1px solid var(--nl-border-2); border-radius: var(--nl-radius-lg);
  padding: 1.5rem; background: rgba(92,120,144,0.08);
}
.nl-contact-tile.alt { background: rgba(255,255,255,0.02); }
.nl-contact-tile-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.nl-contact-tile-icon {
  width: 36px; height: 36px; border-radius: 999px; flex: none;
  background: rgba(92,120,144,0.20); color: var(--nl-accent);
  display: flex; align-items: center; justify-content: center;
}
.nl-contact-tile h2 { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--nl-text); }
.nl-contact-tile p { margin: 0 0 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--nl-muted); }
.nl-contact-email {
  display: inline-block; font-size: 0.875rem; font-weight: 500;
  color: var(--nl-text); word-break: break-all; text-decoration: none;
}
.nl-contact-email:hover { text-decoration: underline; }
.nl-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.nl-contact-list li { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--nl-muted); line-height: 1.5; }
.nl-contact-list li b { color: var(--nl-muted-2); font-weight: 500; }

.nl-contact-form-card {
  border: 1px solid var(--nl-border-2); border-radius: var(--nl-radius-lg);
  overflow: hidden; position: relative;
  background: linear-gradient(180deg, rgba(10,31,45,0.95) 0%, rgba(6,23,35,0.95) 100%);
}
.nl-contact-form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--nl-muted-2) 50%, transparent);
}
.nl-contact-form-head { padding: 2rem 2rem 0; }
.nl-contact-form-head .nl-eyebrow {
  font-family: var(--nl-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--nl-muted-2); margin-bottom: 0.5rem; display: block;
}
.nl-contact-form-head h3 { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--nl-text); letter-spacing: -0.01em; }
.nl-contact-form-head p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--nl-muted); }
.nl-contact-form-body { padding: 1.5rem 2rem 1.75rem; }
.nl-contact-form-foot {
  margin-top: 1.5rem; display: flex; gap: 0.75rem; align-items: center; justify-content: space-between;
}
.nl-contact-form-foot small { color: var(--nl-muted-3); font-size: 11px; }
.nl-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .nl-form-row { grid-template-columns: 1fr 1fr; } }

/* Inline success state on the contact form (replaces form contents). */
.nl-form-success {
  padding: 3.5rem 2rem; text-align: center;
}
.nl-form-success-check {
  width: 56px; height: 56px; border-radius: 999px;
  background: rgba(139,158,107,0.15); border: 1px solid rgba(139,158,107,0.35);
  color: var(--nl-sage); margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  animation: nl-pop 380ms cubic-bezier(.34,1.56,.64,1);
}
@keyframes nl-pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.nl-form-success h3 { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 600; color: var(--nl-text); }
.nl-form-success p { margin: 0 auto; max-width: 22rem; font-size: 0.875rem; line-height: 1.6; color: var(--nl-muted); }

/* Inline form error banner. The `[hidden]` rule is critical: setting
   `display: flex` on the base selector otherwise wins over the HTML
   `hidden` attribute and leaves an empty red banner rendered on page load. */
.nl-form-banner-error {
  margin-top: 1rem; padding: 0.75rem 0.875rem; border-radius: 8px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5; font-size: 0.875rem; display: flex; gap: 0.625rem; align-items: flex-start;
}
.nl-form-banner-error[hidden] { display: none; }
.nl-form-banner-error svg { flex: none; margin-top: 2px; }

/* ============================================================
   Admin page (/admin) — token gate + demo-request table.
   Mirrors the React /admin tokens & status palette.
   ============================================================ */
.nl-admin-body { background: var(--nl-bg); color: var(--nl-text); min-height: 100vh; }

.nl-admin-gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.nl-admin-gate-card {
  width: 100%; max-width: 22rem; padding: 2rem;
  border-radius: var(--nl-radius-lg);
  background: linear-gradient(180deg, rgba(10,31,45,0.95), rgba(6,23,35,0.95));
  border: 1px solid var(--nl-border-2);
}
.nl-admin-gate-h1 { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 600; color: var(--nl-text); letter-spacing: -0.01em; }
.nl-admin-gate-sub { margin: 0 0 1.25rem; color: var(--nl-muted); font-size: 0.875rem; }
.nl-admin-input {
  width: 100%; padding: 0.6rem 0.75rem; box-sizing: border-box;
  background: rgba(255,255,255,0.04); border: 1px solid var(--nl-border-2);
  border-radius: 8px; color: var(--nl-text); font: inherit;
}
.nl-admin-input:focus { outline: none; border-color: var(--nl-muted-2); }
.nl-admin-error {
  margin-bottom: 0.875rem; padding: 0.625rem 0.75rem; border-radius: 8px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5; font-size: 0.85rem;
}
.nl-btn-block { width: 100%; }

.nl-admin-shell { min-height: 100vh; padding: 2.5rem 1.25rem 4rem; }
.nl-admin-inner { max-width: 80rem; margin: 0 auto; }

.nl-admin-header {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between;
  margin-bottom: 1.75rem;
}
.nl-admin-eyebrow {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nl-muted-2);
  margin-bottom: 0.5rem;
}
.nl-admin-h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--nl-text); }
.nl-admin-sub { margin: 0.25rem 0 0; color: var(--nl-muted); font-size: 0.875rem; }
.nl-admin-actions { display: flex; gap: 0.5rem; }
.nl-admin-btn,
.nl-admin-btn-sm {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.875rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--nl-border-2);
  color: var(--nl-text); font-size: 0.8rem; cursor: pointer; text-decoration: none;
}
.nl-admin-btn:hover, .nl-admin-btn-sm:hover { background: rgba(255,255,255,0.08); }
.nl-admin-btn-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
.nl-admin-btn-sm:disabled { opacity: 0.4; cursor: not-allowed; }

.nl-admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem;
}
.nl-admin-search {
  position: relative; flex: 1 1 16rem; display: flex; align-items: center;
}
.nl-admin-search svg {
  position: absolute; left: 0.75rem; color: var(--nl-muted-3); pointer-events: none;
}
.nl-admin-search input {
  width: 100%; padding: 0.55rem 0.75rem 0.55rem 2.25rem; box-sizing: border-box;
  background: rgba(255,255,255,0.04); border: 1px solid var(--nl-border-2);
  border-radius: 8px; color: var(--nl-text); font: inherit;
}
.nl-admin-search input:focus { outline: none; border-color: var(--nl-muted-2); }
.nl-admin-select {
  padding: 0.55rem 0.75rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--nl-border-2);
  border-radius: 8px; color: var(--nl-text); font: inherit;
}
.nl-admin-select:focus { outline: none; border-color: var(--nl-muted-2); }

.nl-admin-banner {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.875rem 1rem; border-radius: 10px; margin-bottom: 1rem;
  font-size: 0.85rem; line-height: 1.5;
}
.nl-admin-banner[hidden] { display: none; }
.nl-admin-banner svg { flex: none; margin-top: 2px; }
.nl-admin-banner-head { font-weight: 600; margin-bottom: 0.15rem; }
.nl-admin-banner-body { color: var(--nl-muted); }
.nl-admin-banner-warn {
  background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.30); color: #fde68a;
}
.nl-admin-banner-warn .nl-admin-banner-body { color: #fde68a; opacity: 0.85; }
.nl-admin-banner-error {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.30); color: #fca5a5;
}
.nl-admin-banner-error .nl-admin-banner-body { color: #fca5a5; opacity: 0.85; }
.nl-admin-code {
  font-family: var(--nl-mono); font-size: 0.78rem;
  padding: 0.1rem 0.35rem; border-radius: 4px;
  background: rgba(0,0,0,0.35); color: inherit;
}

.nl-admin-table-wrap {
  border: 1px solid var(--nl-border-2); border-radius: var(--nl-radius-lg);
  background: linear-gradient(180deg, rgba(10,31,45,0.65), rgba(6,23,35,0.65));
  overflow: hidden;
}
.nl-admin-table-scroll { overflow-x: auto; }
.nl-admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.nl-admin-table thead th {
  text-align: left; font-weight: 500; color: var(--nl-muted-2);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--nl-border-2);
  background: rgba(0,0,0,0.2);
}
.nl-admin-table tbody td {
  padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}
.nl-admin-row { cursor: pointer; transition: background 120ms ease; }
.nl-admin-row:hover { background: rgba(255,255,255,0.03); }
.nl-admin-col-chev { width: 28px; }
.nl-admin-chev { transition: transform 160ms ease; color: var(--nl-muted-3); }
.nl-admin-row.is-open .nl-admin-chev { transform: rotate(90deg); }
.nl-admin-cell-mono { font-family: var(--nl-mono); font-size: 0.78rem; color: var(--nl-muted); white-space: nowrap; }
.nl-admin-cell-strong { font-weight: 500; color: var(--nl-text); }
.nl-admin-cell-contact { color: var(--nl-muted); }
.nl-admin-cell-muted { color: var(--nl-muted-3); font-size: 0.78rem; }

.nl-admin-badge {
  display: inline-block; padding: 0.18rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 500; text-transform: capitalize;
  border: 1px solid transparent;
}
.nl-admin-badge-sent     { background: rgba(139,158,107,0.15); color: #b8d090; border-color: rgba(139,158,107,0.35); }
.nl-admin-badge-pending  { background: rgba(234,179,8,0.12);   color: #fde68a; border-color: rgba(234,179,8,0.30); }
.nl-admin-badge-failed   { background: rgba(239,68,68,0.12);   color: #fca5a5; border-color: rgba(239,68,68,0.30); }
.nl-admin-badge-skipped  { background: rgba(148,163,184,0.12); color: #cbd5e1; border-color: rgba(148,163,184,0.30); }

.nl-admin-detail { background: rgba(0,0,0,0.25); }
.nl-admin-detail[hidden] { display: none; }
.nl-admin-detail td { padding: 1rem 1.25rem 1.25rem; }
.nl-admin-detail-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 900px) { .nl-admin-detail-grid { grid-template-columns: 1fr 1fr; } }
.nl-admin-detail-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nl-muted-3); margin-bottom: 0.4rem;
}
.nl-admin-detail-msg {
  white-space: pre-wrap; font-size: 0.875rem; line-height: 1.55; color: var(--nl-text);
}
.nl-admin-detail-empty { color: var(--nl-muted-3); font-style: italic; }
.nl-admin-detail-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.nl-admin-detail-deliv {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.78rem;
}
.nl-admin-detail-info { color: var(--nl-muted); }
.nl-admin-detail-info-muted { color: var(--nl-muted-3); }
.nl-admin-detail-id { color: var(--nl-muted-3); font-size: 0.72rem; }
.nl-admin-detail-err {
  display: flex; gap: 0.5rem; align-items: flex-start;
  padding: 0.6rem 0.75rem; border-radius: 8px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5; font-size: 0.8rem;
}
.nl-admin-detail-mail {
  display: inline-flex; gap: 0.4rem; align-items: center; font-size: 0.8rem; color: var(--nl-muted);
}
.nl-admin-detail-mail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.nl-admin-pager {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border-top: 1px solid var(--nl-border-2);
  font-size: 0.8rem; color: var(--nl-muted);
}
.nl-admin-pager-ctrls { display: flex; gap: 0.5rem; align-items: center; }
.nl-admin-empty { text-align: center; padding: 2.5rem 1rem; color: var(--nl-muted-3); }
