:root {
  color-scheme: dark;
  --bg: #03070d;
  --bg-soft: #07101b;
  --panel: rgba(8, 16, 28, 0.78);
  --panel-strong: rgba(11, 22, 37, 0.95);
  --line: rgba(130, 164, 214, 0.18);
  --line-strong: rgba(130, 164, 214, 0.32);
  --text: #f4f8ff;
  --muted: #9eabba;
  --blue: #0875ff;
  --blue-soft: #54a2ff;
  --ink: #05080e;
  --success: #37d399;
  --danger: #ff6b7a;
  --radius: 8px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 6%, rgba(10, 96, 203, 0.16), transparent 28rem),
    linear-gradient(180deg, #02050a 0%, #07101b 46%, #02050a 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body:has(.hero) main {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body:has(.hero) main::before,
body:has(.hero) main::after {
  position: absolute;
  left: 50%;
  z-index: 0;
  width: 100vw;
  pointer-events: none;
  content: "";
  transform: translateX(-50%);
}

body:has(.hero) main::before {
  top: 0;
  bottom: 0;
  background-image:
    url("/assets/images/overlays/vexa-left-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-right-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-border-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-left-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-right-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-border-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-left-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-right-artifacts-clean.png"),
    url("/assets/images/overlays/vexa-border-artifacts-clean.png");
  background-repeat: no-repeat;
  background-position:
    left top 590px,
    right top 560px,
    center top 760px,
    left -8vw top 1240px,
    right -7vw top 1510px,
    center top 1780px,
    left -5vw top 2210px,
    right -9vw top 2520px,
    center top 3060px;
  background-size:
    min(50vw, 820px) auto,
    min(52vw, 860px) auto,
    min(88vw, 1360px) auto,
    min(40vw, 660px) auto,
    min(42vw, 700px) auto,
    min(72vw, 1120px) auto,
    min(34vw, 560px) auto,
    min(38vw, 620px) auto,
    min(64vw, 980px) auto;
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.02);
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0, #000 7%, #000 94%, transparent 100%),
    linear-gradient(90deg, #000 0, #000 18%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.36) 58%, #000 82%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0, #000 7%, #000 94%, transparent 100%),
    linear-gradient(90deg, #000 0, #000 18%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.36) 58%, #000 82%, #000 100%);
  mask-composite: intersect;
  animation: bioPulse 18s ease-in-out infinite alternate;
}

body:has(.hero) main::after {
  top: 560px;
  bottom: 0;
  background:
    radial-gradient(circle at left 14%, rgba(8, 117, 255, 0.12), transparent 31rem),
    radial-gradient(circle at right 22%, rgba(8, 117, 255, 0.15), transparent 34rem),
    radial-gradient(circle at left 46%, rgba(8, 117, 255, 0.08), transparent 30rem),
    radial-gradient(circle at right 64%, rgba(8, 117, 255, 0.1), transparent 32rem),
    radial-gradient(circle at left 82%, rgba(8, 117, 255, 0.07), transparent 28rem),
    linear-gradient(180deg, transparent 0, rgba(8, 117, 255, 0.06) 18%, rgba(8, 117, 255, 0.035) 48%, rgba(8, 117, 255, 0.045) 76%, transparent 100%);
  opacity: 0.66;
}

body:has(.hero) main > section {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 10, 0.82);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section,
.footer-grid,
.footer-disclaimer,
.footer-bottom {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.nav-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  letter-spacing: 0;
  min-width: 0;
}

.brand-logo {
  width: 194px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(84, 162, 255, 0.14));
  transform: translateZ(0);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #d6deea;
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.icon-link,
.menu-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f8fbff;
  background: transparent;
  cursor: pointer;
}

.icon-link:hover,
.menu-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.menu-button {
  display: none;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 0;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 99px;
  color: #fff;
  background: var(--blue);
  font-size: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0875ff, #005ee6);
  box-shadow: 0 12px 34px rgba(8, 117, 255, 0.28);
}

.btn.full {
  width: 100%;
}

.section {
  padding-block: 72px;
}

.hero {
  position: relative;
  min-height: clamp(720px, calc(100vh - 88px), 1352px);
  display: grid;
  align-items: start;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #02070d;
  background-image: url("/assets/overlays/vexa-hero-composite-background-no-text.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.62) 0%, rgba(2, 5, 10, 0.4) 32%, rgba(2, 5, 10, 0.08) 58%, rgba(2, 5, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 5, 10, 0.02) 0%, transparent 24%, transparent 68%, rgba(3, 7, 13, 0.42) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 210px;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(3, 7, 13, 1) 0, rgba(3, 7, 13, 0.72) 35%, rgba(3, 7, 13, 0.2) 76%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - clamp(112px, 11vw, 260px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 650px);
  align-items: center;
  justify-content: start;
  padding-top: clamp(112px, 14vh, 210px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p,
dd,
span,
strong,
a,
label {
  min-width: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 6.15em;
  font-size: clamp(3.35rem, 5.6vw, 5.75rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.accent {
  color: var(--blue);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero .lead {
  max-width: 580px;
}

.hero-actions,
.card-actions,
.purchase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  color: #c2cfdf;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  white-space: nowrap;
}

.trust-row svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.hero-media {
  display: none;
}

.hero-media::before {
  position: absolute;
  inset: 12% -10% 6% 10%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 70% 48%, rgba(8, 117, 255, 0.2), transparent 35%),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.08), transparent 42%);
  filter: blur(32px);
}

.hero-art-shell {
  position: absolute;
  top: 50%;
  right: clamp(-240px, -12vw, -120px);
  width: min(68vw, 1180px);
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  transform: translateY(-50%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 16%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 16%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.hero-art-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 1), rgba(3, 7, 13, 0.62) 11%, transparent 27%, transparent 80%, rgba(3, 7, 13, 0.7)),
    linear-gradient(180deg, rgba(3, 7, 13, 0.82), transparent 18%, transparent 72%, rgba(3, 7, 13, 0.92));
}

.hero-final-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: contrast(1.06) saturate(1.03);
}

.hero-vial {
  position: absolute;
  filter: drop-shadow(0 36px 64px rgba(0, 0, 0, 0.7));
}

.hero-vial-front {
  width: min(48vw, 590px);
  right: -18px;
  bottom: -4px;
}

.hero-lab-sheen {
  position: absolute;
  right: 8%;
  bottom: 11%;
  width: 72%;
  height: 42%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(12, 35, 64, 0), rgba(34, 117, 215, 0.22), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0));
  filter: blur(28px);
  transform: rotate(-9deg);
}

