/* ==========================================================================
   1. DESIGN SYSTEM & TYPOGRAPHY SCALES
   ========================================================================== */
:root {
  /* Color Palette */
  --navy: #141B33;
  --navy-2: #1E2A4A;
  --ink: #1A2238;
  --coral: #D6453D;
  --coral-soft: #F4D9D7;
  --ice: #9FD8E8;
  --paper: #F5F4EF;
  --paper-2: #EDEBE3;
  --slate: #5C6478;
  --line: #DEDCD3;
  --max: 1180px;

  /* Font Families */
  --font-heading: 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --font-mono: 'Inter', Arial, sans-serif;

  /* Typographic Hierarchy (Standardized Sizes & Line Heights) */
  --h1-size: clamp(26px, 3vw, 36px);
  --h1-line-height: 1.2;

  --h2-size: clamp(26px, 3vw, 36px);
  --h2-line-height: 1.2;

  --h3-size: 18px;
  --h3-line-height: 1.35;

  --h4-size: 16px;
  --h4-line-height: 1.4;

  --body-lg-size: 17px;
  --body-lg-line-height: 1.55;

  --body-base-size: 15px;
  --body-base-line-height: 1.5;

  --caption-size: 12px;
  --caption-line-height: 1.4;

  /* Consistent Spacing Scale */
  --section-padding-desktop: 64px 0;
  --section-padding-mobile: 48px 0;
  --card-padding: 24px;
}

/* ==========================================================================
   2. GLOBAL BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-base-size);
  line-height: var(--body-base-line-height);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. TYPOGRAPHY HEADINGS & ELEMENTS
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  font-weight: 700;
}

h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
}

h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
}

h4 {
  font-size: var(--h4-size);
  line-height: var(--h4-line-height);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.eyebrow.on-dark {
  color: var(--ice);
}

.eyebrow.on-dark::before {
  background: var(--ice);
}

/* Base Body Lead Paragraphs */
p.lead {
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line-height);
  color: var(--slate);
}

/* Mission Section Card */
.mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
}

.mission-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 14px;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark img {
  display: block;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

nav ul a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}

nav ul a:hover {
  color: var(--coral);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px 20px;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul li {
  border-top: 1px solid var(--line);
}

.mobile-menu ul a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.mobile-menu ul a:hover {
  color: var(--coral);
}

.mobile-menu .nav-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 14px;
}

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

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  background: var(--paper);
  color: var(--ink);
  padding: 48px 0;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  align-items: stretch;
  gap: 32px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--navy);
}

.hero h1 .highlight {
  color: #0088A8;
}

.hero p.lead {
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(245,244,239,0) 55%,
    rgba(245,244,239,.15) 68%,
    rgba(245,244,239,.55) 82%,
    var(--paper) 100%
  );
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  box-shadow: 0 6px 18px rgba(214, 69, 61, 0.2);
}

.btn-primary:hover {
  background: #c2362f;
  border-color: #c2362f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(214, 69, 61, 0.28);
}

/* ==========================================================================
   6. SECTION STRUCTURES & THEMING
   ========================================================================== */
section {
  padding: var(--section-padding-desktop);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-top: 4px;
}

.section-head p {
  color: var(--slate);
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line-height);
  margin-top: 12px;
}

.light {
  background: var(--paper);
}

.cream {
  background: var(--paper-2);
}

.dark {
  background: var(--navy);
  color: #fff;
}

.dark h2, .dark h3, .dark h4 {
  color: #fff;
}

.dark .section-head p {
  color: #AEB5CC;
}

/* ==========================================================================
   7. STATS GRIDS
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--card-padding);
}

.dark .stat-card {
  background: rgba(159, 216, 232, 0.06);
  border-color: rgba(159, 216, 232, 0.18);
}

.stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--coral);
}

.dark .stat-card .stat-num {
  color: var(--ice);
}

.stat-card .stat-label {
  font-weight: 600;
  font-size: var(--body-base-size);
  margin: 10px 0 6px;
}

.stat-card p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
}

.dark .stat-card p {
  color: #AEB5CC;
}

/* ALIGNED SOURCE NOTE WITH SINGLE LABEL */
.source-note-container {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  line-height: var(--caption-line-height);
  color: var(--slate);
}

.source-label {
  font-weight: 600;
  white-space: nowrap;
}

.source-list {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.source-list li {
  line-height: var(--caption-line-height);
}

/* ==========================================================================
   8. CARDS & GRIDS (PROBLEM, SOLUTION, MECHANISM, BIZ)
   ========================================================================== */
.problem-grid,
.mech-steps,
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--card-padding);
}

.problem-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.problem-card h3 {
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--slate);
  font-size: var(--body-base-size);
  line-height: var(--body-base-line-height);
}

/* Feature Grid 4 */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-card h4 {
  margin-bottom: 4px;
}

