/* ==========================================================================
   Attestryn: brand system
   Black dominant · cyan accent (#05D9FF) · white text · silver detail
   ========================================================================== */

:root {
	--black: #000000;
	--surface: #05080B;
	--surface-2: #0A0F14;
	--line: #1C232B;
	--line-2: #3A4550;
	--white: #FFFFFF;
	--text-2: #C9CED4;
	--muted: #A9B0B8;
	--faint: #8E959E;
	--cyan: #05D9FF;
	--cyan-hover: #5CE7FF;
	--warn: #FFB46B;
	--silver: #A8B0B8;
	--radius: 2px;
	--wrap: 1200px;
	--sans: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--text-2); text-decoration: none; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--cyan); outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #000; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.narrow { max-width: 840px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-rule { border-top: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 340px; min-width: 0; }
.section-intro { max-width: 680px; margin-bottom: 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.h-xl { font-size: clamp(32px, 4vw, 44px); }
.h-lg { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.h-md { font-size: 24px; margin-bottom: 16px; }
.lead { font-size: 18px; line-height: 1.7; color: #B8BEC6; max-width: 620px; }
.muted { color: var(--muted); }
.faint, .fine { color: var(--faint); font-size: 13px; }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.mono-title { font-family: var(--mono); font-weight: 500; }
.accent { color: var(--cyan); }
.warn { color: var(--warn); }
.big { font-size: 28px; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
	border-radius: var(--radius); border: 1px solid transparent;
	cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .button, .wc-block-components-button:not(.is-link) {
	background: var(--cyan); color: #000; border-color: var(--cyan);
}
.btn-primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .button:hover {
	background: var(--cyan-hover); border-color: var(--cyan-hover); color: #000;
}
.btn-outline { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 16px; }
.link-arrow { color: var(--cyan); font-weight: 500; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(0,0,0,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.wordmark { font-size: 18px; font-weight: 500; letter-spacing: 0.14em; }
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.primary-nav .current-menu-item > a { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--white); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 16px; }
	.primary-nav.open { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.header-actions { justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero-copy h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; margin-bottom: 24px; }
.hero-visual { flex: 1 1 360px; display: flex; justify-content: center; }
.vial-stage { position: relative; width: 100%; max-width: 440px; height: 500px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vial-stage::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(5,217,255,.10), transparent 65%); }
.vial { position: relative; width: 240px; height: 400px; }
.lot-card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; background: var(--black); border: 1px solid var(--line); padding: 14px 16px; border-radius: var(--radius); color: var(--cyan); }
.lot-card .mono, .lot-card-title { color: var(--white); font-size: 13px; font-weight: 500; }

/* ---------- Pillars / steps / tests ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.pillar { flex: 1 1 280px; }
.pillar .num { font-family: var(--mono); font-size: 13px; color: var(--cyan); margin-bottom: 12px; }
.pillar h2 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--black); padding: 32px 28px; }
.step-num { font-family: var(--mono); font-size: 28px; color: var(--line-2); margin-bottom: 14px; }
.step-num.accent { color: var(--cyan); }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; flex: 2 1 560px !important; }
.test { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.test strong { font-weight: 500; font-size: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0 24px; }
table.data { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
table.data thead th { background: var(--surface); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 14px 18px; }
table.data td, table.data tbody th { padding: 15px 18px; border-top: 1px solid var(--line); text-align: left; font-weight: 500; vertical-align: top; }
table.data tbody th { font-weight: 500; }
table.compare th.accent { color: var(--cyan); }
.pill { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: var(--radius); border: 1px solid currentColor; white-space: nowrap; }
.pill-ok { color: var(--cyan); }
.pill-warn { color: var(--warn); }
.pill-muted { color: var(--muted); }

/* ---------- Catalog preview ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.preview-card { background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--white); }
.preview-card strong { font-size: 19px; font-weight: 600; }
.preview-card:hover { border-color: var(--line-2); color: var(--white); }
.lock { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 14px; }

/* ---------- Lookup / institutional ---------- */
.lookup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.lookup > div { flex: 1 1 380px; }
.lookup-form { flex: 1 1 420px; }
.lookup-form label, .filters label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.input-row { display: flex; flex-wrap: wrap; gap: 12px; }
.input-row input { flex: 1 1 220px; }
.institutional { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.institutional > div { flex: 1 1 520px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="url"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 50px; width: 100%; padding: 0 14px;
	background: var(--surface); color: var(--white);
	border: 1px solid var(--line-2); border-radius: var(--radius);
	font-family: var(--sans); font-size: 15px;
}
textarea { padding: 12px 14px; min-height: 120px; }
input[name="lot"], #lot-search { font-family: var(--mono); }
.woocommerce form .form-row label, label { color: var(--muted); font-size: 14px; }
.attestation { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.attestation legend { padding: 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
label.check { display: flex; gap: 12px; align-items: flex-start; color: #D5DADF; font-size: 14px; line-height: 1.5; cursor: pointer; }
label.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cyan); flex-shrink: 0; }
.checkout-attest { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); }

/* ---------- COA library ---------- */
.page-head .split { margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); flex: 0 1 420px !important; }
.stats > div { background: var(--surface); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.lab-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 32px; }
.lab-id { display: flex; align-items: center; gap: 16px; color: var(--cyan); }
.lab-id strong { display: block; color: var(--white); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin-bottom: 20px; }
.filters .field { flex: 1 1 340px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 22px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.chip.active { background: var(--white); color: #000; border-color: var(--white); font-weight: 600; }
.empty { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); margin: 8px 0 24px; }
.howto { margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 10px 0 0; font-size: 14px; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px 0; }
.meta-grid dt { font-size: 12px; color: var(--faint); }
.meta-grid dd { margin: 4px 0 0; }
.notice-warn { border: 1px solid var(--warn); color: var(--warn); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 24px; }

/* ---------- Prose pages ---------- */
.prose h1 { margin-bottom: 28px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose p, .prose li { color: #C4CAD1; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--cyan); }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--faint); font-size: 13px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--text-2); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--muted); font-size: 14px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 22px; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { margin: 0 0 18px; background: var(--black); border-bottom: 1px solid var(--line); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px !important; font-weight: 600; padding: 0 22px !important; color: var(--white); }
.woocommerce ul.products li.product .price { color: var(--white) !important; font-size: 17px !important; font-weight: 600; padding: 0 22px; margin-top: auto; }
.woocommerce ul.products li.product .button { margin: 14px 22px 0 !important; }
.card-lot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 22px 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card-lot .tested { color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.woocommerce div.product .product_title { font-size: clamp(34px, 4vw, 48px); font-weight: 600; margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--white) !important; font-size: 28px !important; font-weight: 600; }
.woocommerce div.product div.images img { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce div.product form.cart .quantity input { min-height: 54px; width: 80px; text-align: center; }
.woocommerce div.product form.cart .button { min-height: 54px; }
.lot-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--cyan); border-radius: var(--radius); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.assurance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.assurance > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.assurance .k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ruo-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 13px; color: var(--muted); }
.lot-panel { clear: both; padding-top: 56px; }
.lot-panel h2 { font-size: 28px; margin-bottom: 6px; }
.lot-panel .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lot-panel .sub { font-size: 22px; margin-top: 40px; }
.institutional-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.institutional-band h2 { font-size: 22px; margin-bottom: 6px; }
.woocommerce-tabs ul.tabs { padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border-color: var(--line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--black) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--white) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce table.shop_table, .woocommerce-cart table.cart, .woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line) !important; color: var(--white); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon {
	background: var(--surface); border: 1px solid var(--line) !important; border-radius: 4px !important; padding: 28px !important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > * {
	background: var(--surface) !important; color: var(--white) !important; border-top-color: var(--cyan) !important;
}
.woocommerce-error { border-top-color: var(--warn) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cyan) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--cyan); }
.woocommerce #customer_login { display: flex; flex-wrap: wrap; gap: 32px; }
.woocommerce #customer_login .u-column1, .woocommerce #customer_login .u-column2 { flex: 1 1 380px; width: auto !important; float: none !important; }
.woocommerce #customer_login h2 { font-size: 22px; margin-bottom: 16px; }
.gate-intro { max-width: 720px; margin-bottom: 36px; }
.gate-intro h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
.gate-intro p { color: #B8BEC6; }
.notice-inline { color: var(--cyan) !important; }
.attest-bar { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.attest-bar .icon { color: var(--cyan); }
.attest-on-file { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.attest-form { margin-top: 24px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.wc-page .woocommerce { color: var(--white); }
span.onsale { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 64px 0 40px; }
.footer-brand { flex: 1 1 260px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .wordmark { font-size: 16px; }
.footer-brand p { line-height: 1.7; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.col-title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal { padding: 28px 0 40px; margin: 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--faint); }

@media (max-width: 720px) {
	.section { padding-top: 64px; padding-bottom: 64px; }
	.hero { padding-top: 56px; gap: 40px; }
	.vial-stage { height: 420px; }
	.vial { width: 200px; height: 330px; }
	.assurance { grid-template-columns: minmax(0, 1fr); }
	.stats { flex-basis: 100% !important; }
}

/* ---------- Compliance: age + research-use pop-up ---------- */
html.ruo-locked, html.ruo-locked body { overflow: hidden; }
html.ruo-ok .ruo-gate { display: none; }
.ruo-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.94); backdrop-filter: blur(6px); overflow-y: auto; }
.ruo-gate-card { width: 100%; max-width: 560px; margin: auto; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.ruo-gate-card h2 { margin: 8px 0 6px; font-size: 24px; line-height: 1.25; }
.ruo-gate-mark { margin-bottom: 16px; }
.ruo-gate-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ruo-gate-form a { color: var(--cyan); }
.ruo-gate-error { color: #FF8A8A; font-size: 14px; margin: 0; }
.ruo-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ruo-gate .fine { font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* ---------- Compliance: COA line + questionnaire ---------- */
.coa-line { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; }
.coa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 14px; font-weight: 500; text-decoration: none; }
.coa-link:hover { text-decoration: underline; }
.coa-line .fine { font-size: 12px; color: var(--muted); }
.questionnaire .form-row { margin: 0; }
.questionnaire select { appearance: auto; }

/* ---------- Home: large hero image ---------- */
.hero-xl { padding-top: 72px; background: radial-gradient(1200px 520px at 50% 85%, rgba(5,217,255,.10), transparent 70%); }
.hero-xl-copy { text-align: center; max-width: 860px; }
.hero-xl-copy h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; margin: 14px 0 22px; }
.hero-xl-copy .lead { max-width: 640px; margin: 0 auto 28px; color: var(--text-2); font-size: 18px; }
.hero-xl-copy .btn-row { justify-content: center; }
.hero-xl-media { margin: 48px auto 0; max-width: 1440px; padding: 0 24px; }
.hero-xl-media img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0%; }
.trust-strip { list-style: none; margin: 0; padding: 28px 0 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; color: var(--text-2); font-size: 14px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { color: var(--cyan); stroke: var(--cyan); }
@media (min-width: 900px) { .hero-xl-media img { aspect-ratio: 16 / 10; object-position: 50% 0%; } }

/* ---------- Home: catalog cards with photos ---------- */
.product-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.home-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--white); transition: border-color .2s; }
.home-card:hover { border-color: var(--cyan); color: var(--white); }
.home-card-img { display: block; aspect-ratio: 1 / 1; background: #EDEFF1; }
.home-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.home-card-body strong { font-weight: 500; font-size: 16px; }
.home-card .lock { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); margin-top: 6px; }

/* ---------- Home: access steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--black); }
.steps .num { font-family: var(--mono); color: var(--cyan); font-size: 13px; }
.steps h3 { font-size: 19px; margin: 12px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- v1.7: sign-up, institutional form, Research Library ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.signup h2 { margin: 6px 0 8px; }
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.signup-fields { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 10px; }
.signup-fields input { width: 100%; min-width: 0; }
.signup .check { font-size: 13px; }
.signup .check a, .inquiry-form a { color: var(--cyan); }
.form-msg { margin: 0; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; }
.form-msg.ok { border: 1px solid var(--cyan); color: var(--white); }
.form-msg.err { border: 1px solid var(--warn); color: var(--warn); }
.inquiry-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.inquiry-form p { margin: 0; }
.inquiry-form label:not(.check) { display: block; margin-bottom: 6px; }
.inquiry-form input:not([type="checkbox"]), .inquiry-form select, .inquiry-form textarea { width: 100%; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.library-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.library-card h2 { margin: 0; }
.library-card h2 a { color: var(--white); text-decoration: none; }
.library-card h2 a:hover, .text-link { color: var(--cyan); }
.text-link { text-decoration: none; font-weight: 600; font-size: 14px; margin-top: auto; }
.post-article .eyebrow a { color: var(--cyan); text-decoration: none; }
.ruo-note { margin: 40px 0 0; padding: 16px 18px; border-left: 2px solid var(--cyan); background: var(--surface); color: var(--muted); font-size: 14px; }
.ruo-note strong { color: var(--white); }
.cta-box { margin: 24px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.cta-box p { margin: 6px 0 0; }
.checkout-extra { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.optin-row label, .optin-row .checkbox { font-size: 13px; }
@media (max-width: 900px) {
	.signup { grid-template-columns: 1fr; padding: 24px; }
	.signup-fields { grid-template-columns: 1fr; }
	.library-grid { grid-template-columns: 1fr; }
	.inquiry-grid { grid-template-columns: 1fr; }
	.cta-box { flex-direction: column; align-items: flex-start; }
}


/* ---------- Open catalog additions (Oct 29, 2026) ---------- */
.home-card-price { display: block; margin-top: 8px; font-family: var(--mono); font-size: 15px; color: var(--cyan); }
.home-card-price del { color: var(--faint); margin-right: 6px; }
.home-card-price ins { text-decoration: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 20px; color: var(--cyan); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--text-2); max-width: 760px; }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }


/* ---------- Growth pack (Oct 29, 2026) ---------- */

/* Announcement bar */
.announce { background: var(--cyan); color: #00151A; font-size: 13px; line-height: 1.35; }
.announce-track { max-width: var(--wrap); margin: 0 auto; padding: 8px 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; }
.announce-item strong { font-family: var(--mono); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 760px) {
	.announce-track { display: grid; min-height: 36px; align-items: center; justify-items: center; text-align: center; }
	.announce-item { grid-area: 1 / 1; visibility: hidden; animation: attestryn-announce 12s step-end infinite; animation-delay: calc(var(--i) * 4s); }
}
@keyframes attestryn-announce { 0% { visibility: visible; } 33.333% { visibility: hidden; } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.announce-item { animation: none; }
	.announce-item:first-child { visibility: visible; }
}

/* Breadcrumbs */
.crumbs { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--faint); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--cyan); }

/* Volume tier picker */
.tier-picker { margin: 20px 0 16px; }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-weight: 600; }
.tier-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tier-opt { display: flex; flex-direction: column; gap: 2px; padding: 12px; text-align: left; background: var(--surface); color: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.tier-opt:hover { border-color: var(--cyan); }
.tier-opt.is-active { border-color: var(--cyan); background: rgba(5, 217, 255, .08); box-shadow: inset 0 0 0 1px var(--cyan); }
.tier-opt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tier-opt .t-q { font-size: 13px; color: var(--text-2); }
.tier-opt .t-p { font-family: var(--mono); font-size: 16px; }
.tier-opt .t-p small { font-size: 11px; color: var(--muted); }
.tier-opt .t-s { font-size: 12px; color: var(--cyan); font-weight: 600; }
@media (max-width: 480px) { .tier-opt { padding: 10px 8px; } .tier-opt .t-p { font-size: 14px; } }

/* Research sets */
.set-savings { margin: 6px 0 14px; color: var(--cyan); }
.set-savings strong { font-family: var(--mono); }
.set-contents, .set-promo { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.sc-head, .sp-head { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.set-contents ul, .set-promo ul { list-style: none; margin: 0; padding: 0; }
.set-contents li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.set-contents li:first-child { border-top: 0; }
.set-contents li span { font-family: var(--mono); color: var(--text-2); }
.set-promo li + li { border-top: 1px solid var(--line); }
.set-promo a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; color: var(--white); }
.set-promo a:hover .sp-name { color: var(--cyan); }
.set-promo .sp-price { font-family: var(--mono); white-space: nowrap; }
.set-promo em, .compare-table em.save, .pi-price em { font-style: normal; color: var(--cyan); font-size: 12px; margin-left: 6px; }
.card-save, .card-tier { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--cyan); }

/* Processing cutoff */
.cutoff { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 14px; color: var(--text-2); }
.cutoff-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: 0 0 auto; }
.cutoff.is-live .cutoff-dot { animation: attestryn-pulse 2s infinite; }
@keyframes attestryn-pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 217, 255, .6); } 70% { box-shadow: 0 0 0 8px rgba(5, 217, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 217, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .cutoff.is-live .cutoff-dot { animation: none; } }

/* Trust badges */
.trust-badges { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.trust-badges svg { color: var(--cyan); flex: 0 0 auto; }

/* Compound reference + format comparison + also browse */
.research-profile, .compare-formats, .also-browse { margin: 48px 0 0; }
.research-profile h2, .compare-formats h2, .also-browse h2 { margin: 6px 0 18px; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rp-card { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.rp-card h3 { margin: 0 0 4px; }
.rp-card dl, .pi-specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0; font-size: 14px; }
.rp-card dt, .pi-specs dt { color: var(--muted); }
.rp-card dd, .pi-specs dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.rp-links { font-size: 14px; margin: 8px 0 0; }
.research-profile .fine, .pi-fine { margin-top: 14px; font-size: 12px; color: var(--faint); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare-table tbody th { font-weight: 600; }
.compare-table tr.is-current { background: rgba(5, 217, 255, .06); }
.compare-table td:last-child { font-family: var(--mono); white-space: nowrap; }

/* Product cards (home + product pages) */
.home-card { position: relative; }
.home-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.home-card-link:hover { color: inherit; }
.home-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; }
.home-card-atc { margin: 0 16px 16px; align-self: flex-start; }
.home-card-atc.added { display: none; }
.home-card .added_to_cart { display: inline-block; margin: 0 16px 16px; font-size: 13px; color: var(--cyan); }

/* Sticky add-to-cart */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(5, 8, 11, .96); border-top: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.sticky-atc[hidden] { display: none; }
.sticky-atc-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.sticky-atc .s-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .s-price { font-family: var(--mono); white-space: nowrap; }
body.has-sticky-atc { padding-bottom: 64px; }
@media (max-width: 480px) { .sticky-atc .s-price { display: none; } }

/* Cart helpers */
.ship-progress { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.ship-progress p { margin: 0 0 8px; }
.sp-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.sp-bar span { display: block; height: 100%; background: var(--cyan); }
.tier-hints { margin: 0 0 16px; }
.tier-hints p { margin: 0 0 6px; padding: 10px 14px; border-left: 2px solid var(--cyan); background: var(--surface); font-size: 14px; }
.tier-note { display: block; margin-top: 4px; font-size: 12px; color: var(--cyan); font-weight: 600; }

/* Category SEO block */
.cat-seo { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line); max-width: 860px; }
.cat-seo h2 { margin: 0 0 14px; }
.cat-seo p { color: var(--text-2); }
.cat-seo .cat-links { font-size: 14px; margin-bottom: 20px; }

/* Home page */
.cat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--white); transition: border-color .2s; }
.cat-tile:hover { border-color: var(--cyan); color: var(--white); }
.ct-img { display: block; aspect-ratio: 16 / 10; background: #EDEFF1; overflow: hidden; }
.ct-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-body { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.ct-body strong { font-size: 18px; }
.ct-note { margin-top: 6px; color: var(--cyan); font-weight: 600; font-size: 14px; }
.offer-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.offer .o-k { font-family: var(--mono); font-size: 22px; color: var(--cyan); margin-bottom: 6px; }
.offer p { margin: 0; color: var(--text-2); font-size: 14px; }
.home-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-pillars h3 { margin: 6px 0 8px; }
.home-pillars p { color: var(--text-2); }
.standard-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.standard-list li { display: flex; gap: 12px; align-items: flex-start; }
.standard-list svg { color: var(--cyan); margin-top: 3px; flex: 0 0 auto; }
.standard-list strong { display: block; margin-bottom: 2px; }
.standard-list span { color: var(--text-2); font-size: 14px; }
@media (max-width: 900px) {
	.cat-tiles { grid-template-columns: 1fr; }
	.offer-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-pillars, .standard-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .offer-band { grid-template-columns: 1fr; } }

/* Research peptide index */
.pi-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.pi-jump a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--white); }
.pi-jump a:hover { border-color: var(--cyan); color: var(--cyan); }
.pi-item { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.pi-item h2 { margin: 0 0 4px; }
.pi-item h3 { margin: 18px 0 8px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pi-products { list-style: none; margin: 0; padding: 0; }
.pi-products li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.pi-price { margin-left: auto; font-family: var(--mono); }

/* Research Library cross-links */
.guide-links { margin: 32px 0 0; }
.guide-links ul { list-style: none; margin: 8px 0 0; padding: 0; }
.guide-links li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.guide-shop { margin: 40px 0 0; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.guide-shop ul { list-style: none; margin: 8px 0; padding: 0; }
.guide-shop li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.guide-shop .gs-price { margin-left: auto; font-family: var(--mono); }

.ct-img img { object-fit: contain; }
@media (max-width: 900px) {
	.cat-tile { flex-direction: row; align-items: center; }
	.ct-img { flex: 0 0 112px; width: 112px; aspect-ratio: 1 / 1; }
}

/* ---------- SEO pack 3 (Oct 30, 2026) ---------- */

/* Screen-reader text (also needed where WooCommerce styles are not loaded) */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #000; display: block; height: auto; left: 8px; padding: 12px 16px; top: 8px; width: auto; z-index: 100000; }

/* Show the product photo immediately instead of waiting for the gallery script */
.woocommerce-product-gallery { opacity: 1 !important; }

/* Links inside text are underlined, not only colored */
.prose p a:not(.btn):not(.button), .prose li a:not(.btn):not(.button), .prose td a, .signup-form label a, .product_meta a, .woocommerce-product-details__short-description a { text-decoration: underline; text-underline-offset: 2px; }

/* Research Library articles */
.post-article .crumbs { margin-bottom: 14px; }
.post-byline { margin: -6px 0 28px; font-size: 14px; color: var(--muted); }
.post-sources, .related-posts { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-sources ul, .related-posts ul { margin: 12px 0 0; padding-left: 18px; }
.post-sources li, .related-posts li { margin: 6px 0; }
.related-posts + .cta-box { margin-top: 32px; }

/* Buttons inside article text keep their own colors */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #000; }
.prose a.btn-outline, .prose a.btn-ghost { color: var(--white); }
.woocommerce-Tabs-panel p a, .woocommerce-Tabs-panel li a, .woocommerce-Tabs-panel td a { text-decoration: underline; text-underline-offset: 2px; }
.term-description a, .cat-seo p a, .cat-seo li a { text-decoration: underline; text-underline-offset: 2px; }

/* Wide spec tables scroll inside their column on small screens */
@media (max-width: 760px) {
	.woocommerce-Tabs-panel--description table, .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
