/* ============================================================
   D.O.V.A., LLC - Site Stylesheet v2 (Light theme rebuild)
   Per Matthew's DOVA_Homepage_Redesign_v3_light.jsx
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --bg:        #F4F8FC;
  --bg2:       #EBF2FA;
  --white:     #FFFFFF;
  --navy:      #07192E;
  --navy2:     #0D2540;
  --blue:      #1A7FE8;
  --blue2:     #1468C5;
  --blue-lt:   #EAF2FD;
  --cyan:      #00AACC;
  --text:      #07192E;
  --body:      #2D4A66;
  --muted:     #5A7A96;
  --border:    #D0E2F0;
  --border2:   #B8D0E8;
  --red:       #E84040;
  --green:     #2A8C5A;
  --syne:      'Syne', 'Inter', system-ui, sans-serif;
  --dm:        'DM Sans', system-ui, -apple-system, sans-serif;
  --maxw:      1220px;
  --shadow-sm: 0 1px 4px rgba(7,25,46,0.05);
  --shadow:    0 2px 8px rgba(7,25,46,0.05);
  --shadow-md: 0 4px 16px rgba(7,25,46,0.1);
  --shadow-lg: 0 14px 44px rgba(26,127,232,0.13);
  --shadow-blue: 0 4px 22px rgba(26,127,232,0.42);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--dm);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--blue2); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ----- announcement bar (sticky, dark anchor) ----- */
.announce-bar {
  background: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding: 9px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 40px;
}
.ab-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ab-brand {
  font-family: var(--syne);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: white;
}
.ab-badge {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: white;
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(26,127,232,0.4);
}
.ab-tagline { font-size: 11.5px; color: rgba(255,255,255,0.5); }
.ab-right { font-size: 11.5px; color: rgba(255,255,255,0.45); }
.ab-right a { color: #7EC4FF; font-weight: 600; }
.ab-right a:hover { color: white; }

/* ----- nav (white, sticky) ----- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 52px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 40px;
  z-index: 90;
  box-shadow: 0 2px 16px rgba(7,25,46,0.07);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--syne);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--navy);
}
.nav-logo:hover { color: var(--navy); }
.logo-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(26,127,232,0.4);
  flex-shrink: 0;
}
.logo-box svg { width: 17px; height: 17px; stroke: white; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: white !important;
  border: none;
  font-family: var(--dm);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(26,127,232,0.4);
  transition: all 0.2s;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--blue2);
  transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(26,127,232,0.55);
  color: white !important;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 1.5rem;
  padding: 6px 10px;
}

/* dropdown */
.dropdown { position: relative; }
.dropdown > a::after {
  content: '\25BE';
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.8em;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.15s ease;
  z-index: 200;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--blue-lt); color: var(--blue); }

/* ----- buttons ----- */
.btn-p {
  background: var(--blue);
  color: white;
  border: none;
  font-family: var(--dm);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-blue);
  transition: all 0.22s;
  display: inline-block;
  text-align: center;
}
.btn-p:hover {
  background: var(--blue2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,127,232,0.58);
}
.btn-s {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border2);
  font-family: var(--dm);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 34px;
  border-radius: 9px;
  transition: all 0.22s;
  display: inline-block;
  text-align: center;
}
.btn-s:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(26,127,232,0.15);
}
.btn-p-w {
  background: white;
  color: var(--navy);
  border: none;
  font-family: var(--dm);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 9px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: all 0.22s;
  display: inline-block;
  text-align: center;
}
.btn-p-w:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.btn-s-w {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.22);
  font-family: var(--dm);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 34px;
  border-radius: 9px;
  transition: all 0.22s;
  display: inline-block;
  text-align: center;
}
.btn-s-w:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
  color: white;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ----- hero ----- */
.hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--bg) 55%, var(--bg2) 100%);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero.compact { min-height: auto; padding: 24px 48px 24px; }
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,127,232,0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 30%, var(--white) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(26,127,232,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero > .hero-dots, .hero > .hero-vignette, .hero > .hero-glow { position: absolute; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue-lt);
  border: 1px solid rgba(26,127,232,0.35);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--blue);
  margin-bottom: 36px;
  animation: fadeUp 0.5s ease both;
  text-transform: uppercase;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
.hero-h1 {
  font-family: var(--syne);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.6px;
  color: var(--navy);
  max-width: 920px;
  margin: 0 auto 10px;
  animation: fadeUp 0.5s 0.08s ease both;
}
.grad-text {
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.68;
  max-width: 640px;
  margin: 26px auto 46px;
  animation: fadeUp 0.5s 0.16s ease both;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.24s ease both;
}

/* ----- stats bar ----- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-bottom: 2px solid rgba(26,127,232,0.4);
}
.stat-cell {
  padding: 38px 28px;
  text-align: center;
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(255,255,255,0.04); }
.stat-n {
  font-family: var(--syne);
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
}
.stat-n .hi { color: #5AB8FF; }
.stat-n .stat-arrow {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  font-size: 0.78em;
  vertical-align: 0.06em;
}
.stat-l {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.4px;
  line-height: 1.5;
}

/* ----- section base ----- */
.section {
  padding: 100px 52px;
  border-bottom: 1px solid var(--border);
}
.section.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.section.white { background: var(--white); }
.section.compact { padding: 70px 52px; }
.inner { max-width: var(--maxw); margin: 0 auto; }
.inner-narrow { max-width: 880px; margin: 0 auto; }

