/* Colors come from config.js (set as CSS variables by app.js). These are fallbacks. */
:root {
  --navy: #0C1E33;
  --primary: #2F6BDF;
  --accent: #4FB0E8;
  --sky: #EAF3FC;
  --bg: #F7FBFF;
  --gray: #62768A;
  --ink: #152536;
  --line: #DFE8F1;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 12px 34px rgba(12, 30, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 30, 51, 0.14);
  --grad: linear-gradient(100deg, var(--primary), var(--accent));
  --display: "Instrument Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
#site-header, #site-footer { display: contents; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; color: var(--gray); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }
.section.white { background: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; max-width: 600px; }
.center .lead { margin-inline: auto; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* mono label, e.g. "— TESTING STANDARDS" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.light { color: #8CC8F0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(47, 107, 223, .28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(47, 107, 223, .38); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.arrow::after { content: "→"; display: inline-block; transition: transform .18s; }
.btn:hover .arrow::after { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--grad); color: #fff; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.announce-track { display: inline-flex; gap: 56px; padding: 10px 0; animation: marquee 40s linear infinite; }
.announce-track span::before { content: "◇"; margin-right: 12px; opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(247, 251, 255, .85); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(12,30,51,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); line-height: 1; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.logo-suffix { font-family: var(--mono); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gray); margin-top: 3px; }
.logo img { height: 40px; width: auto; }
/* Wordmark logo (lowercase name + diamond) */
.logo-wm { flex-direction: column; align-items: flex-start; gap: 3px; }
.logo-wm .wm { font-family: var(--display); font-weight: 700; font-size: 1.65rem; letter-spacing: -0.05em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo-wm .wm i { display: inline-block; width: .3em; height: .3em; margin-left: .16em; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.logo-wm .logo-suffix { margin: 0 0 0 1px; letter-spacing: .55em; font-size: .56rem; }
.footer .logo-wm .wm i { background: #4FB0E8; }
.nav { display: flex; gap: 0; align-items: center; }
.nav a { padding: 6px 11px; color: var(--gray); font-weight: 400; font-size: .88rem; position: relative; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--navy); text-decoration: none; }
.nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--primary); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.cart-link:hover { border-color: var(--primary); }
.acct-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.acct-link:hover { border-color: var(--primary); }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--bg); }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 999px; cursor: pointer; color: var(--navy); }
.menu-toggle:hover { background: rgba(47,107,223,.06); }
/* transparent header over the homepage photo */
.header.over-hero { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
.header.over-hero .logo { color: #fff; }
.header.over-hero .logo-suffix { color: #93B6D6; }
.header.over-hero .nav a { color: rgba(255,255,255,.72); }
.header.over-hero .nav a:hover, .header.over-hero .nav a.active { color: #fff; }
.header.over-hero .nav a.active::after { background: #4FB0E8; }
.header.over-hero .acct-link, .header.over-hero .cart-link { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.header.over-hero .cart-count { border-color: #0B1F3B; }
.header.over-hero .menu-toggle { color: #fff; }
.header.over-hero .menu-toggle:hover { background: rgba(255,255,255,.08); }
.header { transition: background .25s, border-color .2s, box-shadow .2s; }
.menu-panel { display: none; position: absolute; top: calc(100% + 6px); right: 16px; width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; z-index: 60; }
.menu-panel.open { display: grid; animation: pop .2s ease; }
.menu-panel a { padding: 11px 14px; border-radius: 12px; color: var(--navy); font-size: .95rem; }
.menu-panel a:hover { background: var(--bg); text-decoration: none; }
.menu-panel a.active { color: var(--primary); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-panel .sub { color: var(--gray); font-size: .85rem; padding: 8px 14px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(79,176,232,.18), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero .lead { margin: 22px 0 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line); }
.proof-row div { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.proof-row strong { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; text-transform: none; color: var(--navy); margin-bottom: 2px; }

/* dark stage with vials on podiums */
.stage { position: relative; border-radius: 32px; background: radial-gradient(120% 90% at 50% 0%, #1D3D63 0%, var(--navy) 60%); aspect-ratio: 1 / 1.02; overflow: hidden; box-shadow: var(--shadow-lg); }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,200,240,.22) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%); }
.stage-vials { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 17%; }
.stage-vial { width: 27%; position: relative; animation: bob 6s ease-in-out infinite; }
.stage-vial:nth-child(2) { width: 33%; margin: 0 -1%; z-index: 2; animation-delay: -2s; }
.stage-vial:nth-child(3) { animation-delay: -4s; }
.stage-vial svg { width: 100%; height: auto; filter: drop-shadow(0 20px 20px rgba(0,0,0,.35)); }
.stage-vial::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -12px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, #2E5078, #16304F); box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: -1; }
/* full-bleed photo hero: the photo fills the right side and fades into the page color on the left */
.hero-photo { --hero-bg: #0B1F3B; padding: 0; margin-top: calc(-1 * var(--header-h, 76px)); background: var(--hero-bg); display: flex; align-items: center; min-height: clamp(560px, 80vh, 800px); }
.hero-photo::before { display: none; }
.hero-media { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 1 / 1; max-width: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-drawn { position: absolute; inset: 0; background: radial-gradient(70% 60% at 55% 45%, #1D3D63 0%, transparent 70%); }
.hero-drawn::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,200,240,.2) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 55% 40%, #000 15%, transparent 65%); mask-image: radial-gradient(circle at 55% 40%, #000 15%, transparent 65%); }
.hero-drawn .stage-vials { padding: 0 10% 20% 14%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(11,31,59,.6) 5%, rgba(11,31,59,0) 14%), linear-gradient(0deg, rgba(11,31,59,.55) 0%, rgba(11,31,59,0) 18%); }
.hero-content { position: relative; z-index: 1; padding-block: calc(72px + var(--header-h, 76px)) 72px; }
.hero-copy { max-width: 560px; }
.hero-photo h1 { color: #fff; }
.hero-photo .hl { background: linear-gradient(100deg, #8CD2F5, #4FB0E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-photo .lead { color: #B7CCE0; }
.hero-photo .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.hero-photo .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-photo .proof-row { border-top-color: rgba(255,255,255,.16); }
.hero-photo .proof-row div { color: #93B6D6; }
.hero-photo .proof-row strong { color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-chip { position: absolute; background: rgba(255,255,255,.96); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; z-index: 3; animation: bob 7s ease-in-out infinite; }
.float-chip .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.float-chip strong { display: block; font-family: var(--display); color: var(--navy); font-size: 1.05rem; line-height: 1.1; }
.float-chip span { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.float-chip.one { top: 8%; left: 7%; }
.float-chip.two { top: 30%; right: 6%; animation-delay: -3s; }

/* ---------- Compound ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: #fff; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; padding: 20px 0; animation: marquee 50s linear infinite; }
.ticker-track span { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; color: #AFC0D1; }
.ticker-track span::after { content: "✦"; margin-left: 48px; color: var(--accent); font-size: .9rem; vertical-align: middle; }

/* ---------- Vial illustration ---------- */
.vial-card { background: linear-gradient(180deg, #F1F6FC 0%, #E3ECF6 100%); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.vial-card::after { content: ""; position: absolute; bottom: 11%; left: 30%; right: 30%; height: 14px; border-radius: 50%; background: rgba(12,30,51,.14); filter: blur(6px); }
.vial-card svg { width: 44%; height: auto; position: relative; z-index: 1; transition: transform .35s ease; filter: drop-shadow(6px 12px 12px rgba(12,30,51,.16)); }
.vial-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vial-card:has(img)::after { display: none; }
.vial-card:has(img) { background: #0B1F3B; }
.product-card:hover .vial-card img { transform: scale(1.04); }
.product-card:hover .vial-card svg { transform: translateY(-6px) rotate(-3deg); }

/* ---------- Products ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; max-width: 460px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-card a:hover { text-decoration: none; }
.tag { position: absolute; top: 12px; z-index: 2; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tag.coa { left: 12px; background: #fff; color: var(--primary); border: 1px solid var(--line); }
.tag.sale { right: 12px; background: var(--navy); color: #fff; }
.tag.out { right: 12px; background: #fff; color: #9A4A4A; border: 1px solid #F0DADA; }
.product-card .cat { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin: 16px 6px 4px; display: flex; align-items: center; gap: 6px; }
.product-card .cat::before { content: ""; width: 12px; height: 2px; background: var(--grad); }
.product-card h3 { font-size: 1.15rem; margin: 0 6px 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 6px 14px; }
.pill { font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--sky); color: var(--primary); }
.pill.green { background: #E7F6EF; color: #1F8A5B; }
.price { display: flex; align-items: baseline; gap: 8px; margin: auto 6px 14px; }
.price strong { font-family: var(--display); font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.price s { color: #9AABBB; font-size: .92rem; }
.price small { color: var(--gray); font-size: .85rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .num { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--primary); margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-dot { width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; font-family: var(--mono); font-size: .9rem; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 30px 26px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stats span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }

/* ---------- Homey note ---------- */
.note { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.note-art { background: linear-gradient(160deg, var(--sky), #D6E7F8); position: relative; min-height: 380px; display: grid; place-items: center; }
.note-art .vial-row { display: flex; gap: 6%; width: 64%; align-items: flex-end; }
.note-art .vial-row > div { flex: 1; }
.note-art .vial-row svg { width: 100%; filter: drop-shadow(6px 14px 14px rgba(12,30,51,.18)); }
.note-art .vial-row > div:nth-child(2) { transform: translateY(-18px); }
.note-photo { padding: 0; background: #DCEBFA; }
.note-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.note-body { padding: 56px; }
.note-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.signoff { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.signoff .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.signoff strong { display: block; color: var(--navy); }
.signoff span { font-size: .88rem; color: var(--gray); }

/* ---------- Testing / COA card ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.test-list { display: grid; gap: 8px; margin-top: 22px; }
.test-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 18px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.test-item:hover { background: #fff; border-color: var(--line); }
.test-item .icon-dot { margin-bottom: 0; }
.test-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.test-item p { margin: 0; font-size: .95rem; }
.coa-card { background: var(--navy); color: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.coa-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,200,240,.14) 1px, transparent 1.5px); background-size: 20px 20px; }
.coa-card > * { position: relative; }
.coa-card .row { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #93B6D6; gap: 12px; }
.coa-card .verified { background: rgba(79,176,232,.18); color: #8CD2F5; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.coa-card .big { font-family: var(--display); font-size: 4.4rem; font-weight: 600; letter-spacing: -.04em; margin: 22px 0 0; line-height: 1; }
.coa-card .big-label { color: #93B6D6; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.chroma { display: block; width: 100%; margin: 20px 0 0; height: 80px; }
.chroma path { stroke: #8CD2F5; stroke-width: 2; fill: none; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s ease .2s; }
.coa-card.in .chroma path { stroke-dashoffset: 0; }
.chroma line { stroke: rgba(255,255,255,.12); }
.coa-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 22px; }
.coa-stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.coa-stats strong { display: block; font-size: 1rem; }
.coa-stats span { font-family: var(--mono); font-size: .64rem; color: #93B6D6; letter-spacing: .1em; text-transform: uppercase; }
.coa-card .btn { background: #fff; color: var(--navy); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); background: #FAFCFE; }
td:first-child { font-weight: 600; color: var(--navy); }
.col-us { background: rgba(47,107,223,.05); color: var(--navy); }
th.col-us { color: var(--primary); }
td.yes::before { content: "✓ "; color: var(--primary); font-weight: 700; }
td.no { color: #93A3B3; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #FAFCFE; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(47,107,223,.35); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: 32px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,200,240,.18) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: -60%; transform: translateX(-50%); background: radial-gradient(circle, rgba(79,176,232,.35), transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B7CCE0; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.split-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; text-align: left; }
.split-cta .btn-row { justify-content: flex-end; }

/* ---------- Newsletter ---------- */
.inline-form { display: flex; gap: 10px; max-width: 460px; }
.inline-form input { flex: 1; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 14px 20px; font-family: inherit; font-size: 1rem; min-width: 0; }
.inline-form input::placeholder { color: #93B6D6; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #A9BFD4; padding: 72px 0 96px; margin-top: 40px; font-size: .93rem; }
.footer .logo { color: #fff; }
.footer .logo-suffix { color: #8CC8F0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer-links a { color: #A9BFD4; display: block; margin-bottom: 9px; }
.footer-links a:hover { color: #fff; }
.footer p { color: #A9BFD4; }
.footer-mail { color: #8CD2F5; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 26px; font-size: .82rem; color: #7F99B2; }
.disclaimer p { color: #7F99B2; }
.disclaimer strong { color: #fff; }
.ruo-strip { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8CC8F0; margin-bottom: 12px; }

/* ---------- Page header ---------- */
.page-head { padding: 72px 0 40px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -300px; background: radial-gradient(circle, rgba(79,176,232,.16), transparent 65%); }
.page-head .container { position: relative; }
.page-head p { max-width: 640px; }
.breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--gray); margin-bottom: 20px; padding-top: 28px; }

/* ---------- Shop toolbar ---------- */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: .92rem; color: var(--gray); transition: all .15s; }
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter .n { font-family: var(--mono); font-size: .7rem; opacity: .6; margin-left: 6px; }
.search { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-family: inherit; font-size: .95rem; min-width: 260px; background: #fff; }
.search:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 12px 0 24px; }
.pdp .vial-card { position: sticky; top: 110px; border-radius: 28px; }
.pdp .vial-card svg { width: 36%; }
.pdp h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin-bottom: 8px; }
.pdp .class { font-size: 1.1rem; margin-bottom: 18px; }
.pdp .price strong { font-size: 2rem; }
.pdp .price { margin: 0 0 24px; }
.label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; display: block; }
.variant-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.variant { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 22px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .95rem; color: var(--navy); transition: all .15s; }
.variant:hover { border-color: var(--accent); }
.variant.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.variant .save { color: var(--primary); font-weight: 700; margin-left: 4px; }
.variant.active .save { color: #8CD2F5; }
.pdp .price small { font-family: var(--mono); font-size: .9rem; color: var(--gray); }
.add-btn { margin: 4px 0 26px; padding: 18px 26px; font-size: 1.05rem; }
.buy-row { display: flex; gap: 12px; margin-bottom: 28px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 50px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.qty button:hover { color: var(--primary); }
.qty input { width: 40px; text-align: center; border: 0; font-size: 1rem; font-family: inherit; }
.spec { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 20px; background: #fff; }
.spec div { display: grid; grid-template-columns: 140px 1fr; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec div:last-child { border-bottom: 0; }
.spec span:first-child { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); padding-top: 3px; }
.spec span:last-child { color: var(--navy); font-weight: 500; }
.ruo { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 14px; padding: 16px 20px; font-size: .9rem; color: var(--navy); }
.ruo strong { display: block; margin-bottom: 4px; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; padding: 32px 0; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: 12px; }
.cart-item .vial-card { border-radius: 12px; }
.cart-item .vial-card::after { display: none; }
.cart-item h3 { font-size: 1.05rem; margin: 0 0 2px; }
.cart-item p { margin: 0 0 8px; font-size: .88rem; }
.link-btn { background: none; border: 0; color: var(--gray); cursor: pointer; font-family: inherit; font-size: .85rem; text-decoration: underline; padding: 0; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 110px; }
.summary h3 { font-size: 1.2rem; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--gray); }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.summary .ruo { margin: 18px 0; }
.ship-bar { height: 6px; border-radius: 6px; background: var(--sky); overflow: hidden; margin: 6px 0 16px; }
.ship-bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .4s; }
.empty { text-align: center; padding: 60px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; background: #fff; }
.fieldset h3 { font-size: 1.1rem; margin-bottom: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; font-size: .93rem; color: var(--navy); background: #fff; transition: border-color .15s; }
.check:hover { border-color: var(--accent); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.notice { background: #FFF8E6; border: 1px solid #F1DFA8; color: #6B5415; border-radius: 12px; padding: 14px 18px; font-size: .9rem; margin-bottom: 18px; }
.success { background: #E7F6EF; border: 1px solid #BFE6D2; color: #1F6B49; border-radius: 18px; padding: 26px; }
.success h3 { color: #1F6B49; }
.success p { color: #2E6B51; margin: 0; }
.form-error { color: #A33; font-size: .9rem; margin-top: 12px; }

/* ---------- Affiliate page ---------- */
.aff-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.perk-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.perk-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); }
.perk-list li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.earn-card { background: var(--navy); color: #fff; border-radius: 28px; padding: 36px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.earn-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,200,240,.16) 1px, transparent 1.5px); background-size: 20px 20px; }
.earn-card > * { position: relative; }
.earn-card .big { font-family: var(--display); font-size: 4.2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: 18px 0 6px; }
.earn-card .sub { color: #93B6D6; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.earn-rows { display: grid; gap: 10px; margin-top: 26px; }
.earn-rows div { display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.earn-rows span { color: #B7CCE0; }
.say-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.say { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.say h3 { display: flex; align-items: center; gap: 10px; }
.say h3::before { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; }
.say.yes h3::before { content: "✓"; background: #E7F6EF; color: #1F8A5B; }
.say.no h3::before { content: "✕"; background: #FBECEC; color: #B04848; }
.say ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.say li { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: .93rem; color: var(--navy); }
.say.no li { color: #8A5A5A; text-decoration: line-through; text-decoration-color: rgba(176,72,72,.4); }
.apply-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.apply-wrap .sticky { position: sticky; top: 110px; }

/* ---------- Prose (policies) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.placeholder-note { background: var(--sky); border-radius: 12px; padding: 14px 18px; font-size: .9rem; color: var(--navy); margin-bottom: 28px; }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; background: rgba(12,30,51,.6); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; }
.gate-box { background: #fff; border-radius: 28px; max-width: 480px; width: 100%; padding: 36px; box-shadow: 0 40px 80px rgba(0,0,0,.3); animation: pop .35s ease; }
.gate-box h2 { font-size: 2.1rem; }
.gate-box .fine { font-size: .78rem; margin: 16px 0 0; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Floating cart + toast ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(47,107,223,.4); transform: scale(0); transition: transform .25s ease; }
.fab.show { transform: scale(1); }
.fab.show:hover { text-decoration: none; transform: scale(1.06); }
.fab .cart-count { top: -2px; right: -2px; border-color: #fff; background: var(--navy); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140px); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 999px; display: flex; gap: 16px; align-items: center; z-index: 90; transition: transform .3s ease; box-shadow: var(--shadow-lg); font-size: .95rem; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #8CD2F5; font-weight: 600; }
.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }

/* ---------- Checkout shipping methods ---------- */
.ship-note { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: .93rem; color: var(--gray); margin-bottom: 14px; }
.ship-options { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ship-opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.ship-opt:last-child { border-bottom: 0; }
.ship-opt:hover { background: #FAFCFE; }
.ship-opt:has(input:checked) { background: var(--sky); }
.ship-opt input { width: 20px; height: 20px; accent-color: var(--primary); margin: 0; }
.ship-name { font-weight: 500; color: var(--navy); }
.ship-price { font-weight: 600; color: var(--navy); }
.ship-opt:has(input:checked) .ship-price { color: var(--primary); }

/* ---------- Account (log in / register) ---------- */
.auth-page { padding: 56px 16px 24px; display: grid; place-items: center; background: radial-gradient(circle at 70% 0%, rgba(79,176,232,.14), transparent 55%); }
.auth-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--navy); }
.auth-logo .wm { font-family: var(--display); font-weight: 700; font-size: 2.2rem; letter-spacing: -.05em; line-height: 1; display: inline-flex; align-items: baseline; }
.auth-logo .wm i { display: inline-block; width: .3em; height: .3em; margin-left: .16em; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.auth-logo .logo-suffix { letter-spacing: .55em; font-size: .62rem; margin: 0; }
.auth-chip { width: fit-content; margin: 24px auto 20px; background: var(--sky); color: var(--primary); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .9rem; }
.auth-perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.auth-perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-size: .95rem; }
.auth-perks li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-size: .72rem; font-weight: 700; margin-top: 1px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 5px; margin-bottom: 22px; }
.auth-tab { border: 0; background: transparent; border-radius: 12px; padding: 13px; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--gray); cursor: pointer; }
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(12,30,51,.08); }
.auth-form { display: grid; gap: 16px; }
.auth-form .form-grid { gap: 16px; }
.auth-form .field input { padding: 15px 16px; }
.auth-form .field input.invalid { border-color: #D24545; }
.auth-form .err { color: #C23B3B; font-size: .86rem; margin: 6px 0 0; }
.auth-form .check { margin-bottom: 0; }
.pw { position: relative; }
.pw input { padding-right: 52px !important; }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--gray); cursor: pointer; border-radius: 10px; display: grid; place-items: center; }
.eye:hover { color: var(--navy); background: var(--bg); }
.auth-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.auth-row a { font-weight: 600; }
.auth-form .btn { padding: 17px; font-size: 1.05rem; }
.auth-demo { margin: 18px 0 0; }
.auth-terms { text-align: center; font-size: .88rem; margin: 20px 0 0; }
@media (max-width: 560px) {
  .auth-card { padding: 28px 20px; border-radius: 22px; }
  .auth-perks { grid-template-columns: 1fr; }
}

/* ---------- Slide-out cart ---------- */
.drawer-lock, .drawer-lock body { overflow: hidden; }
.drawer-wrap { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(12,30,51,.45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; display: flex; transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 60px rgba(12,30,51,.2); max-width: 100%; }
.drawer-wrap.open { pointer-events: auto; }
.drawer-wrap.open .drawer-backdrop { opacity: 1; }
.drawer-wrap.open .drawer { transform: none; }
.drawer-main { width: 440px; max-width: 100vw; background: #fff; display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
.drawer-head h3 { margin: 0; font-family: var(--mono); font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.drawer-x { background: none; border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.drawer-x:hover { background: var(--bg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.ship-meter { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; }
.ship-row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--navy); }
.ship-row strong { color: #1F8A5B; }
.ship-row .mono { font-family: var(--mono); font-size: .75rem; color: var(--gray); white-space: nowrap; }
.ship-meter .ship-bar { margin: 10px 0 0; }
.ship-meter .ship-bar i { background: linear-gradient(90deg, #1F8A5B, #3CC08A); }
.d-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.d-line .vial-card { border-radius: 12px; }
.d-line .vial-card::after { display: none; }
.d-info { min-width: 0; }
.d-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.d-top a { font-weight: 600; color: var(--primary); }
.d-top strong { color: var(--navy); white-space: nowrap; }
.d-info p { margin: 2px 0 10px; font-size: .86rem; }
.d-actions { display: flex; justify-content: space-between; align-items: center; }
.qty-sm button { width: 34px; height: 34px; font-size: 1rem; }
.qty-sm span { min-width: 26px; text-align: center; font-weight: 600; color: var(--navy); }
.d-ruo { font-size: .78rem; margin: 14px 0 0; }
.drawer-empty { text-align: center; padding: 60px 0; }
.drawer-foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.drawer-foot .btn { padding: 17px; font-size: 1.02rem; }
.d-foot-row { display: flex; justify-content: space-between; margin-top: 12px; font-size: .86rem; color: var(--gray); }
.drawer-upsell { width: 200px; background: var(--bg); border-right: 1px solid var(--line); overflow-y: auto; padding: 18px 14px; }
.drawer-upsell h4 { margin: 0 0 14px; font-size: .92rem; text-align: center; color: var(--navy); }
.upsell-list { display: grid; gap: 12px; }
.upsell-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 10px; text-align: center; }
.upsell-card .vial-card { border-radius: 10px; margin-bottom: 8px; }
.upsell-card .vial-card::after { display: none; }
.upsell-card > a { display: block; font-weight: 600; font-size: .9rem; color: var(--primary); line-height: 1.25; }
.u-price { font-size: .88rem; color: var(--navy); font-weight: 600; margin: 4px 0 8px; }
.u-price s { color: #9AABBB; font-weight: 400; margin-left: 4px; }
@media (max-width: 720px) {
  .drawer-upsell { display: none; }
  .drawer-main { width: 100vw; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .announce-track, .ticker-track, .stage-vial, .float-chip { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-media { right: -16%; }
  .hero-media::after { background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(11,31,59,.75) 12%, rgba(11,31,59,0) 30%), linear-gradient(0deg, rgba(11,31,59,.55) 0%, rgba(11,31,59,0) 18%); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-inner { flex-wrap: wrap; row-gap: 4px; padding-bottom: 6px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -11px; width: calc(100% + 22px); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .84rem; padding: 6px 11px 8px; }
}
@media (max-width: 880px) {
  .hero-photo { display: block; min-height: 0; }
  .hero-media { position: relative; right: auto; width: 100%; height: auto; max-height: 560px; }
  .hero-media::after { background: linear-gradient(0deg, var(--hero-bg) 0%, rgba(11,31,59,0) 35%); }
  .hero-content { padding-block: 0 56px; margin-top: -40px; }
  .hero-media { margin-top: var(--header-h, 110px); }
  .hero-grid, .split, .pdp, .cart-layout, .note, .aff-hero, .split-cta, .say-grid, .apply-wrap { grid-template-columns: 1fr; }
  .split-cta .btn-row { justify-content: flex-start; }
  .pdp .vial-card, .summary, .apply-wrap .sticky { position: static; }
  .product-grid, .grid-3, .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
  .header-actions .btn { display: none; }
  .note-body { padding: 36px 28px; }
  .note-art { min-height: 260px; }
  .stage { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 4px; }
  .logo-name { font-size: 1.2rem; }
  .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { padding: 8px; }
  .product-card h3 { font-size: 1rem; }
  .pills .pill:nth-child(n+2) { display: none; }
  .vial-card:has(.tag.sale) .tag.coa, .vial-card:has(.tag.out) .tag.coa { display: none; }
  .tag { top: 8px; }
  .tag.coa { left: 8px; } .tag.sale, .tag.out { right: 8px; }
  .search { margin-left: 0; width: 100%; min-width: 0; }
  .cta-band { padding: 48px 22px; }
  .spec div { grid-template-columns: 100px 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item > :last-child { grid-column: 2; text-align: left !important; }
  .stats strong { font-size: 1.8rem; }
  .stats div { padding: 22px 18px; }
  .float-chip { padding: 9px 12px; }
  .float-chip .dot { display: none; }
  .inline-form { flex-direction: column; }
  .proof-row { gap: 18px; }
  .toast { white-space: normal; width: calc(100% - 32px); border-radius: 18px; }
  .note-body { padding: 30px 22px; }
  .earn-card .big { font-size: 3.2rem; }
}
