/* ==========================================
   Bioparticle Custom Styling System
   Centralized layout and theme configuration
   ========================================== */

:root {
  --porcelain: #F5F7F4;
  --paper: #FCFDFB;
  --ink: #16201C;
  --charcoal: #37463F;
  --muted: #5C6862;
  --line: #E2E6E1;
  --grid: #E9ECE8;
  --green: #1FA64E;
  --green-700: #137A38;
  --green-50: #EAF6EE;
  --teal: #C99A2E;
  --teal-700: #8C6610;
  --teal-50: #FAF2DB;
  --cd9: #1FA64E;
  --cd63: #E08A1E;
  --cd81: #7A5AF8;
  --c637: #D6452F;
  --serif: 'Spectral', serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --amber: #C99A2E;
  --amber-700: #8C6610;
  --amber-50: #FAF2DB;
  --amber-soft: #E0B23C;
}

/* FOUC pre-hide styles */
html.js-motion :where(.sec-head, .stat, .ipanel, .estep, .app, .prod, .wcard, .floor, .matrix, .capgrid, .cta, .specs, .pillbadge, [data-reveal]) {
  opacity: 0;
}
html.js-motion :where(.hero .eyebrow, .hero .pill, .hero h1, .hero .lede, .hero .actions, .hero figure) {
  opacity: 0;
}

body {
  background: var(--porcelain);
  color: var(--ink);
}

.bioparticle-body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  padding-top: 70px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.bioparticle-body a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
}

.bioparticle-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
}

.bioparticle-body em {
  font-style: italic;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.eyebrow.green-style {
  color: var(--green-700);
}

.eyebrow.green-style::before {
  background: var(--green);
}

/* Keeps an acronym's exact casing inside uppercase labels (e.g. dFC, mRNA) */
.nocaps {
  text-transform: none;
}

/* ---------- nav ---------- */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 60;
  background: rgba(245, 247, 244, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .25s, background .25s;
}

nav.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(22, 32, 28, .55);
}

nav.nav-hidden {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -.01em;
}

.brand .mk {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
}

.brand .mk i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.brand .mk i:nth-child(1) {
  top: 0;
  left: 7px;
}

.brand .mk i:nth-child(2) {
  top: 8px;
  left: 0;
}

.brand .mk i:nth-child(3) {
  top: 8px;
  left: 14px;
  background: var(--green-700);
}

.brand .mk i:nth-child(4) {
  top: 15px;
  left: 8px;
}

.links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
  align-items: center;
}

.links > a:hover,
.links > a.active {
  color: var(--ink);
}

.links > a.active {
  font-weight: 500;
}

.navcta {
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.navcta:hover {
  background: var(--green-700);
}

@media(max-width:920px) {
  .links {
    display: none;
  }
}

/* ---- mobile navigation ---- */
.burger {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: .18s;
}

.burger:hover {
  border-color: var(--green);
}

.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: .22s;
  border-radius: 2px;
}

.burger.open span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

.mobnav {
  position: fixed;
  left: 0;
  right: 0;
  top: 70px;
  background: rgba(252, 253, 251, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 32px 22px;
  z-index: 59;
  box-shadow: 0 30px 50px -30px rgba(22, 32, 28, .45);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .22s, opacity .22s, visibility .22s;
}

.mobnav.show {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.mobnav a {
  display: block;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--charcoal);
}

.mobnav a:hover {
  color: var(--ink);
}

.mobnav .ml {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 16px 8px 4px;
  border: none;
}

.mobnav .sub {
  padding-left: 22px;
  font-size: 14px;
}

.mobnav .mcta {
  margin-top: 14px;
  border: none;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
}

@media(max-width:920px) {
  .burger {
    display: flex;
  }
}

/* ---------- dropdown ---------- */
.drop {
  position: relative;
}

.dtrig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--muted);
}

.dtrig.active {
  color: var(--ink);
  font-weight: 500;
}

.dtrig:hover {
  color: var(--ink);
}

.dtrig svg {
  width: 10px;
  height: 10px;
  transition: .18s;
}

.drop:hover .dtrig svg,
.drop:focus-within .dtrig svg {
  transform: rotate(180deg);
}

.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-width: 232px;
  box-shadow: 0 24px 48px -28px rgba(22, 32, 28, .5);
  opacity: 0;
  visibility: hidden;
  transition: .16s;
  z-index: 80;
}

.drop:hover .menu,
.drop:focus-within .menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--charcoal);
  text-align: left;
}

.menu a:hover {
  background: var(--teal-50);
  color: var(--ink);
}

.menu a .mk2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 74px 0 64px;
  position: relative;
  z-index: 0;
  min-height: calc(100vh - 70px);
}

