/* =====================================================================
   STORE.CSS: Ezranova's layer over the shared template.

   base.css and components.css are shared by every store and untouched.
   Sections 0 to 14 are the engine's layout, carried from South Shore and
   re-themed entirely through tokens.css. The EZRANOVA DESIGN block at the
   end is this store's own: the night hero with the header over it, the
   statement, the product rail, numbered steps, photo panels, the navy
   featured set, the numbered FAQ, the navy footer and the product page's
   At a glance card (19 Oct 2026, from the owner's reference
   primedoctorrx.vercel.app).

   No color is named here. Everything is a token from tokens.css.
   ===================================================================== */

/* ---- 0. Type and globals ---------------------------------------------- */

html { background: var(--bg); }
body { font-family: var(--font); background: var(--bg); color: var(--text-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, .pcard__title, .cart-drawer__title, .faq-item summary { font-family: var(--font-display); }
h1, h2 { font-weight: var(--fw-bold); letter-spacing: -.045em; color: var(--text); text-wrap: balance; line-height: 1.02; }
h3 { text-wrap: balance; color: var(--text); font-weight: var(--fw-bold); letter-spacing: -.02em; }
h1 em, h2 em, .statement__text em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent); padding-right: .04em;
}
.dot { color: var(--accent); font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: var(--fw-med) 12px/1.3 var(--font-mono); letter-spacing: var(--track-eyebrow);
  text-transform: uppercase; color: var(--text-dim);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
a { color: var(--accent); }
::selection { background: var(--tide); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 3px; }
input, select, textarea { color-scheme: light; }
[hidden] { display: none !important; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px; border: 0; border-radius: var(--radius-btn);
  font: var(--fw-med) 15px/1.2 var(--font); letter-spacing: 0; text-transform: none; text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--btn-bg); color: var(--btn-ink); border: 0; }
.btn--solid:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn--soft { background: var(--btn-soft); color: var(--text); }
.btn--soft:hover { background: var(--btn-soft-hover); color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn__sep { opacity: .5; margin: 0 4px; }
.btn--atc { min-height: 58px; font-size: 16px; }

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.section--flush { padding-top: 0; padding-bottom: 0; }
.statement { padding-bottom: 48px; }
.section--alt { background: var(--bg-alt); border: 0; }

.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 36px; }
.sechead h2 { margin: 0; font-size: var(--fs-h2); max-width: 20ch; }
.sechead .eyebrow { margin-bottom: 14px; }

/* ---- 1. Top bar and header -------------------------------------------- */

.topbar { background: var(--tide); color: var(--text); }
.topbar__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar__ruo { margin: 0; font: var(--fw-med) 13px/1.4 var(--font); color: var(--text); }
.topbar__facts { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; font: 400 13px/1.4 var(--font); color: var(--text); }
.topbar__facts li::before { content: "\00b7"; margin-right: 10px; color: var(--text-dim); }

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med);
}
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brandmark { color: var(--text); min-height: 44px; display: inline-flex; align-items: center; justify-self: start; }
.brandmark img.brandmark__lockup { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin: 0; }
.nav a { position: relative; padding: 10px 14px; border-radius: var(--radius-pill); font: var(--fw-med) 15px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; transition: background var(--t-fast); }
.nav a::after { display: none; }
.nav a:hover { background: var(--surface); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; min-width: 44px; border: 0; border-radius: 50%; color: var(--text); background: transparent; }
.icon-btn:hover { background: var(--surface); color: var(--text); border: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-btn { position: relative; height: 44px; min-width: 44px; padding: 0 10px; gap: 6px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text); justify-content: center; }
.cart-btn:hover { background: var(--surface); color: var(--text); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--white); font: 600 10px/18px var(--font); }
.cart-btn:hover .cart-btn__count { background: var(--ink); color: var(--white); }
.cart-btn__label { display: none; }
.ordering-closed { padding: 10px 16px; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--text); background: var(--fog); border: 0; }
.drawer { background: var(--bg); }
.drawer .brandmark img.brandmark__lockup { height: 26px; }
.drawer__nav a, .drawer__help { font: var(--fw-med) 26px/1.2 var(--font); letter-spacing: -.03em; text-transform: none; border-color: var(--line-soft); }
.drawer__nav a span, .drawer__help span { color: var(--text-dim); }
.drawer__tag { font-family: var(--font-mono); letter-spacing: .1em; }

/* ---- 2. Home hero ----------------------------------------------------- */

.lead { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; background: var(--bg); overflow: visible; min-height: 0; display: block; }
.lead__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lead__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); background: var(--surface); font: var(--fw-med) 14px/1.3 var(--font); color: var(--text); }
.vmark { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); flex: none; }
.vmark::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lead h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.055em; margin: 0 0 26px; max-width: 13ch; }
.lead h1 em { letter-spacing: -.02em; }
.lead__lede { max-width: 60ch; margin: 0 auto 34px; font-size: 18px; line-height: 1.65; color: var(--text-body); }
.lead__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lead__frame { position: relative; margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius-xl); overflow: hidden; background: var(--fog); aspect-ratio: 9 / 5; }
.lead__frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The readout: a real lot record from the data, floating on the frame. */
.readout {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: min(360px, calc(100% - 32px));
  padding: 20px 22px 14px; border-radius: var(--radius-lg); text-align: left;
  background: color-mix(in srgb, var(--white) 84%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-lift);
}
.readout__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font: var(--fw-med) 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.readout__ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--ok) 10%, var(--white)); color: var(--ok); letter-spacing: .04em; text-transform: none; font-family: var(--font); font-weight: 600; font-size: 12.5px; }
.readout__ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.readout__rows, .readout__results { margin: 0; }
.readout__rows div, .readout__res { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line-faint); }
.readout dt { font: 400 13px/1.4 var(--font); color: var(--text-dim); }
.readout dd { margin: 0; font: 500 13px/1.4 var(--font-mono); color: var(--text); text-align: right; overflow-wrap: anywhere; }
.readout__results { margin-top: 8px; padding: 2px 12px; border-radius: var(--radius-sm); background: var(--tide-2); }
.readout__res:last-child { border-bottom: 0; }
.readout__res dd { color: var(--accent); font-weight: 600; }
.readout__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; font: var(--fw-med) 14px/1 var(--font); color: var(--text); text-decoration: none; }
.readout__go svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.readout__go:hover svg { transform: translateX(3px); }

/* Four computed figures under the frame. */
.figures { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.figures li { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); }
.figures b { display: block; font: var(--fw-bold) clamp(34px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.figures span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--text-dim); }

/* ---- 3. Statement and the feature accordion --------------------------- */

.statement { text-align: center; }
.statement__text { margin: 0 auto; max-width: 30ch; font: var(--fw-med) clamp(28px, 3.6vw, 50px)/1.12 var(--font-display); letter-spacing: -.04em; color: var(--text); text-wrap: balance; }
.statement__text em { font-size: 1.06em; }
.statement .ul { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-color: var(--cobalt); }

.feat__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.feat__list { display: flex; flex-direction: column; gap: 12px; }
.feat__item { border-radius: var(--radius-lg); background: var(--surface); transition: background var(--t-med); }
.feat__item[open] { background: var(--fog-2); }
.feat__item summary { display: flex; align-items: center; gap: 16px; padding: 24px 26px; min-height: 76px; cursor: pointer; list-style: none; color: var(--text-dim); }
.feat__item summary::-webkit-details-marker { display: none; }
.feat__item[open] summary { color: var(--text); padding-bottom: 10px; }
.feat__item summary:hover { color: var(--text); }
.feat__n { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); font: 500 12px/1 var(--font-mono); color: var(--text-dim); }
.feat__item[open] .feat__n { background: var(--grad); color: var(--white); }
.feat__t { font: var(--fw-med) clamp(19px, 1.8vw, 23px)/1.25 var(--font-display); letter-spacing: -.025em; }
.feat__item p { margin: 0; padding: 0 26px 26px 76px; font-size: 16px; line-height: 1.7; color: var(--text-body); max-width: 56ch; }
.feat__cta { align-self: flex-start; margin-top: 8px; }
.feat__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--fog); min-height: 460px; }
.feat__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- 4. Products ------------------------------------------------------ */

.cpills, .toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cpill, .chip-f {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); border: 0;
  font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; cursor: pointer;
  transition: box-shadow var(--t-fast), background var(--t-fast);
}
.cpill span, .chip-f span { font: 500 11px/1 var(--font-mono); color: var(--text-dim); margin: 0; }
.cpill:hover, .chip-f:hover { box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.cpill.is-on, .chip-f.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); color: var(--text); }
.cpill.is-on span, .chip-f.is-on span { color: var(--text-dim); opacity: 1; }
.chip-f { text-decoration: none; }
.fdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--fam, var(--line)); }
.fdot--cobalt { --fam: var(--fam-cobalt); }
.fdot--emerald { --fam: var(--fam-emerald); }
.fdot--violet { --fam: var(--fam-violet); }
.fdot--teal { --fam: var(--fam-teal); }
.fdot--copper { --fam: var(--fam-copper); }
.fdot--ruby { --fam: var(--fam-ruby); }
.fdot--amber { --fam: var(--fam-amber); }
.fdot--magenta { --fam: var(--fam-magenta); }
.fdot--graphite { --fam: var(--fam-graphite); }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; list-style: none; padding: 0; margin: 0; }
.pcard { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.pcard:hover { transform: none; border: 0; }
.pcard__media { position: relative; margin: 0 0 16px; border-radius: var(--radius-lg); overflow: hidden; background: var(--media-bg); }
.pcard__img { display: block; }
.pcard__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; margin: 0; max-width: none; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__add {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--white); color: var(--text); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ink) 40%, transparent);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.pcard__add svg { width: 20px; height: 20px; }
.pcard__add:hover { background: var(--ink); color: var(--white); transform: scale(1.05); }
.pcard__flag { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 12px; border-radius: var(--radius-sm); background: var(--white); font: var(--fw-med) 12.5px/1.2 var(--font); color: var(--text-dim); box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--ink) 40%, transparent); }
.pcard__flag--ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.pcard__flag--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pcard__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard__title { margin: 0; min-height: 0; font: var(--fw-med) 17px/1.3 var(--font-display); letter-spacing: -.02em; text-transform: none; color: var(--text); }
.pcard__title a { color: var(--text); text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__price { margin: 0; flex: none; font: 500 15px/1.3 var(--font); color: var(--text); }
.pcard__cat { margin: 4px 0 12px; font-size: 13.5px; color: var(--text-dim); letter-spacing: 0; text-transform: none; font-family: var(--font); }
.pcard__vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; min-height: 0; justify-content: flex-start; }
.badge { position: absolute; top: 14px; left: 14px; right: auto; z-index: 2; padding: 6px 11px; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font: 600 11px/1.2 var(--font); letter-spacing: .02em; text-transform: none; }

