/* Lumarix Research: brand blue from the logo (#0382e8), DNA gray (#a7a7a5),
   deep navy for contrast sections. Sora headings, Inter body, JetBrains
   Mono for lab details (lots, specs, order numbers). */
:root {
  --blue: #0382e8; --blue-d: #0268bd; --blue-l: #e8f3fd; --blue-ll: #f4f9fe;
  --ink: #0b1b2e; --navy: #071729; --navy-2: #0d2340; --muted: #5a6878; --muted-2: #8794a3;
  --line: #e3e8ef; --tint: #f5f7fa; --dna: #a7a7a5; --ok: #12805c; --err: #c0332b; --amber: #fff4d6;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(11,27,46,.06), 0 8px 24px rgba(11,27,46,.06);
  --head: 'Sora', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid rgba(3,130,232,.45); outline-offset: 2px; }
section { padding: 88px 0; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: var(--r-sm); text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-blue { --bg: var(--blue); box-shadow: 0 6px 16px rgba(3,130,232,.25); }
.btn-blue:hover { --bg: var(--blue-d); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-white:hover { --bg: var(--blue-l); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-d); text-decoration: underline; cursor: pointer; }

/* ---------- ribbon + header ---------- */
.ribbon { background: var(--navy); color: #c9d6e6; font-size: 13px; }
.ribbon-in { display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; text-align: center; flex-wrap: wrap; }
.ribbon b { color: #fff; font-weight: 600; }
.ribbon-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand img { height: 30px; width: auto; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--blue-d); }
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.count[hidden] { display: none; }
.count { background: #fff; color: var(--blue-d); border-radius: 99px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; overflow: hidden;
  background: radial-gradient(1200px 520px at 85% 30%, #e3f0fd 0%, rgba(227,240,253,0) 60%), linear-gradient(#fff, #f7fafd); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(3,130,232,.18) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%); mask-image: linear-gradient(100deg, transparent 35%, #000 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d);
  background: var(--blue-l); padding: 7px 12px; border-radius: 99px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(3,130,232,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(3,130,232,0); } 100% { box-shadow: 0 0 0 0 rgba(3,130,232,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin: 22px 0 20px; font-weight: 800; letter-spacing: -.035em; }
.hl { color: var(--blue); }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-proof li { display: grid; }
.hero-proof b { font: 700 22px/1.2 var(--head); }
.hero-proof span { font-size: 13px; color: var(--muted); }
.hero-art { position: relative; height: 480px; }
.halo { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(3,130,232,.18), rgba(3,130,232,0) 65%); }
.vial { position: absolute; width: 46%; border-radius: 18px; box-shadow: 0 30px 60px rgba(11,27,46,.16); }
.v1 { left: 2%; top: 14%; transform: rotate(-7deg); }
.v2 { left: 27%; top: 2%; z-index: 2; width: 50%; }
.v3 { right: 0; top: 16%; transform: rotate(7deg); }
.chip { position: absolute; z-index: 3; background: #fff; border-radius: 99px; padding: 9px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.chip .mono { font-size: 11px; color: #fff; background: var(--blue); border-radius: 6px; padding: 2px 6px; }
.c1 { left: 0; bottom: 10%; }
.c2 { right: 2%; bottom: 3%; }
.facts { position: relative; border-top: 1px solid var(--line); background: rgba(255,255,255,.7); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts p { padding: 22px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-weight: 700; font-size: 15px; }
.facts span { font-size: 13px; color: var(--muted); }

/* ---------- section heads ---------- */
.sec-head { margin-bottom: 36px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kicker { font: 600 13px/1 var(--mono); color: var(--blue-d); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.kicker-light { color: #7cc0ff; }
.sec-sub { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 620px; }

/* ---------- catalog ---------- */
.catalog { background: #fff; }
.search { position: relative; display: block; width: min(340px, 100%); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted-2); stroke-width: 2; stroke-linecap: round; }
/* type selector + class beats the generic input rule further down, so the
   text always starts to the right of the icon */
.search input[type=search] { width: 100%; padding: 13px 14px 13px 44px; -webkit-appearance: none; appearance: none; }
.search input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 500 14px/1 var(--body); padding: 10px 14px; border-radius: 99px; cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter .n { color: var(--muted-2); margin-left: 4px; font-size: 12px; }
.filter[aria-pressed="true"] .n { color: #9fb0c4; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-p { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card-p:hover { box-shadow: var(--shadow); border-color: #d3dbe5; }
.card-p .shot { display: block; background: linear-gradient(#f6f8fa, #eef2f6); border: 0; padding: 0; cursor: pointer; width: 100%; }
.card-p .shot img { aspect-ratio: 600 / 640; object-fit: cover; object-position: center 40%; width: 100%; transition: transform .35s; }
.card-p:hover .shot img { transform: scale(1.03); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.badge-new { background: var(--blue); color: #fff; }
.badge-out { background: var(--ink); color: #fff; }
.card-p .body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tag { font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.card-p h3 { font-size: 18px; letter-spacing: -.01em; }
.card-p h3 .amt { color: var(--muted); font-weight: 600; font-size: 15px; margin-left: 4px; }
.card-p .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 10px; }
.price { font: 700 18px/1 var(--head); }
.add { padding: 10px 14px; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--blue); border-radius: var(--r-sm); overflow: hidden; }
.qty button { background: var(--blue-l); color: var(--blue-d); border: 0; width: 34px; height: 36px; font: 700 18px/1 var(--body); cursor: pointer; }
.qty button:hover { background: #d5e9fc; }
.qty output, .qty span { min-width: 32px; text-align: center; font-weight: 700; font-size: 15px; }
.details { background: none; border: 0; color: var(--muted); font: 500 13px var(--body); padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; justify-self: start; text-align: left; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- promo ---------- */
.promo { padding: 0; }
.promo-in { background: linear-gradient(120deg, var(--blue) 0%, #0266c4 55%, var(--navy-2) 100%); color: #fff; border-radius: 22px; padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.promo-in::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255,255,255,.07); }
.promo h2 { font-size: clamp(24px, 3vw, 32px); }
.promo p { color: #dcebfb; margin-top: 10px; max-width: 560px; }
.promo .kicker-light { color: #cfe6ff; }
.promo .btn { position: relative; z-index: 1; }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 8px; align-content: start; }
.steps li:not(:last-child)::after { content: ''; position: absolute; right: -15px; top: 42px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); z-index: 1; }
.step-n { font-size: 13px; color: var(--blue); font-weight: 600; }
.steps strong { font: 700 18px/1.25 var(--head); }
.steps li > span:last-child { color: var(--muted); font-size: 15px; }

/* ---------- quality ---------- */
.quality { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.quality::before { content: ''; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(124,192,255,.22) 1px, transparent 1.2px); background-size: 24px 24px; }
.quality-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.q-lead { color: #b9c8da; font-size: 18px; margin: 14px 0 28px; max-width: 540px; }
.q-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.q-list li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--blue); }
.q-list b { font-weight: 600; }
.q-list span { color: #9fb0c4; font-size: 14px; }
.coa-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 40px 80px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.coa-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.coa-top .mono { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.coa-badge { background: #e3f5ec; color: var(--ok); font: 700 12px/1 var(--mono); padding: 6px 10px; border-radius: 6px; }
.coa-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.coa-row span { color: var(--muted); }
.trace { width: 100%; height: 90px; margin: 14px 0 8px; background: repeating-linear-gradient(90deg, transparent 0 29px, var(--line) 29px 30px); }
.trace path { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.coa-note { font-size: 12px; color: var(--muted-2); }


/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 17px/1.4 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }
.faq details p strong { color: var(--ink); }

/* ---------- forms ---------- */
.contact { background: var(--tint); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.contact-card { padding: 28px; display: grid; gap: 16px; }
.contact-card .btn { justify-self: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-addr { grid-template-columns: 1.4fr 1fr .9fr; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-weight: 600; font-size: 14px; }
.opt { color: var(--muted-2); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=date], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(3,130,232,.12); }
[aria-invalid="true"] { border-color: var(--err) !important; }
textarea { resize: vertical; }
input[type=date] { -webkit-appearance: none; appearance: none; min-height: 48px; display: block; text-align: left; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.msg { font-size: 14px; font-weight: 600; min-height: 1em; }
.msg.ok { color: var(--ok); }
.msg.bad { color: var(--err); }
.err { color: var(--err); font-size: 14px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #b9c8da; padding: 64px 0 0; }
.foot-in { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; max-width: 340px; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a { color: #dfe7f1; text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.signup label { color: #fff; font: 600 16px var(--head); }
.fine-dark { color: #8fa1b6; margin: 6px 0 12px; }
.signup-row { display: flex; gap: 8px; }
.signup-row input { background: var(--navy-2); border-color: #23395a; color: #fff; }
.signup .msg.ok { color: #6ee7b7; }
.signup .msg.bad { color: #fca5a5; }
.foot-base { border-top: 1px solid #1b304d; padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: #6f839b; }

/* ---------- order drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(7,23,41,.45); animation: fade .2s; }
.panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(500px, 100%); background: #fff; display: flex; flex-direction: column; animation: slide .25s ease-out; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: .4; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 20px; }
.x { background: none; border: 0; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.x:hover { background: var(--tint); }
.x svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.progress { list-style: none; margin: 0; padding: 12px 22px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.progress li { flex: 1; }
.progress button { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; font: 500 14px var(--body); color: var(--muted-2); cursor: pointer; border-bottom: 3px solid var(--line); }
.progress .pn { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font-size: 12px; font-weight: 700; }
.progress .is-on button { color: var(--ink); border-color: var(--blue); }
.progress .is-on .pn { background: var(--blue); color: #fff; }
.progress .is-done button { color: var(--ink); border-color: #9ccbf5; }
.progress .is-done .pn { background: var(--blue-l); color: var(--blue-d); }
.panel-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.step-h { font: 700 18px var(--head); padding: 0; margin-bottom: 4px; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; }
.line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 60px; height: 60px; object-fit: cover; object-position: center 40%; border-radius: 8px; background: var(--tint); }
.line-t { font-weight: 600; font-size: 15px; }
.line-s { font-size: 13px; color: var(--muted); }
.line-r { display: grid; justify-items: end; gap: 6px; }
.line-r .qty button { width: 30px; height: 30px; font-size: 16px; }
.line-total { font-weight: 700; font-size: 15px; }
.rm { background: none; border: 0; color: var(--muted-2); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.empty-list { color: var(--muted); padding: 20px 0; }
.ship-meter { font-size: 14px; color: var(--muted); }
.ship-meter .bar { height: 6px; background: var(--tint); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.ship-meter .bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .3s; }
.ship-meter b { color: var(--ink); }
.review { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; }
.review dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; margin: 0; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.review .sep { grid-column: 1 / -1; border-top: 1px solid var(--line); margin: 4px 0; }
.next-up { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--blue-ll); }
.next-h { font: 700 15px var(--head); margin-bottom: 8px; }
.next-up ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.next-up b { color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; cursor: pointer; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-ll); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: 0 0 18px; }
.panel-foot { border-top: 1px solid var(--line); padding: 14px 22px 18px; display: grid; gap: 12px; background: #fff; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 14px; color: var(--muted); }
.totals b { color: var(--ink); text-align: right; }
.totals .grand { font: 700 18px var(--head); color: var(--ink); }
.step-nav { display: flex; gap: 10px; }
.step-nav [data-next] { flex: 1; }
.done { flex: 1; overflow-y: auto; padding: 36px 26px; display: grid; gap: 14px; justify-items: center; align-content: start; text-align: center; }
.done[hidden] { display: none; }
.done-mark { width: 64px; height: 64px; }
.done-mark circle { fill: var(--blue-l); stroke: var(--blue); stroke-width: 2; }
.done-mark path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font-size: 26px; }
.done-no { white-space: nowrap; font-size: 15px; background: var(--tint); padding: 8px 12px; border-radius: 8px; }
.done p { color: var(--muted); max-width: 380px; }

/* ---------- product dialog ---------- */
dialog { border: 0; padding: 0; border-radius: 18px; box-shadow: 0 40px 100px rgba(7,23,41,.35); color: var(--ink); }
dialog::backdrop { background: rgba(7,23,41,.5); }
.pd { width: min(860px, calc(100% - 32px)); }
.gate { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
.gate form { padding: 30px 28px; display: grid; gap: 14px; }
.gate img { height: 28px; width: auto; margin-bottom: 6px; }
.gate h2 { font-size: 24px; }
.gate-sub { color: var(--muted); font-size: 15px; margin-top: -6px; }
.gate .btn { width: 100%; }
.gate::backdrop { background: rgba(7,23,41,.82); backdrop-filter: blur(6px); }
@media (max-width: 640px) { .gate form { padding: 24px 18px; } }
.pd > .x { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(255,255,255,.9); }
.pd-in { display: grid; grid-template-columns: 1fr 1.1fr; }
.pd-in img { width: 100%; height: 100%; object-fit: cover; background: var(--tint); }
.pd-body { padding: 34px 30px; display: grid; gap: 12px; align-content: start; }
.pd-body h2 { font-size: 30px; }
.pd-price { font: 700 22px var(--head); color: var(--blue-d); }
.pd-body > p:not(.tag):not(.pd-price):not(.fine) { color: var(--muted); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 6px 0; font-size: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.pd-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- mobile dock ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 10px 10px 18px;
  display: none; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 16px 40px rgba(7,23,41,.35); }
.dock p { display: grid; line-height: 1.2; }
.dock strong { font: 700 17px var(--head); }
.dock span { font-size: 12px; color: #9fb0c4; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .links { gap: 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .links { display: none; }
  .cart-btn { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; padding-top: 44px; gap: 10px; }
  .hero-art { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts p:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quality-in { grid-template-columns: 1fr; gap: 40px; }
  .coa-card { max-width: 440px; transform: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .signup { grid-column: 1 / -1; }
  .promo-in { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .pd-in { grid-template-columns: 1fr; }
  .pd-in img { max-height: 300px; object-position: center 40%; }
  .dock:not([hidden]) { display: flex; }
  body.has-dock { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .ribbon-sep, .ribbon-in > span:last-child { display: none; }
  .nav { height: 62px; gap: 12px; }
  .brand img { height: 24px; }
  .cart-btn span:not(.count) { display: none; }
  .cart-btn { padding: 10px 12px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .hero-cta .btn { flex: 1; }
  .hero-proof { gap: 16px; flex-wrap: nowrap; }
  .hero-proof b { font-size: 18px; }
  .hero-proof span { font-size: 12px; }
  .eyebrow { font-size: 11px; letter-spacing: .03em; padding: 6px 10px; }
  .hero-art { height: 270px; }
  .chip { font-size: 12px; padding: 7px 11px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-p .body { padding: 12px; }
  .card-p h3 { font-size: 16px; }
  .card-p h3 .amt { display: block; margin: 0; font-size: 13px; }
  .card-p .meta { flex-direction: column; align-items: stretch; gap: 10px; }
  .card-p .meta .add, .card-p .meta .qty { width: 100%; justify-content: space-between; }
  .card-p .meta .qty button { flex: 0 0 40px; }
  .price { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .q-list { grid-template-columns: 1fr; }
  .row, .row-addr { grid-template-columns: 1fr; }
  .row-addr { grid-template-columns: 1fr 1fr; }
  .row-addr .field:first-child { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .search { width: 100%; }
  .contact-card { padding: 20px; }
  .pd-body { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .review dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .review dt { margin-top: 8px; }
  .review dt:first-child { margin-top: 0; }
  .review dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- inner pages ---------- */
.page-h { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.prose { padding-top: 56px; padding-bottom: 72px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose p, .prose li { color: #33445a; margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.nw { white-space: nowrap; }

/* ---------- /pay/ pages ---------- */
.pay-page main { padding: 56px 16px 80px; }
.pay-card { padding: 40px 32px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.pay-card h1 { font-size: clamp(24px, 4vw, 30px); }
.pay-card #pay-p { color: var(--muted); max-width: 460px; }
.pay-no { font-size: 14px; background: var(--tint); padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--blue-l); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .pay-card { padding: 30px 20px; } .pay-actions .btn { width: 100%; } }
.pay-page .foot { padding-top: 0; }

/* ---------- discount code + stock badges ---------- */
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; text-transform: none; }
.code-row .btn { flex: 0 0 auto; }
.code-msg { font-size: 13px; font-weight: 600; min-height: 0; }
.code-msg:empty { display: none; }
.code-msg.ok { color: var(--ok); }
.code-msg.bad { color: var(--err); }
.badge-low { background: #fff4d6; color: #8a5a00; }