.hero::before {
  content: "";
  position: absolute;
  top: -70px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% 16%, rgba(201, 154, 46, .12), transparent 70%),
    radial-gradient(1200px 800px at 10% 82%, rgba(31, 166, 78, .10), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(rgba(22, 32, 28, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(50% 62% at 50% 42%, #000, transparent 90%);
  mask-image: radial-gradient(50% 62% at 50% 42%, #000, transparent 90%);
}

.hero3d {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero3d canvas {
  display: block;
}

.hero > *:not(.hero3d) {
  position: relative;
}

.hero.pang-layout {
  grid-template-columns: 1.02fr 1fr;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.pill.g {
  color: var(--green-700);
  background: var(--green-50);
}

.pill.g i {
  background: var(--green);
}


h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

h1 i {
  font-style: italic;
  color: var(--green-700);
}

h1 .warm {
  font-style: italic;
  color: var(--amber-700);
}

.lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
}

.actions {
  margin-top: 32px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  background: var(--ink);
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
  display: inline-block;
}

.btn:hover {
  background: var(--green-700);
  box-shadow: 0 14px 28px -16px rgba(19, 122, 56, .7);
}

.btn:active {
  transform: translateY(1px);
}

.btn.green {
  background: var(--green) !important;
  color: #ffffff !important;
}

.btn.green:hover {
  background: var(--green-700) !important;
}

.btn.teal {
  background: var(--teal);
  color: #ffffff !important;
}

.btn.teal:hover {
  background: #E0B23C;
  box-shadow: 0 14px 28px -16px rgba(201, 154, 46, .7);
}

.link-more {
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  cursor: pointer;
  display: inline-block;
}

.link-more:hover {
  border-color: var(--ink);
}

@media(max-width:860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0;
    min-height: auto;
  }
}

/* ---------- instrument / frame ---------- */
.inst, .burst {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 34px 64px -42px rgba(22, 32, 28, .45);
}

.inst .bar, .burst .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.inst .bar .live, .burst .bar .c {
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 7px;
}

.inst .bar .live.green-live {
  color: var(--green-700);
}

.inst .bar .live i, .burst .bar .c i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 1.6s infinite;
}

.inst .bar .live.green-live i {
  background: var(--green);
}

.burst .bar .c i {
  background: var(--green);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .28; }
}

.inst svg, .burst svg {
  display: block;
  width: 100%;
  height: auto;
}

.inst .vis {
  padding: 8px;
}

.fcap, .burst .cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  gap: 12px;
}

.fcap b, .burst .cap b {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- instrument showcase (zetaview) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}

.inst.photo .vis {
  padding: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inst.photo img {
  display: block;
  width: 100%;
  height: auto;
}

.inst.photo.wide {
  margin-top: 24px;
}

.hw {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
}

.hw h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 18px;
}

.hw ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.hw li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.hw li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hw li b {
  color: var(--ink);
  font-weight: 600;
}

.hw .hwnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-700);
  letter-spacing: .02em;
}

@media (max-width: 820px) {
  .showcase {
    grid-template-columns: 1fr;
  }
}

/* ---------- trust / software section (zetaview) ---------- */
.trustgrid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.trustside .eyebrow {
  margin-bottom: 14px;
}

.trustside h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -.01em;
}

.trustside p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 46ch;
}

@media (max-width: 820px) {
  .trustgrid {
    grid-template-columns: 1fr;
  }
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
}

.logos img {
  height: 38px;
  width: auto;
  opacity: .62;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s;
}

.logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ---------- plate / EV model ---------- */
.plate {
  position: relative;
}

.plate svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 36px 60px rgba(31, 166, 78, .16)) drop-shadow(0 8px 18px rgba(201, 154, 46, .12));
}

.platecap {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  gap: 12px;
}

.platecap b {
  color: var(--amber-700);
  font-weight: 500;
}

/* ---------- stats strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat .v {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
}

.stat .v span {
  color: var(--teal-700);
}

.stat.green-stat .v span {
  color: var(--green-700);
}

.stat .k {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 6px;
}

@media(max-width:760px) {
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(3) {
    border-right: 1px solid var(--line);
  }
}

/* ---------- generic section ---------- */
.sec {
  padding: 78px 0;
}

.sec-head {
  max-width: 60ch;
  margin-bottom: 42px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.sec-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

.intro p {
  font-size: 18px;
  color: var(--charcoal);
  max-width: 70ch;
}

.intro p + p {
  margin-top: 18px;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  color: var(--charcoal);
}

.prose p + p {
  margin-top: 18px;
}

/* ---------- instruments double panel ---------- */
.instr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ipanel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ipanel .vis {
  padding: 22px 22px 8px;
  background: linear-gradient(180deg, #fff, var(--porcelain));
}

.ipanel .body {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line);
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ipanel h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.ipanel .tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-700);
  margin-bottom: 8px;
}

