/*
  NevaSolo Enterprise Landing Page
  Place this file beside nevasolo-enterprise.html, or enqueue it in WordPress.
  All classes are prefixed with nse- to reduce conflicts with existing site styles.
*/

:root {
  --nse-navy-980: #04111d;
  --nse-navy-950: #071827;
  --nse-navy-900: #0b1f33;
  --nse-navy-800: #12314d;
  --nse-cyan-400: #13b5ea;
  --nse-cyan-300: #5edcff;
  --nse-teal-400: #14c8a8;
  --nse-amber-400: #ffb020;
  --nse-red-500: #e5484d;
  --nse-surface: #f7fafc;
  --nse-surface-2: #eef3f7;
  --nse-white: #ffffff;
  --nse-text: #24364b;
  --nse-muted: #65758a;
  --nse-border: rgba(36, 54, 75, 0.12);
  --nse-radius-sm: 12px;
  --nse-radius-md: 18px;
  --nse-radius-lg: 28px;
  --nse-shadow-sm: 0 14px 36px rgba(7, 24, 39, 0.08);
  --nse-shadow-md: 0 24px 70px rgba(7, 24, 39, 0.12);
  --nse-shadow-dark: 0 32px 100px rgba(0, 0, 0, 0.42);
  --nse-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--nse-text);
  background: var(--nse-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.nse-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--nse-cyan-400);
  color: var(--nse-navy-950);
  font-weight: 800;
  text-decoration: none;
}

.nse-skip-link:focus {
  top: 16px;
}

.nse-container {
  width: min(var(--nse-container), calc(100% - 40px));
  margin-inline: auto;
}

.nse-container--narrow {
  width: min(880px, calc(100% - 40px));
}

.nse-section {
  position: relative;
  padding: clamp(72px, 8vw, 128px) 0;
  overflow: hidden;
}

.nse-section--white {
  background: var(--nse-white);
}

.nse-section--light {
  background: linear-gradient(180deg, var(--nse-surface), #ffffff);
}

.nse-section--dark {
  background: var(--nse-navy-950);
  color: var(--nse-white);
}

.nse-command-grid {
  position: relative;
  overflow: hidden;
}

.nse-command-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(19, 181, 234, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 181, 234, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 68%);
  animation: nseGridDrift 22s linear infinite;
  opacity: 0.72;
}

@keyframes nseGridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.nse-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 24, 39, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.nse-site-header.is-scrolled {
  background: rgba(7, 24, 39, 0.94);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
}

.nse-site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nse-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--nse-white);
}

.nse-brand__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(19, 181, 234, 0.3));
}

.nse-brand__text {
  display: grid;
  line-height: 1.05;
}

.nse-brand__text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nse-brand__text small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nse-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.nse-nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nse-nav a:hover,
.nse-nav a:focus-visible {
  color: var(--nse-white);
}

.nse-nav__cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nse-cyan-400);
  color: var(--nse-navy-950) !important;
  box-shadow: 0 0 24px rgba(19, 181, 234, 0.24);
}

.nse-nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nse-white);
  padding: 9px 14px;
  font-weight: 800;
}

/* Hero */
.nse-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 70% 22%, rgba(19, 181, 234, 0.28), transparent 28%),
    radial-gradient(circle at 58% 62%, rgba(20, 200, 168, 0.12), transparent 34%),
    var(--nse-navy-950);
  color: var(--nse-white);
  padding: 92px 0 72px;
}

.nse-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.23;
  pointer-events: none;
}

.nse-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 34%, rgba(19, 181, 234, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(7, 24, 39, 0.97) 0%, rgba(7, 24, 39, 0.74) 48%, rgba(7, 24, 39, 0.92) 100%);
}

.nse-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.nse-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nse-cyan-400);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.nse-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 20px currentColor;
}

.nse-hero h1,
.nse-section-heading h2,
.nse-two-col h2,
.nse-final-cta h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.nse-hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  max-width: 760px;
}

.nse-hero__lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  max-width: 660px;
}

.nse-hero__actions,
.nse-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.nse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.nse-btn:hover,
.nse-btn:focus-visible {
  transform: translateY(-2px);
}

.nse-btn--primary {
  background: var(--nse-cyan-400);
  color: var(--nse-navy-950);
  box-shadow: 0 0 30px rgba(19, 181, 234, 0.32);
}

.nse-btn--primary:hover,
.nse-btn--primary:focus-visible {
  box-shadow: 0 0 38px rgba(19, 181, 234, 0.46);
}

.nse-btn--secondary {
  color: var(--nse-white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.nse-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.nse-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
}

.nse-trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nse-teal-400);
}

/* Dashboard preview */
.nse-dashboard-shell {
  position: relative;
  border-radius: var(--nse-radius-lg);
  min-height: 560px;
  padding: 18px;
  background: rgba(11, 31, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--nse-shadow-dark), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
}

.nse-dashboard-topbar,
.nse-product-demo__header,
.nse-emergency-board__header,
.nse-portfolio-dashboard__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.nse-dashboard-topbar {
  min-height: 68px;
  padding: 0 4px 14px;
  color: var(--nse-white);
}

.nse-dashboard-label,
.nse-dashboard-topbar small,
.nse-product-demo small,
.nse-emergency-board small,
.nse-portfolio-dashboard small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
}

.nse-dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  height: calc(100% - 68px);
}