.vpill {
  position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: var(--radius-sm);
  font: 500 12.5px/1 var(--font-mono); letter-spacing: 0; color: var(--text); background: var(--white);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-soft); cursor: pointer; transition: box-shadow var(--t-fast), background var(--t-fast);
}
.vpill:hover { box-shadow: inset 0 0 0 1px var(--line); }
.vpill.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--text); background: var(--white); }
.vpill.is-static { cursor: default; background: var(--surface); box-shadow: none; }
.vpill.is-pending { opacity: 1; text-decoration: line-through; color: var(--text-dim); background: transparent; box-shadow: inset 0 0 0 1px var(--line-faint); cursor: not-allowed; }
.vpill.is-pending.is-on { box-shadow: inset 0 0 0 1.5px var(--text-dim); }
.vpill::after { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }

.pcard__pending, .stickybar__pending {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px;
  border-radius: var(--radius-sm); background: var(--surface); border: 0; opacity: 1;
  font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-dim); text-align: center;
}
.pending { border: 0; border-radius: var(--radius); background: var(--surface); padding: 18px 20px; margin: 22px 0 0; opacity: 1; color: var(--text); }
.pending__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: var(--fw-bold) 15px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.pending__head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.pending p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-body); }

/* ---- 5. Set band ------------------------------------------------------ */

.setband { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-xl); background: var(--tide); }
.setband h2 { font-size: var(--fs-h2); margin: 0 0 18px; max-width: 16ch; }
.setband p { max-width: 50ch; margin: 0 0 28px; color: var(--text-body); font-size: 17px; }
.setband__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.setband .btn--ghost { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); }
.setband .btn--ghost:hover { background: color-mix(in srgb, var(--white) 50%, transparent); }
.byo-band__tiers { display: flex; gap: 10px; }
.byo-tier { min-width: 124px; padding: 24px 20px 20px; border-radius: var(--radius-lg); background: var(--white); border: 0; text-align: center; }
.byo-tier b { display: block; font: var(--fw-bold) 40px/1 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.byo-tier span { display: block; margin-top: 10px; font-size: 13px; color: var(--text-dim); letter-spacing: 0; text-transform: none; }

/* ---- 6. Lab report cards and library ---------------------------------- */

.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.rcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 0; box-shadow: none; }
.rcard__kind { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font: var(--fw-med) 13px/1.3 var(--font); color: var(--text); }
.rcard--lot .rcard__kind { color: var(--ok); }
.rcard--lot .rcard__kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: -4px; }
.rcard__kind span { margin-left: auto; color: var(--text-dim); font-weight: 400; }
.rcard__title { font-size: 21px; margin: 0; letter-spacing: -.03em; }
.rcard__title a { text-decoration: none; color: var(--text); }
.rcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rcard__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px; border-radius: var(--radius-sm); background: var(--white); }
.rcard__meta dt, .rcard__res dt { font: 400 12px/1.3 var(--font); color: var(--text-dim); }
.rcard__meta dd { margin: 4px 0 0; font: 500 13px/1.35 var(--font-mono); color: var(--text); overflow-wrap: anywhere; }
.rcard__test { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.rcard__results { margin: 0; }
.rcard__res { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-faint); }
.rcard__res dd { margin: 0; font: 600 14px/1.35 var(--font-mono); color: var(--accent); text-align: right; }
.rcard__note, .rcard__rel { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-body); }
.rcard__verify { margin-top: auto; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); box-shadow: none; font-size: 14px; line-height: 1.6; color: var(--text); }
.rcard__verify span { display: block; font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.rcard__verify a { color: var(--accent); }
.rcard__verify b { font-family: var(--font-mono); font-weight: 600; overflow-wrap: anywhere; }
.rcard__file { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.coa__intro { margin: -14px 0 24px; max-width: 70ch; }
.coa__head { margin-bottom: 14px; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.coa__empty { padding: 20px 22px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text-dim); max-width: 760px; }
.rsearch { max-width: 640px; margin: 0 0 24px; }
.rsearch__label { display: block; font: var(--fw-med) 14px/1.3 var(--font); color: var(--text); margin-bottom: 8px; }
.rsearch__input { width: 100%; min-height: 54px; padding: 12px 20px; font: 16px var(--font); color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.rsearch__input:focus { outline: 2px solid var(--accent-fill); outline-offset: 1px; }
.rsearch__status { margin: 8px 0 0; font-size: 13px; color: var(--text-dim); }

/* ---- 7. FAQ: the heading left, the questions right -------------------- */

.faq { overflow: visible; }
.faq::before, .faq::after, .faq__in::before, .faq__in::after { content: none !important; display: none !important; }
.faq__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { margin: 0 0 18px; font-size: var(--fs-h2); }
.faq__head p { color: var(--text-dim); max-width: 36ch; margin: 0; }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; margin: 0; }
.faq-item:hover { border-color: var(--line-soft); }
.faq-item[open] { border-color: var(--line-soft); }
.faq__list .faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-item summary {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  min-height: 72px; padding: 16px 0; font: var(--fw-med) clamp(17px, 1.5vw, 20px)/1.35 var(--font-display); letter-spacing: -.02em; color: var(--text); text-transform: none;
}
.faq-item summary::before { content: ""; order: -1; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); }
.faq-item summary::after {
  content: "+"; position: absolute; left: 0; top: 50%; width: 30px; margin-top: -15px;
  font: 400 18px/30px var(--font); text-align: center; color: var(--text); transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary { color: var(--text); }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item__body { padding: 0 0 22px 46px; border: 0; color: var(--text-body); font-size: 16px; line-height: 1.75; }
.faq-item__body p { margin: 0 0 10px; max-width: 64ch; }
.pdp__info .faq-item summary { min-height: 60px; font-size: 16px; }
.pdp__info .faq-item:first-of-type { border-top: 1px solid var(--line-soft); }

/* ---- 8. Page head and prose ------------------------------------------- */

.phead { position: relative; background: var(--bg); border: 0; overflow: visible; padding-top: 16px; }
.phead__card { position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 30vw, 420px); border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Ink scrim: heaviest under the type (bottom left), so white text keeps
   at least the AA ratio wherever the photograph is light. */
.phead__card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 58%, transparent) 55%, color-mix(in srgb, var(--ink) 18%, transparent) 100%),
              linear-gradient(0deg, color-mix(in srgb, var(--ink) 45%, transparent) 0%, transparent 60%); }
.phead__in { position: relative; padding: clamp(28px, 4vw, 56px); max-width: 860px; }
.phead .eyebrow { color: color-mix(in srgb, var(--white) 82%, transparent); }
.phead h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 0; max-width: 16ch; color: var(--white); }
.phead h1 .dot { color: var(--surf); }
.phead h1 em { background: linear-gradient(110deg, var(--surf), #7FD4FF); -webkit-background-clip: text; background-clip: text; }
.phead__lede { max-width: 60ch; margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--white) 88%, transparent); }
.phead + .section, .phead + .section--tight { padding-top: 48px; }

.prose p { line-height: 1.8; margin: 0 0 14px; }
.prose__note { font-size: var(--fs-small); color: var(--text-dim); padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 0; }
.prose--page { max-width: 760px; }
.prose--page h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; margin: 40px 0 12px; }
.prose--page ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 16px; }
.prose--page a { color: var(--accent); }
.prose--page ul.assumptions li { color: var(--text-dim); }
.draftbanner { border: 0; border-radius: var(--radius); background: var(--tide-2); padding: 16px 18px; margin-bottom: 26px; font-size: var(--fs-small); color: var(--text); }
.notfound { display: flex; gap: 12px; flex-wrap: wrap; }
.legal-updated { font-size: 13px; color: var(--text-dim); margin: 0 0 18px; }

/* ---- 9. Catalog toolbar ----------------------------------------------- */

.toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin-bottom: 32px; padding: 0; border: 0; }
.toolbar__chips { margin: 0; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-dim); }
.toolbar__sort select, .bitem__sel { min-height: 44px; font: 14px var(--font); color: var(--text); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 8px 12px; }
.cat-empty { text-align: center; padding: 40px 0; color: var(--text-dim); }

/* ---- 10. Product page ------------------------------------------------- */

.pdp-sec { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-dim); margin-bottom: 24px; }
.crumbs a { position: relative; color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs a::after { content: ""; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -12px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.pdp__gallery { position: sticky; top: 96px; }
.pdp__media { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--media-bg); border: 0; }
.pdp__media > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
.pdp__media--set { padding: 28px; }
.mchips { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mchips span { padding: 7px 12px; border-radius: var(--radius-pill); border: 0; background: color-mix(in srgb, var(--white) 86%, transparent); backdrop-filter: blur(8px); font: var(--fw-med) 12px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 84px; padding: 0; overflow: hidden; cursor: pointer; border: 0; border-radius: var(--radius); background: var(--media-bg); box-shadow: inset 0 0 0 1px transparent; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { box-shadow: 0 0 0 2px var(--ink); }

.pbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pbadge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface); font: var(--fw-med) 12.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-body); }
.pbadge--gold { background: var(--ink); color: var(--white); }
.pbadge--ok { background: color-mix(in srgb, var(--ok) 10%, var(--white)); color: var(--ok); }
.pbadge--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pdp__info .eyebrow { margin-bottom: 8px; }
.pdp__title { font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; margin: 0 0 14px; }
.pdp__lede { font-size: 16px; line-height: 1.7; max-width: 54ch; margin: 0; }
.pdp__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.pdp__price { font: var(--fw-bold) 32px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.pdp__compare { font-size: 17px; color: var(--text-dim); }
.pdp__per { font-size: var(--fs-small); color: var(--text-dim); }

.opt { margin-top: 24px; }
.opt__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: var(--fw-bold) 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.opt__label span { font-weight: 400; color: var(--text-dim); }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vpills .vpill { min-height: 46px; padding: 0 18px; font-size: 14px; }

/* The reference's quantity cards: one column each, the radio on top. */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tier {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; cursor: pointer;
  padding: 20px 8px 16px; border-radius: var(--radius); border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow var(--t-fast), background var(--t-fast);
}
.tier:hover { box-shadow: inset 0 0 0 1px var(--line); }
.tier.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.tier input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0 0 4px; flex: none; }
.tier__main { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; flex: none; }
.tier__q { display: block; font: var(--fw-bold) 15px/1.2 var(--font); color: var(--text); }
.tier__ea { display: block; font-size: 12px; color: var(--text-dim); margin: 0; }
.tier__right { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tier__tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--tide); color: var(--text); font: var(--fw-bold) 10.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.tier__save { font-size: 12px; color: var(--accent); white-space: nowrap; }
.tier__total { min-width: 0; font: var(--fw-bold) 15px/1.2 var(--font); color: var(--text); }
.btn--atc { margin-top: 22px; }
.ruo-line { margin: 12px 0 0; font-size: 12.5px; color: var(--text-dim); text-align: center; }
.coalink { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--fs-small); color: var(--text); text-decoration: underline; text-underline-offset: 3px; border: 0; }

.shipbar { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); }
.shipbar__msg { font-size: 13.5px; color: var(--text); margin-bottom: 8px; }
.shipbar__track { height: 4px; background: var(--white); border-radius: 4px; overflow: hidden; }
.shipbar__track i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width .4s var(--ease); }