.eyebrow {
  font-family: var(--dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.centered { justify-content: center; }
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}
.s-h2 {
  font-family: var(--syne);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--navy);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  margin-bottom: 18px;
}
.s-h2 .acc { color: var(--blue); }
.s-h3 {
  font-family: var(--syne);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}
.s-body {
  font-size: 16.5px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.75;
  max-width: 720px;
}
.s-body.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ----- problem section (two-column) ----- */
.prob-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.prob-quote {
  font-family: var(--syne);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  border-left: 3px solid var(--blue);
  padding-left: 26px;
  margin-bottom: 28px;
}
.prob-list { display: flex; flex-direction: column; gap: 12px; }
.prob-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--body);
  font-weight: 400;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.prob-item:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.prob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--red);
}

/* ----- 3-cards layout (differentiators / platform layers) ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.d-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  transition: all 0.28s;
  box-shadow: var(--shadow);
}
.d-card-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.d-card:hover {
  border-color: rgba(26,127,232,0.4);
  box-shadow: var(--shadow-lg), 0 2px 8px rgba(7,25,46,0.06);
  transform: translateY(-5px);
}
.c-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.c-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-lt);
  border: 1px solid rgba(26,127,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.c-icon svg { width: 22px; height: 22px; }
.c-h3 {
  font-family: var(--syne);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 13px;
}
.c-body {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.72;
}

/* ----- audience cards ----- */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 52px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.aud-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 34px 30px;
  display: block;
  transition: all 0.24s;
  box-shadow: var(--shadow-sm);
}
.aud-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 36px rgba(26,127,232,0.15);
  transform: translateY(-4px);
}
.aud-arr {
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 16px;
  display: block;
  font-weight: 700;
  transition: transform 0.18s;
}
.aud-card:hover .aud-arr { transform: translateX(4px); }
.aud-ttl {
  font-family: var(--syne);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.aud-dsc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ----- numbered steps (How It Works) ----- */
.steps {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 51px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(0,170,204,0.32) 0%,
    rgba(26,127,232,0.18) 50%,
    rgba(0,170,204,0.32) 100%);
  pointer-events: none;
  z-index: 0;
}
.how-anim {
  max-width: 940px;
  margin: 36px auto 6px;
  padding: 0 12px;
}
.how-anim-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
}
@media (max-width: 760px) {
  .how-anim { max-width: 100%; padding: 0 8px; }
  .how-anim-svg { min-height: 140px; }
}
.step {
  background: linear-gradient(170deg, #FFFFFF 0%, #FAFCFE 100%);
  border: 1.5px solid rgba(26, 127, 232, 0.16);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 28px rgba(10, 24, 48, 0.04);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 170, 204, 0.42);
  box-shadow: 0 16px 48px rgba(0, 170, 204, 0.14), 0 4px 12px rgba(10, 24, 48, 0.06);
}
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.22s;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.step:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--syne);
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(135deg, #1A7FE8 0%, #00C8E8 100%);
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  line-height: 1;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 170, 204, 0.32), inset 0 1px 0 rgba(255,255,255,0.25);
  letter-spacing: -0.5px;
}
.step-content h3 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.step-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
}
.step-content a { color: var(--blue); font-weight: 600; }