.nse-map-stage,
.nse-product-map {
  position: relative;
  min-height: 450px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(19, 181, 234, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.04);
  background-size: 42px 42px, 42px 42px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nse-map-zone {
  position: absolute;
  border-radius: 26px;
  border: 1px solid rgba(19, 181, 234, 0.18);
  background: rgba(19, 181, 234, 0.04);
}

.nse-map-zone--one {
  inset: 11% 50% 55% 10%;
}

.nse-map-zone--two {
  inset: 45% 12% 14% 42%;
}

.nse-map-zone--three {
  inset: 22% 18% 47% 50%;
}

.nse-incident-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  color: var(--nse-cyan-400);
  z-index: 3;
}

.nse-incident-pin::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.42;
  animation: nsePulsePin 2.2s ease-out infinite;
}

.nse-incident-pin span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
}

.nse-pin--critical { color: var(--nse-red-500); }
.nse-pin--warning { color: var(--nse-amber-400); }
.nse-pin--active { color: var(--nse-cyan-400); }

@keyframes nsePulsePin {
  0% { transform: scale(0.65); opacity: 0.38; }
  74% { transform: scale(2.55); opacity: 0; }
  100% { opacity: 0; }
}

.nse-dashboard-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.nse-stat-row,
.nse-portfolio-metrics,
.nse-emergency-stats {
  display: grid;
  gap: 12px;
}

.nse-stat-row {
  grid-template-columns: 1fr 1fr;
}

.nse-stat-row > div,
.nse-stat-card,
.nse-portfolio-metrics > div {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nse-stat-row strong,
.nse-stat-card strong,
.nse-portfolio-metrics strong {
  display: block;
  font-size: 1.95rem;
  line-height: 1;
  color: var(--nse-white);
}

.nse-stat-row span,
.nse-stat-card span,
.nse-portfolio-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 750;
}

.nse-incident-card,
.nse-demo-card,
.nse-resolution-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nse-incident-card strong,
.nse-demo-card strong,
.nse-resolution-card strong {
  display: block;
  color: var(--nse-white);
}

.nse-incident-card span,
.nse-demo-card small,
.nse-resolution-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.nse-incident-card em {
  font-style: normal;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.nse-incident-card--critical em { color: var(--nse-red-500); background: rgba(229, 72, 77, 0.12); }
.nse-incident-card--warning em { color: var(--nse-amber-400); background: rgba(255, 176, 32, 0.14); }
.nse-incident-card--active em { color: var(--nse-cyan-400); background: rgba(19, 181, 234, 0.12); }

.nse-mini-timeline {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
}

.nse-mini-timeline span {
  position: relative;
  padding-left: 16px;
}

.nse-mini-timeline span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nse-cyan-400);
}

.nse-live-pill,
.nse-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.nse-live-pill {
  color: var(--nse-teal-400);
  background: rgba(20, 200, 168, 0.12);
}

.nse-live-pill span,
.nse-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.nse-live-pill span {
  animation: nseLivePulse 1.55s ease infinite;
}

@keyframes nseLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.44; transform: scale(1.4); }
}

.nse-status--active { color: var(--nse-cyan-400); background: rgba(19, 181, 234, 0.12); }
.nse-status--secure { color: var(--nse-teal-400); background: rgba(20, 200, 168, 0.12); }
.nse-status--warning { color: var(--nse-amber-400); background: rgba(255, 176, 32, 0.14); }
.nse-status--critical { color: var(--nse-red-500); background: rgba(229, 72, 77, 0.12); }

/* Headings and layout */
.nse-section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.nse-section-heading--dark {
  color: var(--nse-white);
}

.nse-section-heading h2,
.nse-two-col h2,
.nse-final-cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  color: var(--nse-navy-950);
}

.nse-section-heading--dark h2,
.nse-section--dark .nse-two-col h2,
.nse-final-cta h2 {
  color: var(--nse-white);
}

.nse-section-heading p,
.nse-two-col p,
.nse-final-cta p {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  color: var(--nse-muted);
  max-width: 790px;
}

.nse-section--dark .nse-section-heading p,
.nse-section--dark .nse-two-col p,
.nse-final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.nse-two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.nse-two-col--center {
  align-items: center;
}

/* Cards */
.nse-problem-grid,
.nse-usecase-grid,
.nse-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.nse-usecase-grid,
.nse-portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
}

.nse-portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.nse-card,
.nse-usecase-card,
.nse-portfolio-card,
.nse-faq-item {
  position: relative;
  border-radius: 22px;
  padding: 24px;
  background: var(--nse-white);
  border: 1px solid var(--nse-border);
  box-shadow: var(--nse-shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.nse-card:hover,
.nse-usecase-card:hover,
.nse-portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 181, 234, 0.34);
  box-shadow: var(--nse-shadow-md);
}

.nse-card h3,
.nse-usecase-card h3,
.nse-portfolio-card h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
  line-height: 1.18;
  color: var(--nse-navy-950);
  letter-spacing: -0.02em;
}

.nse-card p,
.nse-usecase-card p,
.nse-portfolio-card p,
.nse-faq-item p {
  margin: 0;
  color: var(--nse-muted);
}

.nse-portfolio-card ul,
.nse-comparison ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.nse-portfolio-card li,
.nse-comparison li {
  position: relative;
  padding-left: 22px;
  color: var(--nse-muted);
  font-weight: 650;
}

.nse-portfolio-card li::before,
.nse-comparison li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nse-teal-400);
}

