@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/big-shoulders-display-800.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/archivo-var.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2'); }

/* Anvil Labs, direction A: a stand-in look until the brand is picked. The palette comes first; rules read only the
   roles below it, so the dark theme is a swap of role values and nothing else. */
:root {
    --rv-graphite: #16181b;
    --rv-graphite-2: #22252a;
    --rv-night: #0d0e10;
    --rv-line-dark: #3a3e44;
    --rv-ash: #ecebe6;
    --rv-paper: #f7f6f3;
    --rv-white: #ffffff;
    --rv-molten: #e2571e;
    --rv-rust: #b23f10;
    --rv-ember: #f08a5d;
    --rv-green: #2f6b3a;
    --rv-mint: #8fd19e;
    --rv-blush: #fbe3d7;
    --rv-cinder: #3a2116;
    --rv-on-dark: #eceae6;
    --rv-on-dark-body: #c4c7cc;
    --rv-on-dark-muted: #a9adb3;
    --rv-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
    --rv-sans: 'Archivo', Arial, sans-serif;
    --rv-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --rv-gutter: 24px;

    --rv-bg: var(--rv-paper);
    --rv-surface: var(--rv-white);
    --rv-surface-alt: var(--rv-ash);
    --rv-text: var(--rv-graphite);
    --rv-body: #3a3e44;
    --rv-muted: #5a5e65;
    --rv-line: #d9d7d0;
    /* Field and button borders: 3:1 or better on white, paper and ash. */
    --rv-control: #8a8780;
    --rv-link: var(--rv-rust);
    --rv-accent: var(--rv-molten);
    --rv-on-accent: var(--rv-graphite);
    --rv-ok: var(--rv-green);
    --rv-tint: var(--rv-blush);
    --rv-hero-bg: var(--rv-white);
    /* Top bar and footer: dark in both themes, the page's anchor. */
    --rv-chrome: var(--rv-night);
    --rv-ink: var(--rv-graphite);
    /* Product photos and documents are shot on white, so their tiles stay light in both themes. */
    --rv-media: var(--rv-ash);
    --rv-theme-sun: none;
    --rv-theme-moon: block;

    /* The chat widget reads these (chat.css), so it wears this palette too. */
    --fn-bg: var(--rv-bg);
    --fn-surface: var(--rv-surface);
    --fn-surface-alt: var(--rv-surface-alt);
    --fn-text: var(--rv-text);
    --fn-text-muted: var(--rv-muted);
    --fn-border: var(--rv-line);
    --fn-accent: var(--rv-accent);
    --fn-accent-hover: var(--rv-ember);
    --fn-on-accent: var(--rv-on-accent);
    --fn-font: var(--rv-sans);
}

/* The dark theme. The pieces that are dark in either theme (top bar, footer, the ink blocks) take the same values, so
   whatever sits inside them reads right without rules of its own.
   The system copy below must stay identical: an explicit choice is stamped on <html> server-side, and "system" is
   resolved here by prefers-color-scheme, never in JS, so the first paint is already the right theme. */
:root[data-theme="dark"], .rv-announce, .rv-footer, .rv-batch, .rv-area, .rv-panel--dark, .rv-lotcard, .rv-summary, .rv-calc-result {
    --rv-bg: var(--rv-night);
    --rv-surface: var(--rv-graphite-2);
    --rv-surface-alt: var(--rv-graphite);
    --rv-text: var(--rv-on-dark);
    --rv-body: var(--rv-on-dark-body);
    --rv-muted: var(--rv-on-dark-muted);
    --rv-line: var(--rv-line-dark);
    --rv-control: #767b83;
    --rv-link: var(--rv-ember);
    --rv-ok: var(--rv-mint);
    --rv-tint: var(--rv-cinder);
    --rv-hero-bg: var(--rv-graphite);
    --rv-theme-sun: block;
    --rv-theme-moon: none;
    color: var(--rv-text);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root[data-theme="system"] {
        --rv-bg: var(--rv-night);
        --rv-surface: var(--rv-graphite-2);
        --rv-surface-alt: var(--rv-graphite);
        --rv-text: var(--rv-on-dark);
        --rv-body: var(--rv-on-dark-body);
        --rv-muted: var(--rv-on-dark-muted);
        --rv-line: var(--rv-line-dark);
        --rv-control: #767b83;
        --rv-link: var(--rv-ember);
        --rv-ok: var(--rv-mint);
        --rv-tint: var(--rv-cinder);
        --rv-hero-bg: var(--rv-graphite);
        --rv-theme-sun: block;
        --rv-theme-moon: none;
        color: var(--rv-text);
        color-scheme: dark;
    }
}

