/* =====================================================================
   STORE.CSS: Sionar Labs'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 SIONAR DESIGN block at the
   end is this store's own.

   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); 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); }

/* ---- 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); 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; }

.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); 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); 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); }

.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.sl-gate { overflow: hidden; }
html.sl-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: 12.5px; font-variant-numeric: tabular-nums; }
.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); 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; 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; 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-size: 24px; font-variant-numeric: tabular-nums; 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); 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); 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); 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); color: var(--text); }
.fcheck { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: var(--text); cursor: pointer; }
/* Checkbox words are body text: no lone last word (the affiliate terms box at 390px). */
.fcheck > span { text-wrap: pretty; }
.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); 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); 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); 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); color: var(--text-dim); }
.acct__ordermeta { margin: 6px 0 0; font-size: 14px; color: var(--text-body); overflow-wrap: anywhere; }
.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); }
.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], .coacct__status[hidden] { display: none !important; }
/* Tick-box words (the statements, the opt-ins): no word left alone at 390 px. */
.cfield__check span { text-wrap: balance; }


/* 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); color: var(--accent); margin-right: 6px; }
.footer-social a { font-size: var(--fs-micro); 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); 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; }


/* =====================================================================
   PURACORE 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__in { min-height: 0; padding-top: 5px; padding-bottom: 5px; }
  .topbar__ruo { font-size: 11.5px; line-height: 1.3; }
  .ordering-closed { font-size: 11.5px; line-height: 1.3; padding: 0 12px 5px; }
  .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; }


/* =====================================================================
   SIONAR DESIGN (2 Nov 2026)

   "Deep water, one bright bond." Light by default, generous room, one
   subject at a time. The product carries the page: one vial, four colorways,
   window light. Commerce follows AminoClub's lead (shop first, volume calc,
   the report beside the buy button); the voice and the proof are Sionar's.
   Every picture on the site is a photograph lit in its scene; nothing is a
   cut-out on a backdrop. The hero's water and the drops on the glass are live.
   ===================================================================== */

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease-soft); }
.site-header { view-transition-name: siteheader; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--white); }
html { font-variation-settings: "wdth" var(--wdth-display); }   /* Saira only: Hanken has no width axis */
body { font-family: var(--font); font-size: var(--fs-body); line-height: var(--lead-body); letter-spacing: var(--track-body); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: var(--track-display); line-height: var(--lead-display); text-wrap: balance; }
h3 { font-family: var(--font); font-weight: var(--fw-bold); font-size: var(--fs-h3); letter-spacing: var(--track-title); line-height: var(--lead-title); }
p { text-wrap: pretty; }
small { letter-spacing: var(--track-small); }
h1 em, h2 em { font-style: normal; font-weight: inherit; color: var(--cobalt); background: none; -webkit-text-fill-color: var(--cobalt); }
.tone-dark h2 em, .closing h2 em { color: var(--surf); -webkit-text-fill-color: var(--surf); }
.sechead { margin-bottom: 44px; }
.sechead h2 { max-width: 18ch; font-size: var(--fs-h2); margin: 0; }
.sechead__lede { max-width: 58ch; margin: -18px 0 36px; }
.section { position: relative; padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* Buttons. Pulse is the signal: one per view. */
.btn { border-radius: var(--radius-btn); font: 600 15px/1 var(--font); letter-spacing: 0; text-transform: none; padding: 14px 22px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); text-decoration: none; }
.btn svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); transition: transform .1s ease-out; }
.btn--lg { padding: 17px 26px; min-height: 54px; font-size: 16px; }
.btn--sm { padding: 10px 14px; min-height: 40px; font-size: 14px; }
.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--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--pulse { background: var(--pulse); color: var(--ink); border: 0; }
.btn--pulse:hover { background: var(--pulse-hover); color: var(--ink); }
.btn__sep { width: 1px; height: 16px; background: color-mix(in srgb, var(--ink) 30%, transparent); }

/* Top bar and header */
.topbar { background: var(--navy); color: var(--white); }
.topbar__ruo, .topbar__facts { color: var(--white); font: 500 12.5px/1.4 var(--font); }
.topbar__facts li::before { color: var(--surf); }
.ordering-closed { background: var(--night); color: color-mix(in srgb, var(--white) 86%, transparent); font-size: 13px; padding: 0 16px 8px; }
.site-header { background: var(--header-bg); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-bottom: 1px solid var(--line-faint); }
.site-header__inner { padding-top: 12px; padding-bottom: 12px; }
.brandmark img.brandmark__lockup { height: 40px; }
.brandmark img.brandmark__lockup--white { display: none; }
.nav a { font: 500 15px/1 var(--font); border-radius: var(--radius-sm); }
.cart-btn__count { background: var(--cobalt); }
.cart-btn:hover .cart-btn__count { background: var(--cobalt); }

