/* ==========================================================================
   HOMEPAGE — Design System & Animations
   GPU-safe: transform, opacity, stroke-dashoffset only
   ========================================================================== */

/* ---- Typography ---- */
.hp-headline {
  font-family: 'Inter', 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hp-subhead {
  font-family: 'Inter', 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
.hp-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hp-body {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ---- Scroll Reveal ---- */
.hp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal-delay-1 { transition-delay: 0.08s; }
.hp-reveal-delay-2 { transition-delay: 0.16s; }
.hp-reveal-delay-3 { transition-delay: 0.24s; }
.hp-reveal-delay-4 { transition-delay: 0.32s; }
.hp-reveal-delay-5 { transition-delay: 0.40s; }
.hp-reveal-delay-6 { transition-delay: 0.48s; }

/* ---- Navbar overrides (homepage-only, scoped) ---- */
/* Fix 1: Logo max-height — prevents oversized logo in expanded hero nav state */
#navbarPersistent .navbar-brand .logo {
  max-height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
/* Fix 2: Prevent hero overflow:hidden from clipping navbar dropdown menus.
   Navbar is fixed-top (position:fixed) so it renders outside stacking context,
   but the hero section must NOT use overflow:hidden at the page level */

/* ---- Hero Section ---- */
.hp-hero {
  background: linear-gradient(135deg, #0d1a0d 0%, #1a2e1a 40%, #0f1f2e 100%);
  /* padding-top = navbar height (~70px in hero py-4 state) + breathing room */
  padding: 100px 0 0;
  position: relative;
  /* NOTE: overflow:visible (not hidden) — hero clips via clip-path instead */
  overflow: visible;
  clip-path: inset(0 0 -200px 0); /* still clips bottom glow overflowing */
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 45%, rgba(96,153,96,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96,153,96,0.15);
  border: 1px solid rgba(96,153,96,0.3);
  color: #8fcc8f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 28px;
}
/* Hero text — use html body scoping to beat Bootstrap CSS custom property overrides */
html body .hp-hero-h1,
.hp-hero .hp-hero-h1,
section.hp-hero h1 {
  font-family: 'Inter', 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  --bs-heading-color: #ffffff;
  margin-bottom: 24px;
}
html body .hp-hero-sub,
.hp-hero .hp-hero-sub,
section.hp-hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85) !important;
  max-width: 520px;
  margin-bottom: 36px;
}
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #609960;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}
.hp-btn-primary:hover {
  background: #4e7f4e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96,153,96,0.35);
}
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.22);
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hp-btn-ghost:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.hp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- Hero Visual Composition ---- */
.hp-hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
/* Node graph as ambient backdrop layer */
.hp-node-graph-backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hp-node-svg-bg {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
  opacity: 0.75;
}
/* Product image — foreground */
.hp-hero-img-wrap {
  position: relative;
  z-index: 2;
  animation: hpHeroFloat 5s ease-in-out infinite alternate;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45)) drop-shadow(0 0 40px rgba(96,153,96,0.18));
}
.hp-hero-img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  border-radius: 16px;
}
@keyframes hpHeroFloat {
  from { transform: translateY(0px); }
  to   { transform: translateY(-12px); }
}
/* Reduce motion — disable float */
@media (prefers-reduced-motion: reduce) {
  .hp-hero-img-wrap { animation: none; }
}

/* ---- Hero Node Graph SVG ---- */
.hp-node-graph-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hp-node-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
}
/* Nodes */
.ng-node {
  opacity: 0;
  animation: ngNodeIn 0.4s ease forwards;
}
.ng-node:nth-child(1)  { animation-delay: 0.1s; }
.ng-node:nth-child(2)  { animation-delay: 0.2s; }
.ng-node:nth-child(3)  { animation-delay: 0.3s; }
.ng-node:nth-child(4)  { animation-delay: 0.4s; }
.ng-node:nth-child(5)  { animation-delay: 0.5s; }
.ng-node:nth-child(6)  { animation-delay: 0.6s; }
.ng-node:nth-child(7)  { animation-delay: 0.7s; }

/* Connection lines */
.ng-line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: ngLineDraw 0.7s ease forwards;
}
.ng-line:nth-child(1)  { animation-delay: 0.9s; }
.ng-line:nth-child(2)  { animation-delay: 1.0s; }
.ng-line:nth-child(3)  { animation-delay: 1.1s; }
.ng-line:nth-child(4)  { animation-delay: 1.2s; }
.ng-line:nth-child(5)  { animation-delay: 1.3s; }
.ng-line:nth-child(6)  { animation-delay: 1.4s; }
.ng-line:nth-child(7)  { animation-delay: 1.5s; }