.nse-card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--nse-cyan-400);
  background: rgba(19, 181, 234, 0.12);
  font-weight: 950;
}

.nse-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 40% 35%, rgba(255,255,255,0.9), transparent 12%),
    linear-gradient(135deg, rgba(19,181,234,0.16), rgba(20,200,168,0.12));
  border: 1px solid rgba(19, 181, 234, 0.18);
}

/* Operating layer */
.nse-operating-layer {
  display: grid;
  gap: 18px;
  border-radius: var(--nse-radius-lg);
  padding: 26px;
  background:
    radial-gradient(circle at 50% 42%, rgba(19, 181, 234, 0.12), transparent 44%),
    var(--nse-navy-950);
  color: var(--nse-white);
  box-shadow: var(--nse-shadow-md);
}

.nse-layer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nse-layer-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.nse-layer-core {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nse-layer-core img {
  width: 80px;
  filter: drop-shadow(0 0 24px rgba(19, 181, 234, 0.38));
}

.nse-layer-core strong {
  font-size: 1.18rem;
}

.nse-layer-core small {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 750;
}

/* Workflow */
.nse-workflow,
.nse-pilot-steps {
  --nse-workflow-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: clamp(42px, 5vw, 72px);
}

.nse-pilot-steps {
  grid-template-columns: repeat(6, 1fr);
}

.nse-workflow__line {
  position: absolute;
  top: 25px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(19, 181, 234, 0.16);
  z-index: 0;
}

.nse-workflow__line::after {
  content: "";
  display: block;
  width: var(--nse-workflow-progress);
  height: 100%;
  background: linear-gradient(90deg, var(--nse-cyan-400), var(--nse-teal-400));
  box-shadow: 0 0 22px rgba(19, 181, 234, 0.4);
  transition: width 1.1s ease;
}

.nse-workflow__step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  opacity: 0.42;
  transform: translateY(9px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.nse-workflow__step span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nse-white);
  border: 1px solid rgba(19, 181, 234, 0.24);
  color: var(--nse-navy-950);
  font-weight: 950;
  box-shadow: var(--nse-shadow-sm);
}

.nse-section--dark .nse-workflow__step span,
.nse-pilot-steps .nse-workflow__step span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--nse-white);
  border-color: rgba(255, 255, 255, 0.12);
}

.nse-workflow__step strong {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--nse-navy-950);
}

.nse-workflow__step small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.nse-section--dark .nse-workflow__step strong,
.nse-pilot-steps .nse-workflow__step strong {
  color: var(--nse-white);
}

.nse-workflow__step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.nse-workflow__step.is-active span {
  background: var(--nse-cyan-400);
  color: var(--nse-navy-950);
  box-shadow: 0 0 28px rgba(19, 181, 234, 0.38);
}

/* Scrollytelling */
.nse-scrolly {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.nse-scrolly__copy {
  display: grid;
  gap: 34px;
}

.nse-scrolly-step {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.38;
  transform: translateX(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

.nse-scrolly-step.is-active {
  opacity: 1;
  transform: translateX(8px);
}

.nse-scrolly-step span {
  color: var(--nse-cyan-400);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.nse-scrolly-step h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.1;
  color: var(--nse-white);
  letter-spacing: -0.035em;
}

.nse-scrolly-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.nse-scrolly__visual {
  position: sticky;
  top: 100px;
  min-height: calc(100vh - 138px);
  display: flex;
  align-items: center;
}

.nse-product-demo {
  width: 100%;
  min-height: 620px;
  border-radius: var(--nse-radius-lg);
  padding: 18px;
  background: rgba(11, 31, 51, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--nse-shadow-dark);
  transition: box-shadow 300ms ease;
}

.nse-product-demo__header {
  min-height: 62px;
  color: var(--nse-white);
  padding-bottom: 14px;
}

.nse-product-demo__body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.nse-product-map {
  min-height: 500px;
}

.nse-product-side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.nse-demo-card {
  opacity: 0.25;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.nse-product-demo[data-nse-dashboard-scene="reported"] .nse-demo-card--reported,
.nse-product-demo[data-nse-dashboard-scene="assigned"] .nse-demo-card--reported,
.nse-product-demo[data-nse-dashboard-scene="assigned"] .nse-demo-card--assigned,
.nse-product-demo[data-nse-dashboard-scene="responding"] .nse-demo-card--reported,
.nse-product-demo[data-nse-dashboard-scene="responding"] .nse-demo-card--assigned,
.nse-product-demo[data-nse-dashboard-scene="responding"] .nse-demo-card--responding,
.nse-product-demo[data-nse-dashboard-scene="resolved"] .nse-demo-card {
  opacity: 1;
  transform: translateY(0);
}

.nse-scene-pin {
  opacity: 0.16;
  transition: opacity 260ms ease;
}

.nse-product-demo[data-nse-dashboard-scene="reported"] .nse-scene-pin--reported,
.nse-product-demo[data-nse-dashboard-scene="assigned"] .nse-scene-pin--reported,
.nse-product-demo[data-nse-dashboard-scene="assigned"] .nse-scene-pin--assigned,
.nse-product-demo[data-nse-dashboard-scene="responding"] .nse-scene-pin,
.nse-product-demo[data-nse-dashboard-scene="resolved"] .nse-scene-pin {
  opacity: 1;
}

/* Daily ops and resolution */
.nse-usecase-grid {
  grid-template-columns: repeat(4, 1fr);
}

.nse-usecase-card .nse-status {
  margin-bottom: 8px;
}

.nse-resolution-flow {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: var(--nse-radius-lg);
  background: var(--nse-navy-950);
  box-shadow: var(--nse-shadow-md);
}

.nse-resolution-card {
  background: rgba(255, 255, 255, 0.08);
}

.nse-resolution-card strong,
.nse-resolution-card small {
  display: block;
}

.nse-resolution-arrow {
  width: 2px;
  height: 24px;
  margin-left: 26px;
  background: linear-gradient(var(--nse-cyan-400), var(--nse-teal-400));
  box-shadow: 0 0 18px rgba(19, 181, 234, 0.34);
}

/* Emergency */
.nse-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.nse-feature-list span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 850;
}

.nse-emergency-board,
.nse-portfolio-dashboard {
  border-radius: var(--nse-radius-lg);
  padding: 24px;
  background: rgba(11, 31, 51, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--nse-shadow-dark);
}

.nse-emergency-board__header,
.nse-portfolio-dashboard__header {
  color: var(--nse-white);
  padding-bottom: 20px;
}

.nse-emergency-stats {
  grid-template-columns: repeat(2, 1fr);
}

.nse-stat-card strong {
  color: var(--nse-teal-400);
  font-size: clamp(2rem, 4vw, 4rem);
}

.nse-stat-card--warning strong {
  color: var(--nse-amber-400);
}

.nse-emergency-board__note {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

/* Governance */
.nse-audit-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.nse-audit-timeline::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--nse-cyan-400), var(--nse-teal-400));
  opacity: 0.42;
}

.nse-timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: start;
}