.ipanel p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 8px;
}

.modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.mode {
  font-family: var(--mono);
  font-size: 11.5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--charcoal);
  text-align: left;
}

.mode b {
  color: var(--green-700);
  font-weight: 500;
}

@media(max-width:820px) {
  .instr {
    grid-template-columns: 1fr;
  }
}

/* ---------- compare table block ---------- */
.compare {
  background: var(--charcoal);
  color: #E8EDE9;
}

.compare .eyebrow {
  color: #7FD79B;
}

.compare .eyebrow::before {
  background: #7FD79B;
}

.compare h2 {
  color: #fff;
}

.compare .sec-head p {
  color: #B6C2BB;
}

.floor {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 26px 26px 18px;
  background: rgba(255, 255, 255, .03);
  margin-bottom: 28px;
}

.floor h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9FB0A7;
  margin-bottom: 20px;
  text-align: left;
}

.floorwrap {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 34px;
  align-items: center;
}

.floorwrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.floorctl label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: #9FB0A7;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.floorctl label b {
  color: #fff;
}

.floorctl input[type=range] {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}

.floorread {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floorread .r {
  border-left: 2px solid var(--green);
  padding-left: 14px;
}

.floorread .r .n {
  font-family: var(--serif);
  font-size: 32px;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.floorread .r .l {
  font-family: var(--mono);
  font-size: 11px;
  color: #9FB0A7;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 5px;
}

@media(max-width:820px) {
  .floorwrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.matrix thead th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #9FB0A7;
  font-weight: 500;
}

.matrix tbody th {
  font-weight: 500;
  color: #fff;
}

.matrix .yes {
  color: #7FD79B;
}

.matrix .no {
  color: #6E7E76;
}

.matrix tr.hl td,
.matrix tr.hl th {
  background: rgba(31, 166, 78, .12);
}

.matrix tr.hl th:first-child {
  color: #9BE6B6;
}

.cap {
  font-family: var(--mono);
  font-size: 11px;
  color: #8A9990;
  margin-top: 16px;
  text-align: left;
}

@media(max-width:680px) {
  .matrix {
    font-size: 12.5px;
  }
  .matrix th,
  .matrix td {
    padding: 10px 8px;
  }
}

/* ---------- evolution stepper ---------- */
.evo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.estep {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  position: relative;
  text-align: left;
}

.estep:last-child {
  border-right: none;
}

.estep .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--green-50);
}

.estep .dot svg {
  width: 20px;
  height: 20px;
}

.estep .yr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--green-700);
  text-transform: uppercase;
}

.estep h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin: 8px 0;
}

.estep p {
  font-size: 13.5px;
  color: var(--muted);
}

.estep.now {
  background: var(--green-50);
}

@media(max-width:880px) {
  .evo {
    grid-template-columns: 1fr 1fr;
  }
  .estep:nth-child(2) {
    border-right: none;
  }
  .estep:slice(0, 2) {
    border-bottom: 1px solid var(--line);
  }
  .estep:nth-child(1),
  .estep:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media(max-width:520px) {
  .evo {
    grid-template-columns: 1fr;
  }
  .estep {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .estep:last-child {
    border-bottom: none;
  }
}

/* ---------- biology apps block ---------- */
.bio {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.bio .apps {
  grid-template-columns: repeat(5, 1fr);
}

.bio .apps .app {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.app .tile {
  position: relative;
  height: 106px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.app .tile svg {
  display: block;
  width: 100%;
  height: 106px;
  transition: transform .45s ease;
}

.app:hover .tile svg {
  transform: scale(1.045);
}

.app .txt {
  padding: 20px 20px 24px;
}


.app {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app:last-child {
  border-right: none;
}

.app .ic {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.bio .app .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}

.app h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 7px;
}

.app p {
  font-size: 13px;
  color: var(--muted);
}

@media(max-width:760px) {
  .sec:not(.bio) .apps {
    grid-template-columns: 1fr 1fr;
  }
  .sec:not(.bio) .app:nth-child(2) {
    border-right: none;
  }
  .sec:not(.bio) .app:nth-child(1),
  .sec:not(.bio) .app:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media(max-width:430px) {
  .sec:not(.bio) .apps {
    grid-template-columns: 1fr;
  }
  .sec:not(.bio) .app {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .sec:not(.bio) .app:last-child {
    border-bottom: none;
  }
}

@media(max-width:900px) {
  .bio .apps {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .bio .app:nth-child(3) {
    border-right: none;
  }
  .bio .app:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
}

@media(max-width:560px) {
  .bio .apps {
    grid-template-columns: 1fr 1fr;
  }
  .bio .app {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .bio .app:nth-child(even) {
    border-right: none;
  }
}

/* ---------- products ---------- */
.prods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prod {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 24px;
  transition: .2s;
  text-align: left;
}

.prod:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -34px rgba(140, 102, 16, .5);
}

.prod .pk {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-700);
}

.prod h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin: 10px 0 8px;
}

.prod p {
  font-size: 13.5px;
  color: var(--muted);
}

.prod .go {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
}

.prod:hover .go {
  color: var(--amber-700);
}

@media(max-width:860px) {
  .prods {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .prods {
    grid-template-columns: 1fr;
  }
}

/* ---------- cta band ---------- */
.cta {
  background: var(--charcoal);
  color: #fff;
  border-radius: 18px;
  padding: 54px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: left;
}

.cta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  max-width: 20ch;
}

.cta .btn {
  background: var(--green);
  color: #06210F;
}

.cta .btn:hover {
  background: #27c25d;
}

.cta .btn.teal {
  background: var(--teal);
  color: #ffffff;
}

.cta .btn.teal:hover {
  background: #E0B23C;
  box-shadow: 0 14px 28px -16px rgba(201, 154, 46, .7);
}

.cta.light-cta {
  background: var(--green-50);
  border: 1px solid var(--line);
  color: var(--ink);
}

.cta.light-cta h3 {
  color: var(--ink);
  max-width: 20ch;
}

.cta.light-cta .row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta.light-cta .btn {
  background: var(--ink);
  color: #ffffff;
}

.cta.light-cta .btn:hover {
  background: var(--green-700);
  box-shadow: 0 14px 28px -16px rgba(19, 122, 56, .4);
}

.cta.light-cta .ghost {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
  display: inline-block;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}

.cta.light-cta .ghost:hover {
  background: var(--ink);
  color: #fff;
}

.cta.light-cta .ghost:active {
  transform: translateY(1px);
}

.ruo {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 26px;
  margin-bottom: 26px;
  letter-spacing: .04em;
  display: block;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  padding: 84px 0 40px;
  text-align: left;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--line);
}

.fgrid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: none;
}

.fgrid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--line);
}

footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--charcoal);
}