/* Center identity node */
.ng-center-ring {
  opacity: 0;
  animation: ngNodeIn 0.5s ease 1.8s forwards, ngCenterPulse 3s ease 2.3s infinite alternate;
}
.ng-center-dot {
  opacity: 0;
  animation: ngNodeIn 0.5s ease 1.8s forwards;
}

/* Pulse travel dots */
.ng-pulse {
  opacity: 0;
  animation: ngPulseTravel 2.4s ease-in-out infinite;
}
.ng-pulse:nth-child(1) { animation-delay: 2.1s; }
.ng-pulse:nth-child(2) { animation-delay: 2.5s; }
.ng-pulse:nth-child(3) { animation-delay: 2.9s; }
.ng-pulse:nth-child(4) { animation-delay: 3.3s; }

@keyframes ngNodeIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ngLineDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes ngCenterPulse {
  from { filter: drop-shadow(0 0 4px rgba(96,153,96,0.4)); }
  to   { filter: drop-shadow(0 0 18px rgba(96,153,96,0.85)); }
}
@keyframes ngPulseTravel {
  0%   { opacity: 0; offset-distance: 0%;   }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; offset-distance: 100%; }
}

/* ---- Compliance Bar ---- */
.hp-compliance-bar {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 13px 0;
  margin-top: 48px;
}
.hp-compliance-bar span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8) !important;
  white-space: nowrap;
}
.hp-compliance-bar .sep { color: rgba(255,255,255,0.25) !important; }

/* ---- Section Containers ---- */
.hp-section {
  padding: 90px 0;
}
.hp-section-sm {
  padding: 70px 0;
}
.hp-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #609960;
  margin-bottom: 16px;
  display: block;
}
.hp-section-label-light {
  color: rgba(255,255,255,0.55) !important;
}
.hp-section-h2 {
  font-family: 'Inter', 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 20px;
}
/* Dark section headings — html body scope beats Bootstrap's CSS custom properties */
html body .hp-section-h2-light,
section .hp-section-h2.hp-section-h2-light,
.hp-section-h2-light {
  color: #ffffff !important;
  --bs-heading-color: #ffffff;
}
.hp-section-copy {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
  max-width: 640px;
}
.hp-section-copy-light {
  color: rgba(255,255,255,0.75) !important;
}

/* ---- Data Flow Diagram ---- */
.hp-flow-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 48px 0 0;
}
.hp-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hp-flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(96,153,96,0.1);
  border: 1.5px solid rgba(96,153,96,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #609960;
  font-size: 1.3rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hp-flow-node.is-visible .hp-flow-icon {
  background: rgba(96,153,96,0.18);
  border-color: #609960;
}
.hp-flow-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #555;
  text-align: center;
  white-space: nowrap;
}
.hp-flow-arrow {
  color: #bbb;
  font-size: 1rem;
  margin: 0 4px;
  padding-bottom: 20px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .hp-flow-wrap { flex-direction: column; gap: 4px; }
  .hp-flow-arrow { transform: rotate(90deg); padding-bottom: 0; }
  .hp-flow-node { flex-direction: row; }
  .hp-flow-label { text-align: left; }
}