/* ----- feature blocks (Features page) ----- */
.features {
  max-width: 880px;
  margin: 0 auto;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 38px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.feature .f-num {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.feature .f-name {
  font-family: var(--syne);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.feature .f-tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-family: var(--dm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(26,127,232,0.25);
  margin-right: 10px;
  margin-bottom: 14px;
}
.feature .f-headline {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.35;
}
.feature .f-body {
  font-size: 15px;
  color: var(--body);
  line-height: 1.72;
  margin-bottom: 16px;
}
.feature .why {
  background: var(--bg);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.6;
}
.feature .why strong { color: var(--navy); font-weight: 700; }

/* ----- platform layers (Product page) ----- */
.layer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 44px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.layer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.layer .layer-eyebrow {
  font-family: var(--dm);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.layer .layer-tag {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.layer .layer-tag.gold { background: linear-gradient(135deg, #b08c2e, #d4af37); }
.layer h2 {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.layer .layer-body {
  font-size: 16px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 800px;
}
.layer h4 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 14px;
  margin-top: 30px;
  letter-spacing: 0.5px;
}
.layer h4:first-of-type { margin-top: 0; }

/* feature/bullet lists with checkmarks */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 36px;
  margin: 0 0 8px;
}
.check-list.single-col { grid-template-columns: 1fr; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.6;
}
.check-list li::before {
  content: '\2714';
  position: absolute;
  left: 0; top: 2px;
  color: var(--blue);
  font-weight: 700;
}

/* gates display (Product Layer 2) */
.gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.gate {
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.gate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.gate .gnum {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #5AB8FF;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.gate h4 {
  font-family: var(--syne);
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  margin-top: 0 !important;
}
.gate p {
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ----- post-sale two-column ----- */
.post-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.post-col h3 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
}
.opt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 14px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.opt:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.opt .opt-tag {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-family: var(--dm);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.opt h4 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}
.opt p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}
.full-bar {
  background: var(--blue-lt);
  border-left: 4px solid var(--blue);
  padding: 22px 28px;
  border-radius: 0 12px 12px 0;
  margin-top: 36px;
  font-size: 15px;
  color: var(--navy);
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.full-bar strong { font-weight: 700; }

/* ----- ROI calculator ----- */
.roi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 40px 44px;
  margin: 32px auto 0;
  max-width: 860px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.roi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.roi-field label {
  display: block;
  font-family: var(--syne);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.roi-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--dm);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  transition: all 0.18s;
}
.roi-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,127,232,0.15);
}
.roi-result {
  margin-top: 28px;
  padding: 32px;
  background: var(--navy);
  color: white;
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.roi-result::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(26,127,232,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.roi-result > * { position: relative; }
.roi-result .label {
  font-family: var(--dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.roi-result .value {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.roi-result .value .hi {
  background: linear-gradient(90deg, #5AB8FF, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.roi-result .sub {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ----- bottom CTA (dark, high impact) ----- */
.b-cta {
  background: var(--navy);
  padding: 120px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.b-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26,127,232,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.b-cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,127,232,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.b-cta > * { position: relative; z-index: 1; }
.b-cta .eyebrow { color: #5AB8FF; justify-content: center; }
.b-cta .eyebrow::before { background: #5AB8FF; }
.b-cta .s-h2 { color: white; max-width: 700px; margin: 0 auto 18px; }
.b-cta .s-body {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ----- contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: flex-start;
}
.contact-info dt {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.contact-info dd {
  margin-bottom: 22px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.contact-info dd a { color: var(--navy); }
.contact-info dd a:hover { color: var(--blue); }
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.field { margin-bottom: 18px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--dm);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: all 0.18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,127,232,0.15);
}
.form-submit { width: 100%; margin-top: 8px; }

/* ----- footer ----- */
.footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 68px 52px 44px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 70px;
}
.f-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--syne);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 14px;
}
.f-logo .logo-box { width: 30px; height: 30px; border-radius: 7px; }
.f-logo .logo-box svg { width: 14px; height: 14px; }
.f-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.f-contact a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 7px;
  transition: color 0.2s;
}
.f-contact a:hover { color: #7EC4FF; }
.f-col h4 {
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.f-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.f-col a:hover { color: white; }
.f-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.f-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}
.f-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.f-pill {
  background: rgba(26,127,232,0.18);
  border: 1px solid rgba(26,127,232,0.35);
  border-radius: 100px;
  padding: 5px 13px;
  font-family: var(--dm);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7EC4FF;
  text-transform: uppercase;
}

/* ----- animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--cyan), 0 0 28px rgba(0,170,204,0.4); }
}

/* ----- responsive ----- */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li, .nav-links > * { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg);
    border: none;
    border-radius: 8px;
    margin: 4px 0 8px;
    padding: 4px 0;
  }
  .dropdown-menu a { padding-left: 16px; }
  .nav, .announce-bar { padding-left: 22px; padding-right: 22px; }
  .ab-right, .ab-tagline { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 28px 16px; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .prob-inner, .cards-grid, .cards-grid.cols-2, .cards-grid.cols-4, .aud-grid, .footer-grid, .post-cols, .contact-grid, .roi-grid {
    grid-template-columns: 1fr;
  }
  .prob-inner { gap: 44px; }
  .cards-grid, .aud-grid { gap: 16px; }
  .footer-grid { gap: 36px; }
  .post-cols { gap: 28px; }
  .hero { min-height: 70vh; padding: 70px 22px 60px; }
  .section, .b-cta { padding-left: 22px; padding-right: 22px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .b-cta { padding-top: 90px; padding-bottom: 90px; }
  .gates { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 20px; border-radius: 14px; }
  .step-num { width: 56px; height: 56px; font-size: 18px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 170, 204, 0.28); }
  .steps::before { left: 44px; top: 40px; bottom: 40px; }
  .feature, .layer { padding: 28px 24px; }
  .full-bar { margin-left: 22px; margin-right: 22px; }
}
@media (max-width: 520px) {
  .ab-left { gap: 10px; }
  .ab-tagline { display: none; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-cell:last-child { border-bottom: none; }
  .hero-h1 { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .btn-p, .btn-s, .btn-p-w, .btn-s-w { width: 100%; }
  .s-h2 { font-size: 30px; letter-spacing: -0.6px; }
  .section, .b-cta { padding-left: 18px; padding-right: 18px; }
  .stat-n { font-size: 48px; }
  .imm2-h1, .hero-h1 { word-break: normal; overflow-wrap: break-word; }
  .prob-item, .aud-ttl, .aud-dsc, .c-h3, .c-body, .feature-h3, .feature-body, .s-body {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
}

/* ============================================================
   DOVA Site-wide Interactivity Layer (Phase 5.7.10)
   Custom cursor, reveals, ambient grid, tilt scaffolding.
   Honors prefers-reduced-motion via the JS layer.
   ============================================================ */

.dova-cursor, .dova-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  transition: opacity 0.3s ease, width 0.22s ease, height 0.22s ease, background 0.22s ease;
}
.dova-cursor {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 200, 232, 0.42);
  background: radial-gradient(circle, rgba(0,200,232,0.12) 0%, rgba(0,200,232,0.0) 70%);
  box-shadow: 0 0 24px rgba(0, 200, 232, 0.18);
}
.dova-cursor.is-magnet {
  width: 58px;
  height: 58px;
  border-color: rgba(0, 200, 232, 0.75);
  background: radial-gradient(circle, rgba(0,200,232,0.22) 0%, rgba(0,200,232,0.0) 75%);
  box-shadow: 0 0 36px rgba(0, 200, 232, 0.36);
}
.dova-cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00C8E8;
  box-shadow: 0 0 8px rgba(0, 200, 232, 0.85);
}
.dova-cursor.is-hidden, .dova-cursor-dot.is-hidden { opacity: 0; }
@media (max-width: 920px) {
  .dova-cursor, .dova-cursor-dot { display: none; }
}

/* ----- section reveal-on-scroll ----- */
.dova-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
  transition-delay: var(--dova-reveal-delay, 0s);
  will-change: opacity, transform;
}
.dova-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ----- ambient grid layer for dark sections ----- */
.bg-grid-cyan { position: relative; overflow: hidden; }
.dova-grid-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 200, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 232, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 75%);
  z-index: 0;
}
.bg-grid-cyan > *:not(.dova-grid-layer) { position: relative; z-index: 1; }

/* ----- tilt scaffolding (the JS sets perspective transforms) ----- */
.aud-card, .d-card, .step, .feature, .layer, .vert-card, .post-card, [data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ----- magnetic CTA hint ----- */
.magnetic { transition: transform 0.22s cubic-bezier(0.2,0.8,0.2,1); }

/* ============================================================
   Phase 5.7.13: stat row SVG micro-scenes (information-bound)
   ============================================================ */

.stat-micro {
  display: block;
  margin: 0 auto 12px;
  width: 100%;
  max-width: 168px;
  height: 30px;
  pointer-events: none;
}
.stat-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 1996 -> year ticks fade in left to right, head pulses */
@keyframes statYearTicks {
  0%   { opacity: 0; transform: translateY(2px); }
  100% { opacity: 0.9; transform: translateY(0); }
}
.stat-year-ticks line {
  opacity: 0;
  transform-origin: bottom;
  animation: statYearTicks 0.45s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.stat-year-ticks line:nth-child(1) { animation-delay: 0.10s; }
.stat-year-ticks line:nth-child(2) { animation-delay: 0.18s; }
.stat-year-ticks line:nth-child(3) { animation-delay: 0.26s; }
.stat-year-ticks line:nth-child(4) { animation-delay: 0.34s; }
.stat-year-ticks line:nth-child(5) { animation-delay: 0.42s; }
.stat-year-ticks line:nth-child(6) { animation-delay: 0.50s; }
.stat-year-ticks line:nth-child(7) { animation-delay: 0.58s; }
.stat-year-ticks line:nth-child(8) { animation-delay: 0.66s; }
.stat-year-ticks line:nth-child(9) { animation-delay: 0.74s; }
.stat-year-head {
  filter: drop-shadow(0 0 6px rgba(0, 200, 232, 0.85));
  animation: statYearHead 2.4s ease-in-out infinite;
}
@keyframes statYearHead {
  0%, 100% { opacity: 0.95; r: 3.2; }
  50%      { opacity: 0.55; r: 4.2; }
}

/* $0 -> chain link snaps open */
@keyframes statChainSnap {
  0%, 35% { transform: translateX(0); opacity: 0.95; }
  50%     { transform: translateX(-3px); opacity: 0.65; }
  65%     { transform: translateX(-6px) rotate(-3deg); opacity: 0.45; }
  85%     { transform: translateX(0); opacity: 0.95; }
  100%    { transform: translateX(0); opacity: 0.95; }
}
@keyframes statChainSnapR {
  0%, 35% { transform: translateX(0); opacity: 0.95; }
  50%     { transform: translateX(3px); opacity: 0.65; }
  65%     { transform: translateX(6px) rotate(3deg); opacity: 0.45; }
  85%     { transform: translateX(0); opacity: 0.95; }
  100%    { transform: translateX(0); opacity: 0.95; }
}
.stat-chain .l1 {
  transform-origin: 76px 14px;
  animation: statChainSnap 3.6s ease-in-out infinite;
}
.stat-chain .l2 {
  transform-origin: 84px 14px;
  animation: statChainSnapR 3.6s ease-in-out infinite;
}
.stat-chain .chain-break {
  filter: drop-shadow(0 0 5px rgba(0, 200, 232, 0.7));
  animation: statBreakPulse 3.6s ease-in-out infinite;
}
@keyframes statBreakPulse {
  0%, 35%, 85%, 100% { opacity: 0.85; stroke-width: 2.2; }
  55%                { opacity: 1;    stroke-width: 3.0; }
}

/* 18 min -> clock hand sweeps counter-clockwise */
.stat-clock-hand {
  transform-origin: 80px 14px;
  animation: statClockSweep 3.2s linear infinite;
}
@keyframes statClockSweep {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
.stat-clock-marks line {
  opacity: 0.7;
}

/* 100% -> dot matrix fills in */
.stat-matrix circle {
  opacity: 0;
  animation: statMatrixFill 0.5s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@keyframes statMatrixFill {
  0%   { opacity: 0; transform: scale(0.4); }
  100% { opacity: 0.9; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .stat-year-ticks line, .stat-year-head, .stat-chain .l1,
  .stat-chain .l2, .stat-chain .chain-break, .stat-clock-hand,
  .stat-matrix circle {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   Phase 5.7.11: tighter typography, hero legibility, justified body
   ============================================================ */

/* Body paragraphs: tighter leading. Justify only wide top-level paragraphs;
   narrow card text stays left-aligned so words do not pull apart. */
.s-body {
  text-align: justify;
  text-justify: inter-word;
  hanging-punctuation: first last;
}
.s-body, .c-body, .feature-body, .aud-dsc, .layer-body, .vert-body {
  line-height: 1.62;
}
.s-body.centered, .b-cta .s-body, .center .s-body,
.b-cta .s-body, .hero .s-body, .hero-sub, .s-body[class*="centered"] {
  text-align: center;
}
.imm2-sub {
  line-height: 1.5;
  text-align: left;
}

/* Hero text legibility against the immersive scene. Adds a soft dark
   scrim under the text block plus a faint text-shadow on white copy
   so the cloud bloom never washes it out. */
.imm2-text {
  background: linear-gradient(95deg,
    rgba(5, 14, 28, 0.42) 0%,
    rgba(5, 14, 28, 0.34) 60%,
    rgba(5, 14, 28, 0.0) 100%);
  padding: 22px 32px 26px 24px !important;
  border-radius: 18px;
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
}
.imm2-h1 {
  text-shadow: 0 1px 2px rgba(5, 14, 28, 0.4), 0 4px 22px rgba(5, 14, 28, 0.32);
}
.imm2-h1 .gradline { text-shadow: none; }
.imm2-sub {
  text-shadow: 0 1px 2px rgba(5, 14, 28, 0.5);
  color: rgba(232, 241, 250, 0.92) !important;
}
@media (max-width: 760px) {
  .imm2-text {
    background: linear-gradient(180deg,
      rgba(5, 14, 28, 0.62) 0%,
      rgba(5, 14, 28, 0.40) 100%);
  }
}

/* utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   A11y additions (DOVA-2026-PROD-001 step 4e)
   ============================================================ */
.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--dm);
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ============================================================
   Immersive hero (DOVA-2026-PROD-001 step 4h)
   Three.js scene + scroll-driven camera. ID-namespaced to .imm2-*.
   ============================================================ */
.imm2-hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  padding: 80px 64px 64px;
  background: linear-gradient(170deg, #FFFFFF 0%, #F4F8FC 60%, #E9F1FA 100%);
  overflow: hidden;
  align-items: center;
}
.imm2-text { position: relative; z-index: 4; max-width: 720px; }
.imm2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--syne); font-weight: 700; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue);
  background: rgba(26, 127, 232, 0.08);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
.imm2-eyebrow .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 170, 204, 0.45);
  animation: imm2-pulse-dot 1.8s infinite;
}
@keyframes imm2-pulse-dot {
  0%   { box-shadow: 0 0 0 0   rgba(0, 170, 204, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(0, 170, 204, 0); }
  100% { box-shadow: 0 0 0 0   rgba(0, 170, 204, 0); }
}
.imm2-h1 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(36px, 3.8vw, 58px);
  line-height: 1.05; letter-spacing: -0.015em;
  color: var(--navy); margin: 0 0 22px;
}
.imm2-h1 .gradline {
  background: linear-gradient(95deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; display: block;
}
.imm2-sub {
  font-family: var(--dm); font-size: 19px; line-height: 1.55;
  color: #324760; margin: 0 0 36px; max-width: 480px;
}
.imm2-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.imm2-btn-p, .imm2-btn-s {
  font-family: var(--syne); font-weight: 700; font-size: 13px;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 14px 26px; border-radius: 8px;
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-flex; align-items: center; gap: 8px;
}
.imm2-btn-p {
  background: linear-gradient(95deg, var(--blue), var(--blue2));
  color: #fff; box-shadow: var(--shadow-blue);
}
.imm2-btn-p:hover { transform: translateY(-2px); }
.imm2-btn-s {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border2);
}
.imm2-btn-s:hover { border-color: var(--blue); color: var(--blue); }
.imm2-steps {
  display: flex; align-items: center; gap: 14px;
  margin-top: 40px; font-family: var(--dm); font-size: 13px;
  color: var(--muted);
}
.imm2-step-label {
  font-family: var(--syne); font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue);
}
.imm2-step-dots { display: flex; gap: 8px; }
.imm2-step-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border2); transition: background 0.3s, transform 0.3s;
}
.imm2-step-dots span.active { background: var(--blue); transform: scale(1.25); }

.imm2-stage {
  position: relative; width: 100%; height: 88vh;
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
#scene3d {
  width: 100% !important; height: 100% !important;
  display: block;
}
.imm2-stage-fallback {
  display: none; width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
}
.imm2-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(170deg, #FFFFFF 0%, #F4F8FC 100%);
  z-index: 5; transition: opacity 0.6s ease; pointer-events: none;
}
.imm2-loading.gone { opacity: 0; }
.imm2-loading-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan);
  animation: imm2-load-pulse 1.4s infinite ease-in-out;
}
@keyframes imm2-load-pulse {
  0%,100% { transform: scale(0.7); opacity: 0.4; }
  50%     { transform: scale(1.0); opacity: 1; }
}

/* Compact viewport (700-959px): keep the canvas, lighter pin, tighter spacing */
@media (max-width: 959px) and (min-width: 700px) {
  .imm2-hero { min-height: 86vh; height: auto; }
  .imm2-text { left: 32px; max-width: 80%; }
  .imm2-h1 { font-size: clamp(38px, 7vw, 56px); }
  .imm2-sub { font-size: 17px; max-width: 460px; }
}

/* Narrow viewport (480-699px): show the canvas, smaller, no pin */
@media (max-width: 699px) and (min-width: 480px) {
  .imm2-hero { display: block; height: auto; min-height: 92vh; position: relative; }
  .imm2-text {
    position: relative; top: auto; left: auto; transform: none;
    z-index: 5; padding: 80px 24px 24px; max-width: 100%;
  }
  .imm2-stage { position: relative !important; height: 60vh; min-height: 320px; inset: auto !important; }
  #scene3d { display: block; }
  .imm2-stage-fallback { display: none; }
  .imm2-loading { display: flex; }
  .imm2-h1 { font-size: clamp(36px, 9vw, 48px); }
  .imm2-sub { font-size: 16px; }
  .imm2-eyebrow { font-size: 10px; }
}

/* True mobile (< 480px): static AVIF fallback, no canvas */
@media (max-width: 479px) {
  .imm2-hero {
    display: block;
    height: auto;
    min-height: 88vh;
    padding: 60px 20px 40px;
    position: relative;
  }
  .imm2-text {
    position: relative; top: auto; left: auto; transform: none;
    padding: 0; max-width: 100%;
  }
  .imm2-stage {
    position: relative !important;
    height: 50vh; min-height: 280px; order: -1;
    inset: auto !important;
    margin-bottom: 24px;
  }
  #scene3d { display: none; }
  .imm2-stage-fallback { display: block; }
  .imm2-loading { display: none; }
  .imm2-h1 { font-size: clamp(34px, 10vw, 42px); }
  .imm2-sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #scene3d { display: none; }
  .imm2-stage-fallback { display: block; }
  .imm2-loading { display: none; }
  .imm2-eyebrow .pulse-dot { animation: none; }
}


/* ============================================================
   Interactive primitives (DOVA-2026-PROD-001 step 4i)
   Vanilla ports of Magic UI / Aceternity patterns (MIT).
   Sources: magicui.design (animated underline, magnetic button),
            ui.aceternity.com (spotlight hover card).
   Voice firewall: no upstream copy, just the interaction model.
   ============================================================ */

/* --- A. Animated nav-link underline (pure CSS) --- */
@media (hover: hover) {
  .nav-links > li > a:not(.nav-cta) {
    position: relative;
    display: inline-block;
  }
  .nav-links > li > a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(95deg, var(--blue), var(--cyan));
    transition: width 0.28s ease;
    border-radius: 2px;
  }
  .nav-links > li > a:not(.nav-cta):hover::after,
  .nav-links > li > a:not(.nav-cta):focus-visible::after {
    width: 100%;
  }
}

/* --- B. Magnetic button base (transform driven from primitives.js) --- */
.magnetic {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s ease;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .magnetic { transition: none; }
}

/* --- C. Spotlight hover card (CSS vars + ::before overlay) --- */
.spotlight {
  position: relative;
  isolation: isolate;
  --sx: 50%;
  --sy: 50%;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--sx) var(--sy),
    rgba(26, 127, 232, 0.10),
    rgba(0, 170, 204, 0.04) 30%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
@media (hover: hover) {
  .spotlight:hover::before {
    opacity: 1;
  }
}
.spotlight > * {
  position: relative;
  z-index: 2;
}

/* ============================================================
   Phase 5 Session 1 (DOVA-2026-PROD-003)
   Dark full-bleed hero, designed top banner, branded loader,
   custom cursor, line reveals, count-up tickers,
   postprocessing read-through, micro-interactions.
   ============================================================ */

/* --- Dark mode token additions --- */
:root {
  --navy-deep:  #050E1C;
  --navy-mid:   #0A1A30;
  --text-light: #E8F1FA;
  --text-muted-light: #8FA8C4;
}

/* --- 5a. Dark full-bleed hero --- */
.imm2-hero {
  /* override the light gradient and 2-column layout */
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  padding: 0;
  background: var(--navy-deep);
  overflow: hidden;
}
.imm2-stage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  z-index: 1;
}
#scene3d {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.imm2-text {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 64px;
  transform: translateY(-50%);
  max-width: 720px;
  pointer-events: none;
}
.imm2-text > * { pointer-events: auto; }
.imm2-h1 { color: var(--text-light); }
.imm2-h1 .gradline {
  background: linear-gradient(95deg, #5FB8F5 0%, #00D1F3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.imm2-sub {
  color: var(--text-muted-light);
}
.imm2-eyebrow {
  color: #67C8FF;
  background: rgba(0, 170, 204, 0.10);
  border: 1px solid rgba(0, 170, 204, 0.20);
}
.imm2-btn-s {
  color: var(--text-light);
  border-color: rgba(232, 241, 250, 0.30);
}
.imm2-btn-s:hover { color: #67C8FF; border-color: #67C8FF; }
.imm2-stage-fallback {
  /* hide fallback on desktop; the dark scene handles it */
  position: absolute; inset: 0;
}
.imm2-step-label { color: #67C8FF; }
.imm2-step-dots span { background: rgba(232, 241, 250, 0.25); }
.imm2-step-dots span.active { background: #00D1F3; box-shadow: 0 0 12px rgba(0, 209, 243, 0.55); }
.imm2-steps { color: rgba(232, 241, 250, 0.55); }
.imm2-loading {
  background: var(--navy-deep);
}

/* --- 5b. Designed top banner: thin scroll-progress bar + pill --- */
.announce-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-light);
  position: relative;
}
.announce-bar::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(0, 170, 204, 0.45);
}
.ab-brand { color: var(--text-light); }
.ab-tagline { color: var(--text-muted-light); }
.ab-right a { color: var(--text-light); }
.ab-right a:hover { color: var(--cyan); }

/* nav contrast on dark */
.nav {
  background: rgba(7, 25, 46, 0.62);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(232, 241, 250, 0.05);
}
.nav-logo { color: var(--text-light); }
.nav-links > li > a { color: rgba(232, 241, 250, 0.85); }
.nav-links > li > a:hover { color: #67C8FF; }
.nav-cta {
  background: linear-gradient(95deg, var(--blue), var(--cyan));
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
}

/* --- 5c. Branded loading moment --- */
.imm2-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.imm2-loading-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(0, 209, 243, 0.18);
  border-top-color: #00D1F3;
  animation: imm2-ring-spin 0.95s linear infinite;
  box-shadow: 0 0 36px rgba(0, 209, 243, 0.25);
}
.imm2-loading-label {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(232, 241, 250, 0.55);
}
@keyframes imm2-ring-spin {
  to { transform: rotate(360deg); }
}
.imm2-loading.gone .imm2-loading-ring,
.imm2-loading.gone .imm2-loading-label,
.imm2-loading.gone .imm2-loading-dot { opacity: 0; }
.imm2-loading-dot { display: none; }

/* --- 5d. Custom cursor --- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, .magnetic, .spotlight, [role=button] { cursor: none; }
}
#dova-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #67C8FF;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.22s cubic-bezier(0.2,0.8,0.2,1),
              height 0.22s cubic-bezier(0.2,0.8,0.2,1),
              background-color 0.22s ease,
              border-color 0.22s ease;
  will-change: transform;
}
#dova-cursor.is-hover {
  width: 40px;
  height: 40px;
  background: rgba(103, 200, 255, 0.08);
}
#dova-cursor.is-press {
  width: 32px;
  height: 32px;
  background: rgba(103, 200, 255, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  html, body { cursor: auto !important; }
  #dova-cursor { display: none; }
}

/* --- 5f. SplitText reveals (vanilla, no plugin) --- */
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.2,0.8,0.2,1), opacity 0.5s ease;
}
.reveal-line.is-in > span {
  transform: translateY(0%);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line > span { transform: none; opacity: 1; transition: none; }
}