footer li a:hover {
  color: var(--green-700);
}

.fbrand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 34ch;
  margin-top: 12px;
}

.fbot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Footer responsiveness is consolidated in the Mobile Optimization Layer (end of file). */

/* ---------- capability list details ---------- */
.cap-section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.cap-section:nth-child(even),
.cap-section.paper {
  background: var(--paper);
}

.capgrid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 50px;
  align-items: center;
}

.cap-section.alt .capgrid {
  grid-template-columns: 1.18fr .82fr;
}

.cap-section.alt .capgrid .copy {
  order: 2;
}

.capnum {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--teal-700);
  text-transform: uppercase;
}

.capnum.green-style {
  color: var(--green-700);
}

.copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.015em;
  margin: 12px 0 14px;
}

.copy p {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 42ch;
}

.copy .note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--charcoal);
  margin-top: 16px;
  border-left: 2px solid var(--teal);
  padding-left: 12px;
  max-width: 42ch;
  line-height: 1.7;
}

@media(max-width:880px) {
  .capgrid,
  .cap-section.alt .capgrid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cap-section.alt .capgrid .copy {
    order: 0;
  }
}

/* ---------- interactive SVG controls & readouts ---------- */
.ctl {
  padding: 18px 18px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), #fff);
  text-align: left;
}

.ctl .lab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 10px;
}

.ctl .lab b {
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

input[type=range] {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
  height: 22px;
}

.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--porcelain);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  flex-wrap: wrap;
}

.seg button {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  background: none;
  border: none;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}

.seg button.on {
  background: var(--teal);
  color: #ffffff;
  font-weight: 500;
}

.seg.chan button {
  border: 1px solid var(--line);
  background: #fff;
}

.seg.chan button.on[data-c="cd9"] {
  background: var(--cd9);
  color: #06210F;
  border-color: var(--cd9);
}

.seg.chan button.on[data-c="cd63"] {
  background: var(--cd63);
  color: #3a2206;
  border-color: var(--cd63);
}

.seg.chan button.on[data-c="cd81"] {
  background: var(--cd81);
  color: #fff;
  border-color: var(--cd81);
}

/* ZetaView Capability 04: CD63 button uses the page's gold (#C99A2E, the LNP
   colour from Capability 01) instead of the global vivid orange. Scoped to
   #flChan so the F-NTA page keeps its own channel colours. CD9 (green) and
   CD81 (violet #7A5AF8) already match the locked palette via the global rules. */
#flChan button.on[data-c="cd63"] {
  background: #C99A2E;
  border-color: #C99A2E;
  color: #3a2206;
}