.proof-band {
  position: relative;
  z-index: 3;
  margin-top: -48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(5, 12, 22, 0.84);
  box-shadow: var(--shadow);
}

.proof-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item svg {
  color: #eaf3ff;
  width: 30px;
  height: 30px;
}

.proof-item strong {
  display: block;
}

.proof-item span {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-soft);
  font-weight: 600;
}

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

.section-copy {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.research-category-section,
.research-tools-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(35, 70, 116, 0.26);
  background: transparent;
}

.research-category-section {
  width: min(1160px, calc(100% - 48px));
  padding-block: 56px 46px;
}

.research-tools-section {
  width: min(1160px, calc(100% - 64px));
  padding-block: 38px 50px;
}

.research-category-section::before,
.research-category-section::after,
.research-tools-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.research-category-section::before {
  background: url("/assets/images/overlays/vexa-left-artifacts-clean.png") left 8% / min(46vw, 640px) auto no-repeat;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 38%, transparent 70%);
  mask-image: linear-gradient(90deg, #000 0, #000 38%, transparent 70%);
}

.research-category-section::after {
  background: url("/assets/images/overlays/vexa-right-artifacts-clean.png") right 10% / min(46vw, 640px) auto no-repeat;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 68%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 68%, #000 100%);
}

.research-tools-section::before {
  background: url("/assets/images/overlays/vexa-border-artifacts-clean.png") center top / min(100%, 980px) auto no-repeat;
  opacity: 0;
}

.research-category-section > *,
.research-tools-section > * {
  position: relative;
  z-index: 1;
}

.research-category-section .section-head {
  margin-bottom: 28px;
}

.research-category-section h2,
.research-tools-section h2 {
  font-size: clamp(1.9rem, 2.5vw, 2.55rem);
}

.research-category-section .section-copy {
  max-width: 620px;
  font-size: 0.92rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.tool-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(9, 19, 34, 0.86), rgba(4, 10, 18, 0.82));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.category-card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border-color: rgba(130, 164, 214, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 25, 43, 0.72), rgba(4, 9, 17, 0.88)),
    radial-gradient(circle at 82% 10%, rgba(8, 117, 255, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(8, 117, 255, 0.05),
    0 18px 54px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.category-card::before,
.category-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.category-card::before {
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 162, 255, 0.54), transparent);
  opacity: 0.42;
}

