:root {
  --navy-950: #040c1c;
  --navy-900: #07142b;
  --navy-800: #0b1f40;
  --navy-700: #12305f;
  --blue: #1a6bff;
  --blue-deep: #0d4fd6;
  --electric: #2fa8ff;
  --silver: #c9d3df;
  --silver-100: #eef2f7;
  --silver-50: #f6f8fb;
  --ink: #0a1a33;
  --muted: #4a5b75;
  --line: #d5dde8;
  --ok: #0f7a4a;
  --warn-bg: #fff6d6;
  --warn-line: #e3b200;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 20, 43, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 1.0625rem; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--electric); margin-bottom: 0.8rem; }

/* Staging ribbon */
.staging-bar { background: #ffd23f; color: #2a2100; font-size: 0.85rem; font-weight: 600; text-align: center; padding: 6px 12px; }

/* Header */
.site-header { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(47, 168, 255, 0.25); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.02em; }
.brand img { width: 48px; height: auto; }
.brand span small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--silver); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; padding: 8px 12px; border-radius: 8px; font: inherit; cursor: pointer; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a { white-space: nowrap; color: var(--silver); text-decoration: none; padding: 10px 9px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; background: rgba(47, 168, 255, 0.16); }
.primary-nav .btn { margin-left: 6px; padding: 10px 14px; font-size: 0.9rem; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; }
.btn-primary { background: linear-gradient(180deg, #2f7bff, var(--blue-deep)); color: #fff; box-shadow: 0 6px 18px rgba(26, 107, 255, 0.4); }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-secondary { background: transparent; color: #fff; border-color: var(--silver); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }
.on-light .btn-secondary, .btn-secondary.dark { color: var(--navy-800); border-color: var(--navy-700); }
.on-light .btn-secondary:hover, .btn-secondary.dark:hover { background: var(--silver-100); color: var(--navy-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(47,168,255,0.28), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; padding: 48px 0 40px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { color: #d3deec; }
.hero-banner { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(47,168,255,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.hero-banner img { width: 100%; }
.research-note { margin-top: 18px; font-size: 0.95rem; color: var(--silver); border-left: 3px solid var(--electric); padding-left: 12px; }
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 36px 0 34px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.4em; }
.page-hero .lead { color: #d3deec; margin-bottom: 0; }
.crumbs { font-size: 0.88rem; margin-bottom: 14px; color: var(--silver); }
.crumbs a { color: var(--silver); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }

/* Sections */
section { padding: 52px 0; }
.alt { background: var(--silver-50); }
.dark-band { background: var(--navy-900); color: #fff; }
.dark-band h2 { color: #fff; }
.dark-band .lead { color: #d3deec; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts strong { display: block; font-size: 1.15rem; color: var(--navy-700); }
.facts span { color: var(--muted); font-size: 0.95rem; }
.strip { background: var(--silver-100); padding: 26px 0; border-bottom: 1px solid var(--line); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.3em; }
.card h3 a { color: var(--navy-800); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .price-big { font-size: 1.9rem; font-weight: 800; color: var(--navy-700); margin: 6px 0 2px; }
.card .meta { color: var(--muted); font-size: 0.95rem; }
.card .btn-row { margin-top: auto; padding-top: 14px; }
.card .btn { padding: 11px 16px; font-size: 0.95rem; }
.vial-art { background: radial-gradient(circle at 50% 35%, #eaf3ff, #cfe0f5); border-radius: 12px; padding: 14px 0 8px; margin-bottom: 14px; }
.vial-art svg { width: 100%; max-width: 150px; height: 150px; margin: 0 auto; display: block; }
.vial-art figcaption, figure.vial-art figcaption { text-align: center; font-size: 0.78rem; color: var(--muted); padding: 4px 8px 0; }
figure.vial-art { margin: 0 0 14px; }

.vial-photo { margin: 0 0 14px; }
.vial-photo img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--silver-100); }
.vial-photo figcaption, .lineup figcaption span { display: block; text-align: center; font-size: 0.85rem; color: var(--muted); padding-top: 6px; }
.lineup { margin: 22px 0 0; }
.lineup img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.lineup-captions { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 12px 0 6px; padding: 0; text-align: center; font-weight: 700; color: var(--navy-800); }
@media (max-width: 700px) { .lineup-captions { grid-template-columns: repeat(3, 1fr); } }
/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; }
table.wide { min-width: 680px; }
code { overflow-wrap: anywhere; font-size: 0.85em; }
.product-grid > *, .cards > *, .panel { min-width: 0; }
caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; color: var(--navy-800); }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
thead th { background: var(--navy-900); color: #fff; font-size: 0.9rem; font-weight: 700; }
tbody th { font-weight: 700; color: var(--navy-800); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; font-weight: 650; }
.table-note { font-size: 0.92rem; color: var(--muted); margin-top: 10px; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; color: var(--navy-800); }

/* Product page */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.keyfacts li { background: var(--silver-50); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.keyfacts span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.keyfacts strong { font-size: 1.25rem; color: var(--navy-800); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h2, .panel h3 { font-size: 1.25rem; }
.doc-status { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e3f1ff; color: var(--navy-700); }
.doc-status.ok { background: #dff5e9; color: var(--ok); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 14px; }
.dl dt { color: var(--muted); font-size: 0.92rem; }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cta-box { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: var(--radius); padding: 22px; }
.cta-box h2, .cta-box h3 { color: #fff; }
.cta-box p { color: #d3deec; }

/* Q and A */
.qa { max-width: 820px; }
.qa details { border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: 10px; background: #fff; }
.qa summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--navy-800); }
.qa details[open] summary { border-bottom: 1px solid var(--line); }
.qa .ans { padding: 14px 18px 4px; }
.answer-list { display: grid; gap: 16px; max-width: 820px; }
.answer-list h3 { margin-bottom: 0.25em; }

/* Forms */
.form-card { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy-800); }
.field .hint { font-size: 0.88rem; color: var(--muted); margin: 4px 0 0; }
.opt { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #9fb0c8; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47, 168, 255, 0.5); border-color: var(--blue); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 2fr 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; width: 20px; height: 20px; flex: none; }
.check label { font-weight: 500; margin: 0; }
.err-msg { color: var(--err); font-size: 0.92rem; font-weight: 600; margin-top: 5px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.estimate { background: var(--silver-50); border: 1px dashed #8fa5c4; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; min-height: 3.2em; }
.estimate strong { color: var(--navy-800); }
.notice { border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.notice.success { background: #e5f7ee; border: 1px solid #8fd3b0; color: #0b4d2f; }
.notice.error { background: #fdeceb; border: 1px solid #f0a8a3; color: #7d1a14; }
.notice:focus { outline: 3px solid var(--electric); }
.legal-small { font-size: 0.9rem; color: var(--muted); }

/* Policy text */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.updated { font-size: 0.92rem; color: var(--muted); }

/* Review notes (staging only) */
.review-note { background: var(--warn-bg); border: 2px dashed var(--warn-line); border-radius: 12px; padding: 12px 16px; margin: 18px 0; font-size: 0.93rem; color: #4a3b00; }
.review-note strong { color: #2a2100; }
.pending-mark { background: #ffe9a6; border-radius: 4px; padding: 0 4px; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--silver); padding: 44px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; margin-bottom: 26px; }
.site-footer .footer-heading { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--electric); margin: 0 0 0.8em; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.footer-brand img { width: 52px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; }
.footer-legal .research { color: #fff; font-weight: 600; }

/* Mobile */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; border-bottom: 1px solid rgba(47,168,255,0.3); margin: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px; }
  .primary-nav .btn { margin: 8px 0 0; }
}
@media (max-width: 600px) {
  section { padding: 38px 0; }
  .hero { padding: 34px 0 30px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .card .btn { width: 100%; }
  .dl { grid-template-columns: 1fr; gap: 0; }
  .dl dt { margin-top: 8px; }
  .form-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .btn-row, .staging-bar { display: none; } }

/* FAQ */
.faq-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; }
.faq-nav a { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--navy-700); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--navy-800); }
.faq-nav a:hover { background: var(--silver-100); }
.faq-group { max-width: 820px; padding: 34px 0 0; scroll-margin-top: 90px; }
.faq-group h2 { border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.faq-item { margin: 0 0 22px; scroll-margin-top: 90px; }
.faq-item h3 { margin-bottom: 0.3em; color: var(--navy-800); }
.faq-item p { margin: 0; }
.link-list { padding-left: 1.2em; }
.link-list li { margin-bottom: 0.4em; }

.footer-address { font-style: normal; margin-top: 10px; color: var(--silver); line-height: 1.5; }

/* Wholesale landing page additions */
.hero-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.2fr 1fr; gap: 44px; } }
.hero .hero-split h1 { max-width: 24ch; font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.hero-kicker { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--electric); margin: 0 0 0.5rem; }
.hero-vial { margin: 0; }
.hero-vial figcaption { color: var(--silver); }
.btn-caps { text-transform: uppercase; letter-spacing: 0.04em; }
.spec-list { list-style: none; margin: 0 0 6px; padding: 0; color: var(--muted); font-size: 0.97rem; }
.spec-list li { padding: 3px 0; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--navy-800); }

/* Bulk page: quantity tiers that stay readable at narrow widths */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tier-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.tier-card h3 { margin-bottom: 0.6em; }
.tier-rows { list-style: none; margin: 0; padding: 0; }
.tier-rows li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 2px 8px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.tier-size { font-weight: 700; color: var(--navy-800); grid-row: 1 / span 2; }
.tier-price { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.tier-link { font-weight: 700; padding: 4px 0; grid-column: 2; justify-self: start; }
.tier-custom p { color: var(--muted); }
/* No-JavaScript fallback for the mobile menu. Scoped to scripting: none so that browsers running
   JavaScript never paint the menu expanded before site.js loads (that caused a ~440px layout shift). */
@media (max-width: 1100px) and (scripting: none) {
  .primary-nav { display: flex; position: static; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: none; }
}

/* Footer social links (v5.11) */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #fff; }
.footer-social a:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.footer-social a:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 50%; }
.footer-social svg { display: block; }
@media (forced-colors: active) { .footer-social a { border-color: ButtonText; } }
