/* =====================================================
   NEXUS AI — Website Prototype Stylesheet
   For design review — to be implemented in WordPress/Elementor
   ===================================================== */

:root {
  /* Brand palette */
  --navy-deep:   #0a1f44;
  --navy-mid:    #142d5c;
  --navy-soft:   #1e3a72;
  --cyan:        #00B4E0;
  --cyan-soft:   #5BD0E8;
  --mint:        #66E5C1;
  --gold:        #F4C26B;
  --coral:       #F96167;

  /* Surfaces */
  --ink:         #0E1B33;
  --ink-soft:    #44557A;
  --ink-muted:   #7A8AA8;
  --bg-soft:     #F4F7FB;
  --bg-mid:      #E8EFF8;
  --white:       #FFFFFF;

  /* Borders */
  --border-dark: rgba(14, 27, 51, 0.08);
  --border-mid:  rgba(14, 27, 51, 0.14);
  --border-light:rgba(255, 255, 255, 0.18);

  /* Radii & shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-soft: 0 12px 32px -8px rgba(10, 31, 68, 0.10);
  --shadow-mid:  0 30px 60px -20px rgba(10, 31, 68, 0.18);
  --shadow-deep: 0 40px 80px -20px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--cyan); }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.3; }
h4 { font-weight: 700; font-size: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; }

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 48px;
}

.text-accent {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ CONTAINERS ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 56px; }

section { padding: 80px 0; }
section.tight { padding: 56px 0; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 56px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
.nav.nav-light { background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--border-dark); }

.logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.4px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-dark .logo { color: var(--white); }
.nav-light .logo { color: var(--navy-deep); }
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  color: var(--navy-deep);
}

.nav-menu { display: flex; gap: 36px; list-style: none; }
.nav-menu a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-dark .nav-menu a { color: rgba(255,255,255,0.78); }
.nav-dark .nav-menu a:hover, .nav-dark .nav-menu a.active { color: var(--white); border-bottom-color: var(--cyan); }
.nav-light .nav-menu a { color: var(--ink-soft); }
.nav-light .nav-menu a:hover, .nav-light .nav-menu a.active { color: var(--navy-deep); border-bottom-color: var(--cyan); }

.nav-cta {
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-dark .nav-cta { background: var(--white); color: var(--navy-deep); }
.nav-light .nav-cta {
  background: linear-gradient(120deg, var(--cyan), var(--mint));
  color: var(--navy-deep);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,180,224,0.32); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--mint));
  color: var(--navy-deep);
  box-shadow: 0 10px 30px rgba(0, 180, 224, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,180,224,0.42); }
.btn-secondary {
  background: var(--white); color: var(--navy-deep);
  border: 1px solid var(--border-mid);
}
.btn-secondary:hover { border-color: var(--cyan); transform: translateY(-1px); }
.btn-ghost {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 4px 0; border-radius: 0;
}
.btn-ghost:hover { border-color: var(--cyan-soft); }
.btn-ghost-dark {
  color: var(--navy-deep);
  border-bottom: 1px solid var(--border-mid);
  padding: 4px 0; border-radius: 0;
}

/* ============ HERO (Home) ============ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at top left, var(--navy-soft) 0%, var(--navy-deep) 60%, #07142e 100%);
  padding-bottom: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,180,224,0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(102,229,193,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  max-width: 1400px; margin: 0 auto;
  padding: 60px 56px 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
}
.hero-left { color: var(--white); }
.hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px; max-width: 560px;
}
.hero p.lead strong { color: var(--white); font-weight: 600; }
.hero .eyebrow {
  border: 1px solid var(--border-light);
  background: rgba(0,180,224,0.08);
  color: var(--cyan-soft);
}
.hero .eyebrow-dot { background: var(--mint); }

/* Page hero (interior pages) — light, aligned to Nexus app UI */
.page-hero {
  background:
    radial-gradient(ellipse at 75% 30%, rgba(0,180,224,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(102,229,193,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #F6FAFD 0%, #EDF6FB 50%, #FFFFFF 100%);
  color: var(--ink);
  padding: 90px 0 110px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(0, 180, 224, 0.08);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(0,180,224,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 0 40px; text-align: center; }
.page-hero h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12; margin-bottom: 18px;
  color: var(--ink);
}
.page-hero p {
  font-size: 18px; color: var(--ink-soft);
  max-width: 640px; margin: 0 auto;
}
.page-hero .eyebrow {
  border: 1px solid rgba(0,180,224,0.3);
  background: rgba(0,180,224,0.08);
  color: #0a6a90;
}
.page-hero .eyebrow-dot { background: var(--cyan); }

/* ============ TRUST CHIPS ============ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.chip-light {
  background: var(--white);
  border-color: var(--border-mid);
}
.chip-icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: var(--navy-deep);
}
.chip-ce .chip-icon { background: linear-gradient(135deg, #FFD86B, #F4C26B); }
.chip-lancet .chip-icon { background: linear-gradient(135deg, #F96167, #E84855); color: white; }
.chip-google .chip-icon { background: linear-gradient(135deg, #66E5C1, #00B4E0); }
.chip-icon-img { background: white !important; padding: 2px; }
.chip-icon-ce-img {
  background: transparent !important;
  width: auto !important;
  height: 26px !important;
  padding: 0 !important;
  border-radius: 4px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.chip-icon-ce-img img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 3px;
}
.chip-iso .chip-icon { background: linear-gradient(135deg, #B8C5E0, #8A9BC2); color: white; }
.chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.chip-title { font-size: 12px; font-weight: 700; letter-spacing: 0.3px; }
.chip-sub { font-size: 10px; font-weight: 400; }
.chip:not(.chip-light) .chip-title { color: var(--white); }
.chip:not(.chip-light) .chip-sub { color: rgba(255,255,255,0.55); }
.chip-light .chip-title { color: var(--ink); }
.chip-light .chip-sub { color: var(--ink-muted); }

/* CTAs row */
.cta-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* ============ X-RAY MOCKUP (lightened to align with UI) ============ */
.xray-frame {
  position: relative; width: 100%;
  aspect-ratio: 4 / 4.3;
  border-radius: 20px; overflow: hidden;
  background: #F4F8FB;
  border: 1px solid rgba(10, 31, 68, 0.08);
  box-shadow:
    0 30px 60px -25px rgba(10, 31, 68, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.xray-toolbar {
  position: absolute; top: 0; left: 0; right: 0; height: 42px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  display: flex; align-items: center; padding: 0 16px; gap: 12px; z-index: 5;
}
.toolbar-dot { width: 8px; height: 8px; border-radius: 50%; }
.toolbar-dot.green {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(102, 229, 193, 0.18);
}
.toolbar-label {
  font-size: 11px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.toolbar-id {
  margin-left: auto; font-size: 10px;
  color: var(--ink-muted);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}
.xray-canvas {
  position: absolute; top: 42px; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at center, #FFFFFF 0%, #ECF3F8 70%, #DDE8F0 100%);
  display: flex; align-items: center; justify-content: center;
}
.xray-svg { width: 100%; height: 100%; }
.xray-image {
  width: 100%; height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  mix-blend-mode: multiply;
}
.finding-tag {
  position: absolute;
  background: rgba(10,31,68,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid;
  padding: 6px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 600; color: var(--white);
  z-index: 4; display: flex; align-items: center; gap: 8px;
  animation: tagFloat 4s ease-in-out infinite;
}
.finding-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.tag-fir { top: 35%; left: 22%; border-color: var(--gold); }
.tag-fir::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.tag-tb { top: 52%; right: 18%; border-color: var(--cyan); animation-delay: 1.2s; }
.tag-tb::before { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.tag-score {
  font-size: 10px; color: rgba(255,255,255,0.65);
  margin-left: 6px; padding-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.xray-status {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(102,229,193,0.12);
  border: 1px solid rgba(102,229,193,0.4);
  padding: 8px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  color: var(--mint);
  display: flex; align-items: center; gap: 8px; z-index: 4;
}
.xray-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* ============ STATS BAND ============ */
.stats-band { background: var(--white); margin-top: -40px; position: relative; z-index: 5; overflow: hidden; }
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 36px 40px;
  background: var(--white); border-radius: 24px;
  box-shadow: var(--shadow-mid), 0 0 0 1px rgba(10,31,68,0.04);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stats-inner.stats-three { grid-template-columns: repeat(3, 1fr); }
.stat {
  padding: 18px 22px;
  border-right: 1px solid var(--border-dark);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: 42px; line-height: 1;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-num .unit {
  font-size: 22px; font-weight: 700;
  color: var(--cyan); -webkit-text-fill-color: var(--cyan);
}
.stat-label { font-size: 13px; color: var(--ink-soft); font-weight: 500; line-height: 1.4; }
.stat-source { font-size: 11px; color: var(--ink-soft); opacity: 0.7; font-style: italic; }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--border-mid); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--navy-deep); }
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ============ BETA BADGE ============ */
.beta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(244,194,107,0.16);
  border: 1px solid rgba(244,194,107,0.5);
  color: #b87d10;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.beta-badge::before { content: '●'; color: var(--gold); font-size: 9px; }

.ce-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(102,229,193,0.16);
  border: 1px solid rgba(102,229,193,0.5);
  color: #0a8060;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.ce-badge::before { content: '●'; color: #0a8060; font-size: 9px; }

/* ============ SECTION VARIANTS ============ */
.section-dark {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,0.72); }
.section-dark .eyebrow { color: var(--cyan-soft); border: 1px solid var(--border-light); }

.section-soft { background: var(--bg-soft); }

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 40px;
}
.timeline::before {
  content: ''; position: absolute;
  top: 28px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--mint) 100%);
  opacity: 0.4;
}
.timeline-item { position: relative; padding-top: 60px; }
.timeline-marker {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--cyan);
}
.section-dark .timeline-marker { border-color: var(--navy-deep); }
.timeline-year {
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: 26px;
  color: var(--cyan);
  margin-bottom: 10px;
  text-align: center;
}
.timeline-title {
  font-weight: 700; font-size: 15px;
  margin-bottom: 10px;
  text-align: center;
}
.timeline-list { list-style: none; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.75); }
.section-soft .timeline-list { color: var(--ink-soft); }
.timeline-list li { padding-left: 14px; position: relative; margin-bottom: 5px; }
.timeline-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
}

/* ============ ARTICLE / CASE STUDY CARD ============ */
.article-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.article-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 22px;
}
.article-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,180,224,0.3) 0%, transparent 60%);
}
.article-cover.cover-mining {
  background: linear-gradient(135deg, #2a3550, #4a5876);
  background-image: url('Harmony-DeepestPoint-1-767x709.png');
  background-size: cover;
  background-position: center;
}
.article-cover.cover-mobile {
  background: linear-gradient(135deg, #1a3b56, #2b5e7e);
  background-image: url('mobile-screening-clinic.jpg');
  background-size: cover;
  background-position: center;
}
.article-cover.cover-llm {
  background: linear-gradient(135deg, #0a3050, #1a557e);
  background-image: url('LLM-767x709.png');
  background-size: cover;
  background-position: center;
}
.article-cover.cover-ce {
  background: linear-gradient(135deg, #2c5f4d, #4a8a72);
  background-image: url('NewLungHealthstandard-767x709.png');
  background-size: cover;
  background-position: center;
}
.article-cover.cover-lancet {
  background: linear-gradient(135deg, #4a2a3e, #7a4862);
  background-image: url('lancet-publication.png');
  background-size: cover;
  background-position: center top;
}
.article-cover.cover-multi-pathology {
  background: linear-gradient(135deg, #0a2540, #1a3a5c);
  background-image: url('ui-multi-pathology.png');
  background-size: cover;
  background-position: center top;
}
.cover-tag {
  position: relative; z-index: 2;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--cyan-soft);
  background: rgba(0,0,0,0.3);
  padding: 6px 12px; border-radius: 999px;
}
.article-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  font-size: 12px; color: var(--ink-muted);
  margin-bottom: 12px; letter-spacing: 0.3px;
}
.article-card h3 { color: var(--ink); margin-bottom: 12px; line-height: 1.35; font-size: 19px; }
.article-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }
.article-link {
  font-size: 13px; font-weight: 700; color: var(--cyan);
  text-decoration: none; letter-spacing: 0.3px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============ FEATURED ARTICLE ============ */
.featured-article {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  margin-bottom: 60px;
}
.featured-cover {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  position: relative; min-height: 380px;
  display: flex; align-items: flex-end; padding: 30px;
}
.featured-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(102,229,193,0.25) 0%, transparent 60%);
}
.featured-body { padding: 50px 50px; }
.featured-body h2 {
  font-size: 30px; line-height: 1.2;
  margin: 18px 0 18px;
  color: var(--ink);
}
.featured-body p {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.65; margin-bottom: 28px;
}

/* ============ FORM ============ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,224,0.12);
}
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.field-hint { font-size: 12px; color: var(--ink-muted); }
.checkbox-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-soft);
  grid-column: 1 / -1;
}
.checkbox-row input { margin-top: 3px; }

/* ============ CONTACT TRACK CARDS ============ */
.track-card {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.track-card:hover, .track-card.active {
  border-color: var(--cyan);
  box-shadow: 0 14px 32px -10px rgba(0,180,224,0.25);
}
.track-card.active { background: linear-gradient(180deg, rgba(0,180,224,0.04), white); }
.track-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,180,224,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.track-icon svg { color: var(--cyan); width: 22px; height: 22px; }
.track-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.track-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* ============ DISCLAIMER ============ */
.disclaimer {
  max-width: 1280px; margin: 24px auto 0;
  padding: 22px 40px;
  background: var(--bg-soft);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  font-size: 13px; line-height: 1.65;
  color: var(--ink-soft);
}
.disclaimer strong { color: var(--ink); font-weight: 600; }

/* ============ PROTOTYPE BANNER ============ */

/* Footer support button — placed at the bottom of the Regulatory column,
   styled like the platform's primary CTA (Request a Demo, Read the publication) */
.footer-support-cta {
  margin-top: 28px;
  padding: 12px 22px;
  font-size: 14px;
  gap: 8px;
}
.footer-support-cta svg {
  width: 16px;
  height: 16px;
}

/* ============ FOOTER ============ */
.footer {
  background:
    linear-gradient(120deg, rgba(0,180,224,0.18) 0%, rgba(102,229,193,0.16) 100%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-soft) 100%);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 320px; margin-bottom: 24px; color: rgba(255,255,255,0.65); }
.footer-contact { font-size: 14px; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--white); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-tagline {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  color: var(--cyan-soft);
  font-size: 13px;
  margin-top: 12px;
}

/* ============ PARTNER STRIP (rotating marquee) ============ */
.partner-strip {
  padding: 50px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.partner-strip-inner {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  justify-content: center;
}
.partner-strip-label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-muted);
  text-align: center;
}
.partner-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.partner-marquee-track img {
  height: 60px;
  width: auto;
  max-width: 180px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: saturate(0.95);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.partner-marquee-track img:hover {
  filter: saturate(1.1);
  transform: scale(1.08);
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 2)); }
}
.partner-marquee:hover .partner-marquee-track { animation-play-state: paused; }
.partner-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--ink-soft);
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* ============ TWO-PANE FEATURE ============ */
.feature-pane {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.feature-pane.reverse { direction: rtl; }
.feature-pane.reverse > * { direction: ltr; }
.feature-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-mid);
}
.feature-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,180,224,0.3) 0%, transparent 60%);
}

