/* ============================================
   InnoCare Urologics — Premium Stylesheet
   Elevated clinical aesthetic
   ============================================ */

/* ---- Roboto @font-face ---- */
@font-face { font-family: 'Roboto'; src: url('../assets/fonts/Roboto-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('../assets/fonts/Roboto-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---- Neue Haas Display @font-face ---- */
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayRoman.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #191818;
  --navy: #06194F;
  --steel: #1E95FF;
  --mist: #1E95FF;
  --cream: #ffffff;
  --white: #ffffff;
  --blue: #2F54F1;
  --blue-light: #1E95FF;

  --font: 'Roboto', sans-serif;
  --font-heading: 'Neue Haas Display', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Premium spring-physics curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.display-xl {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.display-lg {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.display-md {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

.body-lg {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
}

.body-md {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
}

.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.container--narrow {
  max-width: 960px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding: clamp(6rem, 14vw, 12rem) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--cream);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}

/* ---- Navigation — Floating Glass Pill ---- */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 3rem);
  max-width: 1100px;
  border-radius: 100px;
  padding: 0 0.5rem;
  transition: background 0.7s var(--ease-spring), backdrop-filter 0.7s var(--ease-spring), border-color 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
  background: rgba(6, 25, 79, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav.scrolled {
  background: rgba(6, 25, 79, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(147, 176, 200, 0.1);
  box-shadow: 0 8px 40px rgba(6, 25, 79, 0.2), 0 0 0 0.5px rgba(147, 176, 200, 0.08) inset;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1rem;
}

.nav__logo img {
  height: 24px;
  width: auto;
  transition: opacity 0.4s var(--ease-spring), filter 0.5s var(--ease-spring);
}

.nav__logo:hover img {
  opacity: 0.8;
}

.nav.scrolled .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.375rem 0;
  transition: opacity 0.4s var(--ease-spring);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--steel);
  border-radius: 1px;
  transition: width 0.5s var(--ease-out-expo), left 0.5s var(--ease-out-expo);
}

.nav__link:hover::after {
  width: 100%;
  left: 0;
}

.nav__link:hover {
  opacity: 0.85;
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  transition: all 0.5s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(6, 25, 79, 0.1);
}

.nav__cta:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(6, 25, 79, 0.15);
}

.nav__cta:active {
  transform: scale(0.97);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s var(--ease-spring);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Buttons — Premium Pill Architecture ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: 100px;
  padding: 0.875rem 2rem;
  transition: all 0.5s var(--ease-spring);
  cursor: pointer;
  position: relative;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(6, 25, 79, 0.08);
}

.btn--primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 25, 79, 0.12);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 2px 8px rgba(6, 25, 79, 0.1);
}

.btn--dark:hover {
  background: #06194F;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 25, 79, 0.18);
}

.btn--arrow::after {
  content: '\2192';
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  margin-left: 0.25rem;
  margin-right: -0.5rem;
  transition: transform 0.5s var(--ease-spring), background 0.4s var(--ease-spring);
}

.btn--outline .btn--arrow::after,
.btn--primary .btn--arrow::after {
  background: rgba(6, 25, 79, 0.06);
}

.btn--dark.btn--arrow::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn--arrow:hover::after {
  transform: translateX(3px) scale(1.05);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #06194F url('../assets/images/BG.jpg') center center / cover no-repeat;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeIn 2.2s var(--ease-out-expo) 0.1s forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero bottom — no white fade, proof points section continues the navy */

/* Animated SVG lines */
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.8;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: drawLine 4s var(--ease-out-expo) forwards;
}