.category-card::after {
  inset: -28% -18% auto auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(8, 117, 255, 0.16), transparent 66%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.tool-card:hover {
  border-color: rgba(45, 128, 255, 0.44);
  background:
    linear-gradient(180deg, rgba(12, 27, 48, 0.9), rgba(4, 10, 18, 0.82));
  box-shadow: 0 18px 58px rgba(8, 117, 255, 0.08);
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 162, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(15, 31, 54, 0.78), rgba(4, 9, 17, 0.92)),
    radial-gradient(circle at 78% 8%, rgba(8, 117, 255, 0.16), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 22px 64px rgba(0, 0, 0, 0.25),
    0 0 34px rgba(8, 117, 255, 0.08);
}

.category-card:hover::after {
  opacity: 1;
}

.category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.category-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(84, 162, 255, 0.22);
  border-radius: 8px;
  color: #62adff;
  background:
    linear-gradient(180deg, rgba(8, 117, 255, 0.1), rgba(8, 117, 255, 0.035)),
    rgba(3, 8, 15, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 22px rgba(8, 117, 255, 0.05);
}

.category-index {
  color: rgba(159, 197, 245, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tool-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--blue);
}

.category-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}

.tool-icon svg {
  width: 100%;
  height: 100%;
}

.tool-card p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.44;
}

.category-card p {
  margin-bottom: 18px;
  color: #a7b5c8;
  font-size: 0.88rem;
  line-height: 1.55;
}

.category-card h3 {
  margin-bottom: 10px;
  color: #f7fbff;
  font-size: 1.02rem;
  line-height: 1.22;
}

.category-card .text-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(130, 164, 214, 0.12);
  color: #6fb5ff;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
}

.tool-card .tool-icon {
  margin-bottom: 0;
}

.calculator-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(8, 117, 255, 0.17), transparent 29rem),
    radial-gradient(circle at 82% 28%, rgba(8, 117, 255, 0.12), transparent 33rem),
    linear-gradient(180deg, #02060d 0%, #07111e 48%, #02060d 100%);
}

.calculator-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 74%);
}

.calculator-page::after {
  position: absolute;
  right: -8vw;
  bottom: 4%;
  width: min(52vw, 760px);
  height: min(34vw, 500px);
  pointer-events: none;
  content: "";
  background: url("/assets/images/overlays/vexa-border-artifacts-clean.png") center / contain no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.calculator-page > section {
  position: relative;
  z-index: 1;
}

.calculator-intro {
  padding-top: 74px;
  padding-bottom: 26px;
}

.calculator-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.calculator-title-lockup {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.calculator-title-lockup img {
  width: 178px;
  max-height: 72px;
  object-fit: contain;
}

.calculator-title-lockup > span {
  width: 1px;
  height: 58px;
  background: rgba(130, 164, 214, 0.38);
}

.calculator-title-lockup h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
}

.calculator-title-lockup .lead {
  max-width: 760px;
}

.calculator-ruo-card,
.calculator-panel,
.calc-disclaimer-card {
  border: 1px solid rgba(130, 164, 214, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(9, 20, 35, 0.86), rgba(4, 10, 18, 0.92)),
    radial-gradient(circle at 12% 0, rgba(8, 117, 255, 0.16), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 78px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.calculator-ruo-card {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 14px;
  align-items: center;
  min-width: 300px;
  padding: 18px;
}

.calculator-ruo-card svg,
.calc-disclaimer-card svg {
  color: var(--blue-soft);
}

.calculator-ruo-card strong {
  display: block;
  margin-bottom: 4px;
}

.calculator-ruo-card span {
  color: var(--muted);
}

.calculator-workbench {
  padding-top: 24px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(390px, 0.76fr);
  gap: 26px;
  align-items: start;
}

.calculator-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 34px);
}

.calculator-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 0, rgba(8, 117, 255, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 28%);
  opacity: 0.75;
}

.calculator-panel > * {
  position: relative;
  z-index: 1;
}

.calculator-card {
  display: grid;
  gap: 26px;
}

.calc-group {
  display: grid;
  gap: 16px;
}

.calc-group-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 1.6vw, 1.9rem);
}

.syringe-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.calc-option {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 64px;
  padding: 18px;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  border: 1px solid rgba(130, 164, 214, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.86), rgba(5, 11, 20, 0.92)),
    radial-gradient(circle at 80% 0, rgba(8, 117, 255, 0.14), transparent 12rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.calc-option:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 162, 255, 0.48);
}