.nse-timeline-entry time {
  color: var(--nse-cyan-400);
  font-weight: 950;
}

.nse-timeline-entry p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--nse-white);
  box-shadow: var(--nse-shadow-sm);
  color: var(--nse-text);
  font-weight: 650;
}

/* Portfolio */
.nse-portfolio-dashboard {
  margin-top: 24px;
  color: var(--nse-white);
}

.nse-portfolio-metrics {
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0 18px;
}

.nse-portfolio-metrics strong {
  color: var(--nse-cyan-400);
}

.nse-portfolio-table {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nse-portfolio-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.9fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.nse-portfolio-table > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nse-portfolio-table__head {
  background: rgba(255, 255, 255, 0.09) !important;
  color: var(--nse-white) !important;
  font-weight: 900 !important;
}

.nse-portfolio-table .nse-status {
  font-style: normal;
}

/* Role matrix */
.nse-role-panel {
  border-radius: var(--nse-radius-lg);
  padding: 24px;
  background: var(--nse-white);
  border: 1px solid var(--nse-border);
  box-shadow: var(--nse-shadow-sm);
}

.nse-role-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.nse-role-buttons button {
  appearance: none;
  border: 1px solid rgba(36, 54, 75, 0.14);
  border-radius: 999px;
  padding: 10px 13px;
  background: var(--nse-surface);
  color: var(--nse-text);
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nse-role-buttons button:hover,
.nse-role-buttons button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(19, 181, 234, 0.4);
}

.nse-role-buttons button.is-active {
  background: var(--nse-cyan-400);
  color: var(--nse-navy-950);
  border-color: transparent;
}

.nse-permission-matrix {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--nse-border);
}

.nse-permission-cell {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nse-border);
  background: var(--nse-white);
  font-weight: 750;
  color: var(--nse-muted);
  transition: background 180ms ease, color 180ms ease;
}

.nse-permission-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.nse-permission-cell--head {
  background: var(--nse-navy-950);
  color: var(--nse-white);
  font-weight: 950;
}

.nse-permission-cell.is-allowed {
  background: rgba(20, 200, 168, 0.12);
  color: var(--nse-navy-950);
}

.nse-permission-cell.is-allowed::before {
  content: "✓ ";
  color: var(--nse-teal-400);
  font-weight: 950;
}

/* Comparison */
.nse-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nse-comparison__col {
  border-radius: 24px;
  padding: 26px;
  background: var(--nse-white);
  border: 1px solid var(--nse-border);
  box-shadow: var(--nse-shadow-sm);
}

.nse-comparison__col--highlight {
  background: var(--nse-navy-950);
  color: var(--nse-white);
  box-shadow: var(--nse-shadow-md);
}

.nse-comparison h3 {
  margin: 0;
  color: var(--nse-navy-950);
  letter-spacing: -0.025em;
}

.nse-comparison__col--highlight h3 {
  color: var(--nse-white);
}

.nse-comparison__col--highlight li {
  color: rgba(255, 255, 255, 0.72);
}

/* Pilot */
.nse-pilot-steps {
  color: var(--nse-white);
}

/* FAQ */
.nse-faq {
  display: grid;
  gap: 12px;
}

.nse-faq-item {
  padding: 0;
  overflow: hidden;
}

.nse-faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 950;
  color: var(--nse-navy-950);
  list-style: none;
}

.nse-faq-item summary::-webkit-details-marker {
  display: none;
}

.nse-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--nse-cyan-400);
  font-size: 1.3rem;
  line-height: 1;
}

.nse-faq-item[open] summary::after {
  content: "–";
}

.nse-faq-item p {
  padding: 0 24px 22px;
}

/* Final CTA */
.nse-final-cta {
  position: relative;
  padding: clamp(82px, 9vw, 140px) 0;
  color: var(--nse-white);
  background:
    radial-gradient(circle at 50% 20%, rgba(19, 181, 234, 0.24), transparent 34%),
    var(--nse-navy-950);
  text-align: center;
}

