/* =========================================================================
   Diagnovate website — shared styles
   Visual identity: navy / cream / teal. DM Sans (copy) + IBM Plex Mono (data).
   ========================================================================= */

:root {
  --navy: #0E1B2C;
  --navy-soft: #16283F;
  --cream: #F9F4EA;
  --cream-2: #F3ECDD;
  --teal: #21CDA8;
  --teal-deep: #0F8F73;
  --amber: #F5A623;
  --mist: #E6EDEB;
  --ink: #0E1B2C;
  --ink-soft: #55606B;
  --line: rgba(14, 27, 44, 0.12);
  --line-2: rgba(14, 27, 44, 0.07);
  --maxw: 1200px;
  /* Soft UI Evolution — layered depth (softer than flat, clearer than neumorphism) */
  --shadow: 0 24px 60px -28px rgba(14, 27, 44, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(14, 27, 44, 0.4);
  --shadow-soft: 0 1px 2px rgba(14,27,44,0.04), 0 6px 16px -8px rgba(14,27,44,0.10);
  --shadow-lift: 0 2px 4px rgba(14,27,44,0.05), 0 22px 48px -24px rgba(14,27,44,0.28);
  --shadow-glow: 0 0 0 1px rgba(33,205,168,0.14), 0 24px 60px -30px rgba(33,205,168,0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.34, 1.32, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: 'IBM Plex Mono', monospace; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- accessibility helpers ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; border-radius: 4px; }

/* =========================================================================
   NAV
   ========================================================================= */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
header.solid {
  background: rgba(249, 244, 234, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; }
/* Bigger, and tinted to the site's navy so the wordmark sits in the palette */
.logo-img { height: 40px; width: auto; display: block; filter: brightness(0) opacity(0.93); transition: transform .2s var(--ease-out); }
.logo:hover .logo-img { transform: scale(1.03); }
@media (max-width: 480px) { .logo-img { height: 30px; } }

.navlinks { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--ink-soft); }
.navlinks > a, .nav-trigger { padding: 8px 14px; border-radius: 100px; transition: background .2s, color .2s; background: none; border: none; font: inherit; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.navlinks > a:hover, .nav-trigger:hover { color: var(--ink); background: rgba(14,27,44,0.05); }

/* products dropdown */
.nav-dd { position: relative; }
.nav-trigger .caret { width: 9px; height: 9px; transition: transform .25s; }
.nav-dd.open .nav-trigger .caret { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
}
.nav-dd.open .dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; transition: background .18s; }
.dd-item:hover { background: var(--cream); }
.dd-ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--navy); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.dd-ico svg { width: 16px; height: 16px; }
.dd-title { font-size: 14.5px; font-weight: 500; color: var(--navy); }
.dd-desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  font-size: 13.5px; font-weight: 500; padding: 10px 20px; border-radius: 100px;
  background: var(--navy); color: var(--cream); transition: background .2s, transform .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; padding: 9px; color: var(--navy); }
.nav-toggle svg { width: 100%; height: 100%; }
.mobile-menu { display: none; position: fixed; inset: 0 0 auto 0; z-index: 55; background: var(--cream); padding: 88px 32px 32px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 2px; max-height: 100vh; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--navy); }
.mobile-menu .mm-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 18px 4px 6px; border: none; }
.mobile-menu a.mm-sub { padding-left: 16px; font-size: 16px; }
.mobile-menu a.mobile-cta { margin-top: 20px; text-align: center; background: var(--navy); color: var(--cream); border-radius: 100px; border: none; font-weight: 500; }
body.menu-open { overflow: hidden; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-primary { background: var(--navy); color: var(--cream); padding: 15px 28px; border-radius: 100px; font-size: 15px; font-weight: 500; transition: background .2s, transform .2s, box-shadow .2s; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: none; font-family: inherit; }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15,143,115,.6); }
.btn-ghost { padding: 15px 24px; border-radius: 100px; font-size: 15px; font-weight: 500; color: var(--navy); border: 1px solid var(--line); transition: border-color .2s, background .2s; display: inline-flex; align-items: center; gap: 9px; background: transparent; cursor: pointer; font-family: inherit; }
.btn-ghost:hover { border-color: var(--navy); background: rgba(14,27,44,0.03); }
.btn-ghost.on-dark { color: var(--cream); border-color: rgba(249, 244, 234, 0.28); }
.btn-ghost.on-dark:hover { border-color: var(--cream); background: rgba(249,244,234,.06); }
.btn-play { display: inline-flex; align-items: center; gap: 10px; }
.btn-play .play-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.btn-play .play-ico svg { width: 10px; height: 10px; margin-left: 1px; }

/* =========================================================================
   HERO (2-column, filled)
   ========================================================================= */
.hero { padding: 176px 0 90px; position: relative; overflow: hidden; }
.hero::before { /* soft glow, top-right */
  content: ''; position: absolute; top: -160px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(33,205,168,0.22), transparent 62%); pointer-events: none; z-index: 0;
}
.hero::after { /* faint glow, left */
  content: ''; position: absolute; bottom: -140px; left: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14,27,44,0.06), transparent 65%); pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(33,205,168,.5); animation: ping 2.4s ease-out infinite; }
h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); overflow-wrap: break-word; }
h1 em { font-style: normal; color: var(--teal-deep); }
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--ink-soft); max-width: 560px; line-height: 1.6; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; gap: 10px 22px; flex-wrap: wrap; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-deep); }

