/* =====================================================================
   NPSIMS · Landing page
   Structured top → bottom:
     .site-header  · sticky nav
     .hero         · full-viewport with animated Kenya map
     .stats-strip  · counters
     .modules      · 17-card grid
     .ic4-preview  · mini command wall
     .flow         · how it works
     .integrations · agency badges
     .trust        · security markers
     .dual-cta     · officers vs citizens
     .site-footer
   ===================================================================== */

/* ============ SITE HEADER (fixed) ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-topbar);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(11, 37, 69, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #F1F5F9;
  transition: background var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { background: rgba(6, 15, 36, 0.92); }
.site-header .inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.brand {
  display: flex; align-items: center; gap: var(--s-3);
  color: inherit;
}
.brand .brand-mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--nps-gold-600) 0%, var(--nps-gold-500) 100%);
  color: var(--nps-navy-900);
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35), inset 0 -1px 0 rgba(0,0,0,0.15);
}
.brand .brand-txt {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand .brand-txt .b1 {
  font-size: var(--fs-15);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-widest);
}
.brand .brand-txt .b1 em {
  font-style: normal;
  color: var(--nps-gold-500);
}
.brand .brand-txt .b2 {
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.site-nav {
  display: flex; align-items: center; gap: var(--s-6);
}
.site-nav a {
  color: rgba(241, 245, 249, 0.78);
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  padding: var(--s-2) 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--nps-gold-600);
  transition: right var(--dur-base) var(--ease-out);
}
.site-nav a:hover { color: #FFF; }
.site-nav a:hover::after { right: 0; }
.site-nav .lang {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-wide);
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.04);
  transition: all var(--dur-fast) var(--ease-out);
}
.site-nav .lang:hover { background: rgba(201, 162, 39, 0.16); border-color: var(--nps-gold-600); color: #FFF; }
.site-nav .lang.active-lang { color: var(--nps-navy-900); background: var(--nps-gold-500); border-color: var(--nps-gold-500); }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.btn-ghost-inv {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  font-weight: var(--fw-semi);
  transition: background var(--dur-fast) var(--ease-out);
}
.btn-ghost-inv:hover { background: rgba(255,255,255,0.08); color: #FFF; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--nps-gold-500) 0%, var(--nps-gold-600) 100%);
  color: var(--nps-navy-900);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201, 162, 39, 0.55); color: var(--nps-navy-900); }
.btn-gold:active { transform: translateY(0); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: #FFF;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--topbar-h) + var(--s-16)) 0 var(--s-16);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(60, 116, 201, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--nps-navy-950) 0%, var(--nps-navy-900) 100%);
  color: #F1F5F9;
  overflow: hidden;
}
.hero .aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 45% at 30% 30%, rgba(201, 162, 39, 0.28), transparent 70%),
    radial-gradient(45% 45% at 70% 70%, rgba(60, 116, 201, 0.28), transparent 70%);
  filter: blur(60px);
  opacity: 0.7;
  animation: aurora-shift 22s ease-in-out infinite;
  pointer-events: none;
}
.hero .noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-16);
  align-items: center;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-10); }
}

/* Live activity monitor — rotating status messages just above H1 */
.live-monitor {
  display: inline-flex; align-items: center;
  gap: var(--s-3);
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(6, 15, 36, 0.55);
  border-radius: var(--r-full);
  margin-bottom: var(--s-6);
  backdrop-filter: blur(10px);
  max-width: 100%;
  overflow: hidden;
}
.live-monitor .lm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.14);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: #FCA5A5;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  flex-shrink: 0;
}
.live-monitor .lm-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: pulse-dot 1s ease-in-out infinite;
}
.live-monitor .lm-text {
  font-size: var(--fs-13);
  color: rgba(241, 245, 249, 0.88);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.live-monitor .lm-text.swap {
  animation: fadeInUp 260ms var(--ease-out);
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.8vw, 5.75rem);
  font-weight: var(--fw-black);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #FFF;
  margin-bottom: var(--s-6);
  display: block;
}
.hero-copy h1 .line {
  display: block;
  overflow: hidden;
}
.hero-copy h1 .line .line-inner {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  animation: heroLineReveal 720ms cubic-bezier(.2, .8, .1, 1) forwards;
}
.hero-copy h1 .line:nth-child(1) .line-inner { animation-delay: 60ms; }
.hero-copy h1 .line:nth-child(2) .line-inner { animation-delay: 180ms; }
.hero-copy h1 .line:nth-child(3) .line-inner { animation-delay: 320ms; }
@keyframes heroLineReveal {
  0%   { transform: translateY(105%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.hero-copy h1 .gold {
  background: linear-gradient(100deg,
    var(--nps-gold-300) 0%,
    var(--nps-gold-500) 30%,
    var(--nps-gold-600) 55%,
    var(--nps-gold-400) 80%,
    var(--nps-gold-300) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  position: relative;
}
.hero-copy h1 .gold::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -0.08em;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--nps-gold-600) 20%,
    var(--nps-gold-400) 50%,
    var(--nps-gold-600) 80%,
    transparent 100%);
  border-radius: var(--r-full);
  opacity: 0.55;
}
.hero-copy p.lead {
  font-size: var(--fs-18);
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.82);
  max-width: 540px;
  margin-bottom: var(--s-8);
  animation: fadeInUp 800ms 500ms both var(--ease-out);
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  animation: fadeInUp 800ms 700ms both var(--ease-out);
}
.btn-ghost-lg {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 16px 26px;
  border-radius: var(--r-md);
  font-size: var(--fs-15);
  font-weight: var(--fw-semi);
  transition: all var(--dur-fast) var(--ease-out);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.03);
}
.btn-ghost-lg:hover { border-color: var(--nps-gold-600); color: #FFF; background: rgba(201, 162, 39, 0.08); }

.btn-gold-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px;
  background: linear-gradient(180deg, var(--nps-gold-400), var(--nps-gold-600));
  color: var(--nps-navy-900);
  border-radius: var(--r-md);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  box-shadow:
    0 12px 32px rgba(201, 162, 39, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-gold-lg::before {
  content: "";
  position: absolute; inset: -2px;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: btnSheen 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnSheen {
  0%, 25%   { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}
.btn-gold-lg:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(201, 162, 39, 0.65), inset 0 1px 0 rgba(255,255,255,0.5); color: var(--nps-navy-900); }
.btn-gold-lg:active { transform: translateY(0); }

/* Trust marquee */
.hero-trust {
  margin-top: var(--s-10);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  max-width: 560px;
}
.hero-trust .trust-track {
  display: inline-flex; gap: var(--s-6);
  animation: ticker-slide 32s linear infinite;
  white-space: nowrap;
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.55);
  letter-spacing: var(--tracking-wide);
  padding-right: var(--s-6);
}
.hero-trust .trust-track span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .trust-track span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nps-gold-500);
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.5);
}