.rv-body { margin: 0; background: var(--rv-bg); color: var(--rv-text); font: 400 16px/1.55 var(--rv-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.rv-body *, .rv-body *::before, .rv-body *::after { box-sizing: border-box; }
.rv-body a { color: var(--rv-link); text-underline-offset: 3px; }
.rv-body a:hover { color: var(--rv-text); }
.rv-body :focus-visible { outline: 2px solid var(--rv-accent); outline-offset: 2px; }
.rv-body img, .rv-body svg { max-width: 100%; }
.rv-body h1, .rv-body h2, .rv-body h3, .rv-body p { margin: 0; }
.rv-sr, .u-offscreen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rv-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--rv-gutter); }
.rv-main { display: block; }
.rv-band { background: var(--rv-hero-bg); border-bottom: 1px solid var(--rv-line); }
.rv-section + .rv-band { border-top: 1px solid var(--rv-line); }
.rv-band--ash { background: var(--rv-surface-alt); }
.rv-section { padding: 72px 0; }
.rv-section:not(.rv-band--ash) + .rv-section:not(.rv-band--ash) { padding-top: 0; }
.rv-stack { display: flex; flex-direction: column; gap: 28px; }
.rv-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.rv-section-head a, .rv-batch a, .rv-inline-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Type */
.rv-eyebrow { font: 500 13px/1.3 var(--rv-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rv-link); }
.rv-h1 { max-width: 1040px; font: 800 clamp(44px, 6vw, 76px)/0.92 var(--rv-display); text-transform: uppercase; letter-spacing: 0.01em; }
.rv-h2 { font: 800 clamp(38px, 5vw, 52px)/0.95 var(--rv-display); text-transform: uppercase; }
.rv-h3 { font: 700 20px/1.25 var(--rv-sans); }
.rv-lede { max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--rv-body); }
.rv-label { font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-muted); }
.rv-fine { font-size: 13px; line-height: 1.5; color: var(--rv-muted); }

/* Buttons */
.rv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 2px solid transparent; font: 800 20px/1 var(--rv-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.rv-body .rv-btn--accent { background: var(--rv-accent); color: var(--rv-on-accent); }
.rv-body .rv-btn--accent:hover { background: var(--rv-ember); color: var(--rv-on-accent); }
.rv-body .rv-btn--ghost { border-color: var(--rv-control); color: var(--rv-text); background: transparent; }
.rv-body .rv-btn--ghost:hover { border-color: var(--rv-text); color: var(--rv-text); }
.rv-body .rv-btn--dark { background: var(--rv-text); color: var(--rv-bg); }
.rv-body .rv-btn--dark:hover { background: var(--rv-accent); color: var(--rv-on-accent); }
.rv-btn:disabled { opacity: 0.6; cursor: progress; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.rv-header { position: relative; background: var(--rv-hero-bg); border-bottom: 1px solid var(--rv-line); }
.rv-announce { background: var(--rv-chrome); color: var(--rv-body); font: 500 12px/1.3 var(--rv-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.rv-announce-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 9px; padding-bottom: 9px; }
.rv-header-row { display: flex; align-items: center; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.rv-body .rv-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--rv-text); text-decoration: none; }
.rv-mark { flex: none; }
.rv-wordmark { font: 800 30px/0.9 var(--rv-display); letter-spacing: 0.03em; text-transform: uppercase; }
.rv-nav { display: flex; flex-wrap: wrap; gap: 0 24px; flex-grow: 1; }
.rv-body .rv-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rv-text); font: 600 15px/1 var(--rv-sans); text-decoration: none; border-bottom: 2px solid transparent; }
.rv-body .rv-nav a:hover { color: var(--rv-link); }
.rv-body .rv-nav a[aria-current="page"] { border-bottom-color: var(--rv-accent); }
.rv-header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rv-icon-btn { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rv-control); background: transparent; color: var(--rv-text); cursor: pointer; }
.rv-icon-btn:hover, .rv-icon-btn[aria-expanded="true"] { border-color: var(--rv-accent); color: var(--rv-link); }
.rv-theme-sun { display: var(--rv-theme-sun); }
.rv-theme-moon { display: var(--rv-theme-moon); }
.rv-body .rv-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--rv-accent); color: var(--rv-on-accent); font: 800 17px/1 var(--rv-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.rv-body .rv-cart:hover { background: var(--rv-ember); color: var(--rv-on-accent); }
.rv-menu { display: none; flex: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--rv-control); background: transparent; cursor: pointer; }
.rv-menu span { display: block; height: 2px; background: var(--rv-text); transition: transform .2s ease, opacity .2s ease; }
.rv-header.is-open .rv-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rv-header.is-open .rv-menu span:nth-child(2) { opacity: 0; }
.rv-header.is-open .rv-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.rv-search-panel { padding: 16px 0; border-top: 1px solid var(--rv-line); }
.rv-search-panel .rv-search { max-width: 720px; }

/* Footer */
.rv-footer { background: var(--rv-chrome); color: var(--rv-body); font-size: 15px; border-top: 1px solid var(--rv-line); }
.rv-footer a { color: var(--rv-text); text-decoration: none; }
.rv-footer a:hover { color: var(--rv-link); text-decoration: underline; }
.rv-signup { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--rv-line); }
.rv-signup > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
.rv-footer .rv-signup-title { margin: 0; letter-spacing: 0.01em; font: 800 44px/0.95 var(--rv-display); text-transform: uppercase; color: var(--rv-text); }
.rv-signup-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.rv-signup-form input { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid var(--rv-control); background: var(--rv-surface); color: var(--rv-text); font: 400 16px/1 var(--rv-sans); }
.rv-signup-form input::placeholder { color: var(--rv-muted); }
.rv-signup-form .rv-fine, .rv-signup-form .rv-note { flex-basis: 100%; }
.rv-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.rv-footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.rv-footer-brand .rv-wordmark { font-size: 26px; }
.rv-footer h2 { margin: 0 0 6px; font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rv-muted); }
.rv-footer ul { margin: 0; padding: 0; list-style: none; }
.rv-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.rv-footer-base { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--rv-line); }
.rv-footer-research { max-width: 920px; font-size: 14px; line-height: 1.55; color: var(--rv-body); }
.rv-legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14px; }
.rv-legal-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.rv-legal-links svg { width: 30px; height: auto; }
.rv-copyright { font-size: 13px; color: var(--rv-muted); }
.rv-footer { --fn-privacy-paper: var(--rv-night); }

