:root {
  --bg: #f3f6f5;
  --surface: #fff;
  --surface-2: #ebf0ef;
  --cream: #f6f5f0;
  --border: #d6dddc;
  --border-strong: #b5c0c0;
  --ink: #0b1f3a;
  --ink-2: #3b4a5b;
  --muted: #66788a;
  --accent: #087b80;
  --accent-strong: #055e63;
  --accent-bright: #5ad8d3;
  --dark: #0b1719;
  --pine: #2d5350;
  --pale: #e3ebd0;
  --warm: #b8752c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 8px 24px rgba(11, 31, 58, .07);
  --shadow-lg: 0 30px 60px rgba(11, 31, 58, .22);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 84px 0; }
.h2 { font-size: 38px; line-height: 1.1; }
.h3 { font-size: 24px; line-height: 1.2; margin-bottom: 18px; }
.eyebrow { font: 700 11.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-bright); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 6px; border: 1px solid transparent; font: 700 13.5px/1 var(--sans); letter-spacing: .01em; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { padding: 11px 16px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-pale { background: var(--pale); color: var(--ink); }
.btn-pale:hover { background: #d3dfb8; }
.btn-ghost { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: #234240; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover:not(:disabled) { background: var(--accent-strong); }
.btn-ink:disabled { opacity: .38; cursor: not-allowed; }
.btn-line { border-color: var(--border-strong); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

/* top strip + header */
.ruo-strip { background: var(--dark); color: rgba(255, 255, 255, .72); font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
header.site { position: sticky; top: 0; z-index: 60; background: var(--cream); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 12px/1 var(--sans); letter-spacing: .04em; box-shadow: inset 0 0 0 2px var(--accent); }
.brand .wordmark, .qc-btn, .session-chip, nav.primary a, .linkbtn { white-space: nowrap; }
.brand .wordmark { font: 600 23px/1 var(--serif); letter-spacing: -.01em; }
nav.primary { display: flex; gap: 26px; margin-left: auto; }
nav.primary a { font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.primary a:hover, nav.primary a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.qc-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 6px 2px; }
.qc-btn:hover { color: var(--ink); }
.qc-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font: 700 11px/1 var(--sans); padding: 0 6px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 1px solid var(--border-strong); border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { width: 16px; height: 2px; background: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 96px 0 88px; background: radial-gradient(52% 72% at 77% 44%, rgba(8, 123, 128, .34), transparent 70%), linear-gradient(180deg, #081214 0%, #0d1b1e 60%, #15292c 100%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .045) 100%); border-top: 1px solid rgba(255, 255, 255, .05); }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; opacity: .2; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; margin: 22px 0 22px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero .lede { max-width: 48ch; font-size: 16.5px; color: rgba(255, 255, 255, .78); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-vial { display: flex; justify-content: center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.hero-facts b { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }

.page-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 56px; background: radial-gradient(50% 120% at 85% 0%, rgba(8, 123, 128, .38), transparent 70%), linear-gradient(180deg, #0a1c34, #0b1f3a); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -.012em; margin: 16px 0 14px; max-width: 18ch; }
.page-hero p { max-width: 58ch; color: rgba(255, 255, 255, .78); }

/* sections */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .h2 { margin-top: 12px; }
.section-head p { max-width: 46ch; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border-strong); }
.step { padding: 28px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--border); }
.step .n { font: 500 44px/1 var(--serif); color: var(--accent); margin-bottom: 18px; }
.step h3 { font: 700 17px/1.3 var(--sans); margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; max-width: 34ch; }

.statband { background: var(--dark); color: #fff; padding: 52px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 500 44px/1 var(--serif); color: var(--accent-bright); margin-bottom: 10px; }
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, .64); }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcode { font: 600 11px/1 var(--mono); background: #e6eef0; color: var(--ink-2); padding: 5px 8px; border-radius: 4px; letter-spacing: .04em; }
.pcat { font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.pcard-main { display: grid; grid-template-columns: 78px 1fr; gap: 16px; align-items: start; }
.pcard-vial { background: linear-gradient(180deg, #e3ecee, #f4f8f8); border-radius: 8px; display: flex; justify-content: center; padding: 10px 0 4px; }
.pcard h3 { font: 700 18px/1.25 var(--sans); letter-spacing: -.005em; }
.pcard h3 a:hover { color: var(--accent); }
.pblurb { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.specs { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--border); }
.specs li { display: grid; grid-template-columns: 1fr auto 36px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.specs li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-id b { display: block; font: 600 12.5px/1.2 var(--mono); }
.spec-id span { font-size: 12px; color: var(--muted); }
.specs em { font: 600 15px/1 var(--mono); font-style: normal; }
.add { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 18px; line-height: 1; transition: .15s; }
.add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* shop toolbar */
.toolbar { display: grid; gap: 18px; margin-bottom: 26px; }
.search { position: relative; max-width: 720px; }
.search input { width: 100%; padding: 16px 18px 16px 48px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); font: 500 15px/1 var(--sans); color: var(--ink); }
.search input:focus { border-color: var(--accent); outline: 2px solid rgba(8, 123, 128, .18); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 15px; font: 600 13px/1 var(--sans); color: var(--ink-2); }
.chip span { margin-left: 6px; color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active span { color: rgba(255, 255, 255, .7); }
.count { font-size: 13px; color: var(--muted); }
.empty { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 48px; text-align: center; }
.empty a { color: var(--accent); text-decoration: underline; }

/* product detail */
.pd-hero { background: linear-gradient(180deg, #0a1c34, #0b1f3a 40%, var(--bg) 40%); padding: 36px 0 0; }
.pd-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.pd-stage { background: radial-gradient(60% 55% at 50% 40%, rgba(8, 123, 128, .38), transparent 72%), linear-gradient(180deg, #0c1a1d, #12262a); border-radius: 14px; min-height: 480px; display: grid; place-items: center; padding: 36px; box-shadow: var(--shadow-lg); }
.pd-stage svg { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.pd-info { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 32px; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: #e6eef0; color: var(--ink-2); padding: 6px 9px; border-radius: 4px; }
.tag-warm { background: #f5e8d0; color: #7a4d14; }
.pd-info h1 { font: 800 36px/1.1 var(--sans); letter-spacing: -.015em; margin-bottom: 12px; }
.pd-lede { color: var(--ink-2); max-width: 54ch; margin-bottom: 24px; }
.spec-pick { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.spec-pick legend { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.spec-opt input { position: absolute; opacity: 0; pointer-events: none; }
.spec-opt span { display: grid; gap: 4px; min-width: 112px; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: 8px; cursor: pointer; }
.spec-opt b { font-size: 14px; }
.spec-opt em { font: 500 12.5px var(--mono); font-style: normal; color: var(--muted); }
.spec-opt input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(8, 123, 128, .22); background: #f2fafa; }
.spec-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pd-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.pd-price { display: grid; margin-right: auto; }
.pd-price strong { font: 600 28px/1.1 var(--mono); }
.pd-price .muted { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pd-price .mono { font-size: 11.5px; color: var(--muted); }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pd-meta div { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.pd-meta div:nth-child(odd) { border-right: 1px solid var(--border); }
.pd-meta div:nth-last-child(-n+2) { border-bottom: 0; }
.pd-meta dt { font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.pd-meta dd { margin: 0; font-size: 13.5px; }
.pd-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.apps { margin: 0 0 24px; padding-left: 18px; color: var(--ink-2); line-height: 1.9; }
.ruo-box { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.ruo-box b { color: var(--ink); letter-spacing: .02em; }
.ruo-box a { color: var(--accent); text-decoration: underline; }
.related { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.related a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.related a:hover { color: var(--accent); }
.related em { font: 500 12.5px var(--mono); font-style: normal; color: var(--muted); }

/* documentation */
.coa-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coa-thumb { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.coa-thumb:hover { transform: translateY(-3px); }
.coa-thumb svg { display: block; width: 100%; height: auto; }
.coa-thumb span { display: block; padding: 12px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }
.coa-thumb b { display: block; color: var(--ink); font-size: 13.5px; }
.coa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coa-card { text-align: left; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.coa-card:hover { border-color: var(--accent); }
.coa-img svg { display: block; width: 100%; height: auto; }
.coa-meta { padding: 12px 14px; border-top: 1px solid var(--border); display: grid; gap: 3px; }
.coa-meta b { font-size: 13.5px; }
.coa-meta span { font-size: 11.5px; color: var(--muted); }
.read-coa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.read-coa > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.read-coa b { display: block; margin-bottom: 6px; font-size: 15px; }
.read-coa p { font-size: 13.5px; color: var(--ink-2); }
.notice { background: #f5e8d0; border: 1px solid #e2c99a; color: #5e3b0c; border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; margin-bottom: 28px; }
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(8, 18, 20, .82); display: grid; place-items: center; padding: 24px; }
.modal-card { background: var(--surface); border-radius: 14px; max-width: 460px; width: 100%; max-height: 92vh; overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.modal-head button { background: none; border: 0; font-size: 26px; line-height: 1; }
#coa-view svg { display: block; width: 100%; height: auto; }

/* about / contact / legal */
.prose { max-width: 66ch; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 18px; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.vial-stage { background: radial-gradient(60% 55% at 50% 40%, rgba(8, 123, 128, .34), transparent 72%), linear-gradient(180deg, #0c1a1d, #12262a); border-radius: 14px; display: flex; gap: 8px; justify-content: center; align-items: flex-end; padding: 40px 20px 24px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.value h3 { font: 700 16px/1.3 var(--sans); margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field legend { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; font: 500 14.5px var(--sans); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(8, 123, 128, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.info-list { margin: 0; display: grid; gap: 20px; }
.info-list dt { font: 700 11px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.info-list dd { margin: 0; color: var(--ink-2); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.legal-body { max-width: 74ch; }
.legal-body h2 { font: 700 18px/1.3 var(--sans); margin: 32px 0 10px; letter-spacing: 0; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.legal-meta { font: 500 12px var(--mono); color: var(--muted); padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.cta-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 52px; }
.disclaim { background: #f5e8d0; border-top: 1px solid #e2c99a; padding: 26px 0; }
.disclaim p { max-width: 130ch; font-size: 13px; color: #5e3b0c; line-height: 1.65; }
.disclaim a { text-decoration: underline; }

/* footer */
footer.site { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; }
footer.site .brand .wordmark { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-brand p { font-size: 13.5px; max-width: 38ch; margin: 16px 0; }
.foot-contact { line-height: 1.8; }
.foot-contact a { color: var(--accent-bright); }
.foot-grid h4 { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid ul a { font-size: 13.5px; }
.foot-grid ul a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: rgba(255, 255, 255, .55); }

/* quote cart panel */
.qc-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(8, 18, 20, .5); opacity: 0; transition: opacity .2s; }
.qc-overlay.on { opacity: 1; }
.qc-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(430px, 100vw); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; }
.qc-panel.on { transform: none; }
.qc-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 18px; border-bottom: 1px solid var(--border); }
.qc-title { font: 800 20px/1.2 var(--sans); margin-top: 10px; letter-spacing: -.01em; }
.qc-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--muted); }
.qc-body { flex: 1; overflow: auto; padding: 8px 24px; }
.qc-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 12px; color: var(--muted); }
.qc-empty p:first-of-type { color: var(--ink); font-weight: 700; }
.qc-list { list-style: none; margin: 0; padding: 0; }
.qc-list li { display: grid; grid-template-columns: 1fr auto auto 28px; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.qc-item-main strong { display: block; font-size: 14.5px; }
.qc-item-main span { font-size: 11.5px; color: var(--muted); }
.qc-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 8px; }
.qc-qty button { width: 28px; height: 28px; background: none; border: 0; font-size: 16px; }
.qc-qty span { min-width: 22px; text-align: center; font: 600 13px var(--mono); }
.qc-line { font: 600 13.5px var(--mono); min-width: 64px; text-align: right; }
.qc-remove { background: none; border: 0; color: var(--muted); font-size: 20px; }
.qc-remove:hover { color: #a02a2a; }
.qc-foot { padding: 18px 24px 22px; border-top: 1px solid var(--border); background: var(--bg); }
.qc-foot:empty { display: none; }
.qc-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.qc-total strong { font: 600 22px var(--mono); }
.qc-note { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.qc-actions { display: grid; gap: 8px; }
.qc-clear { margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; }

/* gate pages */
.gate-page { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(50% 60% at 50% 0%, rgba(8, 123, 128, .28), transparent 70%), linear-gradient(180deg, #0a1c34, #0b1f3a); }
.gate-card { width: 100%; max-width: 500px; background: var(--surface); border-radius: 14px; padding: 34px; box-shadow: var(--shadow-lg); }
.gate-card h1 { font: 800 28px/1.15 var(--sans); letter-spacing: -.015em; margin: 14px 0 10px; }
.gate-copy { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.gate-check { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; font-size: 13.5px; cursor: pointer; }
.gate-check:has(input:checked) { border-color: var(--accent); background: #f2fafa; }
.gate-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.gate-check a { color: var(--accent); text-decoration: underline; }
#gate-submit { margin-top: 10px; }
.gate-foot { font-size: 11.5px; color: var(--muted); margin-top: 16px; line-height: 1.55; }
.gate-error { background: #fbeaea; border: 1px solid #e3b5b5; color: #7a1f1f; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin: 6px 0 12px; }
.dev-note { background: #f5e8d0; border: 1px solid #e2c99a; color: #5e3b0c; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; font-size: 13px; }
.dev-note p { margin: 4px 0 12px; }
.session-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.session-chip .who { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.session-chip a { font-weight: 700; color: var(--accent); }
.session-chip a:hover { text-decoration: underline; }
.locked-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 14px; padding: 40px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 14px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: .22s; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .nav-right .btn { display: none; }
  .session-chip .who { max-width: 130px; }
  .nav-row { gap: 20px; }
  nav.primary { gap: 18px; }
}
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0; }
  .hero .wrap, .pd-grid, .pd-body, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero-vial { order: -1; }
  .hero-vial svg { width: 170px; height: auto; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .coa-strip, .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .read-coa, .steps, .values { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: flex; }
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; margin: 0; }
  header.site.menu-open nav.primary { display: flex; }
  nav.primary a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-right .btn, .session-chip .who { display: none; }
  .nav-row { gap: 12px; }
  .qc-btn { margin-left: 0; }
  .menu-btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .pgrid, .coa-strip, .coa-grid, .field-row { grid-template-columns: 1fr; }
  .pd-meta { grid-template-columns: 1fr; }
  .pd-meta div:nth-child(odd) { border-right: 0; }
  .pd-meta div:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr; }
  .pd-info { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