.hero__line--1 { animation-delay: 0.6s; }
.hero__line--2 { animation-delay: 1.0s; }
.hero__line--3 { animation-delay: 1.4s; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.hero__line--4 { animation-delay: 1.8s; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.hero__circle {
  opacity: 0;
  animation: circleAppear 0.8s var(--ease-out-expo) forwards;
}

.hero__circle--1 { animation-delay: 2.2s; }
.hero__circle--2 { animation-delay: 2.5s; }
.hero__circle--3 { animation-delay: 2.8s; }

@keyframes circleAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero__product {
  position: absolute;
  height: auto;
  z-index: 1;
  mix-blend-mode: screen;
  filter: invert(1) brightness(1.2) contrast(1.15);
  pointer-events: none;
  opacity: 0;
}

.hero__product--1 {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 12%) scale(1.06);
  width: clamp(480px, 60vw, 1000px);
  animation: heroProductFade1 3s var(--ease-out-expo) 1.2s forwards;
}

@keyframes heroProductFade1 {
  to {
    opacity: 0.9;
    transform: translate(-50%, 12%) scale(1);
  }
}

/* Hero CTA button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: #ffffff;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(6, 25, 79, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: all 0.5s var(--ease-spring);
}

.hero__cta::after {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.5s var(--ease-spring);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 25, 79, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.hero__cta:hover::after {
  transform: translateX(4px);
}

.hero__cta:active {
  transform: scale(0.97);
}

/* Brand lockup — under bullets */
.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.75rem, 1vw, 1.125rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hero__brand-logo {
  width: clamp(320px, 34vw, 480px);
  height: auto;
  display: block;
}

/* Scroll-down CTA — desktop: bottom right, mobile: bottom center */
.hero__scroll {
  position: absolute;
  bottom: clamp(2.5rem, 5vh, 4rem);
  right: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  z-index: 6;
  opacity: 0;
  transform: translateY(20px);
  animation: heroScrollIn 1.4s var(--ease-out-expo) 2.2s forwards;
  cursor: pointer;
  text-decoration: none;
}

@keyframes heroScrollIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: centered at the bottom */
@media (max-width: 768px) {
  .hero__scroll {
    left: 50%;
    right: auto;
    bottom: 1.5rem;
    transform: translateX(-50%) translateY(20px);
    animation-name: heroScrollInMobile;
  }

  @keyframes heroScrollInMobile {
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.4s var(--ease-spring);
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
  animation: scrollPulseLine 2.2s ease-in-out infinite;
}

@keyframes scrollPulseLine {
  0%   { transform: translateY(0); }
  100% { transform: translateY(88px); }
}

.hero__scroll:hover .hero__scroll-label {
  color: #ffffff;
}

/* Catheter image — right side, soft transparent blend */
.hero__catheter {
  position: absolute;
  bottom: -4%;
  right: -10%;
  transform: translateY(0) scale(1.04);
  width: clamp(760px, 92vw, 1500px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: color-burn;
  filter: brightness(1.05) contrast(1.05);
  opacity: 0;
  animation: heroCatheterFade 2.6s var(--ease-out-expo) 1s forwards;
}

@keyframes heroCatheterFade {
  to {
    opacity: 0.35;
    transform: translateY(0) scale(1);
  }
}

/* Hero content — left side */
.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 640px;
  padding: 0 clamp(2rem, 5vw, 5rem);
  margin-top: clamp(8rem, 18vh, 14rem);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.6s var(--ease-out-expo) 1.4s forwards;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 1.82vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9FD1FF;
  margin: 0 0 -0.15rem 0;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}

.hero__headline span {
  display: block;
  white-space: nowrap;
}

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero__bullets li {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  position: relative;
  padding-left: 1.1rem;
}

.hero__bullets li strong {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.hero__bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: -0.05em;
  font-size: 1.6em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

/* Bottom caption */
.hero__caption {
  position: absolute;
  bottom: clamp(2rem, 4vh, 3rem);
  left: clamp(2rem, 5vw, 5rem);
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.85vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  z-index: 5;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 1.4s var(--ease-out-expo) 1.8s forwards;
}

/* ---- Video Scroll Section (Canvas Frame Scrubbing) ---- */
.video-scroll {
  position: relative;
  height: 850vh;
  background: #ffffff;
}

.video-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.video-scroll__canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Soft white feather around the canvas — blends animation into white background */
.video-scroll__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(255,255,255,0.6) 70%, #ffffff 100%),
    linear-gradient(to right,  #ffffff 0%, transparent 12%, transparent 88%, #ffffff 100%),
    linear-gradient(to bottom, #ffffff 0%, transparent 15%, transparent 85%, #ffffff 100%);
}

.video-scroll__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  padding: 0 clamp(2rem, 5vw, 6rem);
}

.video-scroll__overlay--left {
  justify-content: flex-start;
}

.video-scroll__overlay--right {
  justify-content: flex-end;
}

.video-scroll__text {
  max-width: 360px;
  padding: 1rem 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.video-scroll__text--glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -1px 0 rgba(255, 255, 255, 0.05) inset,
    0 4px 24px rgba(6, 25, 79, 0.04);
  -webkit-mask-image: radial-gradient(ellipse 130% 130% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 130% 130% at 50% 50%, #000 55%, transparent 100%);
}

.video-scroll__overlay--left .video-scroll__text {
  text-align: left;
}

.video-scroll__overlay--right .video-scroll__text {
  text-align: right;
}

.video-scroll__text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Feature Cards — Double-Bezel Architecture ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--navy);
  padding: clamp(3rem, 5vw, 4.5rem);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease-spring);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 176, 200, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-spring);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  background: rgba(6, 25, 79, 0.8);
}