/* Home */
.rv-hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.rv-hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rv-hero-copy .rv-h1 { font-size: clamp(56px, 8vw, 104px); }
.rv-batch { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-batch-head, .rv-batch-name { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.rv-batch-name { font: 800 34px/1 var(--rv-display); text-transform: uppercase; }
.rv-batch-name span:last-child { color: var(--rv-accent); }
.rv-batch-trace { display: block; width: 100%; height: 130px; }
.rv-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; margin: 0; font: 400 13px/1.4 var(--rv-mono); }
.rv-specs dt { color: var(--rv-muted); text-transform: uppercase; }
.rv-specs dd { margin: 0; color: var(--rv-text); font-weight: 500; }

.rv-proof { background: var(--rv-accent); color: var(--rv-on-accent); }
.rv-proof ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; list-style: none; font: 700 15px/1.3 var(--rv-sans); }

.rv-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rv-product { display: flex; flex-direction: column; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-product-media { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; background: var(--rv-media); }
.rv-product-media img, .rv-pdp-vial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rv-product-media .rv-vial-svg { width: 104px; height: 125px; }
.rv-badge { position: absolute; top: 12px; left: 12px; padding: 6px 8px; background: var(--rv-ink); color: var(--rv-on-dark); font: 500 12px/1 var(--rv-mono); }
.rv-product-body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 18px; }
.rv-product-name { font: 800 30px/1 var(--rv-display); text-transform: uppercase; }
.rv-stock { font: 600 13px/1.2 var(--rv-sans); color: var(--rv-ok); }
.rv-stock--low { color: var(--rv-link); }
.rv-product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.rv-price { font: 800 28px/1 var(--rv-display); }
.rv-body .rv-product-foot .rv-btn { min-height: 44px; padding: 0 16px; font-size: 16px; }

.rv-areas { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rv-body .rv-area { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 110px; padding: 22px; background: var(--rv-ink); color: var(--rv-text); text-decoration: none; border-bottom: 4px solid var(--rv-accent); }
.rv-body .rv-area:hover { background: var(--rv-surface); color: var(--rv-text); }
.rv-area-name { font: 800 26px/1 var(--rv-display); text-transform: uppercase; }

.rv-steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0; padding: 0; list-style: none; }
.rv-steps li { display: flex; flex-direction: column; gap: 10px; }
.rv-step-num { font: 800 56px/1 var(--rv-display); color: var(--rv-link); }
.rv-steps p { font-size: 16px; line-height: 1.55; color: var(--rv-body); }

.rv-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.rv-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--rv-surface); border: 1px solid var(--rv-line); border-top: 4px solid var(--rv-text); }
.rv-card p { color: var(--rv-body); }

.rv-table-wrap { overflow-x: auto; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.rv-table th { padding: 14px 16px; text-align: left; font: 500 12px/1 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); border-bottom: 2px solid var(--rv-text); }
.rv-table td { padding: 14px 16px; border-top: 1px solid var(--rv-surface-alt); }
.rv-table td:first-child { font-weight: 600; }
.rv-mono { font-family: var(--rv-mono); }

.rv-closing-row { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.rv-closing-row > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }

/* Inner pages */
.rv-page-hero .rv-wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 56px; }
.rv-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.rv-layout > .rv-prose, .rv-layout > .rv-col-main { flex: 999 1 560px; min-width: 0; }
.rv-layout > .rv-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rv-prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.rv-prose p, .rv-prose li { font-size: 17px; line-height: 1.65; color: var(--rv-body); }
.rv-prose h2 { margin-top: 16px; font: 800 34px/1 var(--rv-display); text-transform: uppercase; color: var(--rv-text); }
.rv-prose ul, .rv-prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.rv-prose strong { color: var(--rv-text); }
.rv-panel { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-panel--dark { background: var(--rv-ink); border-color: var(--rv-ink); }
.rv-panel--dark p { color: var(--rv-body); }
.rv-panel--warn { background: var(--rv-tint); border-color: var(--rv-accent); }
.rv-panel-title { font: 800 28px/1 var(--rv-display); text-transform: uppercase; }
.rv-panel p { font-size: 15px; line-height: 1.55; }
dl.rv-panel { margin: 0; gap: 6px; }
dl.rv-panel dd { margin: 0 0 12px; font-size: 16px; }
dl.rv-panel dd:last-child { margin-bottom: 0; }
.rv-benefits { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rv-benefits li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.rv-benefits li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--rv-accent); }

.rv-numbered { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: rv-n; }
.rv-numbered > li { counter-increment: rv-n; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--rv-line); }
.rv-numbered > li::before { content: counter(rv-n, decimal-leading-zero); grid-row: span 2; font: 800 44px/1 var(--rv-display); color: var(--rv-link); }
.rv-numbered p { color: var(--rv-body); font-size: 17px; line-height: 1.6; }