.nse-final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.nse-final-cta img {
  width: 92px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 28px rgba(19, 181, 234, 0.38));
}

.nse-final-cta .nse-eyebrow {
  justify-content: center;
}

.nse-final-cta p {
  margin-inline: auto;
}

.nse-final-cta__actions {
  justify-content: center;
}

/* Reveal animations */
.nse-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.nse-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nse-reveal--delay-1 { transition-delay: 120ms; }
.nse-reveal--delay-2 { transition-delay: 240ms; }
.nse-reveal--delay-3 { transition-delay: 360ms; }
.nse-reveal--delay-4 { transition-delay: 480ms; }

/* Responsive */
@media (max-width: 1100px) {
  .nse-hero__inner,
  .nse-two-col,
  .nse-scrolly {
    grid-template-columns: 1fr;
  }

  .nse-scrolly__visual {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .nse-scrolly-step {
    min-height: auto;
    padding: 18px 0;
  }

  .nse-problem-grid,
  .nse-usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nse-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nse-nav-toggle {
    display: inline-flex;
  }

  .nse-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: rgba(7, 24, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--nse-shadow-dark);
  }

  .nse-nav.is-open {
    display: flex;
  }

  .nse-nav a {
    padding: 12px;
    border-radius: 12px;
  }

  .nse-nav__cta {
    justify-content: center;
    margin-top: 6px;
  }

  .nse-hero {
    min-height: auto;
    padding: 106px 0 74px;
  }

  .nse-dashboard-grid,
  .nse-product-demo__body,
  .nse-comparison,
  .nse-portfolio-table > div {
    grid-template-columns: 1fr;
  }

  .nse-dashboard-shell,
  .nse-product-demo {
    min-height: auto;
  }

  .nse-map-stage,
  .nse-product-map {
    min-height: 340px;
  }

  .nse-workflow,
  .nse-pilot-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nse-workflow__line {
    display: none;
  }

  .nse-workflow__step {
    grid-template-columns: 52px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(19, 181, 234, 0.06);
  }

  .nse-section--dark .nse-workflow__step,
  .nse-pilot-steps .nse-workflow__step {
    background: rgba(255, 255, 255, 0.07);
  }

  .nse-workflow__step strong,
  .nse-workflow__step small {
    margin-top: 0;
  }

  .nse-workflow__step small {
    grid-column: 2;
  }

  .nse-portfolio-metrics,
  .nse-emergency-stats,
  .nse-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nse-container,
  .nse-container--narrow {
    width: min(100% - 28px, var(--nse-container));
  }

  .nse-site-header__inner {
    min-height: 66px;
  }

  .nse-brand__mark {
    width: 38px;
    height: 38px;
  }

  .nse-hero h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .nse-section-heading h2,
  .nse-two-col h2,
  .nse-final-cta h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .nse-problem-grid,
  .nse-usecase-grid,
  .nse-layer-row,
  .nse-permission-matrix,
  .nse-portfolio-metrics,
  .nse-emergency-stats {
    grid-template-columns: 1fr;
  }

  .nse-hero__actions,
  .nse-final-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nse-btn {
    width: 100%;
  }

  .nse-dashboard-shell,
  .nse-product-demo,
  .nse-emergency-board,
  .nse-portfolio-dashboard,
  .nse-role-panel {
    padding: 14px;
    border-radius: 22px;
  }

  .nse-timeline-entry {
    grid-template-columns: 62px 1fr;
    gap: 14px;
  }

  .nse-audit-timeline::before {
    left: 44px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .nse-hero__video {
    display: none;
  }

  .nse-reveal {
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   WordPress / Hestia child-theme integration
   -------------------------------------------------------------------------- */
.nevasolo-enterprise-page #nse-main,
#nse-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

.nevasolo-enterprise-page .main,
.nevasolo-enterprise-page .main-content,
.nevasolo-enterprise-page .content,
.nevasolo-enterprise-page .blog-post,
.nevasolo-enterprise-page .single-page,
.nevasolo-enterprise-page .hestia-blogs,
.nevasolo-enterprise-page .page-content,
.nevasolo-enterprise-page article,
.nevasolo-enterprise-page .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}

.nevasolo-enterprise-page .page-header,
.nevasolo-enterprise-page .entry-header,
.nevasolo-enterprise-page h1.entry-title,
.nevasolo-enterprise-page .title-in-content,
.nevasolo-enterprise-page .hestia-title,
.nevasolo-enterprise-page .single-page .section-image,
.nevasolo-enterprise-page .single-page-header {
  display: none !important;
}

.nevasolo-enterprise-page .container,
.nevasolo-enterprise-page .single-page .container,
.nevasolo-enterprise-page .content .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.nevasolo-enterprise-page .card,
.nevasolo-enterprise-page .card-raised,
.nevasolo-enterprise-page .blog-post {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.nevasolo-enterprise-page #nse-main a {
  text-decoration: none;
}

/* Enterprise hero readability + CTA polish patch */
#nse-main .nse-hero h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

#nse-main .nse-hero__lead {
  color: rgba(255, 255, 255, 0.91) !important;
}

#nse-main .nse-hero .nse-eyebrow {
  color: #5edcff !important;
}