/* Live clock chip */
.hero-clock {
  position: absolute;
  top: calc(var(--topbar-h) + 20px);
  right: var(--gutter-desktop);
  z-index: 3;
  padding: 8px 14px;
  background: rgba(6, 15, 36, 0.55);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-wide);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 8px;
  animation: fadeIn 600ms 400ms both;
}
.hero-clock .tz {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--nps-gold-400);
  border-radius: var(--r-sm);
  letter-spacing: var(--tracking-widest);
}
.hero-clock .clock-time {
  color: #FFF; font-weight: var(--fw-semi); font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .hero-clock { display: none; }
}

/* --- Republic-of-Kenya identifier row (uses the official crest) --- */
.republic-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 15, 36, 0.4);
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
  backdrop-filter: blur(10px);
  animation: fadeInUp 600ms 100ms both var(--ease-out);
}
.republic-mark .crest {
  width: 40px; height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(201, 162, 39, 0.4));
}
.republic-mark .republic-txt {
  display: flex; flex-direction: column; line-height: 1.1;
  padding-right: 4px;
}
.republic-mark .republic-txt .r1 {
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: var(--fw-semi);
}
.republic-mark .republic-txt .r2 {
  font-size: var(--fs-13);
  color: #FFF;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-snug);
}

/* --- Huge ceremonial crest watermark behind the hero right column --- */
.hero-crest-watermark {
  position: absolute;
  right: -8%;
  top: 10%;
  width: 780px;
  height: 780px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  filter: brightness(1.4) drop-shadow(0 0 60px rgba(201, 162, 39, 0.3));
  animation: float 12s ease-in-out infinite;
}
@media (max-width: 1200px) {
  .hero-crest-watermark { width: 640px; height: 640px; right: -18%; opacity: 0.04; }
}
@media (max-width: 900px) {
  .hero-crest-watermark { display: none; }
}