.rv-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.rv-facts div { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-facts dd { margin: 0; font-weight: 600; font-size: 17px; }

/* FAQ */
.rv-faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-body .rv-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--rv-text); color: var(--rv-text); font-weight: 600; text-decoration: none; }
.rv-body .rv-chip:hover { background: var(--rv-text); color: var(--rv-bg); }
.rv-faq-group { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 24px; }
.rv-faq-group h2 { font: 800 34px/1 var(--rv-display); text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--rv-text); }
.rv-faq details { border-bottom: 1px solid var(--rv-line); }
.rv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font: 600 18px/1.35 var(--rv-sans); cursor: pointer; list-style: none; }
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary::after { content: '+'; flex: none; width: 28px; text-align: center; font: 800 28px/1 var(--rv-display); color: var(--rv-link); }
.rv-faq details[open] summary::after { content: '\2212'; }
.rv-faq details p { padding: 0 44px 18px 0; font-size: 16px; line-height: 1.6; color: var(--rv-body); }

/* Forms */
.rv-form { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rv-field { display: flex; flex-direction: column; gap: 6px; }
.rv-field--full { grid-column: 1 / -1; }
.rv-field label { font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); }
.rv-field input, .rv-field select, .rv-field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rv-control); border-radius: 0; background: var(--rv-surface); color: var(--rv-text); font: 400 16px/1.4 var(--rv-sans); }
.rv-field textarea { padding: 12px 14px; min-height: 160px; resize: vertical; }
.rv-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--rv-text) 50%), linear-gradient(135deg, var(--rv-text) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.rv-field input:focus, .rv-field select:focus, .rv-field textarea:focus { border-color: var(--rv-text); outline: 2px solid var(--rv-accent); outline-offset: 0; }
.rv-field .rv-num { font: 500 18px/1 var(--rv-mono); }
.rv-optional { text-transform: none; letter-spacing: 0; }
.rv-form .rv-btn { align-self: flex-start; }
.rv-alert { grid-column: 1 / -1; padding: 12px 16px; background: var(--rv-tint); border: 1px solid var(--rv-accent); color: var(--rv-text); font-size: 15px; }
.rv-note { padding: 12px 16px; background: var(--rv-surface-alt); border-left: 4px solid var(--rv-accent); color: var(--rv-text); font-size: 15px; }
.rv-form .rv-note { grid-column: 1 / -1; }
.rv-success { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--rv-surface); border: 1px solid var(--rv-line); border-top: 4px solid var(--rv-ok); }
.rv-success h2 { font: 800 40px/1 var(--rv-display); text-transform: uppercase; }

.rv-track-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv-track-steps li { flex: 1 1 140px; padding: 12px 14px; background: var(--rv-surface); border: 1px solid var(--rv-line); border-top: 4px solid var(--rv-line); font: 500 13px/1.3 var(--rv-mono); text-transform: uppercase; color: var(--rv-muted); }