#nse-main .nse-trust-strip span {
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#nse-main .nse-dashboard-label,
#nse-main .nse-mini-timeline span,
#nse-main .nse-incident-card span,
#nse-main .nse-stat-row span {
  color: rgba(255, 255, 255, 0.74) !important;
}

#nse-main .nse-btn--primary {
  color: #04111d !important;
}

#nse-main .nse-btn--secondary {
  color: #ffffff !important;
}

/* Portfolio / brand / security readability patch */
#nse-main #portfolio .nse-section-heading {
  max-width: 960px;
  margin-bottom: 56px;
}

#nse-main #portfolio .nse-eyebrow {
  color: #0aaee8 !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

#nse-main #portfolio .nse-section-heading h2 {
  color: #04111d !important;
  -webkit-text-fill-color: #04111d !important;
  font-size: clamp(2.65rem, 4.2vw, 4.35rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
}

#nse-main #portfolio .nse-section-heading p {
  color: #3a4c65 !important;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem) !important;
  line-height: 1.75 !important;
}

#nse-main #portfolio .nse-portfolio-card {
  padding: clamp(26px, 2.4vw, 34px) !important;
}

#nse-main #portfolio .nse-card-number {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  font-size: 1.05rem !important;
  color: #009fd8 !important;
  background: rgba(19, 181, 234, 0.14) !important;
}

#nse-main #portfolio .nse-portfolio-card h3 {
  margin-top: 22px !important;
  margin-bottom: 12px !important;
  color: #04111d !important;
  -webkit-text-fill-color: #04111d !important;
  font-size: clamp(1.3rem, 1.65vw, 1.55rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  font-weight: 950 !important;
}

#nse-main #portfolio .nse-portfolio-card p {
  color: #33465f !important;
  font-size: 1.03rem !important;
  line-height: 1.75 !important;
}

#nse-main #portfolio .nse-portfolio-card li {
  color: #31445d !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-weight: 820 !important;
  padding-left: 26px !important;
}

#nse-main #portfolio .nse-portfolio-card li::before {
  width: 9px !important;
  height: 9px !important;
  top: 0.62em !important;
  background: #14c8a8 !important;
  box-shadow: 0 0 0 4px rgba(20, 200, 168, 0.10) !important;
}

#nse-main #portfolio .nse-portfolio-dashboard {
  background: #20384c !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

#nse-main #portfolio .nse-portfolio-dashboard__header strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 1.18rem !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

#nse-main #portfolio .nse-portfolio-dashboard__header small {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
}

#nse-main #portfolio .nse-portfolio-dashboard > .nse-status,
#nse-main #portfolio .nse-portfolio-dashboard__header .nse-status {
  padding: 8px 13px !important;
  font-size: 0.82rem !important;
  color: #5edcff !important;
  background: rgba(19, 181, 234, 0.17) !important;
}

#nse-main #portfolio .nse-portfolio-metrics > div {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

#nse-main #portfolio .nse-portfolio-metrics strong {
  color: #21c7ff !important;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem) !important;
}

#nse-main #portfolio .nse-portfolio-metrics span {
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
}

#nse-main #portfolio .nse-portfolio-table {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

#nse-main #portfolio .nse-portfolio-table > div {
  background: rgba(255, 255, 255, 0.075) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.96rem !important;
  font-weight: 780 !important;
}

#nse-main #portfolio .nse-portfolio-table > div + div {
  border-top-color: rgba(255, 255, 255, 0.14) !important;
}

#nse-main #portfolio .nse-portfolio-table > div span {
  color: rgba(255, 255, 255, 0.88) !important;
}

#nse-main #portfolio .nse-portfolio-table__head {
  background: rgba(255, 255, 255, 0.13) !important;
}

#nse-main #portfolio .nse-portfolio-table__head span {
  color: #ffffff !important;
  font-weight: 950 !important;
}

#nse-main #portfolio .nse-portfolio-table .nse-status {
  padding: 7px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
}

/* Live incident screen scrollytelling spacing/readability patch */
#nse-main #live-screen.nse-section {
  padding-top: clamp(64px, 6vw, 96px) !important;
  padding-bottom: clamp(72px, 7vw, 110px) !important;
}

#nse-main #live-screen .nse-section-heading {
  margin-bottom: clamp(28px, 3.5vw, 48px) !important;
}

#nse-main #live-screen .nse-section-heading h2 {
  max-width: 820px !important;
}

#nse-main #live-screen .nse-section-heading p {
  max-width: 760px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(1.02rem, 1.18vw, 1.16rem) !important;
  line-height: 1.65 !important;
}

#nse-main #live-screen .nse-scrolly {
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr) !important;
  gap: clamp(28px, 4vw, 56px) !important;
  align-items: start !important;
}

#nse-main #live-screen .nse-scrolly__copy {
  gap: clamp(12px, 1.5vw, 20px) !important;
  padding-top: 8px !important;
}

#nse-main #live-screen .nse-scrolly-step {
  min-height: auto !important;
  padding: clamp(20px, 2.4vw, 34px) 0 clamp(22px, 2.8vw, 40px) 20px !important;
  justify-content: flex-start !important;
  border-left: 1px solid rgba(19, 181, 234, 0.18) !important;
  position: relative !important;
  opacity: 0.55 !important;
}

#nse-main #live-screen .nse-scrolly-step::before {
  content: "" !important;
  position: absolute !important;
  left: -5px !important;
  top: clamp(26px, 3vw, 38px) !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: rgba(19, 181, 234, 0.44) !important;
  box-shadow: 0 0 0 5px rgba(19, 181, 234, 0.08) !important;
}