.calc-option.is-active {
  border-color: rgba(8, 117, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(10, 35, 67, 0.92), rgba(5, 13, 25, 0.94)),
    radial-gradient(circle at 80% 0, rgba(8, 117, 255, 0.26), transparent 12rem);
  box-shadow: 0 0 0 1px rgba(8, 117, 255, 0.18), 0 16px 44px rgba(8, 117, 255, 0.14);
}

.calc-option-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(130, 164, 214, 0.48);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.74);
}

.calc-option.is-active .calc-option-check {
  border-color: rgba(8, 117, 255, 0.95);
  background: var(--blue);
}

.calc-option.is-active .calc-option-check::after {
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.calc-option-title,
.calc-option strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.calc-option-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.syringe-card {
  min-height: 310px;
}

.syringe-visual {
  display: grid;
  align-self: center;
  justify-self: center;
  width: 74px;
  height: 164px;
  margin: 4px 0 8px;
  place-items: center;
  color: #dbe7f7;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
}

.syringe-visual svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.syringe-visual--short {
  transform: scale(0.92);
}

.syringe-visual--tall {
  transform: scale(1.04);
}

.syringe-cap,
.syringe-end {
  fill: #ff7d22;
  stroke: #ff9a4e;
}

.syringe-bar {
  fill: rgba(241, 246, 255, 0.82);
  stroke: rgba(255, 255, 255, 0.68);
}

.syringe-plunger {
  fill: #e7eef9;
  stroke: #fff;
}

.syringe-line,
.syringe-needle {
  stroke: rgba(3, 7, 13, 0.7);
}

.calc-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(130, 164, 214, 0.16);
  color: var(--muted);
}

.calc-card-foot strong {
  color: var(--text);
}

.calc-option--compact {
  align-content: center;
  min-height: 310px;
}

.calc-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.calc-visual-row {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.calc-product-visual {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 172px;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(130, 164, 214, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 78%, rgba(8, 117, 255, 0.36), transparent 48%),
    linear-gradient(180deg, rgba(9, 22, 39, 0.78), rgba(2, 6, 12, 0.92));
}

.calc-product-visual::before,
.calc-product-visual::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.calc-product-visual::before {
  inset: 16px 14px 34px;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(84, 162, 255, 0.48), rgba(8, 117, 255, 0.16) 36%, transparent 70%),
    linear-gradient(90deg, transparent, rgba(84, 162, 255, 0.16), transparent);
  filter: blur(8px);
}

.calc-product-visual::after {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.18), transparent 22%, transparent 70%, rgba(4, 10, 18, 0.28)),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(4, 10, 18, 0.4) 100%);
}

.calc-product-visual img {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 128px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(8, 117, 255, 0.16));
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 46%, rgba(0, 0, 0, 0.84) 63%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 46%, rgba(0, 0, 0, 0.84) 63%, transparent 88%);
}

.calc-product-visual--water img {
  width: 114px;
  height: 136px;
}

.calc-product-visual figcaption {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.pill-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pill-option-grid--wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pill-option-grid--aliquot {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pill-option-grid .calc-option {
  align-content: center;
  min-height: 84px;
  padding-right: 48px;
}

.calc-custom-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid rgba(84, 162, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(2, 8, 15, 0.9);
  box-shadow: 0 0 0 1px rgba(8, 117, 255, 0.12);
}

.calculator-results {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 22px;
}

.calc-result-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(8, 117, 255, 0.28);
  border-radius: var(--radius);
  background: radial-gradient(circle at 0 50%, rgba(8, 117, 255, 0.2), transparent 18rem);
}

.calc-result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--blue-soft);
  border: 1px solid rgba(84, 162, 255, 0.34);
  border-radius: 999px;
  background: rgba(8, 117, 255, 0.12);
  box-shadow: 0 0 34px rgba(8, 117, 255, 0.28);
}

.calc-result {
  margin: 0;
  color: #dce8f7;
  font-size: clamp(1.22rem, 1.5vw, 1.65rem);
  font-weight: 750;
  line-height: 1.45;
}