/* Reveal: a small settle. */
/* A settle only. Text is never hidden waiting for a fade, so a fast scroll can
   never land on an empty section. */
.js .reveal, .reveal-ready .reveal { opacity: 1; transform: translate3d(0, 12px, 0); transition: transform .9s var(--ease-soft); }
.js .reveal.is-in, .reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* ---- Hero: one photograph, full bleed, and the water in it moves --------
   Studied 3 Nov 2026: Seed, AG1, Oura, Apple. Each opens on one image with the
   product lit inside the scene and the type set into its calm side. The header
   sits on the photograph until the page moves. */
.hx { position: relative; background: var(--night); height: 360vh; margin-top: var(--hdr, -68px); isolation: isolate; }
.hx__pin { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end; }
.hx__stage { position: absolute; inset: 0; }
.hx__pic, .hx__img, .hx__film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx__img { object-fit: cover; object-position: 62% 32%; animation: hxin 1.8s var(--ease-soft) both; }
@keyframes hxin { from { opacity: 0; } }
.hx__video { display: none; }
.hx__film { opacity: 0; transition: opacity .6s ease; }
.hx__film.is-on { opacity: 1; }
.hx__shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--night) 62%, transparent) 0%, transparent 52%), linear-gradient(0deg, color-mix(in srgb, var(--night) 70%, transparent) 0%, transparent 34%), linear-gradient(180deg, color-mix(in srgb, var(--night) 55%, transparent) 0%, transparent 18%); }
.hx__in { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: calc(clamp(32px, 6vh, 72px) + var(--bars, 0px)); }
.hx__copy { max-width: 760px; will-change: opacity, transform; }
/* One fact at a time, in the calm side of the frame, while the vial turns. */
.hx__beats { position: absolute; left: var(--gutter); top: 50%; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.wrap.hx__in .hx__beats { left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.hx__beats li { position: absolute; left: 0; top: 0; width: min(42vw, 640px); text-wrap: balance; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); opacity: 0; will-change: opacity, transform; font: var(--fw-display) clamp(2rem, 3.8vw, 3.75rem)/1.08 var(--font-display); letter-spacing: var(--track-display); color: var(--white); }
.hx h1 { font-size: var(--fs-hero); margin: 0 0 20px; color: var(--white); }
.hx h1 em { color: var(--surf); -webkit-text-fill-color: var(--surf); }
.rl { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; }
.rl > span { display: block; }
@media (min-width: 901px) { .hx h1 { max-width: none; text-wrap: initial; } .rl > span { white-space: nowrap; } }
.js .rl > span { transform: translate3d(0, 108%, 0); animation: rl 1.3s var(--ease-soft) .5s forwards; }
.js .rl:nth-child(2) > span { animation-delay: .64s; }
@keyframes rl { to { transform: none; } }
.hx__lede { max-width: 52ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: color-mix(in srgb, var(--white) 86%, transparent); margin: 0 0 26px; }
.js .hx__lede, .js .hx .ctas { animation: fadeup 1.2s var(--ease-soft) .9s both; }
@keyframes fadeup { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx .btn--ghost { color: var(--white); border-color: color-mix(in srgb, var(--white) 55%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hx .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* The header rides on the photograph, then turns light. */
.is-home .site-header { transition: background .4s, border-color .4s; }
.is-home.on-hero .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.is-home.on-hero .site-header .brandmark img.brandmark__lockup { display: none; }
.is-home.on-hero .site-header .brandmark img.brandmark__lockup--white { display: block; }
.is-home.on-hero .nav a, .is-home.on-hero .icon-btn, .is-home.on-hero .cart-btn { color: var(--white); }
.is-home.on-hero .nav a:hover, .is-home.on-hero .icon-btn:hover, .is-home.on-hero .cart-btn:hover { background: color-mix(in srgb, var(--white) 14%, transparent); color: var(--white); }

.proofbar { background: var(--night); position: relative; border-top: 1px solid var(--line-faint); }
.proofbar__l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; list-style: none; margin: 0; padding: 20px 0; }
.proofbar__l li { font: 500 15px/1.3 var(--font); letter-spacing: var(--track-small); color: color-mix(in srgb, var(--white) 86%, transparent); }

/* ---- Product tiles: the photograph, a name and a price ------------------ */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; list-style: none; margin: 0; padding: 0; }
.pgrid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; background: none; border: 0; border-radius: 0; padding: 0; overflow: visible; box-shadow: none; }
.pcard:hover { transform: none; box-shadow: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fog); border-radius: var(--radius-lg); }
.pcard__img { display: block; width: 100%; height: 100%; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.02); transition: transform 1.4s var(--ease-soft); }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__add { position: absolute; right: 12px; bottom: 12px; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); font: 600 14.5px/1 var(--font); cursor: pointer; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft), background .2s, color .2s; }
.pcard:hover .pcard__add, .pcard__add:focus-visible { opacity: 1; transform: none; }
.pcard__add:hover { background: var(--navy); color: var(--white); }
@media (hover: none) { .pcard__add { opacity: 1; transform: none; } }
.pcard__body { display: grid; gap: 4px; padding: 0 2px; }
.pcard__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pcard__title { font: 600 17px/1.25 var(--font); letter-spacing: var(--track-title); margin: 0; min-width: 0; }
.pcard__title a { color: var(--text); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__price { font: 600 17px/1.2 var(--font); color: var(--text); flex: none; font-variant-numeric: tabular-nums; }
.pcard__sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 13.5px; line-height: 1.35; color: var(--text-body); }
.pcard__cat { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: 0; text-transform: none; }
.pcard__state { display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-weight: 500; }
.pcard__state i { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.pcard__state--wait { color: var(--text-body); font-weight: 400; }
.pcard__vars { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.vpill { font: 500 13px/1 var(--font); border-radius: var(--radius-pill); padding: 8px 12px; min-height: 34px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.vpill.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.vpill.is-static { cursor: default; background: var(--fog); border-color: transparent; }
.vpill.is-pending { color: var(--text-body); border-style: dashed; cursor: not-allowed; background: transparent; }

/* ---- Classes: the lineup opens out to the full width as it is reached --- */
.classes { background: var(--white); padding-top: var(--section-y); padding-bottom: var(--section-y-sm); }
.classes__head .sechead { margin-bottom: 20px; }
.lineup { margin: 12px 0 28px; overflow: hidden; height: clamp(320px, 56vw, 780px); clip-path: inset(0 var(--gx, 6%) round var(--gr, 28px)); will-change: clip-path; }
.lineup img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(calc(1.12 - var(--gp, 0) * .12)); will-change: transform; }
.cdots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cdot { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font: 500 15px/1 var(--font); color: var(--text); text-decoration: none; transition: background var(--t-fast), border-color var(--t-fast); }
.cdot:hover { background: var(--fog); border-color: transparent; }
.cdot i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.cdot--clear i { background: var(--white); }
.cdot--abyss i { background: var(--navy); }
.cdot--bond i { background: var(--current); }
.cdot--teal i { background: var(--cobalt); }

/* ---- Volume ----------------------------------------------------------- */
.volume { background: var(--fog); }
.volume__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.volume h2 { font-size: var(--fs-h2); margin: 0 0 18px; }
.volume p { max-width: 50ch; }
.volume__l { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0; }
.volume__l li { display: inline-flex; gap: 8px; padding: 9px 13px; border-radius: var(--radius-pill); background: var(--fog); font: 500 14px/1 var(--font); color: var(--text); }
.volume__l b { font-weight: 600; }
.volume__link { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.volume__link svg { width: 15px; height: 15px; margin-left: 4px; vertical-align: -2px; }
.vc { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: var(--radius-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-lift); }
.vc__vial { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--fog); min-width: 0; }
.vc__vial img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: opacity .3s; }
.vc__count { position: absolute; right: 10px; top: 10px; padding: 6px 9px; border-radius: var(--radius-pill); background: var(--navy); color: var(--white); font: 600 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.vc__body { min-width: 0; }
.vc__label { display: block; font: 600 13px/1.3 var(--font); color: var(--text); margin: 0 0 8px; }
.vc__pick { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font: 500 16px/1 var(--font); color: var(--text); margin-bottom: 16px; }
.vc__qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.vc__q { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 4px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-soft); background: var(--white); color: var(--text); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.vc__q b { font: 600 18px/1 var(--font); font-variant-numeric: tabular-nums; }
.vc__q span { font: 500 12px/1.2 var(--font); color: var(--text-body); }
.vc__q.is-on { border-color: var(--cobalt); background: var(--tide-2); }
.vc__sum { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vc__total { font: 600 34px/1 var(--font); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.vc__each { font-size: 14px; color: var(--text-body); margin-top: 5px; }
.vc__save { font: 600 13px/1.3 var(--font); color: var(--cobalt); text-align: right; }

/* ---- Report band and the report panel --------------------------------- */
.reportband { position: relative; overflow: hidden; background: var(--navy); padding: var(--section-y) 0; isolation: isolate; }
.reportband__bg { position: absolute; inset: 0; width: 100%; height: 130%; top: -15%; object-fit: cover; z-index: -1; transform: translate3d(0, calc(var(--rp, 0) * 9%), 0); }
.reportband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.reportband h2 { font-size: var(--fs-h2); margin: 0 0 18px; }
.reportband__how { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; }
.reportband__how li { display: flex; gap: 14px; align-items: baseline; color: var(--white); font-size: 17px; }
.reportband__how b { font: var(--fw-display) 20px/1 var(--font-display); color: var(--surf); min-width: 14px; }
.qc { padding: 26px; border-radius: var(--radius-xl); background: color-mix(in srgb, var(--ink-2) 86%, transparent); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--text-body); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 0; }
.qc__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 500 14px/1.4 var(--font); color: var(--text-dim); }
.qc__head span:first-child { color: var(--white); font-weight: 600; }
.qc__for { margin-top: 12px; font: 600 19px/1.25 var(--font); letter-spacing: var(--track-title); }
.qc__for a { color: var(--white); text-decoration: none; }
.qc__big { display: flex; align-items: baseline; gap: 2px; margin-top: 14px; color: var(--white); font: var(--fw-display) clamp(3.25rem, 5.6vw, 4.75rem)/1 var(--font-display); letter-spacing: var(--track-display); font-variant-numeric: lining-nums; }
.qc__big i { font-style: normal; font-size: .5em; color: var(--surf); }
.qc__sub { font: 400 14px/1.4 var(--font); color: var(--text-dim); margin: 6px 0 14px; }
.qc__rows { margin: 0; display: grid; gap: 0; }
.qc__rows > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.qc__rows dt { color: var(--text-dim); }
.qc__rows dd { margin: 0; color: var(--white); text-align: right; font: 500 14.5px/1.4 var(--font); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.qc__rel { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.qc__rel b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.qc .rcard__verify { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--white) 6%, transparent); font-size: 14px; line-height: 1.5; color: var(--text-body); }
.qc .rcard__verify span { display: block; font: 600 14px/1.4 var(--font); color: var(--white); margin-bottom: 2px; }
.qc .rcard__verify a { color: var(--surf); }
.qc .rcard__verify b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.qc__pdf { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--surf); font-weight: 600; font-size: 14.5px; }
.qcsec { background: var(--navy); }
.qcsec .sechead h2 { color: var(--white); }
.qcsec .coa__intro { max-width: 70ch; color: var(--text-body); margin: -12px 0 28px; }
.qcsec .coa__intro b { color: var(--white); }
.qcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.qcsec .coa__empty { padding: 26px; border-radius: var(--radius-lg); background: color-mix(in srgb, var(--white) 6%, transparent); color: var(--white); margin: 0; }

/* ---- From batch to shelf ---------------------------------------------- */
.how__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.how__stage { position: sticky; top: 12vh; height: 76vh; border-radius: var(--radius-xl); overflow: hidden; background: var(--night); isolation: isolate; }
.sv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.09); transition: opacity 1s var(--ease-soft), transform 1.8s var(--ease-soft); }
.sv.is-on { opacity: 1; transform: none; }
.hsteps { list-style: none; margin: 10vh 0 14vh; padding: 0; display: grid; gap: 24vh; }
.hstep { opacity: .5; transition: opacity .5s var(--ease-soft); }
.hstep__img { display: none; }
.hstep.is-on { opacity: 1; }
.hstep__n { display: block; font: var(--fw-display) 22px/1 var(--font-display); color: var(--cobalt); margin-bottom: 10px; }
.hstep h3 { font: var(--fw-display) clamp(1.5rem, 2.4vw, 2.125rem)/1.12 var(--font-display); letter-spacing: var(--track-display); margin: 0 0 10px; color: var(--text); }
.hstep p { max-width: 42ch; margin: 0; }