/* Kenya map panel — bigger and more dramatic */
.hero-map {
  position: relative;
  min-height: 580px;
  max-width: 680px;
  margin-inline: auto;
  width: 100%;
  animation: fadeIn 800ms 400ms both;
}
.hero-map svg { width: 100%; height: 100%; }
.hero-map .radar-sweep {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(201, 162, 39, 0.18) 22deg,
    transparent 60deg,
    transparent 360deg);
  animation: radar-spin 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
  filter: blur(2px);
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.signal-arc {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 3 10;
  animation: arc-flow 2s linear infinite;
  opacity: 0.75;
}
@keyframes arc-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -26; }
}
.signal-arc.a2 { animation-duration: 2.6s; }
.signal-arc.a3 { animation-duration: 3.2s; }
.signal-arc.a4 { animation-duration: 2.2s; }
.hero-map .map-glow {
  position: absolute; inset: 10%;
  background: radial-gradient(circle at center, rgba(201, 162, 39, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: pulse-dot 4s ease-in-out infinite;
}
.hero-map .map-caption {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 10px;
  background: rgba(6, 15, 36, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  font-size: var(--fs-11);
  color: rgba(255,255,255,0.7);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-map .map-caption .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.hero-map .map-legend {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: var(--fs-11);
  color: rgba(255,255,255,0.65);
  z-index: 3;
}
.hero-map .map-legend .row {
  display: flex; align-items: center; gap: 6px;
}
.hero-map .map-legend .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.hero-map .map-legend .dot.critical { background: #FF4D6D; box-shadow: 0 0 6px #FF4D6D; }
.hero-map .map-legend .dot.pending  { background: var(--nps-gold-500); box-shadow: 0 0 6px var(--nps-gold-500); }
.hero-map .map-legend .dot.resolved { background: #22C55E; box-shadow: 0 0 6px #22C55E; }

/* SVG Kenya map styling */
.kenya-outline {
  fill: rgba(60, 116, 201, 0.08);
  stroke: rgba(201, 162, 39, 0.5);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.2));
}
.kenya-outline.inner {
  fill: none;
  stroke: rgba(201, 162, 39, 0.2);
  stroke-dasharray: 4 6;
}
.county-mark {
  fill: rgba(255,255,255,0.35);
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.incident-dot { transition: transform var(--dur-fast) var(--ease-out); }
.incident-dot .core {
  transform-origin: center;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.incident-dot .ring {
  transform-origin: center;
  animation: pulse-ring 2.2s ease-out infinite;
}
.incident-dot.crit .core, .incident-dot.crit .ring { fill: #FF4D6D; }
.incident-dot.pend .core, .incident-dot.pend .ring { fill: var(--nps-gold-500); }
.incident-dot.resv .core, .incident-dot.resv .ring { fill: #22C55E; }
.incident-dot[data-i="0"] .core { animation-delay: 0.0s; }
.incident-dot[data-i="1"] .core { animation-delay: 0.2s; }
.incident-dot[data-i="2"] .core { animation-delay: 0.4s; }
.incident-dot[data-i="3"] .core { animation-delay: 0.6s; }
.incident-dot[data-i="4"] .core { animation-delay: 0.8s; }
.incident-dot[data-i="5"] .core { animation-delay: 1.0s; }
.incident-dot[data-i="0"] .ring { animation-delay: 0.0s; }
.incident-dot[data-i="1"] .ring { animation-delay: 0.35s; }
.incident-dot[data-i="2"] .ring { animation-delay: 0.7s; }
.incident-dot[data-i="3"] .ring { animation-delay: 1.05s; }
.incident-dot[data-i="4"] .ring { animation-delay: 1.4s; }
.incident-dot[data-i="5"] .ring { animation-delay: 1.75s; }

/* ============ STATS STRIP ============ */
.stats-strip {
  position: relative;
  z-index: 2;
  background: var(--nps-navy-950);
  padding: var(--s-8) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  color: #F1F5F9;
}
.stats-strip .inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
@media (max-width: 768px) {
  .stats-strip .inner { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
.stat {
  display: flex; flex-direction: column; gap: 4px;
}
.stat-value {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: #FFF;
  background: linear-gradient(120deg, #FFF 0%, var(--nps-gold-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============ Reusable section shell ============ */
.section {
  padding: var(--s-24) 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: var(--s-16) 0; }
}
.section .section-head {
  max-width: 780px;
  margin: 0 auto var(--s-12);
  text-align: center;
}
.section .section-head .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  font-size: var(--fs-11);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--nps-gold-800);
  background: var(--nps-gold-100);
  font-weight: var(--fw-semi);
  margin-bottom: var(--s-4);
}
.section .section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  color: var(--nps-navy-900);
  margin-bottom: var(--s-3);
}
.section .section-head p {
  font-size: var(--fs-18);
  color: var(--ink-2);
  line-height: 1.6;
}
.section.dark {
  background: linear-gradient(180deg, var(--nps-navy-950) 0%, var(--nps-navy-900) 100%);
  color: rgba(241, 245, 249, 0.85);
}
.section.dark .section-head h2 { color: #FFF; }
.section.dark .section-head p { color: rgba(241, 245, 249, 0.7); }

/* ============ MODULES GRID ============ */
.modules {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-1);
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
}
@media (max-width: 1024px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .module-grid { grid-template-columns: 1fr; } }

.module-card {
  position: relative;
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  text-align: left;
  display: flex; flex-direction: column;
  min-height: 180px;
}
.module-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--nps-gold-600);
}
.module-card:hover::before { opacity: 1; }
.module-card .m-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--nps-navy-50);
  color: var(--nps-navy-800);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.module-card:hover .m-icon {
  background: linear-gradient(135deg, var(--nps-gold-500), var(--nps-gold-600));
  color: var(--nps-navy-900);
  transform: rotate(-6deg) scale(1.05);
}
.module-card .m-name {
  font-size: var(--fs-15);
  font-weight: var(--fw-bold);
  color: var(--ink-0);
  margin-bottom: var(--s-1);
  letter-spacing: var(--tracking-snug);
}
.module-card .m-desc {
  font-size: var(--fs-13);
  color: var(--ink-3);
  line-height: 1.5;
  flex-grow: 1;
}
.module-card .m-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 2px 8px;
  background: var(--nps-gold-100);
  color: var(--nps-gold-800);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-widest);
  border-radius: var(--r-full);
}
.module-card .m-cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--s-3);
  font-size: var(--fs-12);
  color: var(--nps-navy-700);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.module-card:hover .m-cta { opacity: 1; transform: translateX(0); }

/* ============ IC4 PREVIEW ============ */
.ic4-preview {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(201, 162, 39, 0.15), transparent 60%),
    linear-gradient(180deg, var(--nps-navy-950) 0%, #030815 100%);
  color: #F1F5F9;
  overflow: hidden;
  position: relative;
}
.ic4-preview::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(60, 116, 201, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 116, 201, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
}
.ic4-preview .inner {
  position: relative;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--s-12);
  align-items: center;
}
@media (max-width: 1024px) {
  .ic4-preview .inner { grid-template-columns: 1fr; gap: var(--s-10); }
}
.ic4-copy .eyebrow { color: var(--nps-gold-400); }
.ic4-copy h2 { color: #FFF; }
.ic4-copy p { color: rgba(241,245,249,0.72); font-size: var(--fs-16); line-height: 1.65; margin-bottom: var(--s-6); }
.ic4-copy ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3);
}
.ic4-copy li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: var(--fs-14);
  color: rgba(241,245,249,0.85);
}
.ic4-copy li svg { flex-shrink: 0; margin-top: 3px; color: var(--nps-gold-500); }