/* ============ CTA SECTION ============ */
.cta-section {
  background:
    linear-gradient(120deg, rgba(0,180,224,0.16), rgba(102,229,193,0.16)),
    linear-gradient(180deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 60px;
  text-align: center;
  max-width: 1100px; margin: 16px auto;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(102,229,193,0.18) 0%, transparent 50%);
}
.cta-section h2 { font-size: 36px; margin-bottom: 16px; color: var(--white); position: relative; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 580px; margin: 0 auto 30px; position: relative; }
.cta-section .cta-row { justify-content: center; position: relative; }

/* ============ HAMBURGER MENU ============ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-dark .hamburger span { background: rgba(255,255,255,0.85); }
.nav-dark-bar .hamburger span { background: var(--navy-deep); }
.nav-light .hamburger span { background: var(--navy-deep); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  padding-top: 70px;
  flex-direction: column;
}
.nav-dark-bar ~ .mobile-nav,
.nav-dark ~ .mobile-nav { background: var(--navy-deep); }
.nav-light ~ .mobile-nav { background: white; }

.mobile-nav.open { display: flex; }

.mobile-nav ul {
  list-style: none;
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav ul li a {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background 0.15s;
}
.mobile-nav ul li a.active { color: var(--cyan); }
.nav-dark-bar ~ .mobile-nav ul li a,
.nav-dark ~ .mobile-nav ul li a { color: rgba(255,255,255,0.85); }
.nav-dark-bar ~ .mobile-nav ul li a:hover,
.nav-dark ~ .mobile-nav ul li a:hover { background: rgba(255,255,255,0.07); color: white; }
.nav-light ~ .mobile-nav ul li a { color: var(--ink-soft); }
.nav-light ~ .mobile-nav ul li a:hover { background: var(--bg-soft); color: var(--navy-deep); }

.mobile-nav-cta {
  padding: 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(120deg, var(--cyan), var(--mint));
  color: var(--navy-deep);
}

/* ============ RESPONSIVE — 1024px (tablet landscape) ============ */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .container, .container-wide { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; padding: 40px 24px; gap: 36px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-dark); padding-bottom: 18px; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; padding-top: 18px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-dark); }

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

  .feature-pane { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 50px; }
  .timeline-marker { left: 12px; top: 4px; transform: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-body { padding: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .ecosystem-stats-banner { grid-template-columns: repeat(2, 1fr) !important; }
  .solution-detail-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  /* Mobile eyebrow swap: show above image, hide inside content */
  .platform-eyebrow-mobile { display: inline-flex; }
  .platform-eyebrow-desktop { display: none !important; }

  .platform-section-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .platform-section { padding: 60px 0; }

  /* Platform visual: keep original doctor bg + UI overlay at bottom, full width */
  .platform-visual {
    width: 100% !important;
    aspect-ratio: 4/5 !important;
    padding-bottom: 6% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  /* UI overlay: relative positioned, flex-end alignment puts it in the bottom third */
  .platform-ui-overlay {
    position: relative !important;
    width: 85% !important;
    max-width: 100% !important;
    inset: unset !important;
    height: auto !important;
  }
  .platform-ui-overlay img { width: 100%; height: auto; object-fit: unset !important; }
  .platform-visual-caption { top: 12px; left: 12px; font-size: 10px; padding: 5px 10px; }

  /* Timeline: vertical connecting line in single-column layout */
  .timeline::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 16px;
    height: calc(100% - 32px);
    width: 2px;
    background: linear-gradient(180deg, var(--cyan) 0%, rgba(0,180,224,0.2) 100%);
    opacity: 0.5;
    z-index: 0;
  }

  section { padding: 60px 0; }
}

/* ============ RESPONSIVE — 768px (tablet portrait / large phone) ============ */
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero-grid { padding: 36px 20px; }
  .page-hero { padding: 60px 0 50px; }
  .page-hero h1 { font-size: clamp(26px, 6vw, 38px); }

  .article-cover { aspect-ratio: 16/9; }
  .article-cards-grid { grid-template-columns: 1fr !important; }
  .grid-3 .article-card { width: 100%; }
  .article-card { border-radius: var(--r-lg); overflow: hidden; }

  .featured-cover { min-height: 260px !important; }
  .featured-body { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* Stats: shrink numbers and reduce padding so all stats fit */
  .stat-num { font-size: 26px; }
  .stat-num .unit { font-size: 14px; }
  .stat-label { font-size: 12px; }
  .stat-source { font-size: 10px; }
  .stat { padding: 12px 8px; }
  .stats-inner { padding: 16px 12px; margin: 0 16px; border-radius: 16px; }
  /* Override higher-specificity stats-three so it still responds to breakpoints */
  .stats-inner.stats-three { grid-template-columns: repeat(3, 1fr); }

  /* Evidence feature: collapse to single column and fix oversized text */
  .evidence-feature { grid-template-columns: 1fr !important; gap: 28px; }
  .evidence-feature-headline { font-size: clamp(32px, 8vw, 44px); }
  .evidence-feature-sub { font-size: 17px; }
  .evidence-feature-body { font-size: 15px; }

  /* Numbered steps: stack vertically on phone/tablet */
  .numbered-steps { grid-template-columns: 1fr !important; gap: 32px; padding: 0; }
  .numbered-steps::before { display: none; }
  .numbered-step-circle { width: 120px; height: 120px; }
  .numbered-step-number { font-size: 44px; }
  .numbered-step-icon svg { width: 70px; height: 70px; }
  .numbered-step-label { font-size: 15px; }
  .numbered-step-sub { font-size: 12px; }

  /* Hide Lancet paper thumbnail on mobile */
  .evidence-feature-paper { display: none; }

  section { padding: 50px 0; }
}

/* ============ RESPONSIVE — 600px (phone) ============ */
@media (max-width: 600px) {
  .container, .container-wide { padding: 0 16px; }

  .stats-inner { grid-template-columns: 1fr; padding: 20px; }
  .stats-inner.stats-three { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border-dark); padding-bottom: 14px; }
  .stat:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .evidence-feature { grid-template-columns: 1fr; gap: 32px; }
  .evidence-feature-paper { transform: none; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row a { text-align: center; justify-content: center; }

  .hero-trust { flex-wrap: wrap; gap: 12px; }

  section { padding: 44px 0; }
}

/* ============ RESPONSIVE — 480px (small phone) ============ */
@media (max-width: 480px) {
  .ecosystem-stats-banner { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: 1fr; }

  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 32px); }

  .nav { padding: 14px 16px; }

  section { padding: 36px 0; }
}