.feature-card__number {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--steel);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.feature-card__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.7;
}

/* Light variant — white bg, blue text */
.section--light {
  background: var(--white);
  position: relative;
  padding-top: 0;
}

.section--light::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
}

.features--light {
  gap: 0;
}

.feature-card--light {
  background: var(--white);
  border-right: 1px solid rgba(41, 55, 86, 0.06);
}

.feature-card--light:last-child {
  border-right: none;
}

.feature-card--light:hover {
  background: rgba(41, 55, 86, 0.015);
}

.feature-card--light::before {
  background: linear-gradient(90deg, transparent, rgba(41, 55, 86, 0.1), transparent);
}

.feature-card__number--light {
  color: #1E95FF;
}

.feature-card__title--light {
  color: #06194F;
}

.feature-card__desc--light {
  color: #3a4a6b;
}

/* ---- Product Showcase — Nested Frame Architecture ---- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.product-showcase__image {
  /* Outer shell */
  border-radius: 24px;
  background: rgba(6, 25, 79, 0.03);
  padding: 6px;
  border: 1px solid rgba(6, 25, 79, 0.04);
  overflow: hidden;
}

.product-showcase__image img {
  width: 100%;
  border-radius: 20px;
  background: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: transform 0.7s var(--ease-spring);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset;
}

.product-showcase__image:hover img {
  transform: scale(1.02);
}

.product-showcase__content {
  max-width: 520px;
}

/* ---- Stats Row — Elevated ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(6, 25, 79, 0.15);
}

.stat {
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  text-align: center;
  background: var(--ink);
  transition: background 0.5s var(--ease-spring);
  cursor: default;
}

.stat:hover {
  background: #d6e8ff;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.5s var(--ease-spring);
}

.stat:hover .stat__number {
  color: var(--navy);
}

.stat__label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mist);
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 0.5s var(--ease-spring);
}

.stat:hover .stat__label {
  color: var(--navy);
}

/* ---- News Cards — Elevated Architecture ---- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .news-grid {
    gap: 2.5rem;
  }
}

.news-card {
  /* Outer shell */
  background: rgba(6, 25, 79, 0.03);
  border-radius: 24px;
  padding: 6px;
  border: 1px solid rgba(6, 25, 79, 0.04);
  overflow: hidden;
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s var(--ease-spring);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(6, 25, 79, 0.06);
}

.news-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #06194F);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.news-card__image img {
  width: 60%;
  object-fit: contain;
}

.news-card__body {
  padding: 2rem;
  background: var(--white);
  border-radius: 0 0 20px 20px;
}

.news-card__date {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.75rem;
}

.news-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 0.9375rem;
  color: #3a4a6b;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.news-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.5s var(--ease-spring);
}

.news-card__link:hover {
  gap: 0.875rem;
}

.news-card__link::after {
  content: '\2192';
}

/* ---- Resources Grid ---- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
  border: 1px solid rgba(6, 25, 79, 0.04);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 25, 79, 0.05);
}

.resource-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.resource-card__meta {
  font-size: 0.8125rem;
  color: #8a95a5;
}

/* ---- Team Grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-card__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--steel);
  font-weight: 500;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--navy), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline__year {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: 0.9375rem;
  color: #3a4a6b;
  line-height: 1.6;
}

/* ---- Contact Form — Premium Inputs ---- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9375rem 1.125rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(6, 25, 79, 0.08);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  box-shadow: 0 1px 3px rgba(6, 25, 79, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(6, 25, 79, 0.04), 0 2px 8px rgba(6, 25, 79, 0.04);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---- Contact Info ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 25, 79, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 8rem) 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: 5rem;
}

.footer__brand img {
  height: 22px;
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  max-width: 320px;
  line-height: 1.65;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  padding: 0.4rem 0;
  transition: color 0.4s var(--ease-spring);
}

.footer__link:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.4s var(--ease-spring);
}

.footer__legal a:hover {
  color: var(--cream);
}

/* ---- Page Headers ---- */
.page-header {
  background: var(--navy);
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(147, 176, 200, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(147, 176, 200, 0.15);
  background: rgba(147, 176, 200, 0.04);
}

.page-header__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
  margin: 0 auto;
}

.page-header__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--mist);
  font-weight: 300;
  max-width: 560px;
  margin: 1.75rem auto 0;
  line-height: 1.65;
}