/* ---- Manifesto -------------------------------------------------------- */
.manifesto { background: var(--fog); }
.manifesto__text { max-width: 24ch; margin: 0; font: var(--fw-display) clamp(2rem, 4.2vw, 3.75rem)/1.12 var(--font-display); letter-spacing: var(--track-display); color: var(--text); }
.js .mword { opacity: .3; transition: opacity .25s linear; }
.js .mword.is-lit { opacity: 1; }
.manifesto__sign { display: flex; gap: 18px; align-items: center; max-width: 54ch; margin-top: 40px; }
.manifesto__sign img { width: 34px; height: auto; flex: none; }
.manifesto__sign p { margin: 0; }

/* ---- FAQ -------------------------------------------------------------- */
.faq__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq h2 { font-size: var(--fs-h2); margin: 0 0 12px; }
.faq__ask { margin-top: 26px; display: grid; gap: 2px; font-size: 15px; }
.faq__ask span { color: var(--text-body); }
.faq__ask a { color: var(--cobalt); font-weight: 600; }
.faq__list { display: grid; }
.faq-item { border-top: 1px solid var(--line-soft); border-bottom: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-item summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 2px 20px 0; font: 600 18px/1.3 var(--font); letter-spacing: var(--track-title); color: var(--text); cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: none !important; display: none !important; }
.faq-item summary::after { content: "+" !important; position: static; flex: none; width: auto; height: auto; margin: -3px 0 0 auto; background: none; border: 0; font: 400 24px/1.2 var(--font); color: var(--cobalt); transition: transform var(--t-med) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 34px 20px 0; }
.faq-item__body p { margin: 0 0 8px; }
.faq-item__body a { color: var(--cobalt); }