/* hero device visual */
.hero-visual { position: relative; }
.scan-panel {
  background: var(--navy); border-radius: 26px; padding: 26px; color: var(--cream);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.scan-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 0%, rgba(33,205,168,.14), transparent 55%); pointer-events: none; }
.scan-head { display: flex; justify-content: space-between; align-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(249,244,234,.55); letter-spacing: .06em; position: relative; }
.scan-live { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); }
.scan-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(33,205,168,.5); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(33,205,168,.5); } 100% { box-shadow: 0 0 0 13px rgba(33,205,168,0); } }
.scan-face {
  height: 172px; margin: 20px 0; border-radius: 16px; position: relative; overflow: hidden;
  border: 1px solid rgba(249,244,234,.16);
  background: linear-gradient(160deg, rgba(33,205,168,.10), rgba(33,205,168,0) 60%);
  display: flex; align-items: center; justify-content: center;
}
.scan-face .face-ico { width: 76px; height: 76px; color: rgba(249,244,234,.28); }
.scan-face .corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--teal); opacity: .8; }
.scan-face .corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.scan-face .corner.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.scan-face .corner.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.scan-face .corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.scan-face::after { content: ''; position: absolute; left: 8%; right: 8%; height: 2px; top: 18%; background: linear-gradient(90deg, transparent, var(--teal), transparent); border-radius: 2px; box-shadow: 0 0 12px 1px rgba(33,205,168,.6); animation: sweep 3s ease-in-out infinite; }
@keyframes sweep { 0%,100% { top: 16%; opacity: .35; } 50% { top: 80%; opacity: 1; } }
.scan-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sm { border-top: 1px solid rgba(249,244,234,.12); padding-top: 10px; }
.sm .k { font-size: 10px; color: rgba(249,244,234,.5); font-family: 'IBM Plex Mono', monospace; letter-spacing: .04em; }
.sm .v { font-family: 'IBM Plex Mono', monospace; font-size: 18px; color: var(--teal); margin-top: 3px; }
.sm .v small { font-size: 10px; color: rgba(249,244,234,.5); }
/* floating chips around the panel */
.float-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; box-shadow: var(--shadow-sm); font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--navy); display: flex; align-items: center; gap: 8px; z-index: 2; }
.float-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.float-chip.c1 { top: 6%; left: -34px; animation: floaty 5s ease-in-out infinite; }
.float-chip.c2 { top: 38%; right: -32px; animation: floaty 6s ease-in-out infinite .8s; }
.float-chip.c3 { bottom: -16px; left: 14%; animation: floaty 5.5s ease-in-out infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* pulse waveform signature */
.pulse-wrap { margin-top: 8px; width: 100%; }
.pulse-wrap svg { width: 100%; height: auto; display: block; }
.pulse-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: draw 3.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse-track { fill: none; stroke: var(--line); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.divider-pulse { width: 100%; height: 26px; margin: 0 auto; display: block; opacity: 0.45; }
.divider-pulse path { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .pulse-line { animation: none; stroke-dashoffset: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scan-face::after, .float-chip, .scan-live::before, .eyebrow::before { animation: none !important; }
}

/* =========================================================================
   FULL-WIDTH STAT BAR
   ========================================================================= */
.stats { background: var(--navy); color: var(--cream); padding: 46px 0; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; top: -50%; right: -6%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(33,205,168,.16), transparent 60%); }
.stats-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; position: relative; }
.stat { flex: 1; min-width: 170px; }
.stat-num { font-family: 'IBM Plex Mono', monospace; font-size: 34px; font-weight: 500; color: var(--teal); letter-spacing: -0.01em; }
.stat-label { font-size: 13px; color: rgba(247, 246, 242, 0.62); margin-top: 6px; line-height: 1.4; }

/* =========================================================================
   SECTION SHARED
   ========================================================================= */
section { padding: 108px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
h2 { font-size: clamp(32px, 3.8vw, 54px); font-weight: 700; letter-spacing: -0.025em; color: var(--navy); line-height: 1.1; }
.section-sub { margin-top: 18px; font-size: 18.5px; color: var(--ink-soft); line-height: 1.65; }

/* =========================================================================
   KIOSK — demo video
   ========================================================================= */
.video-block { max-width: 1000px; margin: 0 auto; }
.video-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--navy); aspect-ratio: 832 / 464; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.video-frame.playing .poster { opacity: 0; pointer-events: none; }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(180deg, rgba(14,27,44,.15), rgba(14,27,44,.55)); cursor: pointer; transition: opacity .4s; }
.video-frame.playing .video-overlay { opacity: 0; pointer-events: none; }
.video-play-btn { width: 74px; height: 74px; border-radius: 50%; background: rgba(249,244,234,.94); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: transform .2s; }
.video-overlay:hover .video-play-btn { transform: scale(1.06); }
.video-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.video-cap { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .06em; color: var(--cream); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.video-note { text-align: center; margin-top: 18px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); }

/* =========================================================================
   WHAT WE MEASURE — dark band, vitals grid (fills width)
   ========================================================================= */