.calc-output {
  display: grid;
  gap: 0;
  border: 1px solid rgba(130, 164, 214, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.calc-output div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(130, 164, 214, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.calc-output div:last-child {
  border-bottom: 0;
}

.calc-output span {
  color: var(--muted);
}

.calc-output strong {
  font-size: 1.08rem;
}

.draw-guide {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(84, 162, 255, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 42%, rgba(8, 117, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(9, 20, 35, 0.72), rgba(4, 10, 18, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.draw-guide::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
}

.draw-guide-head,
.draw-guide-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draw-guide-head strong {
  color: var(--blue-soft);
}

.u100-ruler {
  position: relative;
  z-index: 1;
  height: 130px;
  overflow: visible;
  border: 1px solid rgba(84, 162, 255, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 117, 255, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.u100-fill {
  position: absolute;
  left: 0;
  bottom: 48px;
  width: 0;
  height: 24px;
  border-radius: 4px 2px 2px 4px;
  background: linear-gradient(90deg, #0875ff, #54a2ff);
  box-shadow: 0 0 18px rgba(8, 117, 255, 0.42);
  transition: width 0.18s ease;
}

.u100-marker {
  position: absolute;
  bottom: 36px;
  left: 0;
  z-index: 3;
  width: 2px;
  height: 58px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(8, 117, 255, 0.5);
  transform: translateX(-50%);
  transition: left 0.18s ease;
}

.u100-marker::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 8px solid var(--blue-soft);
  transform: translate(-50%, -1px);
}

.u100-marker span {
  position: absolute;
  left: 50%;
  bottom: 62px;
  min-width: 74px;
  padding: 7px 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  border-radius: 7px;
  background: linear-gradient(180deg, #54a2ff, #0875ff);
  box-shadow: 0 10px 30px rgba(8, 117, 255, 0.32);
  transform: translateX(-50%);
}

.u100-ticks {
  position: absolute;
  inset: 30px 0 22px;
}

.u100-tick {
  position: absolute;
  bottom: 18px;
  width: 1px;
  height: 16px;
  background: rgba(206, 220, 241, 0.44);
}

.u100-tick.is-major {
  height: 38px;
  background: rgba(238, 246, 255, 0.78);
}

.u100-tick em {
  position: absolute;
  top: 44px;
  left: 0;
  color: #c9d7ea;
  font-style: normal;
  font-size: 0.82rem;
  transform: translateX(-50%);
}

.u100-tick:first-child em {
  transform: translateX(0);
}

.u100-tick:last-child em {
  transform: translateX(-100%);
}

.calc-warning {
  padding: 14px;
  border: 1px solid rgba(255, 199, 87, 0.34);
  border-radius: var(--radius);
  color: #ffe0a3;
  background: rgba(255, 199, 87, 0.08);
}

.calc-disclaimer-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.calc-disclaimer-card p {
  margin: 0;
}

.calculator-disclaimer {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 17, 29, 0.9), rgba(3, 8, 15, 0.98));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(84, 162, 255, 0) 0%, rgba(11, 124, 255, 0.8) 50%, rgba(84, 162, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(11, 124, 255, 0.18), 0 0 0 1px rgba(84, 162, 255, 0.2);
}

.product-card:hover::after {
  opacity: 1;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 258px;
  padding: 16px;
  overflow: hidden;
  background: #010408;
}

.product-art::before {
  position: absolute;
  inset: 12%;
  content: "";
  background: radial-gradient(circle, rgba(8, 117, 255, 0.18), transparent 62%);
  filter: blur(18px);
}

.product-art img {
  position: relative;
  z-index: 1;
  width: min(104%, 260px);
  transition: transform 0.24s ease;
}

.product-card:hover .product-art img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 15px 25px rgba(11, 124, 255, 0.2)) brightness(1.1);
}

.product-copy {
  min-width: 0;
  padding: 20px;
}

.product-copy p:not(.eyebrow) {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-copy p.product-subtitle,
.detail-copy .product-subtitle {
  min-height: 0;
  margin-top: 6px;
  color: var(--blue-soft);
  font-weight: 700;
}

.product-meta,
.summary-box > div,
.summary-line,
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  min-width: 0;
  flex-wrap: wrap;
}

.product-meta span,
.summary-box > div span,
.summary-box > div strong,
.summary-line span,
.summary-line strong,
.checkout-item span,
.checkout-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-meta {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.product-meta strong,
.summary-box strong,
.checkout-item strong {
  color: var(--text);
}

.mini-cart,
.text-button {
  border: 0;
  color: var(--blue-soft);
  background: transparent;
  cursor: pointer;
}

.mini-cart {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: center;
}

.lab-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.lab-scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 16, 28, 0.7);
}

.stat {
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--blue-soft);
  font-size: 1.6rem;
}

.stat span {
  color: var(--muted);
}

.page-hero {
  padding-block: 82px 38px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.shop-toolbar,
.form-card,
.summary-box,
.content-card,
.table-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 62px rgba(0, 0, 0, 0.18);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  width: min(100%, 360px);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-box input,
.category-filter,
.form-card input,
.form-card textarea,
.form-card select,
.purchase-row input,
.cart-line input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  outline: 0;
}

.search-box input {
  min-height: 48px;
  padding: 0 16px 0 44px;
}

.category-filter {
  min-height: 48px;
  width: min(100%, 260px);
  padding: 0 16px;
}

.mini-cart:disabled,
.btn:disabled {
  cursor: default;
  opacity: 0.62;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.detail-copy {
  min-width: 0;
}

.detail-copy .lead {
  max-width: 62ch;
}

.detail-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.detail-gallery {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #010408;
}

.detail-gallery::before {
  position: absolute;
  inset: 12% 8%;
  content: "";
  background: radial-gradient(circle, rgba(8, 117, 255, 0.16), transparent 64%);
  filter: blur(26px);
}

.detail-gallery img {
  position: relative;
  z-index: 1;
  width: min(96%, 560px);
}

.detail-price {
  margin: 28px 0;
  font-size: 2rem;
  font-weight: 800;
}

.detail-price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.spec-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.spec-grid dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.spec-grid dd {
  margin: 6px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #c8d3e2;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  content: "";
  transform: rotate(-45deg);
}

.purchase-row label {
  display: grid;
  gap: 8px;
  width: 136px;
  color: var(--muted);
}

.purchase-row input,
.cart-line input {
  min-height: 48px;
  padding: 0 12px;
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 116px 1fr 92px auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 16, 28, 0.72);
}

.cart-line img {
  width: 100px;
  border-radius: var(--radius);
  background: #000;
}

.cart-line p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.summary-box {
  position: sticky;
  top: 112px;
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 24px;
}

.summary-total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.1rem;
}

.summary-box p,
.content-card p,
.empty-state p {
  color: var(--muted);
  line-height: 1.65;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 42px;
}

.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-card label {
  display: grid;
  gap: 8px;
  color: #d7e0ed;
}

.form-card input,
.form-card textarea,
.form-card select {
  min-height: 48px;
  padding: 0 14px;
}

.form-card textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.form-card .span-2 {
  grid-column: span 2;
}

.checkbox-row {
  display: flex !important;
  grid-column: span 2;
  align-items: start;
  gap: 10px;
  color: var(--muted) !important;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.payment-note {
  grid-column: span 2;
  padding: 16px;
  border: 1px solid rgba(55, 211, 153, 0.24);
  border-radius: var(--radius);
  color: #b9f8dd;
  background: rgba(55, 211, 153, 0.06);
  overflow-wrap: anywhere;
}

.status-line {
  margin-top: 18px;
  color: var(--blue-soft);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.content-card {
  padding: 26px;
}

.content-card strong {
  color: var(--text);
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 1.6rem;
}

.legal-copy li {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.table-card {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: #dce8f8;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 10, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-block: 46px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin-top: 10px;
}

.footer-grid h3 {
  margin-bottom: 12px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-logo {
  width: 184px;
}

.footer-disclaimer {
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: var(--blue-soft);
}

.footer-research-note {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-verification-locked {
  overflow: hidden;
}

.verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 4, 10, 0.78);
  backdrop-filter: blur(14px);
}

.verification-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  border: 1px solid rgba(130, 164, 214, 0.34);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(13, 25, 42, 0.98), rgba(4, 9, 17, 0.98)),
    var(--panel-strong);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.74);
}

.verification-modal::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-soft), transparent);
}