/* Calculator */
.rv-calc { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.rv-calc .rv-field { flex: 1 1 200px; }
.rv-calc-result { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 48px; padding: 14px 20px; background: var(--rv-ink); font: 500 16px/1.2 var(--rv-mono); text-transform: uppercase; }
.rv-calc-result output { font: 800 40px/1 var(--rv-display); color: var(--rv-accent); }

/* Legal pages: the engine's text, our frame. */
.rv-legal { max-width: 800px; padding-top: 56px; padding-bottom: 80px; }
.rv-legal h1 { font: 800 clamp(44px, 7vw, 72px)/0.92 var(--rv-display); text-transform: uppercase; }
.rv-legal .lg-updated { margin: 8px 0 32px; font: 500 13px/1.3 var(--rv-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rv-muted); }
.rv-legal .lg-body h2 { margin: 36px 0 10px; font: 800 30px/1 var(--rv-display); text-transform: uppercase; }
.rv-legal .lg-body h3 { margin: 24px 0 8px; font: 700 18px/1.3 var(--rv-sans); }
.rv-legal .lg-body p, .rv-legal .lg-body li { font-size: 16px; line-height: 1.7; color: var(--rv-body); }
.rv-legal .lg-body p { margin: 0 0 14px; }
.rv-legal .lg-body ul, .rv-legal .lg-body ol { margin: 0 0 14px; padding-left: 22px; }
.rv-legal .lg-body li { margin-bottom: 8px; }
.rv-legal .lg-body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.rv-legal .lg-body th, .rv-legal .lg-body td { padding: 10px 12px; border: 1px solid var(--rv-line); text-align: left; vertical-align: top; }

/* Store: shared */
.rv-body [hidden] { display: none !important; }
.rv-body fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rv-section--tight { padding-top: 40px; }
.rv-crumbs { font: 500 12px/1.4 var(--rv-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-muted); }
.rv-body .rv-crumbs a { color: var(--rv-muted); }
.rv-body .rv-crumbs a:hover { color: var(--rv-text); }
.rv-crumbs-row { padding-top: 28px; }
.rv-muted { color: var(--rv-muted); }
.rv-body .rv-btn--line { border-color: var(--rv-text); background: transparent; color: var(--rv-text); }
.rv-body .rv-btn--line:hover { background: var(--rv-text); color: var(--rv-bg); }
.rv-btn--sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.rv-btn--block { width: 100%; min-height: 60px; font-size: 24px; letter-spacing: 0.1em; }
.rv-body .rv-btn[aria-disabled="true"] { background: var(--rv-surface-alt); border-color: var(--rv-control); color: var(--rv-muted); cursor: not-allowed; }
.rv-link-btn { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--rv-link); font: 600 14px/1 var(--rv-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-link-btn:hover { color: var(--rv-text); }
.rv-check { display: flex; align-items: flex-start; gap: 10px; min-height: 32px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.rv-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rv-accent); }
.rv-field-error { margin: 0; color: var(--rv-link); font-size: 14px; font-weight: 600; }
.rv-field [aria-invalid="true"] { border-color: var(--rv-link); }
.rv-alert p + p { margin-top: 4px; }
.rv-body .rv-chip.is-on { background: var(--rv-text); color: var(--rv-bg); }
.rv-lot-status { font-weight: 600; color: var(--rv-muted); }
.rv-lot-status--on_sale { color: var(--rv-ok); }
.rv-table--compact { min-width: 420px; font-size: 14px; }
.rv-table--compact td { padding: 12px 14px; }
.rv-stock--out { color: var(--rv-muted); }

/* Shop */
.rv-shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--rv-text); }
.rv-shop-title { display: flex; flex-direction: column; gap: 10px; }
.rv-shop-title p { font-size: 15px; color: var(--rv-body); }
.rv-shop-head .rv-h1 { font-size: clamp(44px, 6vw, 64px); }
.rv-sort { display: flex; align-items: center; gap: 10px; }
.rv-sort select, .rv-cart-qty input { min-height: 44px; padding: 0 12px; border: 1px solid var(--rv-control); border-radius: 0; background: var(--rv-surface); color: var(--rv-text); font: 500 15px/1 var(--rv-sans); }
.rv-shop { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rv-filters { flex: 1 1 240px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.rv-filter-form { display: flex; flex-direction: column; gap: 24px; }
.rv-filter-group { display: flex; flex-direction: column; gap: 6px; }
.rv-filter-group .rv-label { padding-bottom: 6px; }
.rv-body .rv-area-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; color: var(--rv-text); font-weight: 600; font-size: 15px; text-decoration: none; }
.rv-body .rv-area-link:hover { background: var(--rv-surface-alt); color: var(--rv-text); }
.rv-body .rv-area-link.is-on { background: var(--rv-text); color: var(--rv-bg); }
.rv-area-link .rv-mono { font-size: 12px; font-weight: 500; }
.rv-shop-grid { flex: 999 1 640px; min-width: 0; }
.rv-body .rv-filters-toggle { display: none; }
.rv-body .rv-filters-toggle[aria-expanded="true"] { background: var(--rv-text); color: var(--rv-bg); }
.rv-grid--shop { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.rv-shop-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.rv-body .rv-product-media { text-decoration: none; }
.rv-body .rv-product-name a { color: var(--rv-text); text-decoration: none; }
.rv-body .rv-product-name a:hover { color: var(--rv-link); }
.rv-product--out .rv-product-media { opacity: 0.8; }

/* Product page */
.rv-pdp { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 20px; padding-bottom: 56px; }
.rv-pdp-media { flex: 1 1 420px; min-width: 0; }
.rv-pdp-vial { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--rv-media); }
.rv-pdp-vial .rv-vial-svg { width: 55%; height: 66%; }
.rv-pdp-badge { position: absolute; top: 16px; left: 16px; padding: 7px 10px; background: var(--rv-accent); color: var(--rv-on-accent); font: 800 16px/1 var(--rv-display); letter-spacing: 0.06em; text-transform: uppercase; }
.rv-pdp-buy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-body .rv-tag { padding: 6px 9px; border: 1px solid var(--rv-text); color: var(--rv-text); font: 500 12px/1 var(--rv-mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.rv-body .rv-tag:hover { background: var(--rv-text); color: var(--rv-bg); }
.rv-pdp-name { font-size: clamp(52px, 7vw, 76px); line-height: 0.88; }
.rv-pdp-lede { font-size: 16px; line-height: 1.55; color: var(--rv-body); }
.rv-pdp-form { display: flex; flex-direction: column; gap: 18px; }
.rv-pick { display: flex; flex-direction: column; gap: 8px; }
.rv-pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-pick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rv-pick-size, .rv-pick-qty { position: relative; cursor: pointer; }
.rv-pick-size input, .rv-pick-qty input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick-size span { display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 88px; padding: 0 18px; border: 2px solid var(--rv-text); background: var(--rv-surface); font: 800 20px/1 var(--rv-display); letter-spacing: 0.04em; text-transform: uppercase; }
.rv-pick-size input[data-rv-out] + span { border-style: dashed; color: var(--rv-muted); }
.rv-pick-size input:checked + span { background: var(--rv-text); color: var(--rv-bg); }
.rv-pick-size input:focus-visible + span, .rv-pick-qty input:focus-visible ~ .rv-pick-qty-n { outline: 2px solid var(--rv-accent); outline-offset: 2px; }
.rv-pick-qty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 6px 4px; border: 2px solid var(--rv-control); background: var(--rv-surface); text-align: center; }
.rv-pick-qty:has(input:checked) { border-color: var(--rv-accent); background: var(--rv-tint); }
.rv-pick-qty-n { font: 800 20px/1 var(--rv-display); text-transform: uppercase; }
.rv-pick-qty-off { font: 500 12px/1 var(--rv-mono); text-transform: uppercase; color: var(--rv-link); }
.rv-pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15px; color: var(--rv-body); }
.rv-pdp-total { font: 800 56px/1 var(--rv-display); color: var(--rv-text); }
.rv-save { font-weight: 600; color: var(--rv-ok); }
.rv-pdp-size { display: flex; flex-direction: column; gap: 6px; }
.rv-pdp-size .rv-stock { font-size: 14px; }
.rv-stock-note { font-weight: 400; color: var(--rv-muted); }
.rv-stockbar { height: 8px; background: var(--rv-line); }
.rv-stockbar-fill { display: block; height: 8px; background: var(--rv-ok); }
.rv-stockbar-fill.is-low { background: var(--rv-link); }
.rv-lotcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--rv-ink); }
.rv-lotcard-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.rv-lotcard-title { font: 800 22px/1 var(--rv-display); text-transform: uppercase; }
.rv-lotcard-flag { font: 500 12px/1 var(--rv-mono); text-transform: uppercase; color: var(--rv-link); }
.rv-body .rv-lotcard a { font-weight: 600; }
.rv-lotcard .rv-specs dd a { font-weight: 500; }
.rv-notify { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--rv-surface); border: 1px solid var(--rv-line); border-top: 4px solid var(--rv-accent); scroll-margin-top: 24px; }
.rv-notify p { color: var(--rv-body); }
.rv-notify-form { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-notify-form input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid var(--rv-control); border-radius: 0; background: var(--rv-surface); color: var(--rv-text); font: 400 16px/1 var(--rv-sans); }
.rv-notify-form .rv-note { flex-basis: 100%; }
.rv-pdp-tabs-band { padding: 40px 0 56px; background: var(--rv-surface); border-top: 1px solid var(--rv-line); border-bottom: 1px solid var(--rv-line); }
.rv-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--rv-text); }
.rv-tabs button { min-height: 48px; padding: 0 20px; border: 0; background: transparent; color: var(--rv-text); font: 800 18px/1 var(--rv-display); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.rv-tabs button[aria-selected="true"] { background: var(--rv-text); color: var(--rv-bg); }
.rv-tab-panel { display: flex; flex-direction: column; gap: 12px; }
.rv-table-wrap--plain { background: none; border: 0; }
.rv-spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rv-spec-table tr { border-bottom: 1px solid var(--rv-surface-alt); }
.rv-spec-table th { width: 220px; padding: 12px 16px 12px 0; text-align: left; vertical-align: top; font: 500 12px/1.4 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); }
.rv-spec-table td { padding: 12px 0; font-family: var(--rv-mono); overflow-wrap: anywhere; }
.rv-pdp-more { display: flex; flex-wrap: wrap; gap: 40px; }
.rv-pdp-together { flex: 1 1 480px; min-width: 0; gap: 16px; }
.rv-pdp-history { flex: 1 1 420px; min-width: 0; gap: 16px; }
.rv-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rv-pair-item { padding: 14px 18px; background: var(--rv-surface); border: 1px solid var(--rv-line); font-weight: 700; }
.rv-pair-plus { font: 800 24px/1 var(--rv-display); }
.rv-pair-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rv-was { color: var(--rv-muted); }