.ic4-wall {
  background: rgba(6, 15, 36, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.ic4-wall .wall-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px;
  margin-bottom: var(--s-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ic4-wall .wall-head .title {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: var(--fw-semi);
}
.ic4-wall .wall-head .live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: #FCA5A5;
  letter-spacing: var(--tracking-widest);
}
.ic4-wall .wall-head .live-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #EF4444;
  animation: pulse-dot 1s ease-in-out infinite;
}
.ic4-wall .wall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 100px 100px;
  gap: 6px;
  margin-bottom: var(--s-3);
}
.wall-feed {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(60, 116, 201, 0.2), rgba(11, 37, 69, 0.6));
  border: 1px solid rgba(255,255,255,0.06);
}
/* Live CCTV clip — muted, looping, cover-fit, slight CRT grade */
.wall-feed-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.06) saturate(0.85) brightness(0.88);
  transform: translateZ(0); /* promote to own layer — smoother */
}
.wall-feed .noise-bg { z-index: 0; }
.wall-feed .scanline { z-index: 2; }
.wall-feed .cam-tag,
.wall-feed .rec,
.wall-feed .ai-box { z-index: 3; }
.wall-feed .scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(255,255,255,0.02) 0 2px,
    rgba(255,255,255,0) 2px 4px);
  pointer-events: none;
}
.wall-feed .cam-tag {
  position: absolute; top: 4px; left: 4px;
  padding: 1px 6px;
  background: rgba(0,0,0,0.55);
  border-radius: 3px;
  font-size: 9px;
  color: rgba(255,255,255,0.8);
  letter-spacing: var(--tracking-widest);
  font-weight: var(--fw-semi);
  z-index: 2;
}
.wall-feed .rec {
  position: absolute; top: 4px; right: 4px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 6px #EF4444;
  animation: pulse-dot 1s ease-in-out infinite;
  z-index: 2;
}
.wall-feed .ai-box {
  position: absolute;
  border: 1.5px solid var(--nps-gold-500);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
  border-radius: 2px;
}
.wall-feed .ai-box::before {
  content: attr(data-label);
  position: absolute; top: -18px; left: -1px;
  font-size: 9px;
  padding: 1px 4px;
  background: var(--nps-gold-500);
  color: var(--nps-navy-900);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  border-radius: 2px;
  white-space: nowrap;
}
.wall-feed .noise-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,0.1), transparent 50%);
}