/* Workflow diagram (Solutions Platform Capabilities) */
.workflow-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto 60px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(0,180,224,0.04) 0%, rgba(102,229,193,0.03) 100%);
  border: 1px solid rgba(0,180,224,0.15);
  border-radius: var(--r-lg);
}
.workflow-step {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.workflow-step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0,180,224,0.4);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 4px 14px rgba(0,180,224,0.15);
}
.workflow-step-circle svg { width: 24px; height: 24px; }
.workflow-step-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.workflow-step-sub {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.workflow-arrow {
  font-size: 22px;
  color: var(--cyan);
  font-weight: 700;
  align-self: center;
  padding-top: 14px;
  opacity: 0.6;
}
@media (max-width: 900px) {
  .workflow-diagram { flex-wrap: wrap; padding: 24px 16px; }
  .workflow-arrow { display: none; }
  .workflow-step { flex-basis: calc(50% - 8px); margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .workflow-step { flex-basis: 100%; margin-bottom: 12px; }
}

/* Value-add cards (Why integrated matters) — accent-tinted cards with icons */
.value-add-grid { gap: 26px; }
.value-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 30px 28px;
  border: 1px solid var(--border-dark);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-rgba, rgba(0,180,224,0.06)) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.value-card > * { position: relative; z-index: 1; }
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(10,31,68,0.18);
  border-color: var(--accent-border, rgba(0,180,224,0.4));
}
.value-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}
.value-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-card-icon svg { width: 24px; height: 24px; }
.value-card-cyan { --accent-rgba: rgba(0,180,224,0.08); --accent-border: rgba(0,180,224,0.4); }
.value-card-cyan .value-card-icon { background: rgba(0,180,224,0.12); color: #0a6a90; }
.value-card-mint  { --accent-rgba: rgba(102,229,193,0.08); --accent-border: rgba(102,229,193,0.4); }
.value-card-mint  .value-card-icon { background: rgba(102,229,193,0.16); color: #0a8060; }
.value-card-gold  { --accent-rgba: rgba(244,194,107,0.08); --accent-border: rgba(244,194,107,0.4); }
.value-card-gold  .value-card-icon { background: rgba(244,194,107,0.18); color: #b87d10; }

/* Solution detail two-column layout (image + content) */
.solution-detail-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 50px;
  align-items: center;
}
.solution-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(10,31,68,0.2);
  border: 1px solid var(--border-dark);
  background: var(--white);
  max-width: 820px;
}
.solution-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ EVIDENCE FEATURED PUBLICATION CARD ============ */
.evidence-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 70px;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 56px;
  margin-bottom: 60px;
  box-shadow: 0 30px 60px -20px rgba(10,31,68,0.15);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.evidence-feature::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,180,224,0.08), transparent 60%);
  pointer-events: none;
}
.evidence-feature-paper {
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  border-radius: 6px;
  box-shadow:
    0 30px 60px -10px rgba(10,31,68,0.35),
    0 0 0 1px rgba(0,0,0,0.05);
  background: var(--white);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  transition: transform 0.4s ease;
}
.evidence-feature-paper:hover { transform: rotate(-1deg) scale(1.02); }
.evidence-feature-paper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evidence-feature-paper.placeholder {
  background: linear-gradient(180deg, #FFF 0%, #F8F8F8 100%);
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.evidence-paper-header {
  border-bottom: 3px solid #E84855;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.evidence-paper-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: #E84855;
  letter-spacing: -0.5px;
}
.evidence-paper-sub {
  font-size: 10px;
  color: #555;
  margin-top: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.evidence-paper-title {
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 12px;
}
.evidence-paper-authors {
  font-size: 10px;
  color: #666;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 14px;
}
.evidence-paper-abstract {
  font-size: 9px;
  color: #555;
  line-height: 1.5;
  flex: 1;
}
.evidence-paper-footer {
  font-size: 9px;
  color: #888;
  border-top: 1px solid #E0E0E0;
  padding-top: 8px;
  margin-top: 10px;
}
.evidence-feature-content { position: relative; z-index: 2; }
.evidence-feature-headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.evidence-feature-sub {
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
  line-height: 1.3;
}
.evidence-feature-body {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
}
.evidence-feature-body strong { color: var(--ink); font-weight: 600; }

/* =====================================================
   LIGHT THEME OVERRIDES (added in v2 — lighter palette)
   ===================================================== */

/* HERO — light variant: soft cyan → white (dark nav now lives in its own sticky bar above) */
.hero.hero-light {
  background:
    linear-gradient(180deg,
      #B3DCEC 0%,
      #D6ECF4 30%,
      #F0F8FB 60%,
      #FFFFFF 100%);
  position: relative;
  padding-top: 0;
}
.hero.hero-light::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 320px;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(0,180,224,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(102,229,193,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero.hero-light .hero-left { color: var(--ink); }
.hero.hero-light .hero-left h1 { color: var(--ink); }
.hero.hero-light .hero-left p.lead { color: var(--ink-soft); }
.hero.hero-light .hero-left p.lead strong { color: var(--ink); }
.hero.hero-light .eyebrow {
  border: 1px solid rgba(0,180,224,0.3);
  background: rgba(0,180,224,0.08);
  color: #0a6a90;
}
.hero.hero-light .eyebrow-dot { background: var(--cyan); }
.hero.hero-light .chip {
  background: var(--white);
  border: 1px solid var(--border-mid);
  box-shadow: 0 4px 14px rgba(10,31,68,0.05);
}
.hero.hero-light .chip .chip-title { color: var(--ink); }
.hero.hero-light .chip .chip-sub { color: var(--ink-muted); }
.hero.hero-light .btn-ghost {
  color: var(--ink);
  border-bottom: 1px solid var(--border-mid);
}
.hero.hero-light .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Light nav bar — clean white with subtle border, aligned to Nexus app UI */
.nav.nav-dark-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  box-shadow: 0 1px 12px rgba(10, 31, 68, 0.04);
}
.nav.nav-dark-bar .logo { color: var(--navy-deep); }
.nav.nav-dark-bar .logo-image { filter: none; }
.nav.nav-dark-bar .nav-menu a { color: var(--ink-soft); }
.nav.nav-dark-bar .nav-menu a:hover,
.nav.nav-dark-bar .nav-menu a.active {
  color: var(--navy-deep); border-bottom-color: var(--cyan);
}
.nav.nav-dark-bar .nav-cta {
  background: linear-gradient(120deg, var(--cyan), var(--mint));
  color: var(--navy-deep);
  font-weight: 700;
}
.nav.nav-dark-bar .nav-cta:hover {
  box-shadow: 0 8px 22px rgba(0, 180, 224, 0.28);
}

/* NAV — on dark navy header (top of hero) */
.nav.nav-on-light-hero {
  background: transparent;
  position: relative;
  z-index: 10;
}
.nav.nav-on-light-hero .logo { color: var(--white); }
.nav.nav-on-light-hero .logo-image {
  filter: brightness(0) invert(1);
}
.nav.nav-on-light-hero .nav-menu a {
  color: rgba(255,255,255,0.85);
}
.nav.nav-on-light-hero .nav-menu a:hover,
.nav.nav-on-light-hero .nav-menu a.active {
  color: var(--white); border-bottom-color: var(--cyan-soft);
}
.nav.nav-on-light-hero .nav-cta {
  background: var(--white);
  color: var(--navy-deep);
}
.nav.nav-on-light-hero .nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

/* push hero content down to give room below the sticky nav */
.hero.hero-light .hero-grid {
  padding-top: 70px;
}

/* LOGO IMAGE (replacing placeholder text mark) */
.logo-image { height: 55px; width: auto; display: block; }
.logo-image-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0; /* hide the text alongside the image — logo includes wordmark */
}
.logo.logo-img-only { gap: 0; }
.logo.logo-img-only .logo-image { height: 55px; }
.footer .logo-image { height: 40px; filter: brightness(0) invert(1) opacity(0.95); }

/* SECTION — light evidence variant */
.section-light-evidence {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,180,224,0.06) 0%, transparent 50%),
    var(--bg-soft);
  color: var(--ink);
}
.section-light-evidence .section-title { color: var(--ink); }
.section-light-evidence .section-lead { color: var(--ink-soft); }
.section-light-evidence .eyebrow {
  border: 1px solid rgba(0,180,224,0.3);
  background: rgba(0,180,224,0.08);
  color: #0a6a90;
}
.section-light-evidence .eyebrow-dot { background: var(--cyan); }
.section-light-evidence .card {
  background: var(--white);
  border-color: var(--border-dark);
}
.section-light-evidence .card h3 { color: var(--ink); }
.section-light-evidence .card p { color: var(--ink-soft); }

/* TIMELINE — light variant */
.section-light-timeline {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F6FAFD 100%);
  color: var(--ink);
  position: relative; overflow: hidden;
}
.section-light-timeline::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(102,229,193,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.section-light-timeline .section-title { color: var(--ink); }
.section-light-timeline .section-lead { color: var(--ink-soft); }
.section-light-timeline .eyebrow {
  border: 1px solid rgba(0,180,224,0.3);
  background: rgba(0,180,224,0.08);
  color: #0a6a90;
}
.section-light-timeline .eyebrow-dot { background: var(--cyan); }
.section-light-timeline .timeline-list { color: var(--ink-soft); }
.section-light-timeline .timeline-marker { border-color: var(--white); }
.section-light-timeline .timeline-title { color: var(--ink); }

/* Mobile eyebrow: hidden on desktop, shown above image on mobile */
.platform-eyebrow-mobile { display: none; }

/* ============ PLATFORM SECTION (rebuilt) ============ */
.platform-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
}
.platform-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
}