.feature-card p {
  color: var(--slate);
  font-size: 13.5px;
  line-height: 1.45;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

/* Mechanism Steps */
.mech-step {
  background: var(--navy-2);
  border-radius: 14px;
  padding: var(--card-padding);
  border: 1px solid rgba(159, 216, 232, 0.12);
}

.mech-step-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.mech-step .step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  color: var(--ice);
  font-weight: 500;
  flex-shrink: 0;
}

.mech-step h3 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.3;
}

.mech-step p {
  color: #B7BED3;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   9. FIGURES & MEDIA CONTAINERS
   ========================================================================== */
.solution-stacked {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fig-card {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -8px rgba(20, 27, 51, 0.08);
}

.fig-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: #fff;
}

.fig-labels {
  background: #fff;
  padding: 4px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fig-label {
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  font-weight: 500;
  text-align: center;
}

.fig-label.cancer-text { color: var(--coral); }
.fig-label.healthy-text { color: var(--black); }

.fig-caption {
  background: #fff;
  padding: 8px 16px 16px;
  font-size: var(--caption-size);
  line-height: var(--caption-line-height);
  color: var(--slate);
  font-family: var(--font-mono);
  text-align: center;
}

/* FULL-WIDTH FRAME WITH TEXT-ALIGNED IMAGE */
/* CLEAN IMAGE CONTAINER */
.science-image-container {
  width: 100%;
  margin-top: 32px;
}

.science-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px; /* Optional: subtle rounding on image corners */
}

.science-image-caption {
  text-align: center;
  font-size: var(--caption-size);
  line-height: var(--caption-line-height);
  color: var(--slate);
  margin: 16px auto 40px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   10. TABLES
   ========================================================================== */
.comp-table,
.pipeline-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th,
.pipeline-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 16px 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.comp-table td,
.pipeline-table td {
  text-align: left;
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
}

.comp-table tr:last-child td,
.pipeline-table tr:last-child td {
  border-bottom: none;
}

.comp-table tr.highlight td {
  background: rgba(214, 69, 61, 0.04);
}

.comp-table tr.highlight td:first-child {
  border-radius: 8px 0 0 8px;
}

.comp-table tr.highlight td:last-child {
  border-radius: 0 8px 8px 0;
}

.pill {
  display: inline-block;
  background: var(--coral-soft);
  color: #9c2b25;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.gen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ice);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

.pipeline-table .lead-txt {
  color: var(--slate);
}

/* ==========================================================================
   11. CALL TO ACTION & FOOTER
   ========================================================================== */
.cta {
  background: radial-gradient(ellipse 120% 100% at 30% 0%, #2a3a68 0%, var(--navy) 55%);
  color: #fff;
  text-align: center;
}

.cta .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  color: #fff;
  max-width: 680px;
}

.cta p.lead {
  color: #C7CCDD;
  max-width: 560px;
  margin: 16px 0 32px;
}

.science-cta-banner {
  max-width: 800px;
  margin: 36px auto 0;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.00);
  border: 0px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: center;
}

.science-cta-banner p {
  color: #ffffff;
  font-size: var(--body-lg-size);
  font-weight: 500;
  line-height: 1.4;
}

.cta-contact {
  margin-top: 48px;
  padding-top: 32px;
  border-top: none;
  font-size: 14.5px;
  color: #C7CCDD;
  line-height: 1.8;
}

.cta-contact strong {
  color: #fff;
}

.cta-contact a {
  color: var(--ice);
  text-decoration: none;
  font-weight: 500;
}

footer {
  background: var(--ink);
  color: #9aa3bf;
  padding: 40px 0 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  section {
    padding: var(--section-padding-mobile);
  }
  
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-fade {
    display: none;
  }

  .hero-image {
    max-height: 400px;
  }

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

  .mission-card {
    padding: 28px 24px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .problem-grid,
  .mech-steps,
  .stat-grid,
  .biz-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .problem-grid,
  .mech-steps,
  .stat-grid,
  .biz-grid,
  .stat-grid-4,
  .feature-grid-4 {
    grid-template-columns: 1fr;
  }

  .pipeline-table thead,
  .comp-table thead {
    display: none;
  }

  .pipeline-table td,
  .comp-table td {
    display: block;
    padding: 6px 0;
    border-bottom: none;
  }

  .pipeline-table tr,
  .comp-table tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ==========================================================================
   UNIFIED SECTION HEADINGS & WRAPPING
   ========================================================================== */
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
  width: 100%;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.no-break {
  white-space: nowrap;
}



/* ==========================================================================
   BUSINESS MODEL STYLES
   ========================================================================== */
.dark .biz-subhead {
  margin-top: 10px;
  margin-bottom: 8px;
  color: var(--ice);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.05em;
  /*text-transform: uppercase;*/
}

/* ==========================================================================
   CALL TO ACTION & CTA SECTION STYLES
   ========================================================================== */
.cta .eyebrow {
  justify-content: center;
}

.cta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 28px 0 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  color: #EDEBE3;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}