.ic4-wall .ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--s-3);
}
.ic4-wall .ticker-inner {
  display: flex; gap: var(--s-6);
  animation: ticker-slide 30s linear infinite;
  white-space: nowrap;
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.7);
}
.ic4-wall .ticker-inner span { display: inline-flex; align-items: center; gap: 8px; }
.ic4-wall .ticker-inner span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nps-gold-500);
}

/* ============ HOW IT WORKS ============ */
.flow {
  background: var(--surface-1);
}
.flow-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  position: relative;
}
@media (max-width: 900px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-step {
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.flow-step:hover { box-shadow: var(--shadow-2); }
.flow-step .step-n {
  position: absolute; top: -18px; left: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nps-gold-500), var(--nps-gold-600));
  color: var(--nps-navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-14);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.4);
  border: 3px solid var(--surface-1);
}
.flow-step h3 {
  font-size: var(--fs-18);
  color: var(--nps-navy-900);
  margin: var(--s-4) 0 var(--s-2);
}
.flow-step p {
  color: var(--ink-3);
  font-size: var(--fs-14);
  line-height: 1.6;
}
.flow-step .step-icon {
  width: 48px; height: 48px;
  color: var(--nps-navy-700);
  background: var(--nps-navy-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}

/* ============ INTEGRATIONS ============ */
.integrations { background: var(--surface-0); }
.int-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
}
@media (max-width: 1024px) { .int-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .int-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px)  { .int-grid { grid-template-columns: repeat(2, 1fr); } }