/* Cart and checkout */
.rv-checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rv-checkout > .rv-col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rv-cart-lines { margin: 0; padding: 0; list-style: none; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) 96px 110px auto; align-items: center; gap: 12px 20px; padding: 16px 18px; border-top: 1px solid var(--rv-surface-alt); }
.rv-cart-line:first-child { border-top: 0; }
.rv-cart-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rv-body .rv-cart-name { color: var(--rv-text); font: 800 26px/1 var(--rv-display); text-transform: uppercase; text-decoration: none; }
.rv-body a.rv-cart-name:hover { color: var(--rv-link); }
.rv-cart-qty { gap: 4px; }
.rv-cart-qty input { width: 100%; font-family: var(--rv-mono); }
.rv-cart-sum { text-align: right; font-weight: 500; }
.rv-summary { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--rv-ink); }
.rv-summary-title { font: 800 28px/1 var(--rv-display); text-transform: uppercase; }
.rv-summary-lines { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rv-summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rv-line); }
.rv-summary-lines li > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.rv-summary-rows { display: flex; flex-direction: column; gap: 8px; margin: 0; font: 400 14px/1.3 var(--rv-mono); color: var(--rv-body); }
.rv-summary-rows div { display: flex; justify-content: space-between; gap: 12px; }
.rv-summary-rows dd { margin: 0; }
.rv-summary-save { color: var(--rv-ok); }
.rv-summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 2px solid var(--rv-accent); font: 800 24px/1 var(--rv-display); text-transform: uppercase; }
.rv-summary-total span:last-child { font-size: 40px; }
.rv-coupon { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--rv-line); color: var(--rv-body); font-size: 15px; }
.rv-coupon label { font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); }
.rv-coupon-row { display: flex; gap: 8px; }
.rv-coupon-row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--rv-control); border-radius: 0; background: var(--rv-surface); color: var(--rv-text); font: 500 16px/1 var(--rv-mono); text-transform: uppercase; }
.rv-coupon-row input:focus { outline: 2px solid var(--rv-accent); outline-offset: 0; }
.rv-coupon .rv-link-btn { min-height: 0; color: var(--rv-text); }
.rv-checkout-form { gap: 32px; }
.rv-step { padding-bottom: 12px; grid-column: 1 / -1; font: 800 30px/1 var(--rv-display); text-transform: uppercase; }
.rv-step span { color: var(--rv-link); }
.rv-pay { display: flex; flex-direction: column; gap: 10px; }
.rv-pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--rv-surface); border: 2px solid var(--rv-control); cursor: pointer; }
.rv-pay-option:has(input:checked) { border-color: var(--rv-accent); }
.rv-pay-option input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rv-accent); }
.rv-pay-body { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; font-size: 14px; line-height: 1.5; color: var(--rv-body); }
.rv-pay-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 17px; color: var(--rv-text); }
.rv-pay-head .rv-label { color: var(--rv-link); }
.rv-sms { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.rv-attest { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--rv-tint); border: 1px solid var(--rv-accent); }
.rv-attest.is-error { border-width: 2px; border-color: var(--rv-link); }
.rv-pay-now { gap: 14px; }
.rv-pay-now-line { font-size: 18px; }
.rv-panel--dark .rv-pay-now-line, .rv-panel--dark strong { color: var(--rv-text); }
.rv-bank { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 16px; background: var(--rv-surface); }
.rv-bank dt { font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); }
.rv-bank dd { margin: 4px 0 0; color: var(--rv-text); font-size: 16px; overflow-wrap: anywhere; }

