#nfp-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483450;
  overflow-y: auto;
  color: #f8fafc;
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #0b1020 42%, #0a1324 100%);
}

#nfp-overlay[hidden] {
  display: none !important;
}

.nfp-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.nfp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.nfp-back,
.nfp-close {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 17, 31, 0.72);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.nfp-back:hover,
.nfp-close:hover {
  color: #f8fafc;
  border-color: rgba(37, 99, 235, 0.34);
  background: rgba(12, 24, 42, 0.92);
}

.nfp-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.nfp-nav-panel,
.nfp-hero,
.nfp-card {
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 50px rgba(3, 7, 18, 0.34);
}

.nfp-nav-panel {
  position: sticky;
  top: 18px;
  border-radius: 22px;
  background: rgba(7, 12, 24, 0.78);
  backdrop-filter: blur(14px);
  padding: 18px;
}

.nfp-nav-kicker,
.nfp-card-kicker {
  margin: 0 0 10px;
  color: #bfff00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nfp-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nfp-nav-link {
  display: block;
  text-decoration: none;
  color: #94a3b8;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nfp-nav-link:hover,
.nfp-nav-link.active {
  color: #f8fafc;
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(19, 30, 53, 0.92);
  transform: translateX(2px);
}

.nfp-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nfp-hero {
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(19, 30, 53, 0.96), rgba(10, 19, 36, 0.96)),
    rgba(19, 30, 53, 0.96);
}

.nfp-hero-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nfp-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nfp-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.nfp-intro {
  margin: 14px 0 0;
  max-width: 780px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

.nfp-actions-wrap {
  margin-top: 18px;
}

.nfp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nfp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.nfp-btn:hover {
  transform: translateY(-1px);
}

.nfp-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.nfp-btn-secondary {
  color: #e2e8f0;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(11, 16, 32, 0.66);
}

.nfp-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(120, 53, 15, 0.22);
  color: #fde68a;
  font-size: 13px;
  font-weight: 700;
}

.nfp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.nfp-card {
  border-radius: 22px;
  padding: 20px;
  background: rgba(19, 30, 53, 0.9);
  animation: nfp-fade-up 0.22s ease both;
}

.nfp-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
}

.nfp-card-copy {
  margin: 10px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

.nfp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.nfp-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #bfdbfe;
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(7, 12, 24, 0.64);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.nfp-links a:hover {
  color: #f8fafc;
  border-color: rgba(37, 99, 235, 0.44);
  background: rgba(37, 99, 235, 0.18);
}

.nfp-footer-note {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

@keyframes nfp-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nfp-layout {
    grid-template-columns: 1fr;
  }

  .nfp-nav-panel {
    position: static;
  }

  .nfp-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .nfp-shell {
    padding: 14px 12px 44px;
  }

  .nfp-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nfp-hero,
  .nfp-card,
  .nfp-nav-panel {
    border-radius: 18px;
  }

  .nfp-hero {
    padding: 20px;
  }

  .nfp-back,
  .nfp-close,
  .nfp-btn,
  .nfp-links a {
    width: 100%;
  }

  .nfp-grid {
    grid-template-columns: 1fr;
  }
}