/* ---- Scroll Reveal — Blur Fade Up ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition:
    opacity 0.9s var(--ease-spring),
    transform 0.9s var(--ease-spring),
    filter 0.9s var(--ease-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1.375rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 32px rgba(6, 25, 79, 0.25), 0 0 0 0.5px rgba(147, 176, 200, 0.1) inset;
  transition: all 0.5s var(--ease-spring);
}

.floating-cta a:hover {
  background: #06194F;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(6, 25, 79, 0.3), 0 0 0 0.5px rgba(147, 176, 200, 0.12) inset;
}

.floating-cta a:active {
  transform: scale(0.97);
}

.floating-cta svg {
  width: 15px;
  height: 15px;
  stroke: var(--cream);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Keyframes ---- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .clinical-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Stat callouts become full-width stacked cards when layout stacks */
  .clinical-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1.75rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid rgba(6, 25, 79, 0.08);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(6, 25, 79, 0.04);
  }

  .clinical-stat:last-child {
    margin-bottom: 0;
  }

  .clinical-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 3rem);
    font-weight: 400;
    color: var(--blue);
    letter-spacing: 0;
    line-height: 1;
    min-width: 0;
  }

  .clinical-stat__text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    color: #3a4a6b;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* Hide blended catheter on mobile — too crowded */
  .hero__catheter {
    display: none;
  }

  /* Keep product name on a single line on mobile */
  .hero__eyebrow {
    white-space: nowrap;
    font-size: clamp(0.85rem, 3.6vw, 1.15rem);
    letter-spacing: 0.15em;
  }

  /* Push hero content down so it clears the graphic lines at top */
  .hero__content {
    margin-top: clamp(8rem, 20vh, 13rem);
    padding-bottom: 7rem;
  }

  .hero__cta {
    margin-top: 1.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
  }

  .hero__brand {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  }

  .hero__brand-logo {
    width: clamp(240px, 60vw, 320px);
  }

  .hero__scroll {
    bottom: 1.5rem;
  }

  .hero__scroll-line {
    height: 32px;
  }

  @keyframes scrollPulseLine {
    0%   { transform: translateY(0); }
    100% { transform: translateY(64px); }
  }

  /* ---- Global mobile spacing ---- */
  .section {
    padding: clamp(4.5rem, 12vw, 6rem) 0;
  }

  .container {
    padding: 0 1.75rem;
  }

  .display-lg {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
    line-height: 1.15;
  }

  .display-md {
    font-size: clamp(1.625rem, 6vw, 2.125rem);
    line-height: 1.2;
  }

  .body-lg {
    font-size: 1.0625rem;
    line-height: 1.7;
  }

  .body-md {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Give paragraphs more breathing room on mobile */
  .body-lg + .body-md,
  .body-md + .body-md,
  .body-lg + .body-lg {
    margin-top: 1.25rem;
  }

  /* Section content blocks get more vertical space between heading + body */
  .section .label {
    margin-bottom: 1.25rem !important;
  }

  /* ---- Nav — always visible on mobile ---- */
  .nav,
  .nav.scrolled {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    border-radius: 20px;
    padding: 0 0.25rem;
    background: rgba(6, 25, 79, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-color: rgba(147, 176, 200, 0.1) !important;
    box-shadow: 0 4px 24px rgba(6, 25, 79, 0.2) !important;
  }

  .nav .nav__logo img {
    filter: brightness(0) invert(1) !important;
  }

  .nav__inner {
    height: 56px;
    padding: 0 0.75rem;
  }

  /* ---- Mobile menu — full-screen cinematic overlay ---- */
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 1.5rem 3.5rem;
    gap: 0;
    clip-path: circle(0% at calc(100% - 2.5rem) 2rem);
    pointer-events: none;
    transition: clip-path 0.7s var(--ease-spring);
    z-index: 1000;
  }

  .nav__links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 98, 230, 0.12) 0%, transparent 70%),
      radial-gradient(ellipse 40% 30% at 20% 80%, rgba(147, 176, 200, 0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  .nav__links.open {
    clip-path: circle(150% at calc(100% - 2.5rem) 2rem);
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.5rem 0;
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    width: auto;
    color: var(--cream);
    border-bottom: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring), color 0.3s ease;
    position: relative;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:active {
    color: var(--steel);
  }

  .nav__links.open .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links.open .nav__link:nth-child(1) { transition-delay: 0.15s; }
  .nav__links.open .nav__link:nth-child(2) { transition-delay: 0.2s; }
  .nav__links.open .nav__link:nth-child(3) { transition-delay: 0.25s; }
  .nav__links.open .nav__link:nth-child(4) { transition-delay: 0.3s; }
  .nav__links.open .nav__link:nth-child(5) { transition-delay: 0.35s; }
  .nav__links.open .nav__link:nth-child(6) { transition-delay: 0.4s; }

  .nav__cta {
    margin-top: 2rem;
    padding: 0.875rem 2.25rem;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring), background 0.3s ease;
  }

  .nav__links.open .nav__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__logo-wrap {
    padding: 0 1.25rem 2.5rem;
  }

  .hero__logo-img {
    width: clamp(220px, 60vw, 320px);
  }

  .hero__scroll-indicator {
    bottom: 1.5rem;
  }

  /* ---- Scroll animation overlays ---- */
  .video-scroll__canvas {
    width: 85%;
    height: 50%;
    top: 20%;
    transform: translate(-50%, 0);
  }

  .video-scroll__vignette {
    height: 75%;
    top: 0;
  }

  .video-scroll__overlay {
    padding: 0 1.25rem;
    align-items: center;
    padding-top: 78%;
  }

  .video-scroll__overlay--left,
  .video-scroll__overlay--right {
    justify-content: center;
  }

  .video-scroll__overlay--right .video-scroll__text {
    text-align: left;
  }

  .video-scroll__text {
    max-width: 320px;
    padding: 0.75rem 0;
  }

  .video-scroll__text--glass {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
  }

  /* ---- Page headers ---- */
  .page-header {
    padding: 8rem 0 4.5rem;
  }

  .page-header__title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .page-header__subtitle {
    font-size: 1rem;
    line-height: 1.65;
    margin-top: 1.5rem;
  }

  .page-header__label {
    font-size: 0.625rem;
    padding: 0.3rem 0.75rem;
  }

  /* ---- Feature cards ---- */
  .feature-card {
    min-height: auto;
    padding: 2rem 1.25rem;
  }

  .feature-card--light {
    border-right: none;
    border-bottom: 1px solid rgba(41, 55, 86, 0.06);
  }

  .feature-card--light:last-child {
    border-bottom: none;
  }

  /* ---- Product showcase ---- */
  .product-showcase {
    gap: 2rem;
  }

  .product-showcase[style*="direction: rtl"] {
    direction: ltr !important;
  }

  .product-showcase[style*="direction: rtl"] > * {
    direction: ltr !important;
  }

  .product-showcase__image {
    border-radius: 16px;
    padding: 4px;
  }

  .product-showcase__image img {
    border-radius: 13px;
    padding: 1.5rem;
  }

  /* ---- Stats ---- */
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 2rem 1.25rem;
  }

  .stat__number {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin-bottom: 0.5rem;
  }

  .stat__label {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* ---- Clinical split ---- */
  .clinical-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Tighter card padding on the smallest screens */
  .clinical-stat {
    padding: 1.75rem 1.5rem;
  }

  /* ---- News cards ---- */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .news-card {
    border-radius: 16px;
    padding: 4px;
  }

  .news-card__image {
    height: 160px;
    border-radius: 13px 13px 0 0;
  }

  .news-card__body {
    padding: 1.5rem;
    border-radius: 0 0 13px 13px;
  }

  .news-card__title {
    font-size: 1.125rem;
  }

  .news-card__excerpt {
    font-size: 0.875rem;
  }

  /* ---- Form ---- */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
  }

  /* ---- Buttons ---- */
  .btn {
    font-size: 0.8125rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .btn--arrow::after {
    width: 24px;
    height: 24px;
    font-size: 0.875em;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer__brand p {
    font-size: 0.8125rem;
    max-width: 100%;
  }

  .footer__heading {
    margin-bottom: 0.75rem;
  }

  .footer__link {
    font-size: 0.8125rem;
    padding: 0.3rem 0;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-top: 1.5rem;
  }

  .footer__legal {
    justify-content: center;
    gap: 1.25rem;
  }

  /* ---- Floating CTA ---- */
  .floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-cta a {
    padding: 0.625rem 1.125rem;
    font-size: 0.75rem;
  }

  /* ---- Scroll reveal — less dramatic on mobile ---- */
  .reveal {
    transform: translateY(24px);
    filter: blur(2px);
  }

  /* ---- Inline grid overrides (specs card on technology page) ---- */
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ---- Small phones (≤ 390px) ---- */
@media (max-width: 390px) {
  .nav {
    width: calc(100% - 1rem);
    top: 0.5rem;
  }

  .hero__logo-img {
    width: 200px;
  }

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat__number {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .nav__link {
    font-size: 1.375rem;
    padding: 0.4rem 0;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}

/* ---- Conference badges ---- */
.conference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 25, 79, 0.03);
  border: 1px solid rgba(6, 25, 79, 0.06);
  border-radius: 100px;
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
}

.conference-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Section divider ---- */
.divider {
  width: 48px;
  height: 1px;
  background: var(--navy);
  margin: 2rem 0;
  opacity: 0.15;
}

.divider--light {
  background: var(--cream);
  opacity: 0.1;
}

/* ---- Tab filters ---- */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(6, 25, 79, 0.08);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
}

.tab.active,
.tab:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* ---- Clinical content ---- */
.clinical-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.clinical-stat {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(6, 25, 79, 0.06);
}

.clinical-stat__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.clinical-stat__text {
  font-size: 0.9375rem;
  color: #3a4a6b;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE OVERRIDES — must come after
   desktop component defaults to win specificity
   ============================================ */

@media (max-width: 1024px) {
  .clinical-split {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  .clinical-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1.75rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid rgba(6, 25, 79, 0.08);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(6, 25, 79, 0.04);
  }

  .clinical-stat:last-child {
    margin-bottom: 0;
  }

  .clinical-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 3rem);
    font-weight: 400;
    color: var(--blue);
    letter-spacing: 0;
    line-height: 1;
    min-width: 0;
  }

  .clinical-stat__text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    color: #3a4a6b;
  }
}

