@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #0B2E4A;
}

h1,
h2,
h3,
.font-display {
  font-family: "Open Sans", sans-serif;
}

.font-mono-label {
  font-family: "Open Sans", sans-serif;
  letter-spacing: .08em;
}

/* eyebrow / case-note label style: vertical tick + mono caps */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #158F5B;
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: #158F5B;
  display: block;
}

/* ── ECG / vital-line signature motif ───────────────────────── */
.ecg-line {
  stroke: #5CBE90;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecg-draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ecg-draw 3.6s ease-out forwards, ecg-pulse 2.6s ease-in-out 3.6s infinite;
}

@keyframes ecg-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ecg-pulse {

  0%,
  100% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }
}

.ecg-divider {
  width: 100%;
  height: 28px;
  opacity: .5;
}

/* subtle dot-grid = "population data points" texture */
.data-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
}

.data-grid-dark {
  background-image: radial-gradient(rgba(11, 46, 74, 0.10) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* nav active state */
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  display: block;
  height: 2px;
  background: #5CBE90;
  margin-top: 4px;
}

/* card lift */
.lift {
  transition: transform .25s ease, box-shadow .25s ease;
}

.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 46, 74, 0.12);
}

/* ── Odometer theming to match palette ──────────────────────── */
.odometer.odometer-auto-theme,
.odometer.odometer-theme-minimal {
  color: #0B2E4A;
  font-weight: 600;
}

/* Swiper pagination/nav tint */
.swiper-pagination-bullet-active {
  background: #158F5B !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0B2E4A !important;
}

/* skip link accessibility */
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: #0B2E4A;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
}

/* reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .ecg-draw {
    animation: none;
    stroke-dashoffset: 0;
  }

  html {
    scroll-behavior: auto;
  }
}