/* The reference's icon row under the add button. */
.trustrow { list-style: none; padding: 0; margin: 24px 0 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.trustrow li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; text-align: center; font-size: 12px; line-height: 1.3; color: var(--text-body); }
.trustrow__i { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.trustrow__i svg { width: 21px; height: 21px; }
.trustrow b { font-weight: var(--fw-med); color: var(--text); font-size: 12px; margin: 0; }
.trustrow a { color: var(--accent); }

.fbt { margin-top: 22px; padding: 18px; border: 0; border-radius: var(--radius); background: var(--tide-2); }
.fbt__title { font: var(--fw-bold) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 10px; }
.fbt__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.fbt__row + .fbt__row { border-top: 1px solid var(--line-soft); }
.fbt__mid { flex: 1; min-width: 0; }
.fbt__name { font: var(--fw-bold) 14.5px var(--font); color: var(--text); text-decoration: none; }
.fbt__parts { font-size: 12.5px; color: var(--text-dim); margin: 2px 0 4px; }
.fbt__price { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.fbt__price ins { text-decoration: none; color: var(--text); font-weight: var(--fw-bold); }
.fbt__price del { color: var(--text-dim); }
.fbt__price span { font-size: 12px; color: var(--accent); }

/* "You may also be interested in": four rows in the buy column. */
.also { margin-top: 22px; }
.also__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.also__title { font: var(--fw-bold) 14px/1.2 var(--font); color: var(--text); }
.also__head a { font-size: 12.5px; color: var(--accent); }
.also__row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; border-top: 1px solid var(--line-soft); color: var(--text); text-decoration: none; }
.also__row:last-child { border-bottom: 1px solid var(--line-soft); }
.also__row img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; background: var(--media-bg); }
.also__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.also__name { font: var(--fw-bold) 14.5px/1.25 var(--font); }
.also__sub { font-size: 12.5px; color: var(--text-dim); }
.also__price { font: var(--fw-med) 13.5px var(--font); white-space: nowrap; }
.also__go { font-size: 22px; line-height: 1; color: var(--text-dim); }
.also__row:hover .also__name { color: var(--accent); }
.pdp__media--stage { background: var(--ink); }

.specs { margin: 0; }
.spec { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-faint); font-size: 14px; }
.spec dt { color: var(--text-dim); font: 400 13px/1.4 var(--font); padding-top: 1px; letter-spacing: 0; text-transform: none; }
.spec dd { margin: 0; color: var(--text); overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 13px; }

.pdp__detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp__detail h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 46px); }
.footer-notice--card { padding: 24px; border: 0; border-radius: var(--radius-lg); background: var(--white); }
.footer-notice--card .footer-notice__label { display: block; margin-bottom: 8px; }
.footer-notice--card p { color: var(--text-body); font-size: 14px; }

.bcomps { list-style: none; padding: 0; margin: 0; border-radius: var(--radius); background: var(--surface); }
.bcomp { display: flex; align-items: center; gap: 14px; padding: 10px 14px; }
.bcomp + .bcomp { border-top: 1px solid var(--line-faint); }
.bcomp img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); background: var(--white); }
.bcomp div { flex: 1; min-width: 0; }
.bcomp a { display: block; font: var(--fw-bold) 14.5px var(--font); color: var(--text); text-decoration: none; }
.bcomp span { font-size: 12.5px; color: var(--text-dim); }
.bcomp .bcomp__price { color: var(--text); font-size: 14px; }

.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); transform: translateY(100%); transition: transform var(--t-med) var(--ease); }
.stickybar.is-on { transform: none; }
.stickybar__in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.stickybar img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); }
.stickybar__mid { flex: 1; min-width: 0; }
.stickybar__name { font: var(--fw-bold) 15px var(--font); color: var(--text); }
.stickybar__sub { font-size: 12.5px; color: var(--text-dim); }
.stickybar__total { font: var(--fw-bold) 17px var(--font); color: var(--text); }

/* ---- 11. Sets and the builder ---------------------------------------- */

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { position: relative; display: flex; flex-direction: column; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); overflow: hidden; transition: box-shadow var(--t-med), transform var(--t-med); }
.bcard:hover { box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow); transform: translateY(-2px); }
.bcard .badge { top: 14px; left: 14px; }
.bcard__media { display: block; padding: 18px; background: var(--media-bg); border: 0; }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.bcard__save { font: var(--fw-med) 13px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--accent); }
.bcard__title { margin: 10px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.bcard__title a { position: relative; color: var(--text); text-decoration: none; }
.bcard__blurb { font-size: var(--fs-small); line-height: 1.6; margin: 0 0 14px; }
.bcard__list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line-faint); }
.bcard__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); font-size: var(--fs-small); }
.bcard__list a { position: relative; color: var(--text); text-decoration: none; }
.bcard__list a:hover { text-decoration: underline; }
.bcard__list a::after { content: ""; position: absolute; left: -12px; right: -12px; top: -10px; bottom: -10px; }
.bcard__list span { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; }
.bcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard__price ins { text-decoration: none; font: var(--fw-bold) 24px/1 var(--font); letter-spacing: -.03em; color: var(--text); }
.bcard__price del { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--text-dim); }

/* Vials side by side, each a square tile, shrinking to fit the card. */
.bimgs { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; overflow: hidden; }
.bimgs img { flex: 0 1 108px; min-width: 0; width: 108px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--white); }
.bimgs__more { flex: none; align-self: center; margin-left: 4px; padding: 8px 10px; border: 0; border-radius: var(--radius-pill); background: var(--white); font: var(--fw-bold) 13px/1 var(--font); color: var(--text); }
.bimgs--mini { width: 96px; flex: none; gap: 2px; }
.bimgs--mini img { flex-basis: 30px; border-radius: 6px; }
.bimgs--mini .bimgs__more { display: none; }
.bimgs--big { flex-wrap: wrap; gap: 10px; }
.bimgs--big img { flex: 0 1 30%; width: 30%; }
.bimgs--big .bimgs__more { font-size: 16px; }

.byo-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.byo-steps li { font-size: 13px; color: var(--text-dim); padding: 10px 14px; border: 0; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); transition: all var(--t-fast); }
.byo-steps li b { color: var(--text); }
.byo-steps li.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--text); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.builder__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bitem { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); transition: box-shadow var(--t-fast); }
.bitem.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.bitem__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); flex: none; }
.bitem__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bitem__name { font: var(--fw-bold) 15px var(--font); color: var(--text); }
.bitem__str { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.bitem__sel { min-height: 36px; padding: 4px 8px; font-size: 13px; }
.bitem__price { font-size: 14px; color: var(--text); font-weight: var(--fw-bold); }
.bitem__toggle { flex: none; min-width: 72px; min-height: 44px; padding: 0 12px; cursor: pointer; font: var(--fw-med) 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--surface); border: 0; border-radius: var(--radius-sm); }
.bitem__toggle:hover { background: var(--surface-hover); }
.bitem.is-on .bitem__toggle { background: var(--ink); color: var(--white); }
.builder__sum { position: sticky; top: 100px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); border: 0; }
.builder__title { display: flex; justify-content: space-between; font: var(--fw-bold) 20px var(--font); letter-spacing: -.02em; color: var(--text); margin-bottom: 12px; }
.builder__title span { color: var(--accent); }
.builder__list { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line-faint); }
.builder__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); font-size: 13.5px; }
.builder__list b { color: var(--text); font-weight: 600; }
.builder__empty { color: var(--text-dim); justify-content: flex-start !important; }
.builder__prog { margin-bottom: 14px; }
.builder__bar { height: 5px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.builder__bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.builder__msg { font-size: 13px; margin-top: 8px; color: var(--text-dim); }
.builder__msg b { color: var(--accent); }
.builder__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.builder__row--save { color: var(--accent); }
.builder__row--total { font: var(--fw-bold) 22px var(--font); letter-spacing: -.02em; color: var(--text); padding: 12px 0 16px; }
.builder__share { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px; cursor: pointer; background: none; border: 0; color: var(--text-dim); font-size: 13px; text-decoration: underline; }
.builder__share[disabled] { opacity: .35; cursor: not-allowed; }
.builder__fine { font-size: 12px; color: var(--text-dim); margin-top: 8px; }

/* ---- 12. Footer ------------------------------------------------------- */

.site-footer { position: relative; margin-top: 0; background: var(--tide); border: 0; color: var(--text-body); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 6vw, 88px) 0 48px; }
.footer-logo { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 0 20px; }
.footer-brand__lede { margin: 0 0 20px; max-width: 40ch; font-size: 15px; line-height: 1.6; color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col h4 { display: block; margin: 0 0 12px; font: var(--fw-bold) 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-col h4::before { display: none; }
.footer-col a { display: flex; align-items: center; min-height: 40px; padding: 0; font: 400 15px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; transition: opacity var(--t-fast); }
.footer-col a:hover { color: var(--text); padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-col a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.footer-social__label { font-size: 13px; font-weight: 600; color: var(--text); margin-right: 6px; }
.footer-social a { font-size: 14px; color: var(--text); text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.footer-bottom span { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-notice { margin: 0 auto; padding: 18px 22px; margin-bottom: 32px; border: 0; border-radius: var(--radius); background: color-mix(in srgb, var(--white) 55%, transparent); }
.footer-notice p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text); }
.footer-notice__label { margin: 0; font: var(--fw-bold) 12.5px/1.7 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }

/* Newsletter, in the footer's brand column */
.news { max-width: 440px; }
.news__label { display: block; font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 8px; }
.news__row { display: flex; gap: 8px; }
.news__row input[type="email"] { flex: 1; min-width: 0; min-height: 50px; padding: 12px 16px; font: 16px/1.4 var(--font); color: var(--text); background: var(--white); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--radius-btn); }
.news__row input::placeholder { color: var(--text-dim); }
.news__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text); cursor: pointer; }

/* ---- 13. Gate: one modal card over the blurred page ------------------- */

.gate { background: color-mix(in srgb, var(--ink) 28%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); align-items: center; justify-content: center; overflow-y: auto; padding: 24px 16px; color: var(--text-body); }
.gate__body {
  position: relative; flex: 0 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  width: min(980px, 100%); margin: auto; min-height: 0; max-height: none; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--paper); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--ink) 60%, transparent);
}
.gate__art { position: relative; background: var(--fog); min-height: 100%; }
.gate__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.gate__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); overflow: visible; }
.gate__logo { display: block; width: 210px; max-width: 70%; height: auto; margin: 0 0 28px; }
.gate__title { margin: 0 0 10px; font: var(--fw-bold) clamp(28px, 3vw, 38px)/1.05 var(--font-display); text-transform: none; letter-spacing: -.045em; color: var(--text); }
.gate__copy { max-width: none; margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.gate__error { margin-bottom: 12px; }
.gate__checks { max-width: none; margin-bottom: 18px; }
.gate__checks label { gap: 12px; margin-bottom: 8px; padding: 14px 16px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 14px; line-height: 1.5; }
.gate__checks label:hover { box-shadow: inset 0 0 0 1px var(--line); }
.gate__checks label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.gate__checks input[type="checkbox"] { accent-color: var(--ink); width: 19px; height: 19px; }
.gate__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: none; }
.gate__actions .btn { width: 100%; }
.gate__ruo { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--text-body); }
html.ezn-gate { overflow: hidden; }
html.ezn-gate #researcher-gate { display: flex; }

