/* Zee Labs: navy lab, sky-blue instrument accent */
:root {
  --navy: #0F1B2D;
  --navy-2: #182A44;
  --navy-3: #22385A;
  --sky: #1EA7E1;
  --sky-ink: #0A78AA;      /* sky for text on white (AA contrast) */
  --ice: #EAF6FC;
  --mist: #F3F7FA;
  --white: #FFFFFF;
  --slate: #556579;
  --slate-2: #8494A8;
  --line: #DCE5EE;
  --on-navy: #C9D6E6;
  --danger: #C8383B;
  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mark: "Archivo Black", "Arial Black", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wordmark { font-family: var(--mark); font-weight: 400; letter-spacing: .06em; direction: ltr; }

/* ---------- Logo ---------- */
.logo { display: block; overflow: visible; --zl-gap: var(--navy); }
.atom { transform-box: view-box; transform-origin: 828px 826px; }
.spin { animation: spin 40s linear infinite; }
.spin-slow { animation: spin 90s linear infinite; }
.electrons circle { fill: #fff; stroke: var(--navy); stroke-width: 7; }
.cup-float { transform-box: view-box; animation: float 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
.logo-sm { width: 40px; height: 40px; }
.logo-foot { width: 52px; height: 52px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 500; font-size: 16px; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-sky { background: var(--sky); color: var(--navy); font-weight: 600; }
.btn-sky:hover { background: #4BBBEA; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--sky); color: var(--sky); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-navy:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sky); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .wordmark { font-size: 18px; }
.top-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.top-nav a { color: var(--on-navy); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; transition: color .2s, background .2s; }
.top-nav a:hover { color: #fff; background: var(--navy-2); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--navy-2); color: #fff; font-weight: 500; transition: background .2s; }
.cart-btn:hover { background: var(--navy-3); }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--sky); color: var(--navy); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.1); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { /* faint orbital trace behind the logo */
  content: ""; position: absolute; inset-inline-end: -10%; top: 50%; width: 900px; aspect-ratio: 1; translate: 0 -55%;
  border-radius: 50%; border: 1px solid rgba(30, 167, 225, .14); box-shadow: 0 0 0 90px rgba(30, 167, 225, .03), 0 0 0 180px rgba(30, 167, 225, .025);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--on-navy); max-width: 32em; margin: 20px 0 32px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; place-items: center; }
.logo-hero { width: min(430px, 100%); height: auto; }
.hero-proof { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 0; padding: 18px 0 22px; border-top: 1px solid var(--navy-3); color: var(--on-navy); text-decoration: none; font-size: 15px; }
.hero-proof b { color: #fff; font-weight: 600; }
.hero-proof .meter { flex: none; width: 120px; height: 6px; border-radius: 6px; background: var(--navy-3); position: relative; overflow: hidden; }
.hero-proof .meter i { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--sky); border-radius: 6px; }
.hero-proof:hover b { color: var(--sky); }

/* ---------- Products ---------- */
#products { padding: 80px 0 72px; scroll-margin-top: 68px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2, .how h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; background: var(--mist); border-radius: 999px; }
.chip { border: 0; padding: 8px 16px; border-radius: 999px; background: none; color: var(--slate); font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s; }
.chip:hover { color: var(--navy); }
.chip[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(15, 27, 45, .12); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.card { position: relative; display: flex; flex-direction: column; text-align: start; padding: 0; border: 0; background: none; cursor: pointer; }
.card-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 16px; background: var(--ice); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 82%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04) translateY(-4px); }
.card-lab { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 500; }
.card-lab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.badge-out { position: absolute; top: 12px; inset-inline-end: 12px; background: #fff; color: var(--slate); font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.card .tag { color: var(--sky-ink); font-size: 13.5px; font-weight: 500; margin: 0; }
.card h3 { font-size: 21px; }
.card .en { color: var(--slate-2); font-size: 13.5px; margin: 0; direction: ltr; text-align: right; }
.card .price { margin: 8px 0 0; }
.price { font-weight: 600; font-size: 19px; white-space: nowrap; }
.price small { font-weight: 400; font-size: 13px; color: var(--slate); }
.card .meta { font-size: 13.5px; color: var(--slate); margin: 6px 0 0; }
.skeleton { min-height: 420px; border-radius: 16px; background: linear-gradient(90deg, var(--mist), #fff, var(--mist)); background-size: 200% 100%; animation: shimmer 1.2s infinite; cursor: default; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Lab ---------- */
.lab { background: var(--mist); padding: 88px 0; scroll-margin-top: 68px; border-block: 1px solid var(--line); }
.lab-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.lab-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; line-height: 1.1; }
.lab-head p { margin: 0; color: var(--slate); font-size: 17px; max-width: 34em; }
.report { display: grid; grid-template-columns: 340px 1fr; background: var(--white); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.report-meta { background: var(--navy); color: var(--on-navy); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.report-meta h3 { color: #fff; font-size: 24px; }
.report-meta h3 small { display: block; font-size: 14px; font-weight: 400; color: var(--on-navy); text-align: right; margin-top: 2px; }
.report-meta dl { margin: 0; display: grid; gap: 12px; font-size: 14.5px; }
.report-meta dt { color: var(--slate-2); font-size: 13px; }
.report-meta dd { margin: 0; color: #fff; }
.report-meta .cert-btn { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--navy-2); border: 0; color: #fff; text-align: start; transition: background .2s; }
.report-meta .cert-btn:hover { background: var(--navy-3); }
.report-meta .cert-btn img { width: 56px; height: 64px; object-fit: cover; object-position: top; border-radius: 6px; background: #fff; }
.report-meta .cert-btn span { font-size: 14px; }
.report-meta .cert-btn small { display: block; color: var(--slate-2); font-size: 12.5px; }
.readout { padding: 28px 32px 32px; }
.readout-key { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--slate); margin: 0 0 18px; }
.readout-key span { display: inline-flex; align-items: center; gap: 8px; }
.readout-key .k-fill { width: 18px; height: 8px; border-radius: 4px; background: var(--sky); }
.readout-key .k-mark { width: 2px; height: 14px; background: var(--navy); }
.meter-row { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meter-row:last-child { border-bottom: 0; }
.meter-row .name { font-weight: 500; }
.meter-row .name small { display: block; font-weight: 400; color: var(--slate-2); font-size: 12.5px; }
.bar { position: relative; height: 12px; border-radius: 12px; background: var(--ice); }
.bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 12px; background: var(--sky); transition: width 1.2s var(--ease); }
.bar .label-mark { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--navy); border-radius: 2px; }
.meter-row .val { text-align: end; font-size: 14px; color: var(--slate); }
.meter-row .val b { display: block; color: var(--navy); font-size: 18px; font-weight: 600; }
.meter-row.lead-row .name { font-size: 17px; }
.meter-row.lead-row .val b { font-size: 22px; }
.readout-note { margin: 18px 0 0; color: var(--slate); font-size: 14.5px; }
.amino-all { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.amino-all summary { cursor: pointer; font-weight: 500; color: var(--sky-ink); padding: 6px 0; }
.amino-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 10px; }
.amino-table th { text-align: start; color: var(--slate-2); font-weight: 400; font-size: 13px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.amino-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.amino-table td:nth-child(n+2), .amino-table th:nth-child(n+2) { text-align: end; }
.amino-table .ess { font-size: 12px; color: var(--sky-ink); margin-inline-start: 6px; }
.amino-table .low { color: var(--danger); }
.lab-next { margin: 22px 0 0; color: var(--slate); font-size: 15px; }

/* ---------- How ---------- */
.how { padding: 88px 0 96px; scroll-margin-top: 68px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 0 0 28px; padding-inline: 0 28px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; margin-bottom: 18px; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; inset-inline-start: 44px; inset-inline-end: 0; height: 1px; background: var(--line); }
.steps b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.steps span { color: var(--slate); font-size: 15px; }

/* ---------- Overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(15, 27, 45, .55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; background: #fff; border-radius: 20px; width: min(980px, 100%); max-height: calc(100dvh - 40px); overflow: auto; animation: pop .35s var(--ease); box-shadow: 0 30px 80px rgba(15, 27, 45, .3); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 24px; line-height: 1; color: var(--navy); box-shadow: 0 0 0 1px var(--line); }
.close:hover { background: var(--ice); }
.product-sheet { display: grid; grid-template-columns: 1fr 1.05fr; }
.ps-media { position: sticky; top: 0; align-self: start; height: min(640px, calc(100dvh - 40px)); background: var(--ice); display: grid; place-items: center; padding: 32px; }
.ps-media img { width: 100%; max-width: 360px; mix-blend-mode: multiply; transition: opacity .2s; }
.ps-lab { position: absolute; bottom: 20px; inset-inline-start: 20px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13.5px; text-decoration: none; }
.ps-lab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.ps-body { padding: 36px 32px 28px; display: flex; flex-direction: column; }
.ps-body .tag { color: var(--sky-ink); font-weight: 500; margin: 0; font-size: 14px; }
.ps-body h2 { margin-top: 4px; font-size: 30px; }
.ps-body .en { margin: 0; color: var(--slate-2); direction: ltr; text-align: right; font-size: 14px; }
.highlights { list-style: none; margin: 16px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.highlights li { padding: 6px 12px; border-radius: 10px; background: var(--mist); font-size: 14px; color: var(--navy); }
.opt h4 { margin: 20px 0 8px; font-size: 14px; color: var(--slate); font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 0; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; font-size: 14.5px; transition: box-shadow .15s, background .15s; display: flex; flex-direction: column; align-items: center; line-height: 1.35; }
.pill small { font-weight: 400; color: var(--slate); font-size: 12.5px; }
.pill:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--sky); }
.pill[aria-pressed="true"] { background: var(--ice); box-shadow: inset 0 0 0 2px var(--sky); }
.pill:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.ps-buy { display: flex; gap: 12px; margin-top: 24px; }
.ps-buy .btn { flex: 1; }
.add-btn { white-space: nowrap; justify-content: space-between; padding: 0 24px; }
.add-btn b { font-weight: 600; }
.qty { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.qty-sm { height: 36px; }
.qty-sm button { width: 34px; font-size: 17px; }
.ps-details { margin-top: 26px; border-top: 1px solid var(--line); }
.ps-details .desc { color: var(--slate); margin: 18px 0 8px; font-size: 15px; }
.ps-details details { border-bottom: 1px solid var(--line); }
.ps-details summary { cursor: pointer; padding: 14px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ps-details summary::-webkit-details-marker { display: none; }
.ps-details summary::after { content: "+"; font-size: 20px; color: var(--slate); transition: transform .2s; }
.ps-details details[open] summary::after { transform: rotate(45deg); }
.ps-details summary small { color: var(--slate-2); font-weight: 400; font-size: 13px; margin-inline-end: auto; }
.ps-details details p { margin: 0 0 14px; color: var(--slate); font-size: 15px; }
.nutri { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 8px; }
.nutri td { padding: 7px 0; border-bottom: 1px solid var(--mist); }
.nutri td:last-child { text-align: end; font-weight: 500; }
.nutri tr.sub td:first-child { padding-inline-start: 14px; color: var(--slate); }
.warn { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFF4E5; color: #7A4A00; font-size: 14px; }
.fine { color: var(--slate-2); font-size: 13px; margin: 6px 0 14px; }
.cert-sheet { width: min(760px, 100%); padding: 16px; }
.cert-sheet img { width: 100%; border-radius: 10px; }

/* Drawer */
#cartOverlay { justify-content: flex-end; padding: 0; }
.drawer { width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; animation: slide .35s var(--ease); }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .close { position: static; box-shadow: none; background: var(--mist); }
.cart-items { list-style: none; margin: 0; padding: 8px 20px; overflow: auto; flex: 1; }
.ci { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 68px; height: 68px; border-radius: 12px; background: var(--ice); object-fit: contain; mix-blend-mode: multiply; }
.ci b { display: block; font-size: 15px; font-weight: 600; }
.ci span { color: var(--slate); font-size: 13px; }
.ci-right { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.ci .rm { border: 0; background: none; color: var(--slate); font-size: 13px; padding: 0; text-decoration: underline; }
.empty { text-align: center; color: var(--slate); padding: 48px 0; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--mist); }
.drawer-total { display: flex; justify-content: space-between; font-size: 18px; }

/* ---------- Checkout ---------- */
#view-checkout, #view-done { padding: 32px 0 88px; background: var(--mist); min-height: 70vh; }
.back { color: var(--slate); text-decoration: none; font-size: 14.5px; }
.back::before { content: "→ "; }
.back:hover { color: var(--sky-ink); }
.page-title { margin: 8px 0 24px; font-size: 34px; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0 0 20px; }
fieldset.panel { min-width: 0; }
legend { float: right; width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; margin-bottom: 16px; padding: 0; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; clear: both; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; clear: both; }
.field > span { font-weight: 500; font-size: 14px; }
.field small { color: var(--slate-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 12px 14px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(30, 167, 225, .15); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; clear: both; }
.pay { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 500; transition: box-shadow .15s, background .15s; }
.pay input { position: absolute; opacity: 0; }
.pay .radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; transition: box-shadow .15s; }
.pay:has(input:checked) { box-shadow: inset 0 0 0 2px var(--sky); background: var(--ice); }
.pay:has(input:checked) .radio { box-shadow: inset 0 0 0 6px var(--sky); }
.pay:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.pay small { display: block; font-weight: 400; font-size: 12.5px; color: var(--slate); }
.transfer { margin-top: 16px; padding: 18px; border-radius: 14px; background: var(--ice); }
.transfer-intro { margin: 0 0 12px; }
.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: #fff; padding: 14px 16px; border-radius: 12px; margin-bottom: 12px; }
.acct small { display: block; color: var(--slate); font-size: 12px; }
.acct b { font-size: 18px; font-weight: 600; }
.copy { margin-inline-start: auto; border: 0; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 99px; font-size: 13px; }
.qr { display: flex; align-items: center; gap: 16px; background: #fff; padding: 12px; border-radius: 12px; margin-bottom: 12px; }
.qr img { width: 120px; border-radius: 8px; flex: none; }
.qr b { display: block; font-weight: 600; }
.qr span { color: var(--slate); font-size: 13.5px; }
.qr a { display: block; margin-top: 6px; color: var(--sky-ink); font-weight: 500; font-size: 14px; }
.drop { position: relative; display: block; border: 2px dashed rgba(10, 120, 170, .4); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s; }
.drop:hover, .drop.drag { border-color: var(--sky); }
.drop.invalid { border-color: var(--danger); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px; text-align: center; }
.drop-empty svg { width: 30px; height: 30px; fill: none; stroke: var(--sky-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.drop-empty span { color: var(--slate); font-size: 13px; }
.drop-full { display: flex; align-items: center; gap: 14px; padding: 12px; }
.drop-full img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--mist); }
.drop-full span { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-full em { font-style: normal; color: var(--sky-ink); font-weight: 500; font-size: 14px; }
.co-side { position: sticky; top: 88px; }
.co-side h3 { margin-bottom: 8px; }
.summary-items { list-style: none; margin: 0; padding: 0; }
.summary-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-items img { width: 48px; height: 48px; border-radius: 10px; background: var(--ice); object-fit: contain; mix-blend-mode: multiply; }
.summary-items span { color: var(--slate); font-size: 12.5px; display: block; }
.totals { margin: 12px 0 16px; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--slate); }
.totals dt, .totals dd { margin: 0; }
.totals .grand { color: var(--navy); font-weight: 600; font-size: 19px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.form-error { background: #FDECEC; color: var(--danger); padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* ---------- Done ---------- */
.done { display: grid; place-items: center; }
.done-card { text-align: center; max-width: 520px; padding: 44px 28px; }
.done-card h1 { margin: 14px 0 6px; font-size: 28px; }
.done-code { font-size: 18px; }
.done-code b { color: var(--sky-ink); direction: ltr; display: inline-block; }
.done-card p { color: var(--slate); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.done-check { width: 76px; height: 76px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: var(--sky); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; }
.done-check path { stroke: var(--navy); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .wordmark { font-size: 20px; display: block; }
.footer-brand span { color: var(--sky); font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--on-navy); text-decoration: none; }
.footer-links a:hover { color: var(--sky); }
.copy-note { width: 100%; margin: 8px 0 0; font-size: 13px; color: var(--slate-2); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 30px); z-index: 60; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 500; opacity: 0; pointer-events: none; transition: .3s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .report { grid-template-columns: 1fr; }
  .lab-head { grid-template-columns: 1fr; gap: 14px; }
  .checkout { grid-template-columns: 1fr; }
  .co-side { position: static; }
}
@media (max-width: 760px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .top-nav { display: none; }
  .cart-btn { margin-inline-start: auto; padding: 0 14px; }
  .cart-label { display: none; }
  .hero-in { grid-template-columns: 1fr; padding: 24px 0 36px; gap: 8px; }
  .hero-art { order: -1; }
  .logo-hero { width: min(240px, 64vw); }
  .hero::before { width: 560px; inset-inline-end: auto; left: 50%; top: 0; translate: -50% -30%; }
  .lead { margin: 14px 0 24px; }
  .hero-cta .btn { flex: 1; padding: 0 16px; }
  .hero-proof { font-size: 14px; }
  .hero-proof .meter { width: 64px; }
  #products { padding: 52px 0 48px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .card h3 { font-size: 17px; }
  .card .tag, .card .en, .card .meta { font-size: 12.5px; }
  .card-lab { font-size: 11px; padding: 4px 8px; top: 8px; inset-inline-start: 8px; }
  .price { font-size: 16px; }
  .price small { display: none; }
  .lab { padding: 56px 0; }
  .report-meta, .readout { padding: 22px 18px; }
  .meter-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .meter-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .how { padding: 56px 0 64px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 60px 0 0; padding-inline: 60px 0; }
  .steps li::before { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::after { top: 52px; bottom: -20px; inset-inline-start: 22px; inset-inline-end: auto; width: 1px; height: auto; }
  .overlay { align-items: flex-end; padding: 0; }
  .product-sheet { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 92dvh; animation: up .35s var(--ease); }
  @keyframes up { from { transform: translateY(100%); } }
  .ps-media { position: relative; height: auto; padding: 20px; }
  .ps-media img { max-width: 210px; }
  .ps-body { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
  .ps-body h2 { font-size: 24px; }
  .ps-buy { position: sticky; bottom: 0; z-index: 2; background: #fff; margin-inline: -18px; padding: 12px 18px; border-top: 1px solid var(--line); }
  .add-btn { padding: 0 18px; font-size: 15px; }
  .cert-sheet { border-radius: 20px 20px 0 0; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .page-title { font-size: 26px; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .electrons { display: none; }
  .done-check circle, .done-check path { stroke-dashoffset: 0; }
}