#nse-main #live-screen .nse-scrolly-step.is-active {
  opacity: 1 !important;
  transform: translateX(4px) !important;
}

#nse-main #live-screen .nse-scrolly-step.is-active::before {
  background: #13b5ea !important;
  box-shadow: 0 0 0 6px rgba(19, 181, 234, 0.14), 0 0 22px rgba(19, 181, 234, 0.42) !important;
}

#nse-main #live-screen .nse-scrolly-step span {
  display: inline-flex !important;
  margin-bottom: 8px !important;
  color: #5edcff !important;
  font-size: 0.82rem !important;
}

#nse-main #live-screen .nse-scrolly-step h3 {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: clamp(1.28rem, 1.75vw, 1.78rem) !important;
  line-height: 1.14 !important;
}

#nse-main #live-screen .nse-scrolly-step p {
  max-width: 470px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(0.98rem, 1vw, 1.05rem) !important;
  line-height: 1.65 !important;
}

#nse-main #live-screen .nse-scrolly__visual {
  position: sticky !important;
  top: 92px !important;
  min-height: auto !important;
  height: auto !important;
  align-items: start !important;
  padding-top: 0 !important;
}

#nse-main #live-screen .nse-product-demo {
  min-height: 0 !important;
  padding: clamp(18px, 2vw, 24px) !important;
}

#nse-main #live-screen .nse-product-demo__body {
  align-items: stretch !important;
}

#nse-main #live-screen .nse-product-map {
  min-height: clamp(360px, 38vw, 500px) !important;
}

#nse-main #live-screen .nse-product-side {
  gap: 12px !important;
}

#nse-main #live-screen .nse-demo-card {
  min-height: auto !important;
  padding: clamp(15px, 1.6vw, 20px) !important;
}

#nse-main #live-screen .nse-demo-card strong {
  color: rgba(255, 255, 255, 0.94) !important;
}

#nse-main #live-screen .nse-demo-card small {
  color: rgba(255, 255, 255, 0.68) !important;
}

@media (max-width: 980px) {
  #nse-main #live-screen .nse-scrolly {
    grid-template-columns: 1fr !important;
  }

  #nse-main #live-screen .nse-scrolly__visual {
    position: relative !important;
    top: auto !important;
  }

  #nse-main #live-screen .nse-scrolly-step {
    padding-left: 18px !important;
  }
}

/* Operational gap section visual/readability patch */
#nse-main #platform.nse-section {
  padding-top: clamp(76px, 6vw, 104px) !important;
  padding-bottom: clamp(56px, 5vw, 82px) !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(19, 181, 234, 0.08), transparent 26%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 72%) !important;
}

#nse-main #platform .nse-section-heading {
  max-width: 980px !important;
  margin-bottom: clamp(30px, 4vw, 46px) !important;
}

#nse-main #platform .nse-eyebrow {
  color: #0aaee8 !important;
  font-size: 0.86rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.085em !important;
}

#nse-main #platform .nse-section-heading h2 {
  color: #04111d !important;
  -webkit-text-fill-color: #04111d !important;
  max-width: 920px !important;
  font-size: clamp(2.65rem, 4.3vw, 4.35rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.058em !important;
}

#nse-main #platform .nse-section-heading p {
  max-width: 860px !important;
  color: #3d536f !important;
  font-size: clamp(1.02rem, 1.18vw, 1.16rem) !important;
  line-height: 1.72 !important;
}

#nse-main #platform .nse-problem-grid {
  gap: clamp(16px, 2vw, 22px) !important;
  align-items: stretch !important;
}

#nse-main #platform .nse-card {
  min-height: 218px !important;
  padding: clamp(26px, 2.3vw, 32px) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 85% 12%, rgba(19, 181, 234, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  border-color: rgba(36, 54, 75, 0.14) !important;
  box-shadow: 0 20px 56px rgba(7, 24, 39, 0.08) !important;
}

#nse-main #platform .nse-card::after {
  content: "" !important;
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  top: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(19, 181, 234, 0.95), rgba(20, 200, 168, 0.7)) !important;
  opacity: 0.78 !important;
}

#nse-main #platform .nse-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(19, 181, 234, 0.32) !important;
  box-shadow: 0 26px 72px rgba(7, 24, 39, 0.13) !important;
}

#nse-main #platform .nse-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 17px !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,0.92), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, rgba(19,181,234,0.22), rgba(20,200,168,0.13)) !important;
  border-color: rgba(19, 181, 234, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 14px 28px rgba(19,181,234,0.10) !important;
  color: #079fd6 !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
}

#nse-main #platform .nse-icon::before {
  display: block !important;
  font-size: 1.02rem !important;
  line-height: 1 !important;
}

#nse-main #platform .nse-card:nth-child(1) .nse-icon::before { content: "01" !important; }
#nse-main #platform .nse-card:nth-child(2) .nse-icon::before { content: "02" !important; }
#nse-main #platform .nse-card:nth-child(3) .nse-icon::before { content: "03" !important; }
#nse-main #platform .nse-card:nth-child(4) .nse-icon::before { content: "04" !important; }

#nse-main #platform .nse-card h3 {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
  color: #04111d !important;
  -webkit-text-fill-color: #04111d !important;
  font-size: clamp(1.18rem, 1.4vw, 1.36rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.032em !important;
  font-weight: 950 !important;
}