/* ---- Closing ---------------------------------------------------------- */
.closing { background: var(--night); padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: hidden; isolation: isolate; }
.closing__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .26; z-index: -1; }
.closing__in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing h2 { font-size: clamp(2.75rem, 7.4vw, 6.75rem); margin: 0; color: var(--white); line-height: 1.02; letter-spacing: -.026em; }
.closing p { max-width: 46ch; margin: 0 0 8px; color: var(--text-body); }

/* ---- Page heads ------------------------------------------------------- */
.phead { position: relative; overflow: hidden; background: var(--night); padding: clamp(56px, 8vw, 110px) 0; margin: 0; isolation: isolate; }
.phead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -1; opacity: .85; }
.phead__in { max-width: 760px; padding: 0; background: none; }
.phead h1 { font-size: clamp(2.625rem, 5.6vw, 4.75rem); margin: 0 0 12px; color: var(--white); }
.phead__lede { margin: 0; max-width: 56ch; font-size: 18px; color: var(--text-body); }

/* ---- Catalog ---------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 28px; }
.toolbar__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-f { padding: 10px 14px; min-height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); font: 500 14.5px/1 var(--font); color: var(--text); cursor: pointer; text-transform: none; letter-spacing: 0; transition: background var(--t-fast), color var(--t-fast); }
.chip-f.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.toolbar__sort { font: 500 14px/1 var(--font); display: inline-flex; align-items: center; gap: 8px; color: var(--text-body); text-transform: none; letter-spacing: 0; }
.toolbar__sort select { height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 0 10px; font: 500 14.5px var(--font); color: var(--text); background: var(--white); }

/* ---- Product page ----------------------------------------------------- */
.pdp-sec { padding: 20px 0 clamp(48px, 7vw, 88px); background: var(--white); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 16px; color: var(--text-body); }
.crumbs a { color: var(--text-body); text-decoration: none; }
.crumbs span:last-child { color: var(--text); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.pdp__gallery { position: sticky; top: 92px; min-width: 0; }
.pdp__media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--fog); }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media img[src*="label-"] { object-fit: contain; padding: 8%; }
.pdp__media--set { display: flex; align-items: center; justify-content: center; padding: 24px; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 76px; height: 76px; padding: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: var(--fog); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb img[src*="label-"] { object-fit: contain; padding: 6px; }
.thumb.is-on { border-color: var(--cobalt); }
.pdp__info { min-width: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px var(--line-soft); background: var(--white); }
.pdp__meta { margin: 0; font: 500 14.5px/1.4 var(--font); color: var(--text-body); font-variant-numeric: tabular-nums; }
.pdp__title { font: var(--fw-display) clamp(2.25rem, 3.6vw, 3.25rem)/1.06 var(--font-display); letter-spacing: var(--track-display); margin: 4px 0 8px; color: var(--text); }
.pdp__lede { margin: 0 0 16px; font-size: 16.5px; line-height: 1.5; }
.pdp__pricerow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pdp__price { font: 600 30px/1 var(--font); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pdp__compare { color: var(--text-body); font-size: 17px; }
.pdp__per { color: var(--text-body); font-size: 14.5px; }
.opt { margin-bottom: 16px; }
.opt__label { display: flex; justify-content: space-between; gap: 12px; font: 600 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 8px; }
.opt__label span { font-weight: 400; color: var(--text-body); font-size: 13.5px; }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vpills .vpill { font-size: 15px; padding: 11px 16px; min-height: 44px; border-radius: var(--radius-sm); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 13px 8px 11px; border-radius: var(--radius); border: 1.5px solid var(--line-soft); background: var(--white); text-align: center; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.tier input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tier.is-on { border-color: var(--cobalt); background: var(--tide-2); }
.tier.is-on .tier__save { color: var(--ink); }
.tier__q { font: 600 15.5px/1.1 var(--font); color: var(--text); }
.tier__save { font: 600 12.5px/1.2 var(--font); color: var(--cobalt); }
.tier__ea { font: 400 12px/1.25 var(--font); color: var(--text-body); }
.tier__tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: var(--radius-pill); background: var(--navy); color: var(--white); font: 500 11px/1.2 var(--font); white-space: nowrap; }
/* One button: the COA button under it opens the report (the Report pill beside it repeated that, owner 17 Nov 2026). */
.pdp__buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; }
.btn--atc { min-height: 56px; font-size: 17px; }
.pdp__buy .pending { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--fog); border: 0; }
.pending__head { font: 600 15px/1.3 var(--font); color: var(--text); margin-bottom: 3px; }
.pending p { margin: 0; font-size: 14px; line-height: 1.45; }
.ruo-line { margin: 10px 0 0; font-size: 13px; color: var(--text-body); text-align: center; }
.shipbar { margin-top: 14px; padding: 0; background: none; border: 0; }
.shipbar__msg { font: 500 13.5px/1.3 var(--font); color: var(--text); margin-bottom: 6px; }
.shipbar__track { height: 5px; border-radius: 3px; background: var(--fog); overflow: hidden; }
.shipbar__track i { display: block; height: 100%; background: var(--current); border-radius: 3px; transition: width .6s var(--ease-soft); }
.pdp__facts { list-style: none; margin: 16px 0 0; padding: 0; border-radius: var(--radius); background: var(--fog); }
.pdp__facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line-faint); align-items: start; }
.pdp__facts li:first-child { border-top: 0; }
.pdp__facts svg { grid-row: span 2; width: 21px; height: 21px; color: var(--cobalt); margin-top: 1px; }
.pdp__facts b { font: 600 14.5px/1.3 var(--font); color: var(--text); }
.pdp__facts span { font-size: 13.5px; line-height: 1.35; color: var(--text-body); }
.pdp__detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 84px); align-items: start; }
.pdp__detail h2 { font-size: var(--fs-h2); margin: 0 0 18px; }
.glance { display: grid; gap: 14px; min-width: 0; }
.glance__card { padding: 22px; border-radius: var(--radius-lg); background: var(--fog); }
.glance__title { font: 600 17px/1.3 var(--font); letter-spacing: var(--track-title); color: var(--text); margin-bottom: 8px; }
.glance__rows, .specs { margin: 0; display: grid; }
.glance__rows > div, .spec { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.glance__rows > div:first-child, .spec:first-child { border-top: 0; }
.glance__rows dt, .spec dt { color: var(--text-body); flex: none; max-width: 45%; }
.glance__rows dd, .spec dd { margin: 0; color: var(--text); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.spec dd { font: 500 14.5px/1.45 var(--font); font-variant-numeric: tabular-nums; }
.ruoend { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--fog); font-size: 14.5px; line-height: 1.55; color: var(--text-body); }
.ruoend b { color: var(--text); }
.ruoend__p { display: block; margin-top: 6px; }
.stickybar { background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -1px 0 var(--line-soft); }
.stickybar__in { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.stickybar img { width: 46px; height: 46px; border-radius: var(--radius-sm); object-fit: cover; }
.stickybar__mid { flex: 1; min-width: 0; }
.stickybar__name { font: 600 16px/1.2 var(--font); color: var(--text); }
.stickybar__sub { font-size: 13.5px; color: var(--text-body); }
.stickybar__total { font: 600 18px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text); }

/* ---- Reports library -------------------------------------------------- */
.rcard { border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-soft); }
.rcard__kind, .rcard__meta dt { font-family: var(--font); text-transform: none; letter-spacing: 0; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); padding-top: 72px; }
.footer-logo { height: 44px; width: auto; }
.footer-col h4 { font: 600 15px/1.4 var(--font); letter-spacing: var(--track-title); text-transform: none; color: var(--white); }
.footer-col a { color: var(--text-body); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.site-footer .btn--solid { background: var(--white); color: var(--navy); }
.site-footer .footer-notice, .site-footer .footer-notice p, .site-footer .footer-bottom { color: var(--text-body); }
.site-footer .footer-notice { background: color-mix(in srgb, var(--white) 6%, transparent); }
.site-footer .footer-notice__label { color: var(--white); }

/* ---- Gate ------------------------------------------------------------- */
.gate { background: color-mix(in srgb, var(--navy) 52%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gate__body { max-width: 900px; border-radius: var(--radius-xl); overflow: hidden; background: var(--white); box-shadow: var(--shadow-lift); }
.gate__art { flex: 0 0 38%; background: var(--fog); }
.gate__art img { width: 100%; height: 100%; object-fit: cover; }
.gate__content { padding: clamp(22px, 3vw, 36px); }
.gate__logo { width: 150px; height: auto; margin-bottom: 14px; }
.gate__title { font: var(--fw-display) 28px/1.12 var(--font-display); letter-spacing: var(--track-display); color: var(--text); margin: 0 0 8px; }
.gate__copy { font-size: 14.5px; line-height: 1.5; margin: 0 0 12px; }
.gate__checks label { font-size: 14px; line-height: 1.4; color: var(--text); }
.gate__ruo { font-size: 12.5px; color: var(--text-body); margin: 10px 0 0; }

/* ---- Responsive ------------------------------------------------------- */
/* Help opens from the menu on phones and tablets (NEW-STORE.md, Launch). */
@media (max-width: 1024px) { .help__toggle { display: none; } }
@media (max-width: 1100px) {
  .pgrid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --section-y: 72px; }
  /* Phones and tablets are a different page, not a smaller desktop. Nothing pins.
     The order is an Apple product page's: the claim and the buttons under the
     header, then the vial below them, large, running off the first screen, then
     the paragraph. The logo never sits on top of the product. */
  .hx { height: auto; }
  .hx__pin { position: static; height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; }
  .hx__in, .hx__copy { display: contents; }
  .hx__film, .hx__beats { display: none; }
  .hx h1 { order: 1; margin: 0; padding: calc(var(--hdr, -68px) * -1 + 20px) var(--gutter) 0; text-align: center; font-size: clamp(2rem, 8.4vw, 3.75rem); }
  .hx .ctas { order: 2; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; width: auto; margin: 20px var(--gutter) 0; }
  .hx .ctas .btn { width: auto; flex: 0 1 auto; min-height: 50px; padding: 12px 22px; font-size: 15.5px; white-space: nowrap; }
  .hx .ctas .btn svg { display: none; }
  /* The frame is 2:3. --w sizes it past the screen so the vial reads large and the
     water runs off both sides; the stage shows the cap to the first reflections. */
  .hx { --w: 142vw; }
  .hx__stage { position: relative; order: 3; inset: auto; height: calc(var(--w) * 1.04); margin-top: 8px; overflow: hidden; }
  .hx__pic { position: absolute; inset: 0; }
  .hx__img, .hx__video { position: absolute; inset: auto; left: 50%; top: calc(var(--w) * -.06); width: var(--w); max-width: none; height: calc(var(--w) * 1.5); transform: translateX(-50%); object-fit: cover; object-position: 50% 0; }
  .hx__video { display: block; opacity: 0; transition: opacity .6s ease; }
  .hx__video.is-on { opacity: 1; }
  .hx__shade { background: linear-gradient(180deg, var(--night) 0, transparent 16%, transparent 72%, var(--night) 100%); }
  .hx__lede { order: 4; max-width: 34em; margin: 0 auto; padding: 4px var(--gutter) 40px; text-align: center; font-size: var(--fs-body); line-height: var(--lead-body); }
  .volume__in, .reportband__in, .faq__in, .pdp, .pdp__detail { grid-template-columns: minmax(0, 1fr); }
  .pdp__gallery { position: static; }
  .how__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Each step carries its own picture here. Nothing sticks, so nothing can slide
     over the words. */
  .how__stage { display: none; }
  .hsteps { margin: 8px 0 0; gap: 44px; }
  .hstep, .hstep.is-on { opacity: 1; }
  .hstep__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 18px; background: var(--night); }
}
@media (min-width: 601px) and (max-width: 900px) { .hx { --w: 100vw; } }
@media (max-width: 680px) {
  .pgrid--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; scrollbar-width: none; }
  .pgrid--rail::-webkit-scrollbar { display: none; }
  .pgrid--rail .pcard { flex: 0 0 78%; scroll-snap-align: center; }
  .pgrid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pgrid--catalog .pcard__title { font-size: 16.5px; }
  .pgrid--catalog .pcard__price { font-size: 15.5px; }
  .pcard__add { right: 8px; bottom: 8px; padding: 0 14px; }
  .proofbar__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 0; }
  .proofbar__l li { font-size: 14px; }
  .vc { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; }
  .vc__vial { height: 220px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .pdp__buy { grid-template-columns: minmax(0, 1fr); }
  .btn--lg { width: 100%; }
  .ctas { width: 100%; }
  .stickybar__total { display: none; }
  .topbar__facts { display: none; }
  .topbar__in { min-height: 0; padding-top: 5px; padding-bottom: 5px; }
  .topbar__ruo { font-size: 11.5px; line-height: 1.3; }
  .ordering-closed { font-size: 11.5px; line-height: 1.3; padding: 0 12px 5px; }
  .brandmark img.brandmark__lockup { height: 32px; }
  .gate__art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx { height: auto; }
  .js .reveal, .js .rl > span, .hx__img, .js .hx__lede, .js .hx .ctas { animation: none; transition: none; opacity: 1; transform: none; }
  .js .mword { opacity: 1; }
  html { scroll-behavior: auto; }
}
/* The material gives way to a plain surface when asked. */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .stickybar, .qc { background: var(--panel); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* One Certificate of Analysis button per strength; only the chosen one shows (13 Nov 2026). */
.coabtn[hidden] { display: none; }
.coabtn.btn--block { margin-top: 12px; }

/* ---- Checkout: Contact and Payment, cleaner (owner, 16 Nov 2026) ------
   Brought from Ezranova (PR 49). No spaced capitals anywhere on checkout,
   headings and short lines balanced, body text pretty. */
.coform__h, .cosum__h { text-wrap: balance; }
.coform__note, .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; }
/* The SMS consent text stays word for word; only its wrapping is set, so
   "for help." never ends it alone. */