/* ---- 14. Cart drawer, search, help ------------------------------------ */

.cart-drawer, .search-overlay { background: var(--paper); }
.cart-drawer__title { font-weight: var(--fw-bold); letter-spacing: -.02em; text-transform: none; }
.search-input { color: var(--text); border-color: var(--line); font-family: var(--font-display); letter-spacing: -.03em; }
.reward__bar { background: var(--surface); border-radius: 4px; }
.reward__bar i { background: var(--grad); border-radius: 4px; }
.cart-viewall { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 6px 0 2px; font-size: 13px; color: var(--text-dim); }
.cart-ruo { font-size: 12px; color: var(--text-dim); margin: -4px 0 12px; }
.line__meta { font-size: 12px; color: var(--text-dim); margin: 2px 0 6px; line-height: 1.4; }
.line img, .rec img { object-fit: cover; border-radius: var(--radius-sm); background: var(--fog); }

/* =====================================================================
   PORTED: cart page, checkout, report history, opt-ins (previous design)
   ===================================================================== */

.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 360px); gap: clamp(28px, 4vw, 60px); align-items: start; }
.cartlines { min-width: 0; }
.cartline { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.cartline:first-child { padding-top: 0; }
.cartline:last-child { border-bottom: 0; }
.cartline__img { width: 84px; height: 112px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.cartline__mid { min-width: 0; }
.cartline__name { display: block; font: var(--fw-bold) 15px var(--font-display); color: var(--text); text-decoration: none; margin-bottom: 4px; }
.cartline__name:hover { color: var(--accent); }
.cartline__each, .cartline__tier, .cartline__next { font-size: 11px; font-family: var(--font-mono); letter-spacing: .04em; }
.cartline__each { color: var(--text-dim); margin-bottom: 2px; }
.cartline__tier { color: var(--accent); }
.cartline__next { color: var(--text-faint); }
.cartline .qty { margin-top: 12px; }
.cartline__right { text-align: right; white-space: nowrap; }
.cartline__price { font-weight: var(--fw-bold); color: var(--text); }
.cartline__price del { display: block; font-weight: 400; color: var(--text-faint); font-size: var(--fs-small); }
.cartline__remove { margin-top: 8px; background: none; border: 0; padding: 6px 0; font-size: 10px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); cursor: pointer; }
.cartline__remove:hover { color: var(--text-error); }
.cartsum { position: sticky; top: 104px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; }
.cartsum__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: var(--fs-small); color: var(--text-body); border-bottom: 1px solid var(--line-soft); }
.cartsum .eyebrow + .cartsum__row { border-top: 1px solid var(--line-soft); margin-top: 14px; }
.cartsum__row--off { color: var(--accent); }
.cartsum__row--total { border-bottom: 0; font-size: 19px; font-weight: var(--fw-bold); color: var(--text); }
.cartsum__note, .cartsum__fine { font-size: 11px; color: var(--text-faint); margin: 8px 0 14px; }
.cartsum .btn--block { margin-top: 6px; }
.cartsum__back { display: block; text-align: center; margin-top: 14px; font-size: var(--fs-small); color: var(--text-dim); }
.cartempty { text-align: center; padding: clamp(30px, 6vw, 70px) 0; }
.cartempty h2 { margin-bottom: 10px; }
.cartempty p { color: var(--text-dim); max-width: 44ch; margin: 0 auto 26px; }
.coform { min-width: 0; }
.coform__h { font-size: 21px; margin: 34px 0 14px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.coform > .coform__h:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.coform__note { font-size: var(--fs-small); color: var(--text-dim); margin: -6px 0 16px; }
.cfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.cfield--wide { grid-column: 1 / -1; }
.cfield__label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.cfield__input { width: 100%; padding: 12px 13px; font: inherit; font-size: 16px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cfield__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cfield__err { min-height: 15px; margin-top: 4px; font-size: 11px; color: var(--text-error); }
.cfield.is-bad .cfield__input { border-color: var(--text-error); }
.copay { margin-bottom: 8px; }
.paymock { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; background: var(--surface); }
.paymock__head { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.paymock__note { font-size: var(--fs-small); color: var(--text-dim); margin-bottom: 14px; }
.paymock__choices { display: grid; gap: 8px; }
.paymock__choice { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--text); cursor: pointer; min-height: 44px; }
.coform__error { margin: 16px 0 10px; font-size: var(--fs-small); color: var(--text-error); }
.coform__error:empty { margin: 0; }
.coform__fine { margin-top: 14px; font-size: 11px; color: var(--text-faint); }
.cosum__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; font-size: var(--fs-small); color: var(--text-body); }
.cosum__qty { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.cosum__name { min-width: 0; }
.cosum__val { white-space: nowrap; }
.testflag { border: 1px solid var(--accent-line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); padding: 14px 16px; margin-bottom: 26px; font-size: var(--fs-small); color: var(--text); }
.ordercard { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; max-width: 520px; margin-bottom: 26px; }
.ordercard__ref { font-family: var(--font-mono); font-size: 24px; letter-spacing: .04em; color: var(--text); margin: 6px 0 12px; }
.ordercard__meta { font-size: var(--fs-small); color: var(--text-dim); margin-bottom: 14px; }
.ordercard__lines { border-top: 1px solid var(--line-soft); padding-top: 10px; }

/* ---- 11b. COA history, opt-ins --------------------------------------- */

.coa__intro { max-width: 64ch; margin: -18px 0 22px; }
.coa__head { font: var(--fw-bold) 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.coa__wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.coa__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.coa__table th { text-align: left; font: var(--fw-bold) 10px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.coa__table td { padding: 12px 14px; border-bottom: 1px solid var(--line-faint); color: var(--text-body); white-space: nowrap; }
.coa__table tr:last-child td { border-bottom: 0; }
.coa__table a { color: var(--text); text-decoration: none; }
.coa__batch { font-family: var(--font-mono); color: var(--text); }
.coa__str { color: var(--text-dim); font-size: 12px; margin-left: 4px; }
.coa__pdf { color: var(--accent) !important; border-bottom: 1px solid var(--accent-line); }
.coa__na { color: var(--text-faint); }
.coa__empty { padding: 20px 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-dim); max-width: 760px; }

.cfield--check { margin-top: -4px; }
.cfield__check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: var(--fs-small); color: var(--text); }
.cfield__check input { accent-color: var(--accent-fill); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.cfield__fine { font-size: 11px; line-height: 1.5; color: var(--text-faint); margin: 6px 0 0 28px; max-width: 70ch; }

/* Ported from Retabionix, 8 Oct 2026 (forms, help center, wholesale, accounts, admin). */
/* =====================================================================
   FORMS, NEWSLETTER, HELP WIDGET, WHOLESALE, ADMIN
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fform { margin: 18px 0 8px; }
.fform--card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ffield { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ffield--wide { grid-column: 1 / -1; }
.ffield label { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.ffield__opt { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.ffield input, .ffield select, .ffield textarea, .news input[type="email"], .help__search {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 16px/1.4 var(--font); color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.ffield textarea { resize: vertical; min-height: 96px; }
.ffield input:focus, .ffield select:focus, .ffield textarea:focus, .news input:focus, .help__search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ffield.is-bad input, .ffield.is-bad select, .ffield.is-bad textarea { border-color: var(--text-error); }
.ffield__err { font-size: 12px; color: var(--text-error); }
.ffield__hint { margin: 0; font-size: 12px; color: var(--text-dim); }
.fattest { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin: 18px 0 14px; }
.fattest legend { padding: 0 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.fcheck { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.fcheck input, .news__consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.fnote { font-size: 13px; color: var(--text-dim); margin: 14px 0; }
.fstatus { margin: 10px 0 0; font-size: 14px; }
.fstatus.is-bad { color: var(--text-error); }
.fdone { margin: 18px 0; padding: 18px 20px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); background: var(--surface-hover); color: var(--text); font-size: 15px; line-height: 1.6; }

/* Newsletter, at the top of the footer */
.footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 56px 0 44px; border-bottom: 1px solid var(--line-soft); }
.footer-news h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 10px; }
.footer-news p { margin: 0; color: var(--text-body); }
.news__label { display: block; font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.news__row { display: flex; gap: 10px; }
.news__row input { flex: 1; min-width: 0; border-radius: var(--radius-pill); padding-left: 18px; }
.news__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text-body); cursor: pointer; }

/* Help widget: bottom right */
.help { position: fixed; right: 16px; bottom: 16px; z-index: calc(var(--z-sticky) + 5); }
.help__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; cursor: pointer;
  border: 0; border-radius: var(--radius-pill); background: var(--accent); color: var(--btn-ink);
  font: var(--fw-med) 15px/1 var(--font-display); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
}
.help__toggle svg { width: 22px; height: 22px; }
.help.is-open .help__toggle { display: none; }
.help__panel {
  position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.help__panel[hidden] { display: none; }
.help__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line-soft); }
.help__title { font: var(--fw-bold) 19px/1.2 var(--font-display); color: var(--text); }
.help__sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.help__view { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 18px; overflow-y: auto; }
.help__view[hidden] { display: none; }
.help__search { background: var(--surface); border-color: var(--line); color: var(--text); }
.help__list { display: flex; flex-direction: column; gap: 6px; }
.help__item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--surface); }
.help__item summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-size: 14px; color: var(--text); list-style: none; }
.help__item summary::-webkit-details-marker { display: none; }
.help__item[open] summary { color: var(--accent); }
.help__ans { padding: 0 14px 12px; font-size: 13px; line-height: 1.6; color: var(--text-body); }
.help__ans p { margin: 0 0 8px; }
.help__ans a { color: var(--accent); }
.help__none { font-size: 13px; color: var(--text-dim); }
.help__back { align-self: flex-start; background: none; border: 0; color: var(--text-dim); cursor: pointer; min-height: 44px; padding: 0; font-size: 13px; }
.help .fform { margin: 0; }
.help .fgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.help .ffield input, .help .ffield select, .help .ffield textarea { background: var(--surface); color: var(--text); border-color: var(--line); }
.help .ffield select option { color: var(--btn-ink); }
.help .fnote { font-size: 12px; margin: 10px 0; }
.help .btn { width: 100%; }