/* --- 5g. Count-up ticker styling --- */
.stat-n.is-counting { color: var(--cyan); }
.stat-n[data-target] { transition: color 0.3s; }

/* --- 5n. Micro-interactions audit --- */
.aud-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #FFFFFF 0%, #F4F8FC 100%);
  border: 1.5px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.aud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.85;
  transition: opacity 0.3s ease, height 0.3s ease;
}
.aud-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(0,200,232,0.0) 30%, rgba(0,200,232,0.18) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
  z-index: 0;
}
.aud-card > * { position: relative; z-index: 1; }
.aud-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(26, 127, 232, 0.22), 0 4px 14px rgba(0, 170, 204, 0.10);
  border-color: rgba(26,127,232,0.5);
}
.aud-card:hover::before { height: 6px; opacity: 1; }
.aud-card:hover::after { opacity: 1; }
.aud-ttl {
  font-size: 21px;
  letter-spacing: -0.2px;
}
.aud-dsc { font-size: 15px; line-height: 1.65; }
.d-card {
  position: relative;
  background: linear-gradient(170deg, #FFFFFF 0%, #F8FBFE 100%);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.d-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(26, 127, 232, 0.18), 0 2px 10px rgba(7, 25, 46, 0.06);
  border-color: rgba(26,127,232,0.45);
}
.d-card-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 60%, #5AB8FF 100%);
  box-shadow: 0 0 16px rgba(0, 170, 204, 0.35);
}
.prob-item {
  position: relative;
  background: linear-gradient(170deg, #FFFFFF 0%, #FAFCFE 100%);
  border: 1px solid rgba(26, 127, 232, 0.12);
  border-radius: 12px;
  padding: 18px 20px 18px 44px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--navy);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.prob-item:hover {
  transform: translateX(4px);
  border-color: rgba(232, 64, 80, 0.35);
  box-shadow: 0 8px 24px rgba(232, 64, 80, 0.08);
}
.prob-dot {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #E84050 0%, #C03040 100%);
  box-shadow: 0 0 10px rgba(232, 64, 80, 0.45);
}
.btn-p, .imm2-btn-p, .btn-p-w {
  position: relative;
  overflow: hidden;
}
.btn-p::before, .imm2-btn-p::before, .btn-p-w::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, var(--cyan), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.btn-p:hover::before, .imm2-btn-p:hover::before, .btn-p-w:hover::before {
  opacity: 1;
}
.btn-p > *, .imm2-btn-p > *, .btn-p-w > * { position: relative; z-index: 1; }
.btn-p:active, .imm2-btn-p:active, .btn-p-w:active {
  transform: translateY(1px) scale(0.985);
}

/* nav-links underline on dark - re-define with adjusted color */
@media (hover: hover) {
  .nav-links > li > a:not(.nav-cta)::after {
    background: linear-gradient(95deg, #67C8FF, #00D1F3);
  }
}

/* form inputs micro-interactions */
.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 127, 232, 0.15);
  outline: none;
}