.cfield--check .cfield__fine { text-wrap: balance; }
.cosum__h { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px; }

/* Checkout form rhythm (owner, 16 Nov 2026): one column of one width in
   Contact, and the same space between every field, tick box and group.
   Each field keeps its error slot (4px + 15px), so the rhythm is that slot
   plus a 6px row gap, and an error never moves the form. */
.coform .cfields { row-gap: 6px; }
.coform .cfields + .cfields, .coform .coacct + .cfields { margin-top: 6px; }
.coform .cfield--check { margin-top: 0; }
/* The tick box sits on the first line of its label, its left edge on the
   fields' edge; the fine print starts where the label's words start. */
.cfield__check input { margin: 2px 0 0; }
.cfield--check .cfield__fine { margin: 6px 0 0 28px; }

/* 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: 6px 0 0; }
/* The signed-in line is a note on the email box: a little under it, and a
   full step above the tick box below. */
.coacct:has(> .coacct__in) { margin: -7px 0 25px; }
.coacct__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); max-width: none; }
.coacct__intext { text-wrap: pretty; }
/* A 44px tap target that takes no more room than its line. */
.coacct__in .linkbtn { display: inline-block; min-height: 0; padding: 11px 0; margin: -11px 0; line-height: 1.5; }

/* Payment: one way to pay, so a plain line and its note, no panel. */
.copay { margin: 0 0 8px; }
.copay__lead { margin: 0 0 4px; font-size: 15px; font-weight: var(--fw-med); color: var(--text); text-wrap: balance; }
.copay__note { margin: 0; max-width: 60ch; font-size: var(--fs-small); color: var(--text-dim); text-wrap: balance; }