/* Research library */
.rv-posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rv-post { display: flex; flex-direction: column; background: var(--rv-surface); border: 1px solid var(--rv-line); border-top: 4px solid var(--rv-text); }
.rv-post-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--rv-media); }
.rv-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv-post-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; padding: 22px; }
.rv-post-body > p:not([class]) { color: var(--rv-body); }
.rv-post-title { font: 800 30px/1 var(--rv-display); text-transform: uppercase; text-wrap: pretty; }
.rv-body .rv-post-title a { color: var(--rv-text); text-decoration: none; }
.rv-body .rv-post-title a:hover { color: var(--rv-link); }
.rv-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; font: 500 13px/1.4 var(--rv-mono); color: var(--rv-muted); }
.rv-post-meta b { color: var(--rv-text); }
.rv-byline { display: flex; align-items: flex-start; gap: 10px; }
.rv-byline .rv-post-meta { padding-top: 4px; }
.rv-reviewed { display: inline-flex; align-items: center; gap: 5px; }
.rv-reviewed svg { color: var(--rv-ok); }
.rv-nowrap { white-space: nowrap; }
.rv-article { display: flex; flex-direction: column; gap: 32px; }
.rv-article-head { max-width: 860px; display: flex; flex-direction: column; gap: 16px; }
.rv-article-title { font: 800 clamp(40px, 5vw, 60px)/0.95 var(--rv-display); text-transform: uppercase; }
.rv-article-cover { max-width: 860px; }
.rv-article-body { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--rv-body); }
.rv-article-body > :first-child { margin-top: 0; }
.rv-article-body p { margin: 0 0 1.15em; }
.rv-article-body h2 { margin: 1.6em 0 0.5em; font: 800 34px/1 var(--rv-display); text-transform: uppercase; color: var(--rv-text); }
.rv-article-body h3 { margin: 1.4em 0 0.4em; font: 700 20px/1.3 var(--rv-sans); color: var(--rv-text); }
.rv-article-body ul, .rv-article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.rv-article-body li { margin: 0 0 0.5em; }
.rv-article-body li::marker { color: var(--rv-link); }
.rv-article-body strong, .rv-article-body b { color: var(--rv-text); }
.rv-article-body img { display: block; height: auto; margin: 1.6em 0; }
.rv-article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rv-accent); font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--rv-text); }
.rv-article-body blockquote p:last-child { margin: 0; }
.rv-article-body .br-table { display: block; max-width: 100%; overflow-x: auto; margin: 1.4em 0 1.6em; border-collapse: collapse; background: var(--rv-surface); border: 1px solid var(--rv-line); font-size: 15px; line-height: 1.45; }
.rv-article-body .br-table th, .rv-article-body .br-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--rv-surface-alt); }
.rv-article-body .br-table thead th { font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-muted); border-top: 0; border-bottom: 2px solid var(--rv-text); }
.rv-article-body .br-table tbody td:first-child { font-weight: 600; color: var(--rv-text); }
.rv-article-body .br-callout { margin: 1.6em 0; padding: 18px 22px; background: var(--rv-surface-alt); border-left: 4px solid var(--rv-accent); font-size: 17px; }
.rv-article-body .br-callout > b { display: block; margin-bottom: 6px; }
.rv-article-body .br-callout p:last-child { margin: 0; }
.rv-article-body .br-kicker { margin: 0 0 12px; font: 500 12px/1.2 var(--rv-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-muted); }
.rv-article-body .br-stats { margin: 1.6em 0; }
.rv-article-body .br-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rv-article-body .br-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--rv-surface); border: 1px solid var(--rv-line); }
.rv-article-body .br-stat b { font: 800 36px/1 var(--rv-display); color: var(--rv-link); }
.rv-article-body .br-stat span { font-size: 14px; line-height: 1.4; }
.rv-article-body .br-stat small { margin-top: auto; font-size: 12px; color: var(--rv-muted); }
.rv-article-body ol.br-steps { list-style: none; display: grid; gap: 12px; margin: 1.6em 0; padding: 0; counter-reset: step; }
.rv-article-body .br-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; margin: 0; padding: 20px; background: var(--rv-surface); border: 1px solid var(--rv-line); counter-increment: step; }
.rv-article-body .br-steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font: 800 40px/1 var(--rv-display); color: var(--rv-accent); }
.rv-article-body .br-steps li > * { grid-column: 2; margin: 0 0 4px; }
.rv-article-body .br-sources { font-size: 14px; color: var(--rv-muted); }
.rv-body .rv-article-body a.fn-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--rv-accent); color: var(--rv-on-accent); font: 800 20px/1 var(--rv-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* Track order */
.rv-track { display: flex; flex-direction: column; gap: 18px; }
.rv-track-steps li.is-done { border-top-color: var(--rv-ok); color: var(--rv-text); }
.rv-track-steps li span { display: block; margin-top: 4px; text-transform: none; color: var(--rv-muted); }

/* Lab results and lots */
.rv-page-hero .rv-lab-hero { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.rv-lab-hero-copy { flex: 999 1 520px; min-width: 0; gap: 14px; }
.rv-search { flex: 1 1 360px; display: flex; gap: 8px; }
.rv-search input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid var(--rv-control); border-radius: 0; background: var(--rv-surface); color: var(--rv-text); font: 500 16px/1 var(--rv-mono); }
.rv-search input::placeholder { color: var(--rv-muted); }
.rv-search .rv-btn { width: auto; padding: 0 22px; }
.rv-table--lots { min-width: 760px; }
.rv-table--lots .rv-mono, .rv-table--compact .rv-mono { white-space: nowrap; }
.rv-lot-facts dd { font-size: 18px; }

@media (max-width: 1000px) {
    .rv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
    .rv-menu { display: flex; }
    .rv-nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 0; }
    .rv-header.is-open .rv-nav { display: flex; }
    .rv-body .rv-header .rv-nav a { min-height: 48px; border-top: 1px solid var(--rv-line); border-bottom: 0; font-size: 16px; }
    .rv-body .rv-nav a[aria-current="page"] { color: var(--rv-link); }
    .rv-header-row { flex-wrap: wrap; gap: 12px 16px; }
    .rv-body .rv-filters-toggle { display: inline-flex; flex-basis: 100%; }
    .rv-filters.is-folded:not(.is-open) { display: none; }
    .rv-shop { gap: 24px; }
}