/* ---- Economic Progression Nodes ---- */
.hp-prog-container {
  background: #f8f9fa;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  padding: 32px 24px 24px;
}
.hp-prog-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.hp-prog-node {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  min-width: 110px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.hp-prog-node.is-active {
  border-color: #609960;
  box-shadow: 0 4px 20px rgba(96,153,96,0.15);
  transform: translateY(-2px);
}
.hp-prog-node-icon { font-size: 1.3rem; color: #609960; margin-bottom: 6px; }
.hp-prog-node-label { font-size: 0.78rem; font-weight: 700; color: #333; }
.hp-prog-identity {
  background: #609960;
  border-color: #4e7f4e;
  color: #fff;
}
.hp-prog-identity .hp-prog-node-label { color: #fff; }
.hp-prog-identity .hp-prog-node-icon { color: #fff; }
.hp-prog-arrow { color: #bbb; font-size: 1.1rem; flex-shrink: 0; }
.hp-prog-down { color: #bbb; font-size: 1.2rem; text-align: center; margin: 10px 0; }
.hp-prog-outcome {
  background: rgba(96,153,96,0.08);
  border: 1px dashed rgba(96,153,96,0.4);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #609960;
  text-align: center;
  white-space: nowrap;
}

/* ---- Who We Serve Cards ---- */
.hp-serve-card {
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1.5px solid transparent;
}
.hp-serve-card:hover { transform: translateY(-5px); }
.hp-serve-card-green {
  background: #f0f7f0;
  border-color: #d4e9d4;
}
.hp-serve-card-green:hover { box-shadow: 0 12px 40px rgba(96,153,96,0.18); }
.hp-serve-card-dark {
  background: #1a1a2e;
  border-color: #2d2d4e;
}
.hp-serve-card-dark:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.hp-serve-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.hp-serve-icon-green { background: #609960; color: #fff; }
.hp-serve-icon-white { background: rgba(255,255,255,0.1); color: #fff; }
.hp-serve-h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}
.hp-serve-h4-light { color: #ffffff !important; }
.hp-serve-body { font-size: 0.92rem; line-height: 1.7; color: #555; margin-bottom: 20px; }
.hp-serve-body-light { color: rgba(255,255,255,0.78) !important; }

/* ---- OS Cards ---- */
.hp-os-card {
  border-radius: 12px;
  padding: 24px 22px;
  height: 100%;
  background: #fff;
  border: 1.5px solid #eaeaea;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hp-os-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(96,153,96,0.12);
  border-color: rgba(96,153,96,0.4);
}
.hp-os-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(96,153,96,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hp-os-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}
.hp-os-row { font-size: 0.875rem; line-height: 1.6; margin-bottom: 8px; }
.hp-os-problem { color: #c0392b; }
.hp-os-outcome { color: #333; }
.hp-os-value { color: #609960; font-weight: 700; }

/* ---- Security Cards ---- */
.hp-sec-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 20px;
  height: 100%;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hp-sec-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(96,153,96,0.35);
}
.hp-sec-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(96,153,96,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.hp-sec-h5 { color: #ffffff !important; font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.hp-sec-p { color: rgba(255,255,255,0.72) !important; font-size: 0.875rem; line-height: 1.7; }

/* ---- Intelligence Convergence Visual ---- */
.hp-intel-wrap {
  margin-top: 56px;
}
.hp-intel-stream {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}
.hp-intel-source {
  background: #f8f9fa;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  min-width: 160px;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.hp-intel-source.is-visible {
  border-color: rgba(96,153,96,0.4);
  background: rgba(96,153,96,0.06);
}
.hp-intel-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #ddd, rgba(96,153,96,0.4));
  margin: 0 12px;
  position: relative;
  overflow: visible;
}
.hp-intel-arrow-inline { color: rgba(96,153,96,0.7); font-size: 0.9rem; margin-right: 8px; }
.hp-intel-result {
  background: #f0f4f0;
  border: 1.5px solid rgba(96,153,96,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #609960;
  white-space: nowrap;
}
.hp-intel-identity-node {
  background: #1a1a2e;
  border: 2px solid #609960;
  border-radius: 16px;
  padding: 28px 36px;
  text-align: center;
  margin-top: 32px;
}
.hp-intel-identity-node h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 6px;
}
.hp-intel-identity-node p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65) !important;
  margin: 0;
}

/* ---- Infrastructure Capability Grid ---- */
.hp-infra-tile {
  background: #fff;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hp-infra-tile:hover {
  border-color: rgba(96,153,96,0.4);
  box-shadow: 0 4px 16px rgba(96,153,96,0.1);
  transform: translateY(-2px);
}
.hp-infra-tile span { font-size: 0.9rem; font-weight: 700; color: #1a1a2e; }

/* ---- Financial Passport ---- */
.hp-passport-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.hp-passport-illustrative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.35);
  color: #ffc107;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hp-passport-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
}
.hp-passport-metric-label {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.hp-passport-metric-value {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}
.hp-passport-metric-sub {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.75rem;
  margin-top: 3px;
}
.hp-passport-status {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 4px;
}
.hp-passport-verified-badge {
  background: rgba(96,153,96,0.2);
  color: #8fcc8f !important;
  border: 1px solid rgba(96,153,96,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 20px;
}
.hp-passport-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5) !important;
}

/* ---- OS Architecture Visual ---- */
.hp-arch-core {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #609960;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(96,153,96,0.3);
}
.hp-arch-os-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hp-arch-os-pill {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #d4e9d4;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hp-arch-os-pill:hover {
  border-color: #609960;
  background: rgba(96,153,96,0.06);
  transform: translateY(-2px);
}
.hp-arch-arrow { color: #bbb; font-size: 1.6rem; margin: 16px 0; }
.hp-arch-institution-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hp-arch-inst-pill {
  background: #f8f9fa;
  border: 1.5px solid #eaeaea;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
}

/* ---- Final CTA ---- */
.hp-final-cta {
  background: linear-gradient(135deg, #0d1a0d 0%, #1a2e1a 40%, #0f1f2e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hp-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(96,153,96,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hp-final-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.hp-final-node {
  background: rgba(96,153,96,0.15);
  border: 1.5px solid rgba(96,153,96,0.35);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8fcc8f;
  letter-spacing: 0.5px;
}
.hp-final-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff !important;
  margin-bottom: 20px;
}
.hp-final-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---- Divider ---- */
.hp-divider {
  width: 48px;
  height: 3px;
  background: #609960;
  border-radius: 2px;
  margin: 24px 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  /* Complete suppression of all desktop landing page sections on mobile so guests cleanly experience the onboarding flow */
  .hp-hero,
  .hp-section,
  .hp-section-sm,
  .hp-final-cta,
  #hero,
  #ledger,
  #progression,
  #who-we-serve,
  #operating-systems,
  #security,
  #intelligence,
  #infrastructure,
  #financial-passport,
  #final-cta,
  footer {
    display: none !important;
  }
  .hp-node-graph-wrap { margin-top: 40px; }
  .hp-intel-stream { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hp-intel-line { display: none; }
  .hp-intel-source { width: 100%; }
  .hp-intel-result { align-self: flex-start; }
}
@media (max-width: 767px) {
  .hp-hero-h1 { font-size: 2rem; }
  .hp-section-h2 { font-size: 1.75rem; }
  .hp-prog-row { flex-direction: column; align-items: center; }
  .hp-prog-arrow { transform: rotate(90deg); }
  .hp-final-nodes { gap: 7px; }
  .hp-arch-os-grid, .hp-arch-institution-grid { gap: 7px; }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT (WCAG 2.1 AA)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hp-reveal,
  .hp-reveal.is-visible,
  .hp-flow-node,
  .hp-prog-node,
  .hp-intel-source,
  .hp-serve-card,
  .hp-os-card,
  .hp-infra-tile,
  .hp-btn-primary,
  .hp-btn-ghost,
  .hp-arch-os-pill {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .hp-reveal { opacity: 1; transform: none; }
  .ng-node, .ng-center-ring, .ng-center-dot { opacity: 1; animation: none; }
  .ng-line { stroke-dashoffset: 0; animation: none; }
  .ng-pulse { display: none; }
}
  .hp-infra-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e8ede8;
    border-radius: 12px;
    overflow: hidden;
  }
  .hp-infra-row {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 90px;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f4f0;
    transition: background 0.15s;
  }
  .hp-infra-row:last-child { border-bottom: none; }
  .hp-infra-row:hover { background: #f8fbf8; }
  .hp-infra-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a2a1a;
  }
  .hp-infra-chip i { color: #609960; font-size: 1rem; }
  .hp-infra-arrow {
    text-align: center;
    color: #609960;
    font-size: 1.1rem;
    font-weight: 700;
  }
  .hp-infra-record {
    font-size: 0.82rem;
    color: #4a5a4a;
    line-height: 1.4;
  }
  .hp-infra-os {
    font-size: 0.72rem;
    font-weight: 700;
    color: #888;
    text-align: right;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .hp-infra-convergence {
    display: inline-block;
    background: #f0f8f0;
    border: 1px solid #c8e0c8;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 0.9rem;
    color: #1a2a1a;
    line-height: 1.5;
  }
  @media (max-width: 767px) {
    .hp-infra-row {
      grid-template-columns: 1fr 20px 1fr;
      grid-template-rows: auto auto;
    }
    .hp-infra-os {
      display: none;
    }
    .hp-infra-convergence {
      border-radius: 12px;
      text-align: left;
      padding: 14px 18px;
    }
  }