.measure { background: var(--navy); color: var(--cream); overflow: hidden; }
.measure::before { content: ''; position: absolute; top: -120px; left: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(33,205,168,.14), transparent 60%); }
.measure .section-eyebrow { color: var(--teal); }
.measure h2 { color: var(--cream); }
.measure .section-sub { color: rgba(247,246,242,.66); }
.vitals-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.vital {
  border: 1px solid rgba(249,244,234,.12); border-radius: 14px; padding: 20px 16px;
  background: rgba(249,244,234,.03); transition: transform .2s, border-color .2s, background .2s;
}
.vital:hover { transform: translateY(-4px); border-color: rgba(33,205,168,.5); background: rgba(33,205,168,.06); }
.vital .v-ico { width: 36px; height: 36px; color: var(--teal); margin-bottom: 16px; }
.vital .v-ico svg { width: 100%; height: 100%; }
.vital .v-name { font-size: 15.5px; font-weight: 500; color: var(--cream); line-height: 1.3; }
.vital .v-val { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: rgba(33,205,168,.9); margin-top: 9px; }

/* =========================================================================
   HOW IT WORKS — 3-step band
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 46px 40px 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-n { font-family: 'IBM Plex Mono', monospace; font-size: 78px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 22px; }
.step h3 { font-size: 23px; color: var(--navy); letter-spacing: -.015em; }
.step p { margin-top: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.62; }

/* =========================================================================
   BENEFITS — 6-card grid
   ========================================================================= */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { padding: 40px 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.benefit .b-ico { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, rgba(33,205,168,.18), rgba(33,205,168,.05)); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.benefit .b-ico svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 20px; color: var(--navy); letter-spacing: -.015em; }
.benefit p { margin-top: 11px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.62; }

/* deploy chips */
.deploy-chips { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.04em; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); background: #fff; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--teal); color: var(--navy); }

/* =========================================================================
   PRODUCT ROWS (image + copy, 2-col, fills width)
   ========================================================================= */
.product { padding: 104px 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product.reverse .product-media { order: 2; }
.product-copy .section-eyebrow { color: var(--teal-deep); }
.product-points { margin-top: 26px; display: flex; flex-direction: column; gap: 15px; }
.product-point { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.product-point b { color: var(--navy); font-weight: 500; }
.product-point .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex-shrink: 0; }
.product-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* framed product photo */
.photo-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame.tall { aspect-ratio: 4 / 5; }
.photo-frame .photo-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(14,27,44,.82); color: var(--cream); backdrop-filter: blur(4px); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .05em; padding: 8px 13px; border-radius: 100px; }
.media-halo { position: relative; }
.media-halo::before { content: ''; position: absolute; inset: -30px -30px auto auto; width: 260px; height: 260px; background: radial-gradient(circle, rgba(33,205,168,.22), transparent 62%); z-index: -1; }

/* dark family-AI panel */
.ai-section { background: var(--navy-soft); color: var(--cream); border-radius: 26px; padding: 72px 60px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ai-section::before { content: ''; position: absolute; bottom: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(33,205,168,.16), transparent 62%); }
.ai-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.ai-section .section-eyebrow { color: var(--teal); }
.ai-section h2 { color: var(--cream); }
.ai-section .section-sub { color: rgba(247,246,242,.68); }
.ai-section .product-point { color: rgba(247,246,242,.72); }
.ai-section .product-point b { color: var(--cream); }
.card-mock { background: rgba(247,246,242,.06); border: 1px solid rgba(247,246,242,.14); border-radius: 16px; padding: 26px; backdrop-filter: blur(4px); }
.card-mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(247,246,242,.55); margin-bottom: 18px; font-family: 'IBM Plex Mono', monospace; }
.badge { font-size: 10px; padding: 3px 9px; border-radius: 100px; font-family: 'IBM Plex Mono', monospace; }
.badge-watch { background: rgba(245,166,35,.16); color: var(--amber); }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid rgba(247,246,242,.1); }
.mock-row:first-of-type { border-top: none; }
.mock-row-name { font-size: 14px; color: var(--cream); }
.mock-row-sub { font-size: 12px; color: rgba(247,246,242,.5); margin-top: 2px; }
.mock-row-val { font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--teal); }

/* =========================================================================
   IP BAND (link to /ip), now with device photo
   ========================================================================= */
.ip-band { background: var(--navy); color: var(--cream); border-radius: 26px; padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.ip-band-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ip-band-copy { padding: 60px 56px; }
.ip-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.ip-band h2 { color: var(--cream); margin-top: 12px; }
.ip-band p { margin-top: 14px; color: rgba(247,246,242,.7); font-size: 16px; line-height: 1.6; }
.ip-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 500; color: var(--teal); }
.ip-link .arrow { transition: transform .2s; }
.ip-link:hover .arrow { transform: translateX(5px); }
.ip-band-media { position: relative; min-height: 340px; background: #000; }
.ip-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ip-band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), transparent 30%); }

/* =========================================================================
   BACKERS / CREDIBILITY STRIP
   ========================================================================= */
.backers { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.backers-label { text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 34px; }
.backers-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.backer { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); font-size: 15px; opacity: .82; transition: opacity .2s; }
.backer:hover { opacity: 1; }
.backer .b-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.backer small { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--ink-soft); font-weight: 400; letter-spacing: .02em; }

/* =========================================================================
   ADVISORS
   ========================================================================= */