/* Wholesale */
.rhero--wholesale { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.wstats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wstats li { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.wstats b { display: block; font: var(--fw-med) 40px/1 var(--font-display); color: var(--accent); letter-spacing: -.03em; }
.wstats span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-body); }
.wbens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wben { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.wben b { display: block; font: var(--fw-bold) 18px/1.25 var(--font-display); color: var(--text); margin-bottom: 8px; }
.wben span { font-size: 14px; color: var(--text-body); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wfit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wfit__col { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.wlist { list-style: none; margin: 8px 0 0; padding: 0; }
.wlist li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line-faint); font-size: 15px; color: var(--text); }
.wlist li::before { position: absolute; left: 0; top: 9px; font-weight: 700; }
.wlist--yes li::before { content: "\2713"; color: var(--ok); }
.wlist--no li::before { content: "\2715"; color: var(--text-error); }
.wfit__note { margin: 14px 0 0; font-size: 13px; color: var(--text-dim); }
.wapply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wapply__copy { position: sticky; top: 130px; }
.wapply__small { font-size: 13px; color: var(--text-dim); }
.wapply__small a { color: var(--accent); }

/* Admin inbox */
.admin-body { background: var(--bg); }
.admin { padding-top: 28px; padding-bottom: 60px; }
.admin__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.admin__top .logo { height: 28px; width: auto; }
.admin__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--text-dim); }
.admin__wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); }
.admin__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin__table th { text-align: left; padding: 10px 12px; font: 500 10px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin__table td { padding: 10px 12px; border-bottom: 1px solid var(--line-faint); vertical-align: top; color: var(--text); }
.admin__long { min-width: 280px; white-space: pre-wrap; }
.admin__muted { color: var(--text-dim); }

@media (max-width: 1024px) {
  .wbens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhero--wholesale, .wapply, .footer-news { grid-template-columns: minmax(0, 1fr); }
  .wapply__copy { position: static; }
}
@media (max-width: 640px) {
  .fgrid, .wfit, .wbens, .steps--4 { grid-template-columns: minmax(0, 1fr); }
  .news__row { flex-direction: column; }
  .news__row .btn { width: 100%; }
  .help__toggle span { display: none; }
  .help__toggle { padding: 0; width: 52px; height: 52px; justify-content: center; }
}
/* Product pages: lift the help button above the sticky add-to-cart bar when it shows. */
body:has(.stickybar.is-on) .help { bottom: 84px; }

/* Account (/account/): optional accounts, points, wholesale status */
.acct { display: flex; flex-direction: column; gap: 18px; }
.acct--narrow { max-width: 520px; }
.acct__intro p { margin: 0 0 6px; color: var(--text-body); max-width: 68ch; }
.acct__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acct__card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.acct__card .fform { margin: 8px 0 0; }
.acct__card .btn--block { margin-top: 16px; }
.acct__h { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; }
.acct__lede { margin: 0; color: var(--text-dim); }
.acct__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.acct__stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.acct__stat p { margin: 8px 0 0; color: var(--text-body); }
.acct__stat .btn { margin-top: 12px; }
.acct__big { font: 600 clamp(34px, 4vw, 48px)/1.1 var(--font); color: var(--text); margin-top: 8px; }
.acct__big--word { font-size: clamp(24px, 3vw, 32px); }
.acct__orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acct__order { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--panel); }
.acct__orderhead { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.acct__status { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.acct__ordermeta { margin: 6px 0 0; font-size: 14px; color: var(--text-body); overflow-wrap: anywhere; text-wrap: pretty; }
.acct__ledger summary { cursor: pointer; font-weight: 600; color: var(--text); }
.acct__ledger ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-body); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; margin-top: 14px; color: var(--accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.fstatus.is-ok { color: var(--text); }
@media (max-width: 760px) {
  .acct__grid, .acct__stats { grid-template-columns: minmax(0, 1fr); }
  .acct__card .fgrid { grid-template-columns: minmax(0, 1fr); }
}

/* Thank-you page: create an account after a guest order */
.tyacct { margin-top: 20px; }
.tyacct__fine { margin: 6px 0 0; font-size: 12px; color: var(--text-faint); }

/* Promotion codes at checkout */
.cocoupon { margin: 12px 0 0; font-size: 14px; color: var(--text-body); }
.cocoupon__row { display: flex; gap: 8px; }
.cocoupon__row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font: 15px var(--font); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); text-transform: uppercase; }
.cocoupon__apply { flex: none; min-height: 44px; padding: 0 18px; }   /* the store's button padding leaves the field too narrow at phone width */
.cocoupon__chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.cocoupon__remove { min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; }
.cocoupon__note { margin: 0 0 8px; font-size: 13px; color: var(--text-faint); }

/* Checkout: reward points in the summary */
.corewards { margin: 12px 0 0; font-size: 14px; color: var(--text-body); }
.corewards p { margin: 0 0 8px; }
.corewards__use { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.corewards__use select { min-height: 40px; padding: 6px 10px; font: 15px var(--font); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* Checkout: the account boxes under the contact email. Since 16 Nov 2026
   they find themselves: no buttons of their own, plain fields, small links. */
.coacct .cfields { margin-bottom: 0; }
.coacct .cfield__fine { margin-left: 0; }
.coacct__status { margin-left: 0; color: var(--text-dim); }
.coacct__in { font-size: 14px; color: var(--text-body); margin: 0 0 16px; max-width: 62ch; text-wrap: pretty; }
.coacct__in .linkbtn { display: inline; min-height: 0; margin: 0 0 0 4px; }
.coacct__links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0 0 8px; }
.coacct__links .linkbtn { margin-top: 0; justify-content: flex-start; }
.coacct__msg { margin: 0 0 16px; font-size: 14px; color: var(--text-error); text-wrap: pretty; }
.coacct:not(:empty) { margin-top: 12px; }
.coacct__msg:empty { display: none; }
.coacct__msg.is-ok { color: var(--text-body); }
.coacct__attest { margin-top: 4px; }
.coacct [hidden], .copayhere [hidden], .coacct__status[hidden] { display: none !important; }

/* The card form on the checkout page, once the order is placed (16 Nov 2026). */
.copayhere { margin-top: 8px; }
.copayhere__note { margin: -6px 0 18px; max-width: 62ch; text-wrap: pretty; }
.coform.is-locked .cfields, .coform.is-locked .coacct, .coform.is-locked .paygroups, .cartsum.is-locked .cocoupon, .cartsum.is-locked .corewards { opacity: .6; }

/* Footer: social profiles (brand.social), set in type like the rest. */
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.footer-social__label { font-size: var(--fs-micro); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.footer-social a { font-size: var(--fs-micro); letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--accent); }

/* Checkout while ordering is closed to the public (8 Oct 2026). */
.coclosed { max-width: 640px; margin: 0 auto; text-align: center; }
.coclosed .btn { margin: 8px 6px 0; }
.cotester { margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius); font-size: 13px; color: var(--text-body); }
.cotester a { color: var(--accent); }

/* Site-wide notice while ordering is closed (ordering.closedNote). */
.ordering-closed { padding: 10px 16px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text); background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); }

/* /test-drive/: the tester walkthrough (8 Oct 2026). */
.td-mode { margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.td-mode.is-on { border-color: var(--accent-line); background: var(--accent-soft); }
.td-mode a { color: var(--accent); }
.td-statuslist, .td-steps { list-style: none; margin: 0; padding: 0; }
.td-status { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.td-status strong { color: var(--text); }
.td-pill { flex: none; min-width: 52px; text-align: center; padding: 3px 8px; border-radius: var(--radius-pill); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); color: var(--text-dim); }
.td-status--live .td-pill { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.td-status--soon .td-pill { color: var(--accent); border-color: var(--accent-line); }
.td-step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.td-num { flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent-line); border-radius: 50%; color: var(--accent); font-weight: 700; }
.td-step h3 { margin: 4px 0 8px; }
.td-note { font-size: 13px; color: var(--text-dim); }
.td-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }


/* =====================================================================
   EZRANOVA OVER THE PORTED RULES
   The functional blocks above (cart page, checkout, forms, help,
   wholesale, admin, account) came across from the previous design; these
   bring them into this one.
   ===================================================================== */