@media (max-width: 768px) {
  .clinical-stat {
    padding: 1.75rem 1.5rem;
  }

  .clinical-stat__number {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
}

/* ============================================
   Mobile menu icon — uniform aligned bars
   ============================================ */
@media (max-width: 768px) {
  .nav__toggle {
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .nav__toggle span {
    width: 22px;
    height: 1.75px;
    border-radius: 2px;
    background: #ffffff;
    margin: 0;
    transition: transform 0.5s var(--ease-spring), opacity 0.35s var(--ease-spring);
  }
}

/* ============================================
   Proof Points / Credentials Row
   Dark-themed to blend with hero above
   ============================================ */
.proof-points {
  position: relative;
  background: #06194F;
  padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(5rem, 8vw, 7rem);
  margin-top: -1px;
}

/* Bottom fade into white for the animation section below */
.proof-points::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 40%, #ffffff 100%);
  pointer-events: none;
}

.proof-points .container {
  position: relative;
  z-index: 2;
}

.proof-points__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
}

.proof-points__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1 1 auto;
  min-width: 0;
}

.proof-points__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--blue-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.proof-points__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.proof-points__label {
  font-family: var(--font-heading);
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.2;
}

.proof-points__detail {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.8vw, 0.8125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.proof-points__divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .proof-points__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
  .proof-points__divider {
    display: none;
  }
}

@media (max-width: 520px) {
  .proof-points__row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .proof-points__icon {
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   Video Scroll Loading State
   ============================================ */
.video-scroll__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #ffffff;
  z-index: 3;
  transition: opacity 0.6s var(--ease-spring), visibility 0.6s var(--ease-spring);
}

.video-scroll__loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-scroll__loader-bar {
  position: relative;
  width: clamp(180px, 28vw, 280px);
  height: 2px;
  background: rgba(6, 25, 79, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.video-scroll__loader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  transition: width 0.3s var(--ease-spring);
}

.video-scroll__loader-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(6, 25, 79, 0.55);
}

.video-scroll__loader-count {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Video Scroll Progress Indicators
   Desktop: vertical rail on right edge
   Mobile: horizontal bar at top
   ============================================ */
.video-scroll__progress {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.6s var(--ease-spring);
}

.video-scroll__progress.visible {
  opacity: 1;
}

/* --- Desktop: vertical rail --- */
.video-scroll__progress-rail {
  position: absolute;
  top: 50%;
  right: clamp(1.75rem, 3vw, 3rem);
  transform: translateY(-50%);
  width: 2px;
  height: clamp(200px, 30vh, 320px);
  background: rgba(6, 25, 79, 0.08);
  border-radius: 2px;
  overflow: visible;
}

.video-scroll__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--blue), var(--blue-light));
  border-radius: 2px;
  transition: height 0.2s linear;
  box-shadow: 0 0 12px rgba(47, 84, 241, 0.35);
}

.video-scroll__progress-marker {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: top 0.2s linear;
  box-shadow: 0 2px 8px rgba(47, 84, 241, 0.25);
}