.advisors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.advisor-card { text-align: center; padding: 36px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.advisor-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.advisor-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 500; }
.advisor-card h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.advisor-role { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; }
.advisors-note { margin-top: 30px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* =========================================================================
   LEAD CAPTURE (2-col: info + form)
   ========================================================================= */
.lead { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.lead-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.lead-info .section-eyebrow { color: var(--teal-deep); }
.lead-contacts { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.lead-contact { display: flex; gap: 14px; align-items: flex-start; }
.lead-contact .lc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lead-contact .lc-ico svg { width: 18px; height: 18px; }
.lead-contact .lc-k { font-size: 12px; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.lead-contact .lc-v { font-size: 15px; color: var(--navy); margin-top: 2px; }
.lead-form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); }
.lead-form { text-align: left; }
.lead-field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-field { flex: 1; min-width: 200px; margin-bottom: 14px; }
.lead-field.full { flex-basis: 100%; }
.lead-form label { display: block; font-size: 12px; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid var(--line); background: var(--cream); border-radius: 12px; padding: 13px 16px; font-size: 15px; font-family: 'DM Sans', sans-serif; color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--teal-deep); background: #fff; }
.lead-submit-row { margin-top: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lead-form button[type="submit"] { min-width: 150px; }
.lead-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.lead-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); }
.form-status { font-size: 14px; }
.form-status.error { color: #C0392B; }
.form-status.success { color: var(--teal-deep); }
.form-success-panel { display: none; text-align: center; padding: 46px 24px; border: 1px solid var(--teal); border-radius: 18px; background: rgba(33, 205, 168, 0.06); }
.form-success-panel.show { display: block; }
.form-success-panel .fs-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success-panel h3 { color: var(--navy); font-size: 20px; }
.form-success-panel p { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }

/* =========================================================================
   FOOTER (multi-column)
   ========================================================================= */
footer { background: var(--navy); color: rgba(249,244,234,.7); padding: 68px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-img { height: 28px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin-top: 18px; font-size: 14px; max-width: 300px; line-height: 1.6; color: rgba(249,244,234,.6); }
.footer-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(249,244,234,.5); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(249,244,234,.72); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(249,244,234,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: rgba(249,244,234,.5); }

/* =========================================================================
   IP PAGE specifics
   ========================================================================= */
.ip-hero { padding: 150px 0 84px; position: relative; overflow: hidden; }
.ip-hero::before { content: ''; position: absolute; top: -140px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(33,205,168,.18), transparent 62%); }
.ip-hero .wrap { position: relative; }
.ip-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ip-hero .eyebrow { color: var(--teal-deep); }
.back-link { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.back-link:hover { color: var(--navy); }
.ip-lede { font-size: 19px; color: var(--ink-soft); margin-top: 22px; line-height: 1.6; max-width: 540px; }
.ip-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ip-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; transition: transform .2s, box-shadow .2s; }
.ip-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ip-step .n { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--teal-deep); }
.ip-step h3 { margin-top: 12px; font-size: 18px; color: var(--navy); }
.ip-step p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.moat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.moat-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.moat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.moat-card h3 { font-size: 16px; color: var(--navy); }
.moat-card p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; width: 240px; vertical-align: top; }
.spec-table td { color: var(--navy); }
.callout { border-left: 3px solid var(--amber); background: rgba(245, 166, 35, 0.06); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: 14px; color: var(--ink-soft); margin-top: 24px; }

/* =========================================================================
   REVEAL
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .vitals-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .navlinks { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 128px 0 70px; }
  section { padding: 74px 0; }
  .product { padding: 74px 0; }
  .hero-grid, .ai-grid, .product-grid, .ip-band-grid, .lead-grid, .ip-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 460px; }
  .product.reverse .product-media { order: -1; }
  .steps, .benefit-grid { grid-template-columns: 1fr; }
  .ai-section { padding: 44px 26px; }
  .ip-band-copy { padding: 44px 30px; }
  .ip-band-media { min-height: 260px; }
  .ip-how { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; text-align: left; }
  .float-chip.c1 { left: 6px; } .float-chip.c2 { right: 6px; }
}
@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .vitals-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-field { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .ai-section, .lead-form-card { padding: 28px 22px; }
  .float-chip { display: none; }
  .scan-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-cursor-glow { display: none; }
}

/* =========================================================================
   ★ PREMIUM LAYER — depth, texture, motion, micro-interactions
   (Additive; preserves the navy/cream/teal identity + pulse signature.)
   ========================================================================= */

/* ---- 1. Fine grain texture (tactile premium surface, overlays everything) ---- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---- 2. Soft-UI depth on resting cards (was hairline-only) ---- */
.step, .benefit, .advisor-card, .moat-card, .ip-step,
.lead-form-card, .photo-frame, .video-frame, .chip {
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s ease;
}
.step:hover, .benefit:hover, .advisor-card:hover, .moat-card:hover, .ip-step:hover {
  box-shadow: var(--shadow-lift);
}
.dd-menu { box-shadow: 0 2px 6px rgba(14,27,44,.06), var(--shadow); }
.card-mock { box-shadow: 0 20px 50px -30px rgba(0,0,0,.5); }

/* ---- 3. Hero: animated grid backdrop + cursor-follow glow ---- */
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(14,27,44,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,27,44,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 72% 8%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 90% at 72% 8%, #000 0%, transparent 62%);
}
.hero-cursor-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  left: var(--mx, 70%); top: var(--my, 26%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(33,205,168,0.16), transparent 60%);
  transition: left .5s var(--ease-out), top .5s var(--ease-out); will-change: left, top;
}