.help__toggle { background: var(--ink); color: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-lift); font: var(--fw-med) 15px/1 var(--font); }
.help__panel { background: var(--paper); border: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-lift); }
.help__title { font-family: var(--font); letter-spacing: -.02em; }
.ffield label, .cfield__label { font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.ffield input, .ffield select, .ffield textarea, .cfield__input, .help__search { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fform--card, .acct__card, .acct__stat, .wfit__col, .wben, .ordercard, .cartsum { border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.cartsum { position: sticky; }
.wstats li { border: 0; border-radius: var(--radius); background: var(--surface); }
.wstats b { color: var(--text); font-weight: var(--fw-bold); letter-spacing: -.05em; }
.fdone { border: 0; border-radius: var(--radius); background: var(--tide-2); }
.testflag, .cotester, .td-mode.is-on { border: 0; border-radius: var(--radius); background: var(--tide-2); }
.paymock { border-radius: var(--radius); }
.paymock__head, .acct__status, .admin__top { font-family: var(--font-mono); }
.coa__wrap { border-radius: var(--radius); }
.cartline__img { border-radius: var(--radius-sm); background: var(--fog); width: 84px; height: 84px; }
.cartline__name { font-family: var(--font); }

/* ---- Tap targets: 44px minimum (DESIGN.md) ---------------------------- */
.pcard__title a, .rcard__title a, .bcard__title a { position: relative; }
.pcard__title a::after, .rcard__title a::after, .bcard__title a::after { content: ""; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -12px; }
.linkbtn { display: flex; align-items: center; justify-content: center; min-height: 44px; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
}
@media (max-width: 1024px) {
  .site-header__inner { display: flex; }
  .header-actions { margin-left: auto; }
  .cart-btn { width: 44px; padding: 0; border: 0; background: transparent; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat__in, .setband, .faq__in, .pdp, .pdp__detail, .cartgrid, .builder, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .feat__media { min-height: 0; aspect-ratio: 4 / 3; }
  .feat__media img { object-position: 50% 60%; }
  .faq__head, .pdp__gallery, .cartsum, .builder__sum { position: static; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate__body { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-y: 56px; }
  .topbar__facts { display: none; }
  .topbar__ruo { font-size: 12px; }
  .brandmark img.brandmark__lockup { height: 24px; }
  .site-header__inner { gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .header-actions { gap: 0; }
  .lead h1 { font-size: clamp(42px, 12vw, 64px); }
  .lead__lede { font-size: 16px; }
  .lead__ctas { width: 100%; flex-direction: column; }
  .lead__ctas .btn { width: 100%; }
  .lead__frame { aspect-ratio: auto; border-radius: var(--radius-lg); overflow: visible; background: transparent; }
  .lead__frame > img { aspect-ratio: 16 / 10; height: auto; border-radius: var(--radius-lg); background: var(--fog); }
  .readout { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; backdrop-filter: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
  .figures { padding-top: 12px; gap: 8px; }
  .figures li { padding: 18px; }
  .figures span { font-size: 13px; }
  .statement__text br { display: none; }
  .feat__item summary { padding: 20px; gap: 12px; }
  .feat__item p { padding: 0 20px 22px 20px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pcard__media { border-radius: var(--radius); margin-bottom: 12px; }
  .pcard__body { flex-direction: column; gap: 2px; }
  .pcard__title { font-size: 15px; }
  .pcard__price { font-size: 14px; }
  .pcard__cat { font-size: 12.5px; margin-bottom: 10px; }
  .pcard__add { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .pcard__flag { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 11px; }
  .pcard__add ~ .pcard__flag, .pcard__flag--ok { display: none; }
  .vpill { min-height: 32px; padding: 0 9px; font-size: 11.5px; }
  .badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
  .bgrid, .builder__items { grid-template-columns: minmax(0, 1fr); }
  .byo-band__tiers { flex-wrap: wrap; }
  .byo-tier { flex: 1 1 90px; min-width: 0; padding: 18px 12px 16px; }
  .byo-tier b { font-size: 32px; }
  .setband { padding: 28px 22px; border-radius: var(--radius-lg); }
  .sechead { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .cpills { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .cpills::-webkit-scrollbar { display: none; }
  .cpill { flex: none; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .trustrow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .trustrow li { font-size: 11px; }
  .trustrow b { font-size: 11px; }
  .trustrow__i { width: 40px; height: 40px; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rcard__meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .news__row { flex-direction: column; }
  .news__row .btn { width: 100%; }
  .gate { padding: 12px; align-items: flex-start; }
  .gate__body { grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-lg); }
  .gate__art { display: none; }
  .gate__content { padding: 26px 20px 22px; }
  .gate__logo { width: 180px; margin-bottom: 20px; }
  .stickybar img { display: none; }
  .cartline { grid-template-columns: 64px minmax(0, 1fr); }
  .cartline__img { width: 64px; height: 64px; }
  .cartline__right { grid-column: 2; text-align: left; }
  .cfields { grid-template-columns: minmax(0, 1fr); }
  .toolbar { flex-direction: column; }
  .toolbar__chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter) * 2); margin-left: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .toolbar__chips::-webkit-scrollbar { display: none; }
  .chip-f { flex: none; }
}
@media (max-width: 420px) {
  .brandmark img.brandmark__lockup { height: 21px; }
  .figures b { font-size: 30px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard__media img, .faq-item summary::after, .btn svg { transition: none; }
}
/* Product pages: lift the help button above the sticky add-to-cart bar when it shows. */
body:has(.stickybar.is-on) .help { bottom: 84px; }
.news__row input[type="email"] { min-height: 50px; border-radius: var(--radius-btn); border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.news__label { font: var(--fw-med) 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.footer-col a[href^="mailto:"] { word-break: break-all; font-size: 14px; }
.section--alt .prose__note { background: var(--white); }

/* Tap targets after the 375px audit (12 Oct 2026). */
.pcard__title a::after, .rcard__title a::after, .bcard__title a::after { top: -14px; bottom: -14px; }
.vpill::after { top: -6px; bottom: -6px; }
.bcard__list a::after { top: -12px; bottom: -12px; }
.footer-col a { min-height: 44px; }
.rcard__verify a, .fcheck a, .fnote a, .ffield__hint a, .news__consent a { display: inline-block; padding-block: 13px; margin-block: -13px; }
@media (max-width: 768px) {
  .pcard__add { width: 44px; height: 44px; }
  .vpill::after { top: -7px; bottom: -7px; }
}
.bitem__sel { min-height: 44px; }
.wapply__small a, .prose--page p a:not(.btn) { display: inline-block; padding-block: 12px; margin-block: -12px; }
.prose--page a.btn--solid { color: var(--btn-ink); text-decoration: none; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 768px) {
  .phead { padding-top: 12px; }
  .phead__card { min-height: 260px; border-radius: var(--radius-lg); }
  .phead__card::after { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 84%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 70%, color-mix(in srgb, var(--ink) 35%, transparent) 100%); }
  .phead__in { padding: 24px 20px; }
  .phead h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .phead__lede { font-size: 15.5px; }
  .phead + .section, .phead + .section--tight { padding-top: 32px; }
}
.pcard__title a { display: inline-block; min-width: 44px; }
/* Footer end (12 Oct 2026): the notice's bottom margin collapsed out of the
   footer, leaving the box flush on the edge and a strip of paper below.
   Padding inside the footer instead, so the tide blue runs to the end. */
.footer-notice { margin: 0; }
.site-footer > .wrap { padding-bottom: clamp(28px, 3vw, 40px); }
.footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); }
.footer-col a[href^="mailto:"] { word-break: normal; overflow-wrap: anywhere; }
.footer-brand__lede { margin-bottom: 24px; }
/* Room under the notice for the fixed Help button, so it never covers text. */
.site-footer > .wrap { padding-bottom: 88px; }
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }
.footer-brand .footer-brand__lede { margin: 0 0 24px; }
/* Policy pages: numbered sections and a contents list (the policies
   cross-reference their sections). */
.legal-toc { max-width: 760px; margin: 0 0 32px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--surface); }
.legal-toc__title { margin-bottom: 10px; font: var(--fw-bold) 14px/1.3 var(--font); color: var(--text); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 32px; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { display: flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--text-body); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose--page h2 span[id] { scroll-margin-top: 96px; }
@media (max-width: 768px) { .legal-toc a { min-height: 44px; } }
.prose--page li a:not(.btn) { display: inline-block; padding: 12px 2px; margin: -12px -2px; }

/* =====================================================================
   EZRANOVA DESIGN (19 Oct 2026)
   ===================================================================== */

/* ---- Type ----------------------------------------------------------- */
h1, h2 { font-weight: var(--fw-bold); letter-spacing: -.035em; line-height: 1.04; }
h3 { letter-spacing: -.015em; }
h1 em, h2 em, .statement__text em {
  font-family: var(--font-serif); font-weight: 500; font-style: italic; letter-spacing: -.02em; padding-right: .06em;
}
.tone-dark h1 em, .tone-dark h2 em { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { font: var(--fw-bold) 12px/1.3 var(--font-display); letter-spacing: var(--track-eyebrow); color: var(--accent); }
.eyebrow::before { width: 6px; height: 6px; background: var(--current); }
.tone-dark .eyebrow { color: var(--surf); }
.btn { font: var(--fw-bold) 15px/1.2 var(--font-display); letter-spacing: -.005em; padding: 14px 24px; }
.tone-dark .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 38%, transparent); }
.tone-dark .btn--ghost:hover { background: color-mix(in srgb, var(--white) 10%, transparent); color: var(--white); }
.sechead h2 { max-width: 18ch; }
.sechead__lede { max-width: 56ch; margin: -18px 0 32px; font-size: 17px; color: var(--text-body); }
.pcard__title, .bcard__title, .rcard__title, .pdp__title { font-family: var(--font-display); }
.pcard__title { font-weight: var(--fw-bold); font-size: 16px; }

/* ---- Top bar and the header over the hero --------------------------- */
.topbar { background: var(--night); color: var(--white); }
.topbar__ruo, .topbar__facts { color: var(--white); }
.topbar__facts li::before { color: color-mix(in srgb, var(--white) 60%, transparent); }
.brandmark img.brandmark__lockup { height: 26px; }
.brandmark__lockup--white { display: none !important; }
.nav a { font: var(--fw-bold) 14.5px/1 var(--font-display); }
.is-home .site-header { margin-bottom: -81px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background var(--t-med), border-color var(--t-med); }
.is-home .site-header:not(.is-solid) .brandmark__lockup { display: none; }
.is-home .site-header:not(.is-solid) .brandmark__lockup--white { display: block !important; }
.is-home .site-header:not(.is-solid) .nav a,
.is-home .site-header:not(.is-solid) .icon-btn,
.is-home .site-header:not(.is-solid) .cart-btn { color: var(--white); }
.is-home .site-header:not(.is-solid) .nav a:hover,
.is-home .site-header:not(.is-solid) .nav a[aria-current="page"],
.is-home .site-header:not(.is-solid) .icon-btn:hover,
.is-home .site-header:not(.is-solid) .cart-btn:hover { background: color-mix(in srgb, var(--white) 12%, transparent); }
.is-home .site-header:not(.is-solid) .cart-btn__count { background: var(--white); color: var(--ink); }
.is-home .site-header.is-solid { background: var(--header-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line-faint); }

/* ---- Hero: the night ridge, full bleed ------------------------------- */
.nova { position: relative; isolation: isolate; overflow: hidden; background: var(--night); min-height: min(940px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 0; }
.nova__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.nova::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--night) 88%, transparent) 0%, color-mix(in srgb, var(--night) 55%, transparent) 46%, color-mix(in srgb, var(--night) 0%, transparent) 78%),
              linear-gradient(0deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 0%, transparent) 48%),
              linear-gradient(180deg, color-mix(in srgb, var(--night) 70%, transparent) 0%, transparent 22%); }
.nova__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-bottom: clamp(56px, 7vw, 110px); }
.nova { justify-content: center; }

/* Three vials floating over the ridge, the centre one forward. Each drifts on
   its own slow cycle so they never move in step. */
.nova__vials { position: relative; height: clamp(460px, 48vw, 700px); }
/* Sized by height: the vials are the product page's tall cut-outs. */
.nova__vial { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 40px 50px color-mix(in srgb, var(--night) 80%, transparent)); will-change: transform; }
.nova__vial--1 { left: 0; right: 0; margin: 0 auto; height: 94%; z-index: 2; animation: vfloat 7s ease-in-out infinite; }
.nova__vial--0 { left: 4%; height: 72%; bottom: 8%; z-index: 1; opacity: .92; animation: vfloat 8.5s ease-in-out -2.4s infinite; }
.nova__vial--2 { right: 4%; height: 72%; bottom: 12%; z-index: 1; opacity: .92; animation: vfloat 9.5s ease-in-out -5s infinite; }
.nova__vials::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 18%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--current) 34%, transparent), transparent); filter: blur(10px); }
@keyframes vfloat { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-16px) rotate(.6deg); } }
@media (prefers-reduced-motion: reduce) { .nova__vial { animation: none; } }
.nova__chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 10px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--white) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 20%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: var(--fw-bold) 12px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.nova h1 { margin: 0 0 24px; max-width: 15ch; font-size: clamp(42px, 5.8vw, 86px); line-height: .98; letter-spacing: -.045em; color: var(--white); }
.nova h1 em { display: inline-block; }
.nova__lede { max-width: 54ch; margin: 0 0 32px; font-size: 18px; line-height: 1.65; color: color-mix(in srgb, var(--white) 86%, transparent); }
.nova__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Statement -------------------------------------------------------- */
.statement { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(64px, 8vw, 120px); }
.statement .eyebrow { justify-content: center; }
.statement__text { max-width: 26ch; font: var(--fw-med) clamp(30px, 4vw, 58px)/1.14 var(--font-display); letter-spacing: -.035em; }
.statement__text em { font-size: 1.08em; }
.statement__sub { max-width: 60ch; margin: 28px auto 0; font-size: 18px; line-height: 1.7; color: var(--text-body); text-wrap: pretty; }
.statement__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 768px) { .statement__sub { font-size: 16px; } .statement__ctas .btn { width: 100%; } }