.int-badge {
  aspect-ratio: 1.4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.int-badge:hover {
  border-color: var(--nps-gold-600);
  background: var(--surface-0);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.int-badge .abbr {
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--nps-navy-900);
  letter-spacing: var(--tracking-wide);
}
.int-badge .full {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: var(--tracking-wide);
  text-align: center;
  padding-inline: 6px;
}

/* ============ TRUST ============ */
.trust {
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.trust-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
}
@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.trust-card {
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: flex; flex-direction: column; gap: 8px;
  transition: all var(--dur-base) var(--ease-out);
}
.trust-card:hover {
  border-color: var(--nps-navy-600);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.08);
}
.trust-card .t-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--nps-navy-50);
  color: var(--nps-navy-700);
  display: flex; align-items: center; justify-content: center;
}
.trust-card .t-name {
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  color: var(--ink-0);
  letter-spacing: var(--tracking-wide);
}
.trust-card .t-desc {
  font-size: var(--fs-11);
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============ DUAL CTA ============ */
.dual-cta {
  background: linear-gradient(180deg, var(--nps-navy-900) 0%, var(--nps-navy-950) 100%);
  color: #F1F5F9;
  position: relative;
  overflow: hidden;
}
.dual-cta::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(201, 162, 39, 0.2), transparent 70%),
    radial-gradient(40% 40% at 80% 70%, rgba(60, 116, 201, 0.2), transparent 70%);
  filter: blur(80px);
  animation: aurora-shift 30s ease-in-out infinite;
  pointer-events: none;
}
.dual-cta .inner {
  position: relative;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}
@media (max-width: 900px) { .dual-cta .inner { grid-template-columns: 1fr; } }
.cta-card {
  padding: var(--s-10);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-card:hover {
  transform: translateY(-4px);
  border-color: var(--nps-gold-600);
  background: rgba(255,255,255,0.05);
}
.cta-card .cta-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--nps-gold-500), var(--nps-gold-600));
  color: var(--nps-navy-900);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-5);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35);
}
.cta-card h3 {
  font-size: var(--fs-24);
  color: #FFF;
  margin-bottom: var(--s-2);
}
.cta-card p {
  color: rgba(241,245,249,0.7);
  font-size: var(--fs-15);
  line-height: 1.6;
  margin-bottom: var(--s-5);
}
.cta-card .btn-gold-lg { display: inline-flex; }
.cta-card .cta-secondary {
  display: block;
  margin-top: var(--s-3);
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.5);
  letter-spacing: var(--tracking-wide);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #030815;
  color: rgba(241,245,249,0.6);
  padding: var(--s-16) 0 var(--s-6);
}
.site-footer .inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-10);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.footer-brand p {
  color: rgba(241,245,249,0.55);
  font-size: var(--fs-13);
  line-height: 1.6;
  margin-top: var(--s-3);
  max-width: 320px;
}
.footer-col h6 {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(241,245,249,0.6);
  font-size: var(--fs-13);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--nps-gold-500); }
.footer-bottom {
  padding-top: var(--s-5);
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-bottom .republic {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .republic .flag {
  display: inline-flex;
  width: 18px; height: 12px;
  overflow: hidden;
  border-radius: 2px;
}
.footer-bottom .republic .flag span { flex: 1; }
.footer-bottom .republic .flag .b { background: var(--ke-black); }
.footer-bottom .republic .flag .r { background: var(--ke-red); }
.footer-bottom .republic .flag .g { background: var(--ke-green); }
.footer-bottom .republic .flag { flex-direction: column; }

/* ============ MODULE DETAIL MODAL ============ */
.modal-scrim {
  position: fixed; inset: 0;
  background: rgba(6, 15, 36, 0.7);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--surface-0);
  border-radius: var(--r-xl);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-4);
  transform: translateY(24px) scale(0.98);
  transition: transform var(--dur-base) var(--ease-spring);
}
.modal-scrim.open .modal-card { transform: translateY(0) scale(1); }
.modal-head {
  padding: var(--s-6) var(--s-6) var(--s-4);
  display: flex; align-items: flex-start; gap: var(--s-4);
  border-bottom: 1px solid var(--border-1);
}
.modal-head .m-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--nps-gold-500), var(--nps-gold-600));
  color: var(--nps-navy-900);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-head .m-title { flex: 1; }