/* Make hero stage-fallback invisible on desktop dark hero */
@media (min-width: 961px) {
  .imm2-stage-fallback { display: none; }
}

/* Recalibrate light secondary sections to NOT clash with dark hero */
.stats-bar {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--bg) 60%);
  padding-top: 80px;
}
/* --- 5k. Generative shader background (CSS approximation) --- */
.imm2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(26, 127, 232, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0, 170, 204, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(95, 184, 245, 0.10), transparent 65%);
  filter: blur(40px);
  animation: imm2-shader-drift 18s ease-in-out infinite alternate;
}
@keyframes imm2-shader-drift {
  0%   { transform: translate(0, 0) scale(1.0); }
  50%  { transform: translate(2%, -1%) scale(1.05); }
  100% { transform: translate(-1%, 2%) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .imm2-hero::before { animation: none; }
}
/* --- 5i. Cinematic video bed (free Veo-ready slot) --- */
.cinematic-bed {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.cinematic-bed-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.cinematic-bed-video.is-loaded { opacity: 0.72; }
.cinematic-bed-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(26, 127, 232, 0.32), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 60%, rgba(0, 170, 204, 0.28), transparent 60%),
    linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  animation: cinematic-fallback-drift 24s ease-in-out infinite alternate;
}
@keyframes cinematic-fallback-drift {
  0%   { transform: scale(1.0) translate(0, 0); }
  50%  { transform: scale(1.04) translate(1%, -1%); }
  100% { transform: scale(1.02) translate(-1%, 1%); }
}
.cinematic-bed-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 14, 28, 0.25) 0%, rgba(5, 14, 28, 0.62) 100%);
}
.cinematic-bed-text {
  position: relative;
  z-index: 3;
  max-width: 760px;
  text-align: center;
  padding: 0 24px;
}
.cinematic-bed-eyebrow {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #67C8FF;
  margin-bottom: 16px;
}
.cinematic-bed-h2 {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin: 0 0 16px;
}
.cinematic-bed-sub {
  font-family: var(--dm);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(232, 241, 250, 0.74);
  margin: 0 auto 24px;
  max-width: 580px;
}
.cinematic-bed .btn-row { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .cinematic-bed-fallback { animation: none; }
  .cinematic-bed-video { transition: none; }
}
/* ============================================================
   Stats-bar contrast fix (DOVA-2026-PROD-003 hotfix)
   ============================================================ */