/* ---- Product rail ----------------------------------------------------- */
.rail .sechead { margin-bottom: 24px; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-soft); transition: background var(--t-fast), color var(--t-fast); }
.rail__btn:hover { background: var(--ink); color: var(--white); }
.rail__btn svg { width: 18px; height: 18px; }
.rail__track { position: relative; }
.pgrid--rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 23vw, 300px); grid-template-columns: none; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 18px; scrollbar-width: none; }
.pgrid--rail::-webkit-scrollbar { display: none; }
.pgrid--rail .pcard { scroll-snap-align: start; padding: 14px 14px 18px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); transition: box-shadow var(--t-med), transform var(--t-med); }
.pgrid--rail .pcard:hover { box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow); transform: translateY(-3px); }
.pgrid--rail .pcard__media { border-radius: var(--radius); }
.rail__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.rail__foot p { margin: 0; max-width: 60ch; font-size: 14px; color: var(--text-dim); }

/* ---- Steps ------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); }
.step::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.step__n { display: inline-block; margin-bottom: 40px; font: 600 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 0 0 10px; font: var(--fw-bold) 20px/1.25 var(--font-display); color: var(--text); }
.step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-body); }

/* ---- Photo panels (the standard) -------------------------------------- */
.panels { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; height: clamp(460px, 44vw, 600px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius-xl); background: var(--night); cursor: pointer; isolation: isolate;
  transition: flex-grow .7s var(--ease); outline-offset: 4px; }
.panel.is-open { flex-grow: 3.4; cursor: default; }
.panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel.is-open img { transform: scale(1.03); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 40%, transparent) 50%, color-mix(in srgb, var(--night) 10%, transparent) 100%); }
.panel__tab { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap;
  font: var(--fw-bold) 18px/1 var(--font-display); letter-spacing: -.01em; color: var(--white); transition: opacity .3s; }
.panel.is-open .panel__tab { opacity: 0; }
.panel__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px); max-width: 560px; opacity: 0; transform: translateY(12px); transition: opacity .4s .15s, transform .5s .15s var(--ease); pointer-events: none; }
.panel.is-open .panel__copy { opacity: 1; transform: none; }
.panel__n { display: block; margin-bottom: 14px; font: 600 12px/1 var(--font-mono); letter-spacing: .14em; color: var(--ice); }
.panel h3 { margin: 0 0 12px; font: var(--fw-bold) clamp(24px, 2.4vw, 34px)/1.12 var(--font-display); letter-spacing: -.03em; color: var(--white); }
.panel p { margin: 0; font-size: 16px; line-height: 1.65; color: color-mix(in srgb, var(--white) 86%, transparent); }
.panels__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 0; }
.panels__foot p { margin: 0; font-size: 15px; color: var(--text-dim); }

/* ---- Sets: one navy featured card, the build-your-own band ------------ */
.bcard--feature { background: var(--navy); box-shadow: none; }
.bcard--feature:hover { box-shadow: var(--shadow-lift); }
.bcard--feature .bcard__media { background: color-mix(in srgb, var(--white) 6%, transparent); }
.bcard--feature .bcard__title a, .bcard--feature .bcard__price ins, .bcard--feature .bcard__list a { color: var(--white); }
.bcard--feature .bcard__save { color: var(--surf); }
.bcard--feature .bcard__blurb, .bcard--feature .bcard__price del, .bcard--feature .bcard__list span { color: color-mix(in srgb, var(--white) 74%, transparent); }
.bcard--feature .bcard__list, .bcard--feature .bcard__list li { border-color: color-mix(in srgb, var(--white) 12%, transparent); }
.bcard--feature .badge { background: var(--white); color: var(--ink); }
.bcard--feature .pcard__pending { background: color-mix(in srgb, var(--white) 10%, transparent); color: color-mix(in srgb, var(--white) 80%, transparent); }
.byoband { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); }
.byoband__mark { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--fog) url(/assets/img/mark-color.png) center / 34px auto no-repeat; }
.byoband__copy { flex: 1; min-width: 0; }
.byoband h3 { margin: 0 0 4px; font: var(--fw-bold) 19px/1.3 var(--font-display); }
.byoband p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---- FAQ, numbered ---------------------------------------------------- */
.faq-item summary::before { content: none; }
.faq-item summary { gap: 22px; padding-right: 48px; }
.faq-item summary::after { content: "+"; position: absolute; left: auto; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--surface); font: 400 18px/32px var(--font); text-align: center; color: var(--text); }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-item__n { flex: none; font: 600 13px/1 var(--font-mono); letter-spacing: .06em; color: var(--accent); }
.faq-item__body { padding-left: 46px; }
.faq__ask { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); }
.faq__ask span { display: block; font: var(--fw-bold) 15px/1.3 var(--font-display); color: var(--text); margin-bottom: 4px; }
.faq__ask a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); overflow-wrap: anywhere; }
.pdp__info .faq-item__body { padding-left: 0; }

/* ---- Footer: navy ----------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--text-body); }
.footer-logo { width: 220px; }
.footer-brand__lede, .footer-col a, .footer-bottom span, .footer-notice p, .news__label, .news__consent, .footer-social a, .footer-social__label { color: var(--text-body); }
.footer-col h4 { color: var(--white); font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom, .footer-social { border-top-color: color-mix(in srgb, var(--white) 14%, transparent); }
.footer-notice { background: color-mix(in srgb, var(--white) 6%, transparent); }
.site-footer .footer-notice__label { color: var(--white); }
.site-footer .news__row input[type="email"] { background: var(--white); color: var(--ink); border-color: transparent; }
.site-footer .btn--solid { background: var(--white); color: var(--ink); }
.site-footer .btn--solid:hover { background: var(--tide); color: var(--ink); }
.site-footer a { color: var(--text-body); }
.site-footer .news__consent input { accent-color: var(--surf); }

/* ---- Product page ----------------------------------------------------- */
.pdp__media { background: var(--fog); }
.glance { display: flex; flex-direction: column; gap: 16px; }
.glance__card { padding: 24px 24px 12px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-faint); }
.glance__title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: var(--fw-bold) 12px/1.3 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.glance__title::before { content: ""; width: 22px; height: 22px; flex: none; background: url(/assets/img/mark-color.png) center / contain no-repeat; }
.glance__rows { margin: 0; }
.glance__rows div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-faint); }
.glance__rows dt { font-size: 13.5px; color: var(--text-dim); }
.glance__rows dd { margin: 0; font: var(--fw-bold) 14px/1.45 var(--font-display); color: var(--text); overflow-wrap: anywhere; }
.pdp__detail .prose p { font-size: 17px; line-height: 1.8; color: var(--text-body); max-width: 64ch; }