.modal-head h3 { font-size: var(--fs-20); color: var(--nps-navy-900); margin-bottom: 2px; }
.modal-head .subtitle { font-size: var(--fs-13); color: var(--ink-3); }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: all var(--dur-fast) var(--ease-out);
}
.modal-close:hover { background: var(--surface-2); color: var(--ink-1); }
.modal-body { padding: var(--s-6); }
.modal-body h4 {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--ink-3);
  margin-bottom: var(--s-3);
  font-weight: var(--fw-semi);
}
.modal-body ul { list-style: none; padding: 0; margin: 0 0 var(--s-6); }
.modal-body ul li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-1);
  font-size: var(--fs-14);
  color: var(--ink-1);
}
.modal-body ul li:last-child { border-bottom: 0; }
.modal-body ul li svg { flex-shrink: 0; color: var(--nps-gold-600); margin-top: 3px; }
.modal-body .stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  padding: var(--s-4);
  background: var(--surface-2);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.modal-body .stat-row .cell { text-align: center; }
.modal-body .stat-row .n {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--nps-navy-900);
  display: block;
}
.modal-body .stat-row .l {
  font-size: var(--fs-11);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}
.modal-foot {
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--border-1);
  display: flex; gap: var(--s-3); justify-content: flex-end;
  background: var(--surface-1);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.btn-primary {
  padding: 10px 18px;
  background: var(--nps-navy-800);
  color: #FFF;
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  font-weight: var(--fw-semi);
  transition: background var(--dur-fast) var(--ease-out);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--nps-navy-900); color: #FFF; }
.btn-secondary {
  padding: 10px 18px;
  background: var(--surface-2);
  color: var(--ink-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  font-weight: var(--fw-semi);
  transition: background var(--dur-fast) var(--ease-out);
}
.btn-secondary:hover { background: var(--surface-3); }

/* ============ TOAST ============ */
.toast-stack {
  position: fixed;
  top: calc(var(--topbar-h) + var(--s-3));
  right: var(--s-4);
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--s-2);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--surface-0);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--border-1);
  border-left: 4px solid var(--success);
  min-width: 280px;
  max-width: 380px;
  animation: fadeInUp var(--dur-base) var(--ease-out) forwards;
  pointer-events: auto;
}
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: var(--info); }
.toast .t-icon { color: var(--success); }
.toast.error   .t-icon { color: var(--danger); }
.toast.warning .t-icon { color: var(--warning); }
.toast.info    .t-icon { color: var(--info); }
.toast .t-body { flex: 1; }
.toast .t-title {
  font-size: var(--fs-13);
  font-weight: var(--fw-semi);
  color: var(--ink-0);
  margin-bottom: 2px;
}
.toast .t-msg {
  font-size: var(--fs-12);
  color: var(--ink-3);
}

/* ============ MOBILE MENU DRAWER ============ */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer .scrim {
  position: absolute; inset: 0;
  background: rgba(6, 15, 36, 0.7);
  backdrop-filter: blur(8px);
}
.mobile-drawer .sheet {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--nps-navy-950);
  color: #F1F5F9;
  padding: var(--s-6);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-emphasis);
  overflow-y: auto;
}
.mobile-drawer.open .sheet { transform: translateX(0); }
.mobile-drawer .sheet .brand { color: #FFF; margin-bottom: var(--s-8); }
.mobile-drawer .sheet a {
  display: block;
  padding: var(--s-4) 0;
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-drawer .sheet a:hover { color: var(--nps-gold-500); }
.mobile-drawer .sheet .drawer-cta {
  margin-top: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
}

@media (max-width: 900px) {
  .site-nav > a, .site-nav > .lang { display: none; }
  .hamburger { display: inline-flex; }
  .header-actions .btn-ghost-inv { display: none; }
}

/* ============ Cursor aurora (desktop only) ============ */
.cursor-aurora {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-base);
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease-out);
  mix-blend-mode: screen;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  body.aurora-ready .cursor-aurora { opacity: 1; }
}