/* ---- 4. Refined reveal (premium easing + optional stagger children) ---- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-stagger] > * { opacity: 0; transform: translateY(20px) scale(.985); transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1){transition-delay:.02s}
[data-stagger].in > *:nth-child(2){transition-delay:.09s}
[data-stagger].in > *:nth-child(3){transition-delay:.16s}
[data-stagger].in > *:nth-child(4){transition-delay:.23s}
[data-stagger].in > *:nth-child(5){transition-delay:.30s}
[data-stagger].in > *:nth-child(6){transition-delay:.37s}
[data-stagger].in > *:nth-child(7){transition-delay:.44s}
[data-stagger].in > *:nth-child(8){transition-delay:.51s}
[data-stagger].in > *:nth-child(9){transition-delay:.58s}
[data-stagger].in > *:nth-child(10){transition-delay:.65s}

/* ---- 5. Hero load choreography (staggered entrance) ---- */
.hero-copy > * { opacity: 0; animation: heroIn .9s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1){animation-delay:.05s}
.hero-copy > *:nth-child(2){animation-delay:.15s}
.hero-copy > *:nth-child(3){animation-delay:.25s}
.hero-copy > *:nth-child(4){animation-delay:.35s}
.hero-copy > *:nth-child(5){animation-delay:.45s}
.hero-visual { opacity: 0; animation: heroInScale 1.1s var(--ease-out) .35s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroInScale { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---- 6. Gradient-refined display type & section eyebrow tick ---- */
h1 em { background: linear-gradient(100deg, var(--teal-deep), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head.center .section-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.section-head.center .section-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .5; }

/* ---- 7. Micro-interactions ---- */
a, button, .chip, .nav-cta, .dd-item, .btn-primary, .btn-ghost, .video-overlay, [role="button"] { cursor: pointer; }
.nav-cta { position: relative; overflow: hidden; }
.nav-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease-out); }
.nav-cta:hover::after { transform: translateX(120%); }
.btn-primary, .btn-ghost { transition: background .2s, color .2s, transform .18s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
.btn-primary:active, .btn-ghost:active, .nav-cta:active { transform: translateY(0) scale(.98); }
.vital { transition: transform .3s var(--ease-out), border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.vital:hover { box-shadow: 0 20px 40px -26px rgba(33,205,168,.5); }
.ip-link:hover { text-shadow: 0 0 20px rgba(33,205,168,.4); }
.backer { transition: opacity .25s ease, transform .25s var(--ease-out); }
.backer:hover { transform: translateY(-2px); }
.photo-frame:hover, .video-frame:hover { box-shadow: var(--shadow); }
.photo-frame img { transition: transform .6s var(--ease-out); }
.photo-frame:hover img { transform: scale(1.03); }

/* ---- 8. Parallax hooks (JS sets --pty; decorative layers only) ---- */
[data-parallax] { will-change: transform; transform: translateY(var(--pty, 0)); }

/* ---- 9. Scroll progress bar (thin, top) ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--teal-deep), var(--teal)); transition: width .1s linear; }

/* ---- 10. Products dropdown — fixed layout + hover bridge ---- */
.dd-menu { width: 344px; }
.dd-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* invisible hover bridge (no flicker over the gap) */
.dd-item { align-items: flex-start; }
.dd-item > span:last-child { display: block; flex: 1; min-width: 0; }
.dd-title { display: block; }
.dd-desc { display: block; }

/* ---- 11. Wide screens: use the canvas ---- */
@media (min-width: 1680px) {
  :root { --maxw: 1400px; }
  .hero-grid { gap: 80px; }
}
/* let the hero grid texture span the full width, not just the right half */
.hero-grid-bg {
  -webkit-mask-image: radial-gradient(140% 100% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(140% 100% at 50% 0%, #000 0%, transparent 72%);
}

/* ---- 12. Full-bleed vitals ticker (seamless marquee) ---- */
.vitals-ticker {
  position: relative; overflow: hidden; padding: 15px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 34s linear infinite; will-change: transform; }
.vitals-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.tick { display: inline-flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; text-transform: uppercase; }
.tick b { color: var(--teal-deep); font-weight: 500; }
.tick::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 13. Backers strip as slow marquee ---- */
.backers-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.backers-track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.backers-marquee:hover .backers-track { animation-play-state: paused; }
.backers-group { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.backers-group .backer { white-space: nowrap; }

/* ---- 14. Hero edge ambience (only on wide viewports) ---- */
.float-chip.e1 { left: 3.5%; top: 62%; animation: floaty 7s ease-in-out infinite .6s; }
.float-chip.e2 { right: 3.2%; top: 24%; animation: floaty 8s ease-in-out infinite 1.2s; }
@media (max-width: 1499px) { .float-chip.e1, .float-chip.e2 { display: none; } }

/* ---- 15. Glass lead panel (Apple-style) over drifting color ---- */
.lead { position: relative; overflow: hidden; }
.lead .wrap { position: relative; z-index: 1; }
.lead-blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.lead-blob.b1 { width: 460px; height: 460px; right: 6%; top: -120px; background: rgba(33, 205, 168, 0.38); animation: blobDrift 16s ease-in-out infinite alternate; }
.lead-blob.b2 { width: 400px; height: 400px; left: 4%; bottom: -140px; background: rgba(14, 27, 44, 0.20); animation: blobDrift 19s ease-in-out infinite alternate-reverse; }
.lead-blob.b3 { width: 300px; height: 300px; left: 38%; top: 30%; background: rgba(245, 166, 35, 0.14); animation: blobDrift 22s ease-in-out infinite alternate; }
@keyframes blobDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
.lead-form-card {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
          backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 24px 70px -32px rgba(14, 27, 44, 0.4);
}
.lead-form input, .lead-form select, .lead-form textarea {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(14, 27, 44, 0.12);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { background: rgba(255, 255, 255, 0.9); }

/* ---- Reduced-motion: disable all the new motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual { animation: none !important; opacity: 1 !important; transform: none !important; }
  [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-cursor-glow, .hero-grid-bg { display: none; }
  [data-parallax] { transform: none !important; }
  .nav-cta::after { display: none; }
  .photo-frame:hover img { transform: none; }
  .ticker-track, .backers-track { animation: none !important; }
  .lead-blob { animation: none !important; }
  .float-chip { animation: none !important; }
}

/* =========================================================================
   ★ LARGER-THAN-LIFE LAYER — sliding biomarker rows, statement band,
   highlight marks, scroll-driven animation (Apple-style, all vanilla)
   ========================================================================= */

/* ---- highlight: living gradient text (shimmers slowly, works on light & dark) ---- */
.hl {
  background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal) 30%, #8FF0D6 50%, var(--teal) 70%, var(--teal-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hlShift 6s ease-in-out infinite;
}
@keyframes hlShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---- white band variant (background rhythm between sections) ---- */
.section-white { background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%); }

/* ---- full-bleed sliding biomarker rows (measure section) ---- */
.vitals-rows { display: flex; flex-direction: column; gap: 20px; margin: 8px 0 0; position: relative; }
.vitals-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vitals-row-track { display: flex; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.vitals-row.reverse .vitals-row-track { animation: marquee-rev 66s linear infinite; }
.vitals-row:hover .vitals-row-track { animation-play-state: paused; }
.vitals-row-group { display: flex; gap: 20px; padding-right: 20px; }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.vitals-row .vital { width: 224px; flex-shrink: 0; padding: 26px 22px; position: relative; }
.fda-badge {
  position: absolute; top: 14px; right: 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: .05em;
  color: var(--teal); border: 1px solid rgba(33, 205, 168, 0.45);
  border-radius: 100px; padding: 3px 8px;
}

/* accuracy strip under the rows */
.accuracy-strip { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.acc {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .03em;
  color: rgba(249, 244, 234, 0.72); border: 1px solid rgba(249, 244, 234, 0.16);
  border-radius: 100px; padding: 11px 20px; transition: border-color .2s;
}
.acc:hover { border-color: rgba(33, 205, 168, 0.5); }
.acc b { color: var(--teal); font-weight: 500; }
.accuracy-note { margin-top: 20px; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .05em; color: rgba(249, 244, 234, 0.45); text-transform: uppercase; position: relative; }

/* ---- statement band (huge Apple-style declaration) ---- */
.statement { padding: 150px 0 130px; background: linear-gradient(180deg, var(--cream-2), var(--cream)); text-align: center; overflow: hidden; }
.statement-text {
  font-size: clamp(42px, 5.6vw, 84px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06;
  color: var(--navy);
}
.statement-text em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal-deep), var(--teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---- scroll-driven animation (progressive: Chrome 115+, falls back silently) ---- */
@supports (animation-timeline: view()) {
  .section-head {
    animation: headRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  @keyframes headRise { from { opacity: 0; transform: translateY(48px) scale(.96); } to { opacity: 1; transform: none; } }

  .statement-text {
    animation: statementIn linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 42%;
  }
  @keyframes statementIn { from { opacity: 0; transform: translateY(70px) scale(.9); } to { opacity: 1; transform: none; } }

  .photo-frame img {
    animation: kenburns linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 65%;
  }
  @keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }

  .ai-section, .ip-band {
    animation: bandRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
  @keyframes bandRise { from { opacity: .35; transform: translateY(64px) scale(.965); } to { opacity: 1; transform: none; } }

  .stats .stat {
    animation: statRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes statRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}

/* ---- reduced-motion for this layer ---- */
@media (prefers-reduced-motion: reduce) {
  .vitals-row-track { animation: none !important; }
  .section-head, .statement-text, .photo-frame img, .ai-section, .ip-band, .stats .stat { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- responsive for this layer ---- */
@media (max-width: 900px) {
  .statement { padding: 96px 0 84px; }
  .vitals-row .vital { width: 190px; padding: 22px 18px; }
  .step-n { font-size: 60px; }
}

/* =========================================================================
   ★ ALIVE LAYER — living heartbeat, aurora, split headers, spotlight cards
   ========================================================================= */

/* ---- hero aurora (slow drifting colour, kills the dead feel) ---- */
.hero-aurora { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-aurora.a1 { width: 560px; height: 560px; top: -140px; left: -120px; background: rgba(33, 205, 168, 0.20); animation: blobDrift 18s ease-in-out infinite alternate; }
.hero-aurora.a2 { width: 480px; height: 480px; bottom: -160px; right: 8%; background: rgba(14, 27, 44, 0.10); animation: blobDrift 22s ease-in-out infinite alternate-reverse; }
.hero-aurora.a3 { width: 380px; height: 380px; top: 30%; left: 38%; background: rgba(245, 166, 35, 0.10); animation: blobDrift 26s ease-in-out infinite alternate; }

/* ---- full-bleed LIVE heartbeat ---- */
.pulse-fullbleed { width: 100%; margin-top: 54px; position: relative; z-index: 1; }
.pulse-fullbleed svg { width: 100%; height: 90px; display: block; }
.pulse-base {
  fill: none; stroke: var(--teal); stroke-width: 2; opacity: .22;
  stroke-linecap: round; stroke-linejoin: round;
}
.pulse-live {
  fill: none; stroke: var(--teal); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 80 1820; stroke-dashoffset: 1900;
  animation: pulseRun 4.6s linear infinite;
  filter: drop-shadow(0 0 7px rgba(33, 205, 168, 0.85));
}
@keyframes pulseRun { to { stroke-dashoffset: 0; } }

/* ---- split section headers (editorial, not centered) ---- */
.section-head.split {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end;
  max-width: none; margin-bottom: 72px;
}
.section-head.split h2 { font-size: clamp(36px, 4.4vw, 64px); }
.section-head.split .section-sub { margin-top: 0; }
.split-right { padding-bottom: 6px; }
.split-meta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; color: var(--teal-deep); }
.measure .split-meta { color: var(--teal); opacity: .75; }
@media (max-width: 900px) {
  .section-head.split { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: 48px; }
}

/* ---- biomarker rows: breathing room so hover never clips ---- */
.vitals-rows { gap: 30px; }
.vitals-row { padding: 14px 0; }
.vitals-row .vital:hover { transform: translateY(-3px); }

/* ---- cursor spotlight on cards (JS sets --sx/--sy) ---- */
.spot { position: relative; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  transition: opacity .35s ease; pointer-events: none;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(33, 205, 168, 0.13), transparent 65%);
}
.spot:hover::after { opacity: 1; }

/* ---- video: teal glow ring + scroll rise ---- */
.video-block { max-width: 1120px; }
.video-frame { box-shadow: var(--shadow), 0 0 0 1px rgba(33, 205, 168, 0.16), 0 0 90px -24px rgba(33, 205, 168, 0.35); }

/* ---- hero exit transition (content floats away as you scroll to the kiosk) ---- */
@supports (animation-timeline: view()) {
  .hero-grid, .pulse-fullbleed {
    animation: heroExit linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 90%;
  }
  @keyframes heroExit { to { opacity: 0; transform: translateY(-70px) scale(0.965); } }

  .video-block {
    animation: videoRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes videoRise { from { opacity: 0; transform: translateY(80px) scale(0.93); } to { opacity: 1; transform: none; } }
}

/* ---- reduced-motion for this layer ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora { animation: none !important; }
  .pulse-live { animation: none !important; stroke-dasharray: none; opacity: .8; filter: none; }
  .hl { animation: none !important; }
  .hero-grid, .pulse-fullbleed, .video-block { animation: none !important; opacity: 1 !important; transform: none !important; }
  .spot::after { display: none; }
}

/* =========================================================================
   ★ POLISH LAYER v2 — theme logo, connected sub-heads, glass AI tile,
   ambient product screens, seamless backers loop
   ========================================================================= */

/* ---- logo: brand mark masked & filled with the site's own navy→teal ---- */
.logo-mask {
  display: block; height: 40px; width: 191px;
  background: linear-gradient(100deg, var(--navy) 45%, var(--teal-deep) 85%, var(--teal));
  background-size: 160% 100%; background-position: 0% 50%;
  -webkit-mask: url('/assets/img/logo.png') no-repeat center / contain;
          mask: url('/assets/img/logo.png') no-repeat center / contain;
  transition: background-position .5s var(--ease-out), transform .2s var(--ease-out);
}
.logo:hover .logo-mask { background-position: 100% 50%; transform: scale(1.02); }
@media (max-width: 480px) { .logo-mask { height: 30px; width: 143px; } }

/* ---- split headers: sub-copy connected, bigger, with accent line ---- */
.section-head.split { align-items: center; gap: 56px; }
.split-right { position: relative; padding: 8px 0 8px 32px; }
.split-right::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  transform-origin: top;
}
.split-right .section-sub { font-size: 20px; line-height: 1.65; color: #414C58; }
.measure .split-right .section-sub { color: rgba(247, 246, 242, 0.78); }
.split-meta { font-size: 12px; }

/* ---- statement band: ambient colour + faint trace ---- */
.statement { position: relative; }
.statement::before {
  content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(110px); background: rgba(33, 205, 168, 0.17); left: -140px; top: -120px;
  animation: blobDrift 18s ease-in-out infinite alternate; pointer-events: none;
}
.statement::after {
  content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  filter: blur(100px); background: rgba(245, 166, 35, 0.12); right: -120px; bottom: -140px;
  animation: blobDrift 22s ease-in-out infinite alternate-reverse; pointer-events: none;
}
.statement .wrap { position: relative; z-index: 1; }

/* ---- Family AI tile: Apple-glass with periodic light sweep ---- */
.ai-section { overflow: hidden; }
.card-mock {
  background: rgba(249, 244, 234, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
          backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(249, 244, 234, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 70px -34px rgba(0, 0, 0, 0.65);
  animation: floaty 7.5s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.card-mock::before {
  content: ''; position: absolute; top: -60%; bottom: -60%; width: 44%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.10) 50%, transparent 80%);
  left: -60%; transform: skewX(-18deg);
  animation: sheen 7s ease-in-out infinite; pointer-events: none;
}
@keyframes sheen { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.ai-section::after {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(110px); background: rgba(33, 205, 168, 0.13); right: -140px; top: -120px;
  animation: blobDrift 20s ease-in-out infinite alternate; pointer-events: none;
}
.ai-grid { position: relative; z-index: 1; }

/* ---- ambient grid texture band (device + IP teaser) ---- */
.bg-grid { position: relative; }
.bg-grid::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14, 27, 44, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 27, 44, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(95% 85% at 65% 35%, #000, transparent 72%);
          mask-image: radial-gradient(95% 85% at 65% 35%, #000, transparent 72%);
}
.bg-grid > .wrap { position: relative; }

/* ---- floating chips on product imagery ---- */
.float-chip.pc1 { top: 7%; left: -30px; animation: floaty 6.5s ease-in-out infinite .3s; }
.float-chip.pc2 { bottom: 9%; right: -26px; animation: floaty 7.5s ease-in-out infinite 1s; }
.ip-band-media .float-chip.ipc { bottom: 26px; left: 26px; right: auto; top: auto; z-index: 2; animation: floaty 7s ease-in-out infinite .5s; }

/* ---- scroll-driven reveal for the split sub-copy ---- */
@supports (animation-timeline: view()) {
  .split-right { animation: subIn linear both; animation-timeline: view(); animation-range: entry 5% entry 60%; }
  @keyframes subIn { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
  .split-right::before { animation: lineGrow linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
  @keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---- reduced motion for this layer ---- */
@media (prefers-reduced-motion: reduce) {
  .statement::before, .statement::after, .ai-section::after, .card-mock, .card-mock::before,
  .float-chip.pc1, .float-chip.pc2, .float-chip.ipc { animation: none !important; }
  .split-right, .split-right::before { animation: none !important; opacity: 1 !important; transform: none !important; }
  .logo:hover .logo-mask { transform: none; }
}
@media (max-width: 900px) {
  .split-right { padding-left: 24px; }
  .split-right .section-sub { font-size: 17.5px; }
  .float-chip.pc1 { left: 8px; } .float-chip.pc2 { right: 8px; }
}

/* =========================================================================
   ★ IP PAGE UPGRADE — giant step numerals, bigger cards, bento spec grid
   ========================================================================= */
.ip-step { padding: 46px 40px 42px; border-radius: 22px; }
.ip-step .n {
  font-family: 'IBM Plex Mono', monospace; font-size: 72px; font-weight: 500; line-height: 1;
  letter-spacing: -0.04em; display: block; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ip-step h3 { font-size: 22px; letter-spacing: -.015em; margin-top: 0; }
.ip-step p { font-size: 15.5px; line-height: 1.62; }

.moat-card { padding: 40px 36px; border-radius: 22px; }
.moat-card h3 { font-size: 20px; letter-spacing: -.015em; }
.moat-card p { font-size: 15px; line-height: 1.62; }

/* bento spec grid (replaces the flat table) */
.spec-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px 36px;
  box-shadow: var(--shadow-soft); position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s ease;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.spec-card.wide { grid-column: span 2; }
.spec-card.full { grid-column: 1 / -1; }
.sc-k { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.sc-big {
  font-family: 'IBM Plex Mono', monospace; font-size: 54px; font-weight: 500; letter-spacing: -.03em;
  margin-top: 16px; line-height: 1;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sc-v { font-size: 24px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); margin-top: 14px; line-height: 1.25; }
.sc-d { font-size: 15px; color: var(--ink-soft); margin-top: 10px; line-height: 1.55; }
.spec-bento + .callout { margin-top: 32px; }
@media (max-width: 900px) {
  .spec-bento { grid-template-columns: 1fr; }
  .spec-card.wide { grid-column: auto; }
  .ip-step .n { font-size: 56px; }
}

/* honeypot — invisible to humans, irresistible to bots */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }

/* =========================================================================
   ★ ADVISOR FLIP CARDS — photo tile front, glassy credentials back
   ========================================================================= */
.advisors-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; gap: 32px; }
.advisor-flip { perspective: 1400px; height: 460px; cursor: pointer; outline: none; border-radius: 24px; }
.advisor-flip:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 4px; }
.af-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.advisor-flip:hover .af-inner, .advisor-flip.flipped .af-inner { transform: rotateY(180deg); }
.af-front, .af-back {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.af-front { background: var(--navy); }
.af-front img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.af-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(14, 27, 44, 0.55) 35%, rgba(14, 27, 44, 0.92));
  color: var(--cream);
}
.af-overlay h3 { font-size: 21px; color: #fff; letter-spacing: -.015em; }
.af-overlay .advisor-role { margin-top: 5px; color: rgba(249, 244, 234, 0.78); }
.af-hint { margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.af-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, rgba(22, 40, 63, 0.94), rgba(14, 27, 44, 0.97));
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border-color: rgba(33, 205, 168, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  color: var(--cream); padding: 32px 30px; display: flex; flex-direction: column;
}
.af-back::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(80px); background: rgba(33, 205, 168, 0.14); right: -100px; bottom: -100px; pointer-events: none; }
.af-back h3 { color: #fff; font-size: 20px; letter-spacing: -.015em; position: relative; }
.af-tag { margin-top: 9px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); line-height: 1.6; position: relative; }
.af-list { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 11px; position: relative; }
.af-list li { font-size: 14px; color: rgba(249, 244, 234, 0.82); line-height: 1.5; padding-left: 18px; position: relative; }
.af-list li::before { content: ''; position: absolute; left: 0; top: 7.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 560px) { .advisor-flip { height: 420px; } }
@media (prefers-reduced-motion: reduce) { .af-inner { transition: none; } }