.verification-head,
.verification-copy,
.verification-checks,
.verification-actions {
  margin-inline: 36px;
}

.verification-head {
  padding-top: 34px;
}

.verification-head img {
  width: 184px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 22px rgba(84, 162, 255, 0.16));
}

.verification-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.verification-copy {
  margin-top: 18px;
  color: #c3cfdf;
  line-height: 1.65;
}

.verification-checks {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.verification-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #dbe6f4;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.55;
}

.verification-check:focus-within {
  border-color: rgba(84, 162, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(8, 117, 255, 0.14);
}

.verification-check input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.verification-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px 0 32px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.verification-exit {
  color: #ffd6dc;
  border-color: rgba(255, 107, 122, 0.38);
  background: rgba(255, 107, 122, 0.08);
}

.verification-enter:disabled {
  color: rgba(244, 248, 255, 0.58);
  border-color: rgba(130, 164, 214, 0.12);
  background: rgba(130, 164, 214, 0.16);
  box-shadow: none;
  cursor: not-allowed;
}

.verification-enter:disabled:hover {
  transform: none;
  border-color: rgba(130, 164, 214, 0.12);
}

@media (max-width: 1120px) {
  .research-category-section {
    width: min(1160px, calc(100% - 48px));
  }

  .research-category-section .section-copy {
    max-width: 620px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .nav-inner {
    grid-template-columns: auto auto;
  }

  .mobile-header-actions {
    display: inline-flex;
    justify-self: end;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.is-open,
  .nav-actions.is-open {
    grid-column: 1 / -1;
    display: flex;
    justify-self: stretch;
    flex-wrap: wrap;
  }

  .nav-actions.is-open .cart-link {
    display: none;
  }

  .hero-inner,
  .product-detail-grid,
  .cart-layout,
  .checkout-layout,
  .calculator-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .calculator-intro-grid,
  .calc-duo {
    grid-template-columns: 1fr;
  }

  .calculator-results {
    position: static;
  }

  .hero {
    min-height: max(680px, calc(100vh - 72px));
    padding: 72px 0 88px;
    background-position: 55% top;
    background-size: cover;
  }

  .hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(2, 5, 10, 0.28) 0%, rgba(2, 5, 10, 0.14) 38%, rgba(3, 7, 13, 0.68) 100%),
      linear-gradient(90deg, rgba(2, 5, 10, 0.7) 0%, rgba(2, 5, 10, 0.38) 56%, rgba(2, 5, 10, 0.18) 100%);
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

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

  .hero-inner {
    padding-top: 0;
  }

  .hero-art-shell {
    left: 50%;
    right: auto;
    width: min(112vw, 800px);
    transform: translate(-50%, -50%);
  }

  .hero-vial-front {
    width: min(100%, 560px);
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
  }

  .hero-lab-sheen {
    left: 12%;
    right: auto;
    width: 76%;
  }

  .proof-band,
  .product-grid,
  .category-grid,
  .tool-grid,
  .stats,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-category-section,
  .research-tools-section {
    width: min(100% - 48px, 1160px);
  }

  .research-category-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .research-category-section .section-copy {
    max-width: 620px;
  }

  .proof-item:nth-child(2n),
  .stat:nth-child(2n) {
    border-right: 0;
  }

  .summary-box {
    position: static;
  }
}

@media (max-width: 680px) {
  body:has(.hero) main::before {
    background-position:
      left -110px top 500px,
      right -130px top 620px,
      center top 780px,
      left -140px top 1160px,
      right -150px top 1380px,
      center top 1700px,
      left -150px top 2140px,
      right -160px top 2540px,
      center top 3020px;
    background-size:
      360px auto,
      390px auto,
      760px auto,
      320px auto,
      340px auto,
      680px auto,
      300px auto,
      330px auto,
      620px auto;
    opacity: 0.2;
  }

  body:has(.hero) main::after {
    top: 500px;
    bottom: 0;
    opacity: 0.38;
  }

  .nav-inner,
  .section,
  .footer-grid,
  .footer-disclaimer,
  .footer-bottom,
  .hero-inner {
    width: min(100% - 28px, 1160px);
  }

  .nav-inner {
    min-height: 72px;
  }

  .mobile-header-actions {
    gap: 6px;
  }

  .mobile-cart-link,
  .menu-button {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 156px;
    max-height: 46px;
  }

  .nav-cta {
    width: 100%;
  }

  .section {
    padding-block: 46px;
  }

  h1 {
    font-size: 3rem;
  }

  .calculator-intro {
    padding-top: 42px;
  }

  .calculator-intro-grid,
  .calculator-title-lockup,
  .calculator-ruo-card {
    grid-template-columns: 1fr;
  }

  .calculator-title-lockup {
    gap: 16px;
  }

  .calculator-title-lockup img {
    width: 164px;
  }

  .calculator-title-lockup > span {
    display: none;
  }

  .calculator-ruo-card {
    min-width: 0;
  }

  .calculator-panel {
    padding: 18px;
  }

  .syringe-option-grid,
  .pill-option-grid,
  .pill-option-grid--wide,
  .pill-option-grid--aliquot {
    grid-template-columns: 1fr;
  }

  .syringe-card,
  .calc-option--compact {
    min-height: 250px;
  }

  .calc-option--compact {
    min-height: 86px;
  }

  .calc-visual-row,
  .calc-visual-row--water {
    grid-template-columns: 1fr;
  }

  .calc-product-visual {
    min-height: 150px;
  }

  .calc-product-visual img,
  .calc-product-visual--water img {
    width: 108px;
    height: 116px;
  }

  .calc-result-hero,
  .calc-disclaimer-card,
  .calc-output div {
    grid-template-columns: 1fr;
  }

  .calc-output div {
    gap: 8px;
  }

  .draw-guide-head,
  .draw-guide-foot {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .u100-ruler {
    height: 108px;
  }

  .u100-marker span {
    min-width: 64px;
    font-size: 0.68rem;
  }

  .hero h1 {
    max-width: 8.4em;
    font-size: clamp(2.75rem, 12vw, 3.35rem);
  }

  .hero {
    min-height: max(940px, calc(100vh - 72px));
    padding: 58px 0 72px;
    background-position: 34% top;
    background-size: auto 100%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 5, 10, 0.52) 0%, rgba(2, 5, 10, 0.32) 46%, rgba(3, 7, 13, 0.82) 100%),
      linear-gradient(90deg, rgba(2, 5, 10, 0.82) 0%, rgba(2, 5, 10, 0.54) 100%);
    opacity: 1;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: block;
    width: min(100%, 520px);
    height: clamp(230px, 62vw, 295px);
    min-height: 0;
    margin: 32px 0 0 auto;
    pointer-events: none;
    opacity: 0.92;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 12%, #000 100%),
      linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 12%, #000 100%),
      linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }

  .hero-inner > div:first-child {
    position: relative;
    z-index: 3;
  }

  .hero-art-shell {
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-art-shell::after {
    background:
      linear-gradient(90deg, rgba(3, 7, 13, 0.75), rgba(3, 7, 13, 0.2) 28%, transparent 62%),
      linear-gradient(180deg, rgba(3, 7, 13, 0.44), transparent 32%, rgba(3, 7, 13, 0.4));
  }

  .hero-final-image {
    object-position: 58% 52%;
  }

  .hero-lab-sheen {
    display: none;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .trust-row span {
    white-space: normal;
  }

  .proof-band,
  .product-grid,
  .category-grid,
  .tool-grid,
  .stats,
  .content-grid,
  .form-grid,
  .footer-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child,
  .stat:last-child {
    border-bottom: 0;
  }

  .section-head,
  .shop-toolbar,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .cart-line {
    grid-template-columns: 78px 1fr;
  }

  .cart-line input,
  .cart-line strong {
    grid-column: 2;
  }

  .cart-line img {
    width: 72px;
  }

  .form-card .span-2,
  .checkbox-row,
  .payment-note {
    grid-column: auto;
  }

  .verification-overlay {
    padding: 14px;
  }

  .verification-head,
  .verification-copy,
  .verification-checks,
  .verification-actions {
    margin-inline: 18px;
  }

  .verification-head {
    padding-top: 26px;
  }

  .verification-head img {
    width: 154px;
    margin-bottom: 20px;
  }

  .verification-actions {
    flex-direction: column-reverse;
  }
}
/* ----------------------------- */
/* Biotech Animations           */
/* ----------------------------- */
@keyframes bioPulse {
  0% {
    opacity: 0.35;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: saturate(1.05) contrast(1.02) hue-rotate(0deg);
  }
  50% {
    opacity: 0.48;
    transform: translateX(-50%) translateY(-12px) scale(1.02);
    filter: saturate(1.15) contrast(1.06) hue-rotate(2deg);
  }
  100% {
    opacity: 0.38;
    transform: translateX(-50%) translateY(6px) scale(1.01);
    filter: saturate(1.05) contrast(1.04) hue-rotate(-2deg);
  }
}

.molecular-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(84, 162, 255, 0.4) 0%, transparent 70%);
  filter: blur(2px);
}

/* ----------------------------- */
/* Vexa Gradient System         */
/* ----------------------------- */

@keyframes gradientLoop {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vexa-text-gradient {
  background: linear-gradient(90deg, #F4F8FF 0%, #0B7CFF 35%, #0A4DB8 65%, #F4F8FF 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientLoop 6s linear infinite;
  display: inline-block;
}

.vexa-border-gradient {
  position: relative;
}

.vexa-border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, rgba(11, 124, 255, 0.1), rgba(10, 77, 184, 0.6), rgba(11, 124, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.vexa-glow-accent {
  position: relative;
}

.vexa-glow-accent::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(11, 124, 255, 0.2) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* ----------------------------- */

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(11, 124, 255, 0.3), transparent);
  margin-block: 2rem;
}