#nse-main #platform .nse-card p {
  color: #3b516c !important;
  font-size: 1.01rem !important;
  line-height: 1.68 !important;
}

@media (max-width: 980px) {
  #nse-main #platform .nse-problem-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  #nse-main #platform.nse-section {
    padding-top: 64px !important;
    padding-bottom: 58px !important;
  }

  #nse-main #platform .nse-problem-grid {
    grid-template-columns: 1fr !important;
  }

  #nse-main #platform .nse-card {
    min-height: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Human-eye readability patch
   Purpose: WordPress/Hestia can make rem-based microcopy appear too small.
   These overrides use px-based minimums for eyebrow labels, chips, badges,
   dashboard microcopy, pilot labels and section body text.
---------------------------------------------------------------------------- */
#nse-main {
  font-size: 16px !important;
}

#nse-main .nse-eyebrow {
  gap: 10px !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.08em !important;
  font-weight: 950 !important;
  margin-bottom: 18px !important;
}

#nse-main .nse-eyebrow::before {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  box-shadow: 0 0 18px currentColor !important;
}

#nse-main .nse-section-heading p,
#nse-main .nse-two-col p,
#nse-main .nse-card p,
#nse-main .nse-comparison p,
#nse-main .nse-final-cta p {
  font-size: clamp(16px, 1.05vw, 18px) !important;
  line-height: 1.72 !important;
}

#nse-main .nse-section--white .nse-section-heading p,
#nse-main .nse-section--light .nse-section-heading p,
#nse-main .nse-section--white .nse-two-col p,
#nse-main .nse-section--light .nse-two-col p,
#nse-main .nse-section--white .nse-card p,
#nse-main .nse-section--light .nse-card p {
  color: #344a63 !important;
}

#nse-main .nse-section--dark .nse-section-heading p,
#nse-main .nse-section--dark .nse-two-col p,
#nse-main .nse-section--dark .nse-card p,
#nse-main .nse-section--dark .nse-final-cta p {
  color: rgba(255, 255, 255, 0.84) !important;
}

#nse-main .nse-feature-list {
  gap: 12px !important;
}

#nse-main .nse-feature-list span,
#nse-main .nse-trust-strip span {
  min-height: 36px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

#nse-main .nse-status,
#nse-main .nse-live-pill {
  min-height: 28px !important;
  padding: 8px 12px !important;
  gap: 8px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}

#nse-main .nse-status::before,
#nse-main .nse-live-pill span,
#nse-main .nse-trust-strip span::before {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
}

#nse-main .nse-btn {
  min-height: 54px !important;
  padding: 0 26px !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
}

#nse-main .nse-dashboard-label,
#nse-main .nse-dashboard-topbar small,
#nse-main .nse-product-demo small,
#nse-main .nse-emergency-board small,
#nse-main .nse-portfolio-dashboard small,
#nse-main .nse-demo-card small,
#nse-main .nse-resolution-card small,
#nse-main .nse-incident-card span,
#nse-main .nse-mini-timeline,
#nse-main .nse-mini-timeline span,
#nse-main .nse-stat-row span,
#nse-main .nse-stat-card span,
#nse-main .nse-portfolio-metrics span {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 780 !important;
}

#nse-main .nse-emergency-board__header strong,
#nse-main .nse-portfolio-dashboard__header strong,
#nse-main .nse-product-demo__header strong,
#nse-main .nse-dashboard-topbar strong {
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  font-weight: 950 !important;
}

#nse-main .nse-stat-card strong,
#nse-main .nse-portfolio-metrics strong,
#nse-main .nse-stat-row strong {
  letter-spacing: -0.03em !important;
}

#nse-main .nse-workflow__step strong {
  margin-top: 12px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
}

#nse-main .nse-workflow__step small {
  margin-top: 6px !important;
  max-width: 160px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 820 !important;
  color: rgba(255, 255, 255, 0.74) !important;
}

#nse-main .nse-pilot-steps .nse-workflow__step span {
  width: 58px !important;
  height: 58px !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

#nse-main .nse-pilot-steps .nse-workflow__line {
  top: 29px !important;
}

#nse-main .nse-comparison__col h3 {
  font-size: clamp(28px, 2.4vw, 40px) !important;
  line-height: 1.08 !important;
}

#nse-main .nse-comparison__col li,
#nse-main .nse-portfolio-card li,
#nse-main .nse-usecase-card li,
#nse-main .nse-card li {
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 820 !important;
}

#nse-main #life-safety .nse-feature-list span {
  color: rgba(255, 255, 255, 0.94) !important;
}

#nse-main #life-safety .nse-emergency-board__note {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.86) !important;
}

#nse-main #pilot .nse-section-heading p,
#nse-main #radio .nse-section-heading p,
#nse-main #life-safety .nse-two-col p {
  max-width: 820px !important;
}

@media (max-width: 980px) {
  #nse-main .nse-eyebrow {
    font-size: 12.8px !important;
  }

  #nse-main .nse-feature-list span,
  #nse-main .nse-trust-strip span,
  #nse-main .nse-status,
  #nse-main .nse-live-pill {
    font-size: 12.8px !important;
  }

  #nse-main .nse-pilot-steps .nse-workflow__step span {
    width: 50px !important;
    height: 50px !important;
    font-size: 15px !important;
  }

  #nse-main .nse-workflow__step strong {
    font-size: 14.5px !important;
  }

  #nse-main .nse-workflow__step small {
    font-size: 13.5px !important;
  }
}