.ctlrow {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.ctlrow + .ctlrow {
  margin-top: 16px;
}

.reads {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  text-align: left;
}

.read {
  border-left: 2px solid var(--teal);
  padding-left: 13px;
  min-width: 96px;
}

.read .n {
  font-family: var(--serif);
  font-size: 27px;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.read .n sup {
  font-size: .55em;
  font-family: var(--mono);
}

.read .l {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 6px;
}

.read.g {
  border-color: var(--green);
}

.read.g .n {
  color: var(--green-700);
}

.read.a {
  border-color: var(--cd63);
}

.read.a .n {
  color: var(--cd63);
}

.read.v {
  border-color: var(--cd81);
}

.read.v .n {
  color: var(--cd81);
}

.pillbadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--charcoal);
  margin-top: 18px;
  text-align: left;
}

.pillbadge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* ---------- specifications sheet ---------- */
.specs {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  text-align: left;
}

.specs .row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.specs .row:last-child {
  border-bottom: none;
}

.specs .k {
  padding: 15px 22px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-right: 1px solid var(--line);
  background: var(--porcelain);
}

.specs .val {
  padding: 15px 22px;
  font-size: 14.5px;
  color: var(--charcoal);
}

@media(max-width:560px) {
  .specs .row {
    grid-template-columns: 1fr;
  }
  .specs .k {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- features x30 / exosomes / antibodies / why ---------- */
.feat, .why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fcard, .wcard {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 24px;
  text-align: left;
}

.fcard .ic, .wcard .ic {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.fcard .wt, .wcard .wt {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal-700);
  margin-bottom: 10px;
}

.fcard h4, .wcard h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.fcard p, .wcard p {
  font-size: 13.5px;
  color: var(--muted);
}

@media(max-width:820px) {
  .feat {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:760px) {
  .why {
    grid-template-columns: 1fr;
  }
}

@media(max-width:560px) {
  .feat, .why {
    grid-template-columns: 1fr;
  }
}

/* ---------- product catalog cards ---------- */
.cat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pcard {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .18s;
  text-align: left;
}

.pcard:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -34px rgba(140, 102, 16, .45);
}

.pcard .pv {
  padding: 18px 18px 0;
  background: linear-gradient(180deg, #fff, var(--porcelain));
}

.pcard .pb {
  padding: 18px 20px 22px;
}

.pcard .tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal-700);
}

.pcard h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 8px 0 7px;
}

.pcard p {
  font-size: 13.5px;
  color: var(--muted);
}

.pcard .ch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--charcoal);
}

.pcard .ch i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@media(max-width:860px) {
  .cat {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .cat {
    grid-template-columns: 1fr;
  }
}

/* ---------- services pages & illustrations ---------- */
.svc {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.svc:nth-of-type(even) {
  background: var(--paper);
}

.svcgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.svc.alt .svcgrid .sv-copy {
  order: 2;
}

.sv-copy .lab {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--teal-700);
  margin-bottom: 12px;
}

.sv-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -.015em;
  margin-bottom: 14px;
}

.sv-copy p {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
}

.sv-copy ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.sv-copy li {
  font-size: 14.5px;
  color: var(--charcoal);
  padding-left: 24px;
  position: relative;
}

.sv-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--teal-50);
  border: 1.5px solid var(--teal);
}

.svc-ill {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 30px 60px -46px rgba(22, 32, 28, .4);
}

.svc-ill svg, .svc-ill img, .svc-ill iframe {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media(max-width:820px) {
  .svcgrid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .svc.alt .svcgrid .sv-copy {
    order: 0;
  }
}

/* ---------- engineering stepper ---------- */
.stepper {
  display: grid;
  grid-template-columns: .92fr 1.4fr;
  gap: 28px;
  align-items: start;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 11px;
  padding: 12px 14px;
  cursor: pointer;
  transition: .15s;
  font-family: var(--body);
  width: 100%;
}

.step:hover {
  border-color: var(--teal);
}

.step .sn {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  width: 22px;
  flex: none;
}

.step .st {
  font-size: 14.5px;
  color: var(--charcoal);
}

.step.on {
  border-color: var(--teal);
  background: var(--teal-50);
}

.step.on .sn {
  color: var(--teal-700);
}

.step.on .st {
  color: var(--ink);
  font-weight: 500;
}

.detail {
  position: sticky;
  top: 90px;
}

.detail .dbody {
  padding: 24px 26px 28px;
  text-align: left;
}

.detail .dn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--teal-700);
  text-transform: uppercase;
}

.detail h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 8px 0 4px;
  letter-spacing: -.01em;
}

.detail .dtag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--teal-700);
  margin-bottom: 15px;
}

.detail p.desc {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.detail ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.detail li {
  font-size: 14px;
  color: var(--charcoal);
  padding-left: 23px;
  position: relative;
}

.detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal-50);
  border: 1.5px solid var(--teal);
}

