:root {
  --ink: #122033;
  --muted: #607083;
  --line: #d8e2ea;
  --soft: #eef5ff;
  --panel: #ffffff;
  --brand: #1565d8;
  --brand-strong: #0b4fb2;
  --accent: #91bdff;
  --navy: #102b57;
  --shadow: 0 20px 60px rgba(16, 43, 87, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #f8fbfc;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 251, 252, 0.92);
  border-bottom: 1px solid rgba(216, 226, 234, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 178px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.footer-logo {
  filter: brightness(1.08);
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #4f96ff);
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(21, 101, 216, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #314255;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(145, 189, 255, 0.48), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand-strong);
  background: #fff;
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
}

.hero-photo {
  min-height: 520px;
}

.hero-device-photo {
  position: relative;
  z-index: 2;
  width: min(520px, 88vw);
  max-height: 520px;
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #e8f2ff 100%);
  border: 1px solid #c8daf0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-photo-badge {
  position: absolute;
  z-index: 3;
  top: 50px;
  right: 24px;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px 18px;
  color: #dcecff;
  background: linear-gradient(135deg, #0c344f, #0f2a4d);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(16, 43, 87, 0.18);
}

.hero-photo-badge strong {
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.hero-photo-badge small {
  color: #dcecff;
}

.device {
  position: relative;
  z-index: 2;
  width: min(430px, 82vw);
  min-height: 470px;
  padding: 34px;
  background: linear-gradient(160deg, #ffffff 0%, #dfeaf0 100%);
  border: 1px solid #c7d7df;
  border-radius: 18px 18px 32px 32px;
  box-shadow: var(--shadow);
}

.device::before {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  height: 105px;
  border-radius: 10px;
  background: #bdcbd4;
}

.screen {
  display: grid;
  gap: 6px;
  padding: 24px;
  color: #d9fbff;
  background: linear-gradient(135deg, #0c3440, #102438);
  border-radius: 12px;
}

.screen strong {
  color: #fff;
  font-size: 56px;
  line-height: 1;
}

.module-row,
.sample-tray {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.module-row i {
  flex: 1;
  height: 78px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f5fbfc, #c9dbe3);
  border: 1px solid #bfd2dc;
}

.sample-tray {
  position: absolute;
  right: 54px;
  bottom: 62px;
  left: 54px;
  justify-content: center;
  margin: 0;
}

.sample-tray span {
  width: 38px;
  height: 72px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #eefbfc 28%, #38b6c3 29%);
  border: 1px solid #86bec8;
}

.particle-field span {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 45%, #2f73d8);
  box-shadow: 0 15px 36px rgba(21, 101, 216, 0.2);
}

.particle-field span:nth-child(1) {
  top: 8%;
  right: 8%;
}

.particle-field span:nth-child(2) {
  top: 28%;
  left: 4%;
  width: 46px;
  height: 46px;
}

.particle-field span:nth-child(3) {
  right: 0;
  bottom: 20%;
  width: 54px;
  height: 54px;
}

.particle-field span:nth-child(4) {
  bottom: 8%;
  left: 12%;
  width: 34px;
  height: 34px;
}

.particle-field span:nth-child(5) {
  top: 16%;
  left: 24%;
  width: 28px;
  height: 28px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  padding: 30px clamp(20px, 4vw, 42px);
  background: #fff;
}

.stats-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
}

.stats-band span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.product-grid,
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card,
.info-cards article,
.location-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 32, 51, 0.06);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-left: 20px;
  color: #405166;
  line-height: 1.55;
}

.product-card a,
.text-link {
  color: var(--brand-strong);
  font-weight: 800;
}

.product-visual {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: linear-gradient(160deg, #f5f9ff, #dceaff);
  border: 1px solid #c6d8df;
}

.split-section,
.resources-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.principle-panel {
  display: grid;
  gap: 16px;
}

.flow-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-step span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}

.service-section {
  background: var(--navy);
}

.service-section h2,
.service-section .eyebrow {
  color: #fff;
}

.service-section p {
  color: #c9d7df;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.sample-grid span {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  place-items: center;
  padding: 14px;
  color: #eafdff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}

.sample-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  color: #dcecff;
}

.sample-icon::before,
.sample-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.sample-icon.plasma::before,
.sample-icon.urine::before,
.sample-icon.saliva::before,
.sample-icon.csf::before {
  inset: 4px 9px 2px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 10px 10px;
}

.sample-icon.plasma::after {
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 14px;
  background: #ff6f7c;
  border-radius: 2px 2px 8px 8px;
}

.sample-icon.urine::after {
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 14px;
  background: #f5c84c;
  border-radius: 2px 2px 8px 8px;
}

.sample-icon.saliva::after,
.sample-icon.csf::after {
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 13px;
  background: #8ee2ff;
  border-radius: 2px 2px 8px 8px;
}

.sample-icon.tissue::before {
  inset: 7px 3px;
  border: 2px solid currentColor;
  border-radius: 50% 42% 50% 44%;
  transform: rotate(-18deg);
}

.sample-icon.tissue::after {
  top: 15px;
  left: 8px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(-18deg);
}

.sample-icon.media::before {
  inset: 6px 5px 3px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 8px 8px;
}

.sample-icon.media::after {
  right: 8px;
  bottom: 6px;
  left: 8px;
  height: 10px;
  background: #75d6ff;
  border-radius: 0 0 6px 6px;
}

.sample-icon.plant::before {
  width: 18px;
  height: 22px;
  left: 8px;
  bottom: 4px;
  border: 2px solid currentColor;
  border-radius: 18px 0 18px 0;
  transform: rotate(-32deg);
}

.sample-icon.plant::after {
  width: 2px;
  height: 24px;
  left: 17px;
  bottom: 3px;
  background: currentColor;
}

.sample-icon.microbe::before {
  inset: 6px 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.sample-icon.microbe::after {
  width: 4px;
  height: 4px;
  left: 15px;
  top: 15px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -8px -5px 0 currentColor, 8px 5px 0 currentColor, 7px -7px 0 currentColor;
}

.sample-icon.virus::before {
  inset: 9px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 -10px 0 -2px currentColor, 0 10px 0 -2px currentColor, -10px 0 0 -2px currentColor, 10px 0 0 -2px currentColor;
}

.sample-icon.virus::after {
  inset: 13px;
  background: var(--brand);
  border-radius: 50%;
}

.sample-icon.ev::before {
  width: 13px;
  height: 13px;
  left: 4px;
  top: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 14px 8px 0 -1px transparent, 14px 8px 0 1px currentColor, 5px 19px 0 -2px transparent, 5px 19px 0 0 currentColor;
}

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

.info-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-list a {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.location-card dl {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}

.location-card dt {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card dd {
  margin: 0 0 10px;
  color: #405166;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #314255;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #c8d6de;
  border-radius: 6px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--brand-strong);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 5vw, 72px);
  background: #0f2232;
  color: #fff;
}

.site-footer p {
  margin: 14px 0 0;
  color: #c8d5de;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a {
  color: #eaf8fa;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero,
  .split-section,
  .resources-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-photo-badge {
    top: 24px;
    right: 10px;
  }

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

  .info-cards,
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .product-grid,
  .info-cards,
  .stats-band,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .brand-logo {
    width: 146px;
    height: 34px;
  }

  .hero-device-photo {
    padding: 18px;
  }

  .hero-photo-badge {
    min-width: 120px;
    padding: 12px 14px;
  }

  .hero-photo-badge strong {
    font-size: 32px;
  }

  .device {
    min-height: 380px;
    padding: 24px;
  }

  .screen strong {
    font-size: 42px;
  }

  .site-footer {
    flex-direction: column;
  }
}