/* LEFT — clinician + UI overlay */
.platform-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6.2;
  background:
    linear-gradient(135deg, rgba(0,180,224,0.30) 0%, rgba(102,229,193,0.18) 100%),
    linear-gradient(180deg, #BCE0EE 0%, #6FB5CC 100%);
  box-shadow: 0 30px 70px -20px rgba(10,31,68,0.25);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8%;
}
.platform-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('doctor-radiologist.webp');
  background-size: cover;
  background-position: center 10%;
  opacity: 0.45;
}
.platform-visual-caption {
  position: absolute; top: 22px; left: 22px;
  z-index: 3;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--white);
  background: rgba(10,31,68,0.55);
  backdrop-filter: blur(8px);
  padding: 7px 14px; border-radius: 999px;
}
.platform-ui-overlay {
  position: relative; z-index: 2;
  width: 88%; max-width: 540px;
  margin-bottom: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -10px rgba(10,31,68,0.4),
    0 0 0 1px rgba(255,255,255,0.4);
  transform: translateY(0);
  background: var(--white);
}
.platform-ui-overlay img { display: block; width: 100%; height: auto; }

/* RIGHT — content */
.platform-content h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.platform-tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 18px;
}
.platform-description {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.platform-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.platform-heading-row h2 { margin-bottom: 0; }
.developed-with {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10,31,68,0.05);
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.developed-with img { width: 14px; height: 14px; display: block; }

/* Stacked variant — text above, Google Health logo below */
.developed-with-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 260px;
  margin: 0 auto;
}
.developed-with-stack span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: center;
}
.developed-with-stack img {
  height: 22px !important;
  width: auto !important;
  max-width: 100%;
  display: block;
}
.platform-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.callout-pill {
  background: linear-gradient(120deg, rgba(0,180,224,0.10), rgba(102,229,193,0.10));
  border: 1px solid rgba(0,180,224,0.25);
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  text-align: center;
}
.platform-bullets { list-style: none; }
.platform-bullets li {
  font-size: 15px;
  color: var(--ink);
  padding: 10px 0;
  display: flex; align-items: center; gap: 12px;
}
.platform-bullets li::before {
  content: '';
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background-image:
    linear-gradient(135deg, var(--cyan), var(--mint)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M5 12l5 5L20 7"/></svg>');
}
.platform-bullets li::before {
  background: var(--white);
  border: 2px solid var(--cyan);
  position: relative;
}
.platform-bullets li::after {
  content: '→';
  position: absolute; left: 4px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}
.platform-bullets li {
  position: relative; padding-left: 32px;
}
.platform-bullets li::before {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
}
.platform-bullets li::after {
  top: 50%; transform: translateY(-50%);
  left: 5px;
}

/* 3 NUMBERED STEPS */
.numbered-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.numbered-steps::before {
  display: none;
  content: '';
  position: absolute;
  top: 70px;
  left: 18%; right: 18%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--mint) 100%);
  opacity: 0.3;
  z-index: 0;
}
.numbered-step { text-align: center; position: relative; z-index: 1; }
.numbered-step-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background:
    linear-gradient(135deg, rgba(0,180,224,0.08), rgba(102,229,193,0.08)),
    var(--bg-soft);
  border: 2px solid var(--white);
  box-shadow: 0 12px 30px -8px rgba(10,31,68,0.18);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.numbered-step-circle::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,180,224,0.15) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 50%, rgba(102,229,193,0.1) 0%, transparent 80%);
  z-index: 0;
}
.numbered-step-number {
  position: relative; z-index: 2;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 56px;
  background: linear-gradient(120deg, var(--navy-deep), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.numbered-step-icon {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.25;
  z-index: 1;
}
.numbered-step-icon svg { width: 80px; height: 80px; }
.numbered-step-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}
.numbered-step-sub {
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.5;
}
}