/* 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; letter-spacing: 0; }

/* ---- Card payments through NoRamp (brought from Ezranova, PRs 42 to 57) --
   The engine's payment buttons (assets/js/pay-groups.js; store kit
   docs/CHECKOUT-PAYMENTS.md), the cards the card processor takes, the card
   box in the Payment section that NoRamp's checkout opens inside, and the
   fallback page /checkout/pay/. */
.paygroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.paygroups[hidden], .paygroups__cards[hidden] { display: none; }
.paygroup { display: flex; flex-direction: column; justify-content: center; gap: 2px; 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: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--t-fast) var(--ease); }
.paygroup:hover:not(:disabled) { border-color: var(--accent); }
.paygroup:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.paygroup.is-chosen { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.paygroup:disabled { cursor: not-allowed; color: var(--text-faint); background: var(--surface); }
.paygroup-note { font-size: 11px; font-weight: 400; color: var(--text-faint); text-wrap: pretty; }
.paygroups__cards { margin: 0 0 14px; max-width: 46ch; font-size: var(--fs-small); color: var(--text-dim); text-wrap: balance; }

/* Once the order is placed and a payment may be on its way, nothing on the
   page changes the order: the form and the summary are switched off. */
.coform.is-locked .cfields, .coform.is-locked .coacct, .coform.is-locked .paygroups, .cartsum.is-locked .cocoupon, .cartsum.is-locked .corewards { opacity: .6; }
.cocoupon__row input:disabled, .cocoupon__apply:disabled, .cocoupon__remove:disabled { cursor: not-allowed; }

/* The card box: what is still needed, then the card form itself. */
.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__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; }
.copaycard--cardsabove .paypanel__cards { display: none; }
@media (max-width: 640px) {
  .copay { padding: 18px 16px; }
}

/* The card payment page, /checkout/pay/ (reloads and bank returns). */
.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; text-wrap: balance; }
.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-size: 16px; font-variant-numeric: tabular-nums; color: var(--text); }
.paypanel__amount { display: block; font-size: 22px; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; color: var(--text); }
.paypanel__cards { max-width: 46ch; font-size: var(--fs-small); color: var(--text-dim); margin-bottom: 14px; text-wrap: balance; }
.paypanel__cards:empty { display: none; }
.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); text-wrap: balance; }
.paynote p { color: var(--text-dim); margin-bottom: 18px; max-width: 60ch; text-wrap: pretty; }
.paywrap__ruo { margin-top: 32px; text-wrap: balance; }
.paypage [hidden] { display: none !important; }
@media (max-width: 640px) {
  .paypanel__frame { padding: 0; border: 0; }
  .paypanel__amount { font-size: 19px; }
}

/* Card fields in the Payment box (payData.mode "element", Stripe's Payment
   Element): 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; }