/* --- Mobile: horizontal bar --- */
.video-scroll__progress-bar {
  display: none;
}

@media (max-width: 768px) {
  .video-scroll__progress-rail {
    display: none;
  }

  .video-scroll__progress-bar {
    display: block;
    position: absolute;
    top: 5.5rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: rgba(6, 25, 79, 0.15);
    border-radius: 3px;
    z-index: 10;
    overflow: hidden;
  }

  .video-scroll__progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    border-radius: 3px;
    transition: width 0.2s linear;
    box-shadow: 0 0 12px rgba(47, 84, 241, 0.5);
  }
}

/* FAQ Page */
.faq-group { margin-bottom: 3rem; }
.faq-group__heading { font-size: 1.5rem; font-weight: 700; color: #06194F; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid rgba(6,25,79,.15); }
.faq-item { border: 1px solid rgba(6,25,79,.12); border-radius: 12px; margin-bottom: 1rem; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { box-shadow: 0 8px 24px rgba(6,25,79,.08); border-color: rgba(6,25,79,.25); }
.faq-item__summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__question { font-size: 1.125rem; font-weight: 600; color: #06194F; margin: 0; line-height: 1.4; }
.faq-item__icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform .3s ease; }
.faq-item__icon::before, .faq-item__icon::after { content: ''; position: absolute; background: #06194F; border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item__icon::before { width: 14px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 14px; transition: transform .3s ease; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__answer { padding: 0 1.5rem 1.5rem; color: #2a3454; line-height: 1.7; }
.faq-item__answer p { margin: 0 0 .75rem; }
.faq-item__answer ul { margin: 0; padding-left: 1.25rem; }
.faq-cta { text-align: center; margin-top: 3rem; padding: 2.5rem; background: #06194F; border-radius: 16px; color: #fff; }
.faq-cta h3 { color: #fff; margin: 0 0 .75rem; font-size: 1.5rem; }
.faq-cta p { color: rgba(255,255,255,.85); margin: 0 0 1.5rem; }

/* Footer disclaimer */
.footer__disclaimer { margin-top: 2.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer__disclaimer p { font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.6); margin: 0 0 .5rem; max-width: 900px; }
.footer__disclaimer p:last-child { margin-bottom: 0; }

/* FAQ intro paragraph spacing */
.section__intro { font-size: 1.0625rem; line-height: 1.75; color: #2a3454; max-width: 820px; margin: 0 auto 3.5rem; }
@media (max-width: 640px) { .section__intro { margin-bottom: 2.5rem; } }


/* FAQ answer links */
.faq-item__answer a {
  color: #1e95ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color .2s ease;
}
.faq-item__answer a:hover {
  color: #06194F;
}

/* FAQ CTA — light button on navy card */
.faq-cta .btn--light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  background: #fff;
  color: #06194F;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.faq-cta .btn--light::after {
  content: '→';
  font-size: 1.1em;
  transition: transform .2s ease;
}
.faq-cta .btn--light:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.faq-cta .btn--light:hover::after {
  transform: translateX(3px);
}

/* ============================================
   Pulse-Scale visualization (the-need page)
   Primary "Every 45 seconds" visualization with live ticker
   ============================================ */
.pulse-scale {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(6, 25, 79, 0.08);
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 8px 48px rgba(6, 25, 79, 0.06);
  position: relative;
  overflow: hidden;
}
/* Subtle red tinted glow in the background to emphasize urgency */
.pulse-scale::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(225, 29, 72, 0.04) 0%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}
.pulse-scale > * { position: relative; z-index: 1; }

/* Hero number + pulsing dot */
.pulse-scale__hero {
  text-align: center;
  margin-bottom: 3rem;
}
.pulse-scale__pulse {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 auto 1.5rem;
}
.pulse-scale__pulse-dot {
  position: absolute;
  inset: 0;
  background: #e11d48;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.2), 0 0 16px rgba(225, 29, 72, 0.4);
  animation: pulseScaleDot 1.8s ease-in-out infinite;
}
.pulse-scale__pulse-ring {
  position: absolute;
  inset: 0;
  border: 2px solid #e11d48;
  border-radius: 50%;
  opacity: 0;
  animation: pulseScaleRing 1.8s ease-out infinite;
}
.pulse-scale__pulse-ring--delayed {
  animation-delay: 0.9s;
}
@keyframes pulseScaleDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes pulseScaleRing {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(4); opacity: 0; }
}

.pulse-scale__num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15em;
  line-height: 0.85;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.pulse-scale__num-value {
  font-size: clamp(6rem, 18vw, 12rem);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 0.85;
}
.pulse-scale__num-unit {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #be123c;
  padding-top: 0.15em;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.pulse-scale__label {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  color: #3a4a6b;
  max-width: 520px;
  margin: 0 auto;
  font-weight: 500;
}

/* Stats row: 1 / 80 / 1,900 / 700,000 */
.pulse-scale__stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  background: rgba(6, 25, 79, 0.025);
  border: 1px solid rgba(6, 25, 79, 0.06);
  border-radius: 16px;
}
.pulse-scale__stat {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pulse-scale.is-active .pulse-scale__stat {
  opacity: 1;
  transform: translateY(0);
}
.pulse-scale.is-active .pulse-scale__stat:nth-child(1) { transition-delay: 100ms; }
.pulse-scale.is-active .pulse-scale__stat:nth-child(3) { transition-delay: 250ms; }
.pulse-scale.is-active .pulse-scale__stat:nth-child(5) { transition-delay: 400ms; }
.pulse-scale.is-active .pulse-scale__stat:nth-child(7) { transition-delay: 550ms; }

.pulse-scale__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.pulse-scale__stat-value--alert { color: #be123c; }
.pulse-scale__stat-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a7594;
  white-space: nowrap;
}
.pulse-scale__stat--alert .pulse-scale__stat-label { color: #be123c; }
.pulse-scale__stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(6,25,79,0.15), transparent);
  justify-self: center;
}

/* Live ticker card — the emotional punch */
.pulse-scale__live {
  max-width: 520px;
  margin: 0 auto 2rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(6, 25, 79, 1) 0%, rgba(10, 35, 102, 1) 100%);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 32px rgba(6, 25, 79, 0.22);
}
.pulse-scale__live-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.pulse-scale__live-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.pulse-scale__live-dot {
  width: 10px;
  height: 10px;
  background: #e11d48;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25);
  flex-shrink: 0;
  position: relative;
}
.pulse-scale__live-dot.is-tick {
  animation: pulseScaleLiveTick 0.6s ease-out;
}
@keyframes pulseScaleLiveTick {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25), 0 0 0 0 rgba(225, 29, 72, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25), 0 0 0 28px rgba(225, 29, 72, 0);
  }
}
.pulse-scale__live-count {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.pulse-scale__live-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.pulse-scale__live-sub strong {
  color: #fff;
  font-weight: 600;
}

.pulse-scale__note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #6a7594;
}