@media (max-width: 560px) {
    :root { --rv-gutter: 16px; }
    .rv-section { padding: 48px 0; }
    .rv-section:not(.rv-band--ash) + .rv-section:not(.rv-band--ash) { padding-top: 0; }
    .rv-hero-row { padding-top: 44px; padding-bottom: 52px; gap: 32px; }
    .rv-hero-copy .rv-h1 { font-size: 56px; }
    .rv-page-hero .rv-wrap { padding-top: 40px; padding-bottom: 40px; }
    .rv-lede { font-size: 17px; }
    .rv-batch { padding: 18px; }
    .rv-batch-name { font-size: 30px; }
    .rv-btn, .rv-form .rv-btn { width: 100%; }
    .rv-form { grid-template-columns: minmax(0, 1fr); }
    .rv-body .rv-product-foot .rv-btn { width: auto; }
    .rv-announce-row { justify-content: flex-start; font-size: 11px; }
    .rv-wordmark { font-size: 26px; }
    .rv-cart { padding: 0 12px; }
    .rv-footer .rv-signup-title { font-size: 38px; }
    .rv-numbered > li { grid-template-columns: 48px minmax(0, 1fr); }
    .rv-numbered > li::before { font-size: 36px; }
    .rv-faq details p { padding-right: 0; }
    .rv-closing-row { padding-top: 48px; padding-bottom: 48px; }
    .rv-legal { padding-top: 40px; padding-bottom: 56px; }
    .rv-section--tight { padding-top: 28px; }
    .rv-pdp { gap: 24px; padding-bottom: 40px; }
    .rv-pdp-vial { aspect-ratio: 4 / 3; }
    .rv-pdp-total { font-size: 46px; }
    .rv-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-spec-table th { width: 40%; }
    .rv-cart-line { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; }
    .rv-cart-item { grid-column: 1 / -1; }
    .rv-cart-qty { flex-direction: row; align-items: center; gap: 10px; }
    .rv-cart-qty input { width: 80px; }
    .rv-cart-sum { text-align: left; }
    .rv-summary { padding: 20px; }
    .rv-step { font-size: 26px; }
    .rv-search .rv-btn { width: auto; }
    .rv-filters { flex-basis: 100%; }
    .rv-posts { grid-template-columns: minmax(0, 1fr); }
    .rv-article-body { font-size: 17px; }
    .rv-article-body h2 { font-size: 30px; }
    .rv-article-body .br-steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
    .rv-article-body .br-steps li::before { font-size: 30px; }
}