/* ---- Gate: the tall ridge on the left --------------------------------- */
.gate__art img { object-position: 50% 40%; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
  .nova__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .nova__vials { height: clamp(340px, 70vw, 520px); max-width: 560px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; height: 380px; cursor: default; }
  .panel__tab { display: none; }
  .panel__copy { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .is-home .site-header { margin-bottom: -69px; }
  .brandmark img.brandmark__lockup { height: 22px; }
  .nova { min-height: 0; padding-top: 112px; }
  .nova__bg { object-position: 70% 50%; }
  .nova::after { background: linear-gradient(0deg, color-mix(in srgb, var(--night) 94%, transparent) 0%, color-mix(in srgb, var(--night) 70%, transparent) 55%, color-mix(in srgb, var(--night) 45%, transparent) 100%); }
  .nova h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .nova__lede { font-size: 16px; }
  .nova__ctas { flex-direction: column; }
  .nova__ctas .btn { width: 100%; }
    .rail__nav { display: none; }
  .pgrid--rail { grid-auto-columns: 72%; gap: 12px; }
  .pgrid--rail .pcard { padding: 10px 10px 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step__n { margin-bottom: 22px; }
  .panel, .panel.is-open { height: 340px; border-radius: var(--radius-lg); }
  .byoband { flex-direction: column; align-items: flex-start; }
  .byoband .btn { width: 100%; }
  .faq-item__body { padding-left: 0; }
  .glance__rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .panel img, .panel__copy { transition: none; }
}

/* Where the menu button shows (1024px and down), help opens from the menu
   instead: a floating button covered the order total on phones (Pinnacle,
   24 Oct 2026). The panel itself still opens in the corner when asked for. */
@media (max-width: 1024px) {
  .help__toggle { display: none; }
}

/* Certificate of Analysis button, one per strength (owner, 13 Nov 2026). */
.coabtn { margin-top: 12px; }
.coabtn[hidden] { display: none; }

/* Checkout payment buttons (assets/js/pay-groups.js; store kit
   docs/CHECKOUT-PAYMENTS.md) and the cards the card processor takes. */
/* The ways to pay: one radio list, the chosen way's panel open under it
   (store kit pay-groups.js and pay-groups.css, "Every live way to pay",
   owner 1 Dec 2026). No card logos, no brand colors. */
.paygroups { display: grid; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.paygroups[hidden] { display: none; }
.paygroup-row { border-top: 1px solid var(--line); }
.paygroup-row:first-child { border-top: 0; }
.paygroup-row.is-chosen { background: var(--accent-soft); }
.paygroup { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: var(--fs-small); font-weight: var(--fw-med); color: var(--text); text-align: left; background: none; border: 0; cursor: pointer; }
.paygroup:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.paygroup-dot { flex: none; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--text-dim); border-radius: 50%; }
.paygroup.is-chosen .paygroup-dot { border: 5.5px solid var(--accent); }
.paygroup-label { min-width: 0; text-wrap: balance; }
.paygroup-offer { flex: none; margin-left: auto; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: var(--fw-med); color: var(--text); background: var(--line-soft); white-space: nowrap; }
.paygroup-panel { padding: 0 14px 14px 44px; font-size: var(--fs-small); color: var(--text-dim); }
.paygroup-panel__text { margin: 0; max-width: 60ch; text-wrap: pretty; }
.payopts { margin: 10px 0 0; }
.payopts__label { margin: 0 0 6px; font-size: var(--fs-small); color: var(--text-dim); }
.payopts__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.payopt { min-height: 32px; padding: 4px 10px; font: inherit; font-size: var(--fs-small); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
button.payopt { min-height: 40px; cursor: pointer; }
button.payopt:hover, .payopt:focus-visible { border-color: var(--accent); }
.payopt.is-chosen { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.payopt--info { display: inline-flex; align-items: center; cursor: default; }
/* A manual order's "How to pay" box (PayGroups.manualBox). */
.paymanual { margin: 14px 0; padding: 16px 18px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.paymanual__h { margin: 0 0 10px; font-size: 1.15rem; text-wrap: balance; }
.paymanual__list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0 0 10px; }
.paymanual__list dt { font-size: var(--fs-small); color: var(--text-dim); }
.paymanual__list dd { margin: 0; overflow-wrap: anywhere; }
.paymanual__copy { user-select: all; font-variant-numeric: tabular-nums; }
.paymanual__ref { font-family: var(--font-mono, ui-monospace, monospace); font-weight: var(--fw-med); }
.paymanual__text { margin: 0 0 8px; white-space: pre-line; text-wrap: pretty; }
.paymanual__text--small { font-size: var(--fs-small); color: var(--text-dim); }
@media (max-width: 420px) {
  .paygroup-panel { padding-left: 14px; }
  .paymanual__list { grid-template-columns: 1fr; gap: 2px; }
  .paymanual__list dd { margin-bottom: 8px; }
}

/* The card payment page, /checkout/pay/ (NoRamp's embedded checkout). */
.paybar { border-bottom: 1px solid var(--line-soft); padding: 14px 0; background: var(--panel); }
.paybar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.paybar__logo .brandmark__lockup { height: 26px; width: auto; }
.paybar__secure { font-size: var(--fs-small); color: var(--text-dim); }
.paywrap { max-width: 640px; }
.paywrap__h { margin-bottom: 22px; }
.paypanel__sum { display: flex; justify-content: space-between; gap: 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.paypanel__sum > div:last-child { text-align: right; }
.paypanel__k { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
.paypanel__ref { display: block; font-family: var(--font-mono); font-size: 16px; color: var(--text); }
.paypanel__amount { display: block; font-size: 22px; font-weight: var(--fw-bold); color: var(--text); }
.paypanel__frame { min-height: 320px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 8px; }
.paynote { margin-bottom: 26px; }
.paynote h2 { margin-bottom: 10px; font-size: var(--fs-h3); }
.paynote p { color: var(--text-dim); margin-bottom: 18px; max-width: 60ch; text-wrap: pretty; }
.paywrap__ruo { margin-top: 32px; }
.paypage [hidden] { display: none !important; }
@media (max-width: 640px) {
  .paypanel__frame { padding: 0; border: 0; }
  .paypanel__amount { font-size: 19px; }
}

/* ---- Checkout: Contact and Payment, calmer (owner, 16 Nov 2026) --------
   One rhythm (the form's 16px field gap), no spaced capitals anywhere on
   checkout, headings balanced and body text pretty, and one card box in
   the Payment section that the card form opens inside. */
.coform__h, .cosum__h, .paynote h2 { text-wrap: balance; }
.coform__note, .coform__fine, .cfield__fine { text-wrap: pretty; }
/* The research-use line under the button is short: balanced, never "use only." alone. */
.coform > .coform__fine { text-wrap: balance; }
/* Tick-box labels are short lines: balanced, so "offers." never sits alone. */
.cfield__check span { text-wrap: balance; }
.cfield__check a { white-space: nowrap; }
.cosum__h { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px; }
.paymock__head { font: 600 15px/1.35 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }

/* Contact. Signed in: the account's email, read-only, and one short line
   with the sign-out link beside it (or under it on a phone). */
.cfield.is-readonly .cfield__input { background: var(--surface); color: var(--text); cursor: default; }
.cfield.is-readonly .cfield__input:focus { outline-color: var(--line); border-color: var(--line); }
/* The account boxes keep the form's field rhythm; the signed-in line is a
   note on the email box, so it sits closer to it. */
.coacct:not(:empty) { margin: 16px 0; }
.coacct:has(> .coacct__in) { margin-top: -6px; }
.coacct__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0; font-size: 14px; color: var(--text-body); max-width: none; }
.coacct__intext { text-wrap: pretty; }
.coacct__in .linkbtn { display: inline-flex; min-height: 44px; margin: 0; justify-content: flex-start; }
.coacct__links { margin: 0; }
.coacct__msg { margin: 8px 0 0; }

/* Payment: the cards line, then the card box. */
.copay { margin: 0; padding: 20px 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line-soft); }
.coform__h--pay { scroll-margin-top: 88px; }
.copay[hidden], .copay [hidden] { display: none !important; }
.copay__lead { margin: 0 0 4px; font-size: 15px; font-weight: var(--fw-med); color: var(--text); text-wrap: balance; }
.copay__note, .copay__placed { margin: 0; max-width: 60ch; font-size: var(--fs-small); color: var(--text-dim); text-wrap: pretty; }
.copay__placed { margin-bottom: 16px; text-wrap: balance; }
.copay__need { margin: 8px 0 6px; font-size: var(--fs-small); font-weight: var(--fw-med); color: var(--accent); text-wrap: pretty; }
.copay__lead.is-warn { color: var(--text-error); }
.copay__placed--note { margin-bottom: 8px; color: var(--text); font-weight: var(--fw-med); }
.copay .paypanel__sum { background: none; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; padding: 0 0 14px; margin-bottom: 16px; }
.copay .paypanel__frame { min-height: 320px; padding: 0; border: 0; border-radius: 0; background: none; }
.copay .testflag { margin-bottom: 14px; }
.copay .paynote { margin: 0; }
.copay .paynote p:last-child { margin-bottom: 0; }
.copay .coform__fine { margin-top: 12px; text-wrap: balance; }
.copay__wait .copay__go { margin: 12px 0; }
.copay__note--go { margin-top: 10px; text-wrap: balance; }
@media (max-width: 640px) {
  .copay { padding: 18px 16px; }
}
/* The code box shows codes in capitals as typed, but its placeholder is a
   plain sentence, not a capitals label. */
.cocoupon__row input::placeholder { text-transform: none; }

/* ---- Checkout: the code box is always there (owner, 16 Nov 2026) --------
   A plain label over the field from the first draw, a ruled line above it
   so it reads as its own part of the summary, and notes in plain words. */
.cocoupon { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.corewards:empty { display: none; }
.cocoupon__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: var(--fw-med); color: var(--text); }
.cocoupon__chip.is-applied { border-color: var(--accent-line); background: var(--accent-soft); }
.cocoupon__note { text-wrap: pretty; }
.cocoupon__note.is-no { color: var(--text-body); }
.cocoupon__row input:disabled, .cocoupon__apply:disabled, .cocoupon__remove:disabled { cursor: not-allowed; }
/* Phone and tablet: the summary, with its code box, comes first, above
   Contact. Under the form it sat below the card form, so a shopper never
   reached the code box before paying. */
@media (max-width: 1024px) {
  #checkoutpage .cartgrid > .cartsum { order: -1; }
}

/* ---- Checkout: Contact, one rhythm (owner, 16 Nov 2026) -----------------
   One width for the contact fields (email and phone both full width, no
   half-width phone beside a gap), one 18px step between every field and
   tick box (an empty error line takes no room; a message pushes the next
   field down when there is one), each box level with the first line of its
   label, and the SMS fine print indented to start under the label's text. */
.coform .cfields { row-gap: 18px; }
.coform .cfield__err:empty { min-height: 0; margin: 0; }
.coform .cfield--check { margin-top: 0; }
.coform .cfield__check { line-height: 22px; }
.coform .cfield__check input { margin: 2px 0 0; }
.coform .cfield--check .cfield__fine { margin: 6px 0 0 28px; }
.coform .cfields + .cfields, .coform .coacct + .cfields { margin-top: 18px; }
/* The account boxes and the signed-in line sit under the email: their own
   step below it, and the same step before the tick boxes. */
.coform .coacct:not(:empty) { margin: 18px 0 0; }
/* The researcher statements: one step under the password boxes, and their
   empty error cell takes no grid row (it shows when it has a message). */
.coform .coacct__attest { margin-top: 18px; }
.coform .cfield:has(> .cfield__err:only-child:empty) { display: none; }
/* The account links are 44px touch rows with the text in the middle: 7px
   of margin around them reads as the same 18px step. */
.coform .coacct__links { margin-top: 7px; }
.coform .coacct__links ~ .coacct__attest { margin-top: 7px; }
.coform .coacct:has(> .coacct__links + .coacct__msg:empty:last-child) + .cfields { margin-top: 7px; }
/* Signed in: the line is a 44px touch row with its text in the middle, so
   7px above and below it leaves the same 18px of air as every other step. */
.coform .coacct:has(> .coacct__in) { margin-top: 7px; }
.coform .coacct:has(> .coacct__in) + .cfields { margin-top: 7px; }
/* Footer column heads: plain bold words, not spaced capitals (owner's
   no-eyebrows rule; they show on checkout, so fixed with it, 16 Nov 2026). */
.footer-col h4 { font: var(--fw-bold) 15px/1.3 var(--font-display); letter-spacing: -.005em; text-transform: none; }

/* ---- Card fields in the Payment box (NoRamp, Stripe's Payment Element) --
   payData.mode "element" (pay.js mountElement): the card fields sit in the
   box with no frame of their own, then our own Pay button, then the
   privacy line. Room is kept while the fields load, so the button does not
   jump; once they are drawn the box is exactly their height. */
.paypanel__frame--element,
.copay .paypanel__frame--element { min-height: 228px; padding: 0; border: 0; border-radius: 0; background: none; }
.paypanel__frame--element.is-ready,
.copay .paypanel__frame--element.is-ready { min-height: 0; }
.payel { margin-top: 20px; }
.payel__err { margin: 0 0 12px; max-width: 60ch; font-size: var(--fs-small); color: var(--text-error); text-wrap: pretty; }
.payel__err:empty { display: none; }
.payel__btn { min-height: 52px; }
.payel__btn[disabled]:hover { background: var(--btn-bg); border-color: var(--btn-bg); }
.paypanel .payel + .coform__fine { margin-top: 12px; text-wrap: balance; }

/* confirm-boxes: start (store-kit storefront/confirm/confirm-boxes.css, 2 Dec 2026)
   The research-use statements and the email opt-in, wherever they render:
   sign-up form (.fcheck), checkout and thank-you (.cfield__check), the
   wholesale form (.fattest). Owner, 2 Dec 2026: the box sat below or beside
   the middle of its text with big empty gaps, under a spaced-caps label.
   Rules: the 18px box is centred on the FIRST line of its statement (the
   margin is half a 1.5 line minus half the box, in the label's own font
   size); statements sit close and even; the group heading is plain
   sentence case, never an eyebrow. Copy this block byte for byte to the END
   of the store stylesheet that styles these classes (tools/confirm-boxes-
   install.py); all-stores.py audit checks it. Layout only: the statements'
   words and their required flag never change here (COMPLIANCE.md). */
.fcheck, .cfield__check {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 0; padding: 0; line-height: 1.5; cursor: pointer;
}
.fcheck > input[type="checkbox"], .cfield__check > input[type="checkbox"] {
  flex: none; box-sizing: border-box; width: 18px; height: 18px;
  min-width: 0; min-height: 0; padding: 0;
  font-size: inherit; margin: calc(.75em - 9px) 0 0;
}
.fcheck > span, .cfield__check > span { font-size: inherit; line-height: inherit; text-wrap: pretty; }
.fcheck + .fcheck { margin-top: 10px; }
.ffield:has(> .fcheck) { gap: 0; }
.ffield--check > .ffield__err:empty, .ffield:has(> .fcheck) > .ffield__err:empty, .fattest > .ffield__err:empty { display: none; }
.ffield:has(> .fcheck) > .ffield__err:not(:empty), .fattest > .ffield__err:not(:empty) { margin-top: 8px; }
.ffield--opt { margin-top: 0; padding-top: 14px; }
.coacct__attest, .coform .coacct__attest { row-gap: 10px; }
.coacct__attest > .cfield--check { margin-top: 0; }
.fgroup__label, .fattest legend {
  margin: 0; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4;
  letter-spacing: normal; text-transform: none; text-wrap: balance;
}
.fgroup__label { color: inherit; }
/* confirm-boxes: end */