@media(max-width:820px) {
  .stepper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rail {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .step {
    width: auto;
    flex: 1 1 130px;
  }
  .detail {
    position: static;
  }
}

/* ---------- chips / client support ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 20px;
  text-align: left;
}

.chip .ic {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

.chip p {
  font-size: 14px;
  color: var(--charcoal);
}

@media(max-width:720px) {
  .chips {
    grid-template-columns: 1fr;
  }
}

/* ---------- contact form grid ---------- */
.cgrid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: stretch;
}

.form {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 30px;
  box-shadow: 0 30px 60px -46px rgba(22, 32, 28, .4);
  text-align: left;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 11px 13px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  box-sizing: border-box;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-50);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.fnote {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.cinfo {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cinfo .ci {
  border-left: 2px solid var(--green);
  padding-left: 16px;
  margin-bottom: 26px;
}

.cinfo .ci .l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.cinfo .ci .v {
  font-size: 16px;
  color: var(--ink);
}

.cinfo .ci .v a:hover {
  color: var(--green-700);
}

@media(max-width:820px) {
  .cgrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .frow {
    grid-template-columns: 1fr;
  }
}

/* ---------- how-it-works tabs (Pangnostics) ---------- */
.hiw {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
  text-align: left;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  padding: 16px 14px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: .15s;
  text-align: left;
}

.tabs button:last-child {
  border-right: none;
}

.tabs button .n {
  display: block;
  color: var(--green-700);
  font-size: 11px;
  margin-bottom: 5px;
}

.tabs button:hover {
  background: var(--green-50);
}

.tabs button.on {
  background: var(--green-50);
  color: var(--ink);
}

.tabs button.on .n {
  color: var(--green);
}

.hiw-body {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 0;
}

.hiw-vis {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--porcelain));
}

.hiw-vis svg {
  display: block;
  width: 100%;
  height: auto;
}

.hiw-txt {
  padding: 30px 28px;
  text-align: left;
}

.hiw-txt h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}

.hiw-txt p {
  font-size: 15px;
  color: var(--muted);
}

.hiw-txt .meta {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--green-700);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

@media(max-width:860px) {
  .hiw-body {
    grid-template-columns: 1fr;
  }
  .hiw-vis {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .tabs button {
    font-size: 11px;
    padding: 13px 8px;
  }
}

/* ---------- Pangnostics double-column interactive panel ---------- */
.ix {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
  text-align: left;
}

.ix .panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 22px;
}

.ix svg {
  display: block;
  width: 100%;
  height: auto;
}

.ix h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}

.ix p {
  font-size: 15.5px;
  color: var(--muted);
}

.ix .ctl {
  margin-top: 22px;
  padding: 0;
  border-top: none;
  background: none;
}

.ix .ctl label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 10px;
}

.ix .ctl label b {
  color: var(--ink);
}

.ix .ctl input[type=range] {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}

.ix .reads {
  margin-top: 22px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ix .read {
  border-left: 2px solid var(--green);
  padding-left: 13px;
}

.ix .read .n {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.ix .read .l {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-top: 5px;
}

.ix.rev {
  grid-template-columns: .75fr 1.25fr;
}

.ix.rev .copy {
  order: -1;
}

@media(max-width:860px) {
  .ix, .ix.rev {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ix.rev .copy {
    order: 0;
  }
}

/* ---------- grids of 3 cards ---------- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  text-align: left;
}

.cell {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.cell:nth-child(3n) {
  border-right: none;
}

.grid3 .cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.cell .ic {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.cell h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.cell p {
  font-size: 14px;
  color: var(--muted);
}

@media(max-width:820px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .cell:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .cell:nth-child(2n) {
    border-right: none;
  }
  .grid3 .cell:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
  .grid3 .cell:nth-last-child(-n+1) {
    border-bottom: none;
  }
}

@media(max-width:540px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
  .cell {
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }
  .grid3 .cell:last-child {
    border-bottom: none !important;
  }
}

/* ---------- standards strip ---------- */
.standards {
  background: var(--charcoal);
  color: #E8EDE9;
  border-radius: 16px;
  padding: 40px;
  text-align: left;
}

.standards .eyebrow {
  color: #7FD79B;
}

.standards .eyebrow::before {
  background: #7FD79B;
}

.standards h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
}

.standards p {
  color: #B6C2BB;
  font-size: 15px;
  max-width: 70ch;
}

.schips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.schip {
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 8px 14px;
  color: #CDD6D0;
}

.schip b {
  color: #9BE6B6;
  font-weight: 500;
}

.cta.green-style {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 50px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta.green-style h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  max-width: 20ch;
}

.cta .row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .ghost {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  background: transparent;
  transition: all .2s;
  display: inline-block;
}

.cta .ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- inline keyframes animation classes ---------- */
@keyframes breathe {
  0%, 100% {
    opacity: .5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

.pulse {
  transform-origin: center;
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50px);
  }
}

.flow circle {
  animation: drift 2.4s linear infinite;
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .pulse,
  .flow circle {
    animation: none;
  }
}
/* stat strip */
.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
.stats .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:24px}
.stat+.stat{border-left:1px solid var(--line)}
.stat .v{font-family:var(--serif);font-size:28px;letter-spacing:-.02em}
.stat .v span{color:var(--green-700)}
.stat .k{font-family:var(--mono);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-top:6px}
@media(max-width:760px){.stats .wrap{grid-template-columns:1fr 1fr}.stat:nth-child(3){border-left:none}.stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid var(--line)}.stat:nth-child(3),.stat:nth-child(4){border-left:1px solid var(--line)}.stat:nth-child(3){border-left:none}}