@media (max-width: 640px) {
  .pulse-scale__stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .pulse-scale__stat-divider { display: none; }
  .pulse-scale__live { padding: 1.25rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-scale__pulse-dot,
  .pulse-scale__pulse-ring { animation: none; }
  .pulse-scale__pulse-ring { opacity: 0.35; transform: scale(2.5); }
  .pulse-scale__stat { opacity: 1; transform: none; transition: none; }
  .pulse-scale__live-dot.is-tick { animation: none; }
}

/* 45-second progress bar inside the live ticker — visualizes time to next tick */
.pulse-scale__live-progress {
  margin-top: 1.1rem;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.pulse-scale__live-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.75), #e11d48);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: liveProgressFill 45s linear infinite;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.45);
}
@keyframes liveProgressFill {
  0% { transform: scaleX(0); opacity: 0.85; }
  95% { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-scale__live-progress-bar {
    animation: none;
    transform: scaleX(0.5);
    opacity: 0.6;
  }
}

/* ============================================
   Resources page — card grid + download cards
   ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(6, 25, 79, 0.08);
  border-radius: 20px;
  padding: clamp(0.75rem, 1.5vw, 1rem);
  box-shadow: 0 4px 24px rgba(6, 25, 79, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.resource-card:hover {
  box-shadow: 0 12px 40px rgba(6, 25, 79, 0.1);
  transform: translateY(-4px);
}

.resource-card__preview {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(6, 25, 79, 0.08);
  box-shadow: 0 2px 12px rgba(6, 25, 79, 0.06);
  margin-bottom: 1.25rem;
}
.resource-card__preview img {
  display: block;
  width: 100%;
  height: auto;
}

.resource-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.75rem;
  flex: 1;
}
.resource-card__type {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.resource-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.resource-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3a4a6b;
  margin: 0.25rem 0 auto;
  padding-bottom: 1.25rem;
}
.resource-card .btn {
  align-self: flex-start;
}

@media (max-width: 960px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    max-width: 400px;
  }
}