.stats-bar {
  background: var(--navy-deep);
  padding: 64px 40px;
  border-bottom: 1px solid rgba(232, 241, 250, 0.06);
}
.stats-bar .stat-cell {
  background: transparent;
}
.stats-bar .stat-n {
  color: var(--text-light) !important;
  font-family: var(--syne);
  font-weight: 800;
}
.stats-bar .stat-n .hi {
  background: linear-gradient(95deg, #5FB8F5 0%, #00D1F3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-bar .stat-n.is-counting {
  color: #67C8FF !important;
}
.stats-bar .stat-l {
  color: rgba(232, 241, 250, 0.62);
}
/* ============================================================
   Hero text legibility fix (DOVA-2026-PROD-003 hotfix)
   - H1 was cyan-gradient on all 3 lines; merged with the cyan cloud at acts 3-5
   - Now: pure white text on first two lines, cyan accent only on the third line
   - Left-side dark scrim under the text so the cloud bloom never washes out copy
   ============================================================ */
.imm2-h1 .gradline {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 2px 24px rgba(5, 14, 28, 0.55);
}
/* Subtle cyan accent on the LAST gradient-line of each H1 act (e.g. ".Real Time." / "Permanent." / "Verifiable." / "Online." / "Access.") */
.imm2-h1 .gradline:last-child {
  background: linear-gradient(95deg, #ffffff 0%, #67C8FF 70%, #00D1F3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Left-side scrim so text always reads on top of the bloom */
.imm2-hero::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 56%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(5, 14, 28, 0.62) 0%,
    rgba(5, 14, 28, 0.42) 40%,
    rgba(5, 14, 28, 0.00) 100%);
}
@media (max-width: 699px) {
  .imm2-hero::after { width: 100%; }
}
.imm2-text { z-index: 5; }
/* ============================================================
   Phase 5.5: announcement bar translucency + extended hero canvas
   The opaque dark bar was clipping the top of the 3D scene.
   Now it overlays the canvas with the same blur+tint as the nav.
   ============================================================ */
.announce-bar {
  background: rgba(5, 14, 28, 0.55) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(232, 241, 250, 0.06);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.nav {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 49;
}
/* push the immersive hero up so its canvas starts at viewport top, behind the bar */
.imm2-hero {
  margin-top: -108px;
  padding-top: 0;
}
/* keep content inside .imm2-text below the chrome */
.imm2-text {
  top: calc(50% + 30px);
}
@media (max-width: 699px) {
  .imm2-hero { margin-top: -88px; }
  .nav { top: 36px; }
}
/* === Phase 5.8: hero mini-scene stages === */
.hero-mini-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 12px auto 20px;
  height: clamp(300px, 34vw, 400px);
  pointer-events: auto;
}
.hero-mini-stage canvas.hero-mini {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.hero-mini-stage canvas.hero-mini:active { cursor: grabbing; }
.hero-mini-poster {
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.hero.compact { padding-top: 20px; padding-bottom: 28px; }
.hero.compact .hero-eyebrow { margin-top: 8px; }
.hero.compact + .section, .hero.compact + section { padding-top: 36px; }
@media (max-width: 720px) {
  .hero-mini-stage { height: 160px; max-width: 100%; }
  .hero-mini-stage canvas.hero-mini { display: none; }
  .hero-mini-stage .hero-mini-poster { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mini-stage canvas.hero-mini { display: none; }
  .hero-mini-stage .hero-mini-poster { display: block; }
}


/* ----------------------------------------------------------------
   Mobile nav legibility fix (Matthew review, 2026-06-03).
   The desktop header colors .nav-links > li > a near-white. When the
   menu opens on mobile, the panel switches to a white background, so
   those near-white links disappear. The .open class is only set on
   the mobile panel, so this overrides the desktop color there only.
   ---------------------------------------------------------------- */
.nav-links.open > li > a:not(.nav-cta) { color: var(--body); }
.nav-links.open > li > a:not(.nav-cta):hover { color: var(--blue); }