/* how-it-works tabs */
.hiw{border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}
.tabs{display:flex;border-bottom:1px solid var(--line)}
.tabs button{flex:1;background:none;border:none;border-right:1px solid var(--line);padding:16px 14px;cursor:pointer;font-family:var(--mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);transition:.15s;text-align:left}
.tabs button:last-child{border-right:none}
.tabs button .n{display:block;color:var(--green-700);font-size:11px;margin-bottom:5px}
.tabs button:hover{background:var(--green-50)}
.tabs button.on{background:var(--green-50);color:var(--ink)}
.tabs button.on .n{color:var(--green)}
.hiw-body{display:grid;grid-template-columns:1.3fr .7fr;gap:0}
.hiw-vis{padding:28px;border-right:1px solid var(--line);background:linear-gradient(180deg,#fff,var(--porcelain))}
.hiw-vis svg{display:block;width:100%;height:auto}
.hiw-txt{padding:30px 28px}
.hiw-txt h3{font-family:var(--serif);font-size:23px;font-weight:500;letter-spacing:-.01em;margin-bottom:12px}
.hiw-txt p{font-size:15px;color:var(--muted)}
.hiw-txt .meta{margin-top:18px;font-family:var(--mono);font-size:11.5px;color:var(--green-700);border-top:1px solid var(--line);padding-top:14px}
@media(max-width:860px){.hiw-body{grid-template-columns:1fr}.hiw-vis{border-right:none;border-bottom:1px solid var(--line)}.tabs button{font-size:11px;padding:13px 8px}}

/* interactive blocks (light) */
.ix{display:grid;grid-template-columns:1.25fr .75fr;gap:36px;align-items:center}
.ix .panel{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:22px}
.ix svg{display:block;width:100%;height:auto}
.ix h3{font-family:var(--serif);font-size:26px;font-weight:500;letter-spacing:-.01em;margin-bottom:12px}
.ix p{font-size:15.5px;color:var(--muted)}
.ctl{margin-top:22px}
.ctl label{display:flex;justify-content:space-between;font-family:var(--mono);font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:10px}
.ctl label b{color:var(--ink)}
.ctl input[type=range]{width:100%;accent-color:var(--green);cursor:pointer}
.reads{margin-top:22px;display:flex;gap:22px;flex-wrap:wrap}
.read{border-left:2px solid var(--green);padding-left:13px}
.read .n{font-family:var(--serif);font-size:26px;line-height:1;font-variant-numeric:tabular-nums}
.read .l{font-family:var(--mono);font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-top:5px}
.ix.rev{grid-template-columns:.75fr 1.25fr}
.ix.rev .copy{order:-1}
@media(max-width:860px){.ix,.ix.rev{grid-template-columns:1fr;gap:22px}.ix.rev .copy{order:0}}

/* feature grids */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper)}
.cell{padding:26px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.cell:nth-child(3n){border-right:none}
.grid3 .cell:nth-last-child(-n+3){border-bottom:none}
.cell .ic{width:40px;height:40px;margin-bottom:16px}
.cell h4{font-family:var(--serif);font-size:19px;font-weight:500;margin-bottom:8px;letter-spacing:-.01em}
.cell p{font-size:14px;color:var(--muted)}
@media(max-width:820px){.grid3{grid-template-columns:1fr 1fr}.cell:nth-child(3n){border-right:1px solid var(--line)}.cell:nth-child(2n){border-right:none}.grid3 .cell:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.grid3 .cell:nth-last-child(-n+1){border-bottom:none}}
@media(max-width:540px){.grid3{grid-template-columns:1fr}.cell{border-right:none!important;border-bottom:1px solid var(--line)!important}.grid3 .cell:last-child{border-bottom:none!important}}

/* standards strip */
.standards{background:var(--charcoal);color:#E8EDE9;border-radius:16px;padding:40px}
.standards .eyebrow{color:#7FD79B}.standards .eyebrow::before{background:#7FD79B}
.standards h3{font-family:var(--serif);font-weight:400;font-size:26px;color:#fff;margin-bottom:10px}
.standards p{color:#B6C2BB;font-size:15px;max-width:70ch}
.schips{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.schip{font-family:var(--mono);font-size:12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 14px;color:#CDD6D0}
.schip b{color:#9BE6B6;font-weight:500}

/* Capgrid */
.capgrid{display:grid;grid-template-columns:.82fr 1.18fr;gap:50px;align-items:center}
.cap.alt .capgrid{grid-template-columns:1.18fr .82fr}
.cap.alt .capgrid .copy{order:2}
@media(max-width:880px){.capgrid,.cap.alt .capgrid{grid-template-columns:1fr;gap:26px}.cap.alt .capgrid .copy{order:0}}

/* ==========================================
   Error pages (404 / 500 / 403 / 419 / 503)
   Theme-aware, always visible (no motion gating)
   ========================================== */
.errpage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 70px);
  padding: 96px 0 110px;
  overflow: hidden;
}

.errpage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% 12%, rgba(201, 154, 46, .12), transparent 70%),
    radial-gradient(1200px 800px at 12% 88%, rgba(31, 166, 78, .10), transparent 72%);
}

.errpage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(22, 32, 28, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(52% 60% at 50% 46%, #000, transparent 88%);
  mask-image: radial-gradient(52% 60% at 50% 46%, #000, transparent 88%);
}

.errpage-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.errpage .errcode {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  z-index: -1;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(140px, 24vw, 260px);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--ink);
  opacity: .06;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.errpage h1 {
  margin-top: 8px;
}

.errpage .lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}

.errpage .actions {
  justify-content: center;
}

/* ==========================================================================
   MOBILE OPTIMIZATION LAYER
   Additive, mobile-only refinements. Every rule below lives inside a
   max-width media query (the single exception is scroll-margin-top, which
   only shifts anchor-scroll position and has no visual effect), so the
   desktop view (>860px) is intentionally left exactly as it was.
   ========================================================================== */

/* Fixed nav no longer hides headings that in-page/menu links jump to */
:where(section, header, footer)[id],
[id].sec,
[id].svc,
[id].cap-section {
  scroll-margin-top: 84px;
}

/* ---- Tablet & large phones ---- */
@media (max-width: 860px) {
  /* Edge-aware container: stop 64px of side padding squeezing narrow screens */
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .mobnav {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Calmer vertical rhythm */
  .sec {
    padding: 56px 0;
  }
  .sec.pd {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .sec-head {
    margin-bottom: 32px;
  }
  .svc,
  .cap-section {
    padding: 54px 0;
  }
  footer {
    padding: 56px 0 36px;
  }

  /* Roomy panels shouldn't over-pad once space is tight */
  .cta,
  .cta.green-style {
    padding: 40px 30px;
  }
  .standards {
    padding: 32px 26px;
  }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .mobnav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sec {
    padding: 44px 0;
  }
  .sec.pd {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  .sec-head {
    margin-bottom: 26px;
  }
  .svc,
  .cap-section {
    padding: 42px 0;
  }
  footer {
    padding: 44px 0 32px;
  }

  /* De-clutter the fixed header — the CTA already lives in the burger menu */
  .navcta {
    display: none;
  }
  nav .brand img {
    height: 46px !important;
  }

  /* Thumb-friendly, full-width primary actions */
  .hero .actions {
    gap: 16px;
  }
  .hero .actions .btn {
    width: 100%;
    text-align: center;
  }

  .cta,
  .cta.green-style {
    padding: 32px 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .cta h3,
  .cta.green-style h3,
  .cta.light-cta h3 {
    max-width: none;
  }
  .cta .row {
    width: 100%;
  }
  .cta .btn,
  .cta .ghost {
    width: 100%;
    text-align: center;
  }

  /* Forms & cards breathe a little less */
  .form {
    padding: 22px 20px;
  }
  .hw {
    padding: 22px 20px;
  }
  .standards {
    padding: 26px 20px;
  }
  .floor {
    padding: 20px 18px 14px;
  }
}

/* ---- Small phones ---- */
@media (max-width: 400px) {
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .mobnav {
    padding-left: 15px;
    padding-right: 15px;
  }
  h1 {
    font-size: 33px;
  }
}

/* ---- Footer ---- */
/* Tablet: brand spans the top; the three link groups share an even 3-col row
   (replaces the cramped desktop 4-col that squeezed the Contact column). */
@media (max-width: 860px) {
  .fgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 24px;
  }
  .fbrand {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
  .fbrand p {
    max-width: 52ch;
  }
}

/* Phones: single, comfortably readable column so link lists and the
   address never get squeezed; footer credits stack instead of colliding. */
@media (max-width: 560px) {
  .fgrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .fbot {
    flex-direction: column;
    gap: 6px;
  }
}
