/* ════════════════════════════════════════════════════════════════════
   US TITAN LABS — shared design system stylesheet
   Navy-dominant, controlled red, metallic silver. Patriotic but refined.
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800;900&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  /* ── Navy scale ── */
  --navy-950: #071831;
  --navy-900: #0A1F3C;
  --navy-850: #0C2547;
  --navy-800: #102B5C;
  --navy-700: #163A70;
  --navy-600: #1E4A8A;
  --navy: #102B5C;

  /* ── Red ── */
  --red: #C8102E;
  --red-deep: #9E0C24;
  --red-bright: #E11933;

  /* ── Neutrals ── */
  --white: #FFFFFF;
  --clinical: #F4F7FB;     /* clinical off-white sections */
  --clinical-2: #EAF0F7;
  --silver: #C2CAD6;
  --silver-light: #E7ECF3;
  --ink: #0B1B30;
  --ink-muted: #5B6B82;
  --ink-soft: #8593A8;
  --line: #DCE3EC;
  --line-dark: rgba(255,255,255,0.12);

  /* ── Gradients ── */
  --grad-navy: linear-gradient(160deg, #102B5C 0%, #0A1F3C 55%, #071831 100%);
  --grad-metal: linear-gradient(135deg, #F4F6FA 0%, #D5DCE6 45%, #B6BFCD 55%, #E7ECF3 100%);
  --grad-red: linear-gradient(180deg, #E11933 0%, #C8102E 55%, #A60E26 100%);

  /* ── Radii ── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* ── Shadow ── */
  --sh-sm: 0 1px 2px rgba(7,24,49,.06);
  --sh-soft: 0 8px 30px -12px rgba(7,24,49,.18);
  --sh-lift: 0 26px 60px -28px rgba(7,24,49,.45);
  --sh-pop: 0 40px 80px -30px rgba(7,24,49,.55);
  --sh-red: 0 12px 30px -10px rgba(200,16,46,.45);

  /* ── Type ── */
  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--f-display); letter-spacing: -0.02em; margin: 0; line-height: 1.04; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.on-dark { color: #6FA0E0; }
.eyebrow.on-dark::before { background: var(--red-bright); }

/* ── Headings scale ── */
.h-xl { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; }
.h-lg { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; }
.h-md { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; }
.h-sm { font-size: 21px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-muted); line-height: 1.65; }
.on-dark .lead, .lead.on-dark { color: rgba(226,235,247,.78); }

/* ════ Buttons ════ */
.btn {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  border-radius: var(--r-md);
  padding: 15px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .28s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform .28s var(--ease); }
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--sh-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(200,16,46,.55); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-navy:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy-800); background: var(--clinical); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ════ Header ════ */
.t-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s;
}
.t-header.scrolled { box-shadow: 0 6px 24px -14px rgba(7,24,49,.35); border-color: var(--line); }
.t-header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.t-logo { display: flex; align-items: center; gap: 12px; }
.t-logo img { height: 40px; width: auto; }
.t-logo-text { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--navy-800); white-space: nowrap; }
.t-logo-text .labs { color: var(--red); }
.t-nav { display: flex; align-items: center; gap: 30px; margin-left: 14px; }
.t-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-muted);
  position: relative; transition: color .2s; padding: 6px 0;
}
.t-nav a:hover, .t-nav a.active { color: var(--navy-800); }
.t-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width .25s var(--ease);
}
.t-nav a:hover::after, .t-nav a.active::after { width: 100%; }
.t-header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.t-cart-btn {
  position: relative; background: none; border: 1.5px solid var(--line);
  border-radius: var(--r-md); width: 46px; height: 46px; display: grid; place-items: center;
  cursor: pointer; color: var(--navy-800); transition: all .2s;
}
.t-cart-btn:hover { border-color: var(--navy-800); }
.t-cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: var(--r-full);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .25s var(--ease);
}
.t-cart-count.show { transform: scale(1); }
.t-menu-btn { display: none; }

/* ════ Trust badges / pills ════ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--r-full); white-space: nowrap;
}
.pill-rou { background: #fff; color: var(--red); border: 1px solid rgba(200,16,46,.28); box-shadow: var(--sh-sm); }
.pill-coa { background: rgba(16,43,92,.07); color: var(--navy-800); border: 1px solid rgba(16,43,92,.14); }
.pill-verified { background: rgba(20,120,60,.1); color: #157A3C; border: 1px solid rgba(20,120,60,.22); }
.pill-pending { background: rgba(180,120,10,.1); color: #9A6B05; border: 1px solid rgba(180,120,10,.28); }
.on-dark .pill-rou { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }

/* ════ Hero ════ */
.hero { padding: 96px 0 158px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(226,235,247,.92);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 9px 16px 9px 13px; border-radius: var(--r-full); backdrop-filter: blur(8px); white-space: nowrap;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3FD17A; box-shadow: 0 0 0 3px rgba(63,209,122,.22); flex-shrink: 0; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--red); }
.hero-stat .n { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1; color: #fff; }
.hero-stat .n span { font-size: 18px; color: var(--red-bright); margin-left: 1px; }
.hero-stat .l { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.45; letter-spacing: .03em; color: rgba(226,235,247,.6); }

/* specimen showcase — white display panel */
.hero-show { position: relative; height: 580px; display: grid; place-items: center; }
.hero-tile {
  position: relative; z-index: 2; width: 80%; max-width: 384px; aspect-ratio: 3/3.7;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 52px 92px -34px rgba(0,0,0,.6), 0 10px 24px -10px rgba(0,0,0,.42);
  animation: vialfloat 7s ease-in-out infinite;
}
/* full-bleed product shot — no white frame; the image fills the panel edge to edge */
.hero-vial { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes vialfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-tile { animation: none; } }
.spec-chip {
  position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px;
  background: rgba(13,33,64,.66); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px);
  padding: 11px 15px; border-radius: var(--r-md); box-shadow: var(--sh-lift);
}
.spec-chip .k { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(226,235,247,.55); white-space: nowrap; }
.spec-chip .v { font-family: var(--f-mono); font-size: 13px; color: #fff; white-space: nowrap; }
.spec-chip .v b { color: #6FE39B; font-weight: 600; }
.spec-chip::before { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); top: -3px; box-shadow: 0 0 0 3px rgba(225,25,51,.2); }
.sc-purity { top: 9%; right: -4%; } .sc-purity::before { left: 16px; }
.sc-mw { top: 42%; left: -8%; } .sc-mw::before { right: 16px; }
.hero-seal { position: absolute; z-index: 5; bottom: 7%; right: -5%; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); padding: 12px 16px 12px 12px; border-radius: 14px; box-shadow: var(--sh-pop); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  /* min-width:0 stops a wide/nowrap child (e.g. the eyebrow pill) from expanding the 1fr
     track past the viewport — which would clip the buttons/text/chips on small screens. */
  .hero-grid > * { min-width: 0; }
  .hero-show { height: 480px; order: -1; }
  .hero-tile { max-width: 320px; }
  .sc-purity { right: 2%; } .sc-mw { left: 0%; } .hero-seal { right: 2%; }
}

/* ── striping accent ── */
.stripe-rule {
  height: 4px; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-800) 0 33%, var(--white) 33% 50%, var(--red) 50% 83%, var(--silver) 83% 100%);
}
.stripe-mini { display: inline-block; width: 54px; height: 3px;
  background: linear-gradient(90deg, var(--navy-800) 0 40%, var(--red) 40% 75%, var(--silver) 75% 100%);
  border-radius: 2px; }

/* ════ Cards ════ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); border-color: var(--silver); }

/* ════ Seal (COA badge) ════ */
.seal {
  width: 96px; height: 96px; border-radius: var(--r-full);
  background: var(--grad-metal);
  display: grid; place-items: center; text-align: center;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.8), inset 0 -2px 6px rgba(7,24,49,.18), var(--sh-soft);
  position: relative;
}
.seal::after {
  content: ""; position: absolute; inset: 7px; border-radius: var(--r-full);
  border: 1.5px dashed rgba(16,43,92,.35);
}

/* ════ Dark section ════ */
.dark {
  background: var(--grad-navy); color: #fff; position: relative; overflow: hidden;
}
.dark h1,.dark h2,.dark h3,.dark h4 { color: #fff; }
.dark .grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}

/* ════ Disclaimer block ════ */
.disclaimer {
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7;
  letter-spacing: 0.01em; color: var(--ink-muted);
  border-left: 3px solid var(--silver); padding: 16px 20px;
  background: var(--clinical); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.disclaimer strong { color: var(--navy-800); font-weight: 600; }
.dark .disclaimer { background: rgba(255,255,255,.04); color: rgba(226,235,247,.62); border-left-color: rgba(255,255,255,.2); }
.dark .disclaimer strong { color: #fff; }

/* ════ Vial stage ════ */
.vial-stage {
  background: #fff;
  border-radius: var(--r-lg); position: relative; overflow: hidden;
}

/* ════ Footer ════ */
.t-footer { background: var(--navy-950); color: rgba(226,235,247,.7); padding: 76px 0 40px; }
.t-footer h4 { color: #fff; font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.t-footer a { display: block; font-size: 14.5px; color: rgba(226,235,247,.62); padding: 5px 0; transition: color .2s; }
.t-footer a:hover { color: #fff; }
.t-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }

/* ════ Cart drawer ════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(7,24,49,.5); backdrop-filter: blur(3px);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: #fff; z-index: 201; transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--sh-pop);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.cart-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 58px; height: 70px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); flex-shrink: 0; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.qty-ctl button { width: 34px; height: 34px; border: none; background: #fff; cursor: pointer; font-size: 17px; color: var(--navy-800); transition: background .15s; }
.qty-ctl button:hover { background: var(--clinical); }
.qty-ctl span { width: 38px; text-align: center; font-family: var(--f-mono); font-weight: 500; }

/* ════ Reveal animation ════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* failsafe: if JS never set the gate, never hide content */
html:not(.js-reveal) .reveal { opacity: 1 !important; transform: none !important; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── patriotic accents toggle ── */
body.no-patriot .patriot { display: none !important; }

/* ════ Product cards ════ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card { display: flex; flex-direction: column; overflow: hidden; }
.prod-media {
  position: relative; aspect-ratio: 1/1.04; display: flex; align-items: center; justify-content: center;
  background: #fff; overflow: hidden; padding: 16px;
}
.prod-media img { height: 96%; width: auto; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.05); }
.prod-media .pill { position: absolute; top: 14px; left: 14px; z-index: 2; }
.prod-watermark { display: none !important; }
.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.prod-card h3 { font-size: 23px; font-weight: 700; }
.prod-meta { display: flex; align-items: center; gap: 9px; margin: 12px 0 18px; }
.chip-purity { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: #157A3C; background: rgba(20,120,60,.08); border: 1px solid rgba(20,120,60,.18); padding: 4px 9px; border-radius: var(--r-sm); white-space: nowrap; }
.chip-size { font-family: var(--f-mono); font-size: 12px; color: var(--ink-muted); background: var(--clinical); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-sm); white-space: nowrap; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-price { font-family: var(--f-display); font-weight: 800; font-size: 26px; white-space: nowrap; }
.prod-price small { font-size: 13px; font-weight: 500; color: var(--ink-soft); font-family: var(--f-mono); }
.prod-actions { display: flex; gap: 8px; }
.icon-add { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; padding: 0; }

/* style B — emblem side / horizontal */
body[data-card-style="B"] .prod-card { flex-direction: row; align-items: stretch; }
body[data-card-style="B"] .prod-media { aspect-ratio: auto; width: 42%; flex-shrink: 0; padding: 14px; }
body[data-card-style="B"] .prod-media img { height: 92%; }
body[data-card-style="B"] .prod-watermark { display: block; position: absolute; right: -22px; bottom: -22px; width: 120px; opacity: .07; }
body[data-card-style="B"] .prod-body { width: 58%; }
body[data-card-style="B"] .prod-grid { grid-template-columns: repeat(2, 1fr); }

/* ════ Process steps ════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 22px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 27px; right: -2px; width: 4px; height: 4px; }
.step-num { font-family: var(--f-mono); font-size: 13px; font-weight: 600; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy-800); position: relative; z-index: 2; background: #fff; }
.dark .step-num { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); color: #fff; }
.step-line { position: absolute; top: 27px; left: 0; right: 0; height: 1.5px; background: var(--line); z-index: 0; }
.dark .step-line { background: rgba(255,255,255,.14); }
.step-line .fill { height: 100%; width: 0; background: var(--red); transition: width 1.4s var(--ease); }
.steps.in .step-line .fill { width: 100%; }

/* ════ COA mini doc ════ */
.coa-doc { background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lift); overflow: hidden; border: 1px solid var(--line); }
.coa-doc-head { background: var(--grad-navy); color: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.coa-row { display: flex; justify-content: space-between; padding: 13px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.coa-row:last-child { border-bottom: none; }
.coa-row .k { color: var(--ink-muted); }
.coa-row .v { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }

/* verify input */
.verify-box { display: flex; gap: 12px; max-width: 540px; }
.verify-input {
  flex: 1; font-family: var(--f-mono); font-size: 16px; letter-spacing: .08em;
  padding: 16px 18px; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05); color: #fff; text-transform: uppercase;
}
.verify-input::placeholder { color: rgba(226,235,247,.4); letter-spacing: .06em; }
.verify-input:focus { outline: none; border-color: var(--red-bright); background: rgba(255,255,255,.08); }

/* feature list */
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-ico { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; background: rgba(200,16,46,.08); color: var(--red); }
.dark .feat-ico { background: rgba(225,25,51,.14); color: #FF8A98; }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lift); }
.trust-cell { background: #fff; padding: 30px 26px; display: flex; gap: 16px; align-items: center; }
.trust-ico { width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--r-md); display: grid; place-items: center; background: var(--grad-navy); color: #fff; }
.trust-cell h4 { font-size: 16px; }
.trust-cell p { font-size: 12.5px; color: var(--ink-soft); font-family: var(--f-mono); letter-spacing: .03em; margin-top: 3px; }

/* ════ Announcement bar ════ */
.anno-bar { background: var(--navy-950); color: rgba(226,235,247,.85); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; overflow: hidden; }
.anno-inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 38px; padding: 8px 24px; flex-wrap: nowrap; white-space: nowrap; }
.anno-inner > span { white-space: nowrap; }
.anno-inner b { color: #fff; font-weight: 600; }
.anno-inner .star { color: var(--red-bright); }
.anno-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }

/* ════ Comparison ════ */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-soft); }
.compare th, .compare td { padding: 18px 24px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--clinical); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.compare thead th.col-us { background: var(--navy-800); color: #fff; }
.compare td.feat { font-weight: 600; font-family: var(--f-display); color: var(--ink); }
.compare td.col-us { background: rgba(16,43,92,.03); font-weight: 600; color: var(--navy-800); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.cmp-yes { display: inline-flex; align-items: center; gap: 8px; color: #157A3C; font-weight: 600; }
.cmp-no { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.cmp-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cmp-yes .cmp-ico { background: rgba(20,120,60,.12); }
.cmp-no .cmp-ico { background: rgba(120,135,160,.12); }

/* ════ FAQ ════ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--silver); box-shadow: var(--sh-soft); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq-q:hover { color: var(--navy-800); }
.faq-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-muted); font-size: 15px; line-height: 1.65; }

/* ════ Trust / payment bar ════ */
.trustbar { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0; flex-wrap: wrap; }
.trustbar-feats { display: flex; gap: 26px; flex-wrap: wrap; }
.trustbar-feat { display: flex; align-items: center; gap: 10px; color: rgba(226,235,247,.78); font-size: 13.5px; }
.trustbar-feat svg { color: #6FA0E0; flex-shrink: 0; }
.pay-methods { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-chip { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: rgba(226,235,247,.85); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 7px 11px; border-radius: var(--r-sm); }

/* ════ Volume pricing ════ */
/* Volume pricing is an informational read-out (NOT selectable) — one flat panel divided into columns,
   so it never reads as a row of clickable buttons. */
.vol-tiers { display: grid; grid-template-columns: repeat(3,1fr); margin: 6px 0 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--clinical); overflow: hidden; }
.vol-tier { padding: 12px 14px 11px; text-align: center; }
.vol-tier + .vol-tier { border-left: 1px solid var(--line); }
.vol-tier.best { background: rgba(200,16,46,.05); }
.vol-tier .q { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; }
.vol-tier .s { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--navy-800); margin-top: 3px; }
.vol-tier.best .s { color: var(--red); }
.vol-tier .tag { display: block; margin-top: 5px; color: var(--red); font-family: var(--f-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.vol-note { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); margin: 0 0 22px; }

/* ════ Big home sale banner (patriotic) — announces the active site-wide sale above the hero ════ */
.sale-banner { background: linear-gradient(105deg, #081a34 0%, var(--navy-800) 44%, #7d1020 100%); color: #fff; text-align: center; padding: 24px 20px 26px; border-bottom: 3px solid var(--red); position: relative; }
.sale-banner-inner { position: relative; z-index: 2; }
.sale-banner-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 9px; }
.sale-banner-eyebrow .s { color: var(--red-bright); }
.sale-banner-head { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 6vw, 56px); line-height: 1; letter-spacing: -.01em; }
.sale-banner-head .sale-pct { color: var(--red-bright); }
.sale-banner-sub { font-family: var(--f-mono); font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 12px; }
.sale-banner-sub .sale-ends { color: #fff; font-weight: 600; }
.sale-banner-cta { margin-top: 18px; }
@media (max-width: 640px) { .sale-banner { padding: 20px 16px 22px; } .sale-banner-sub .sale-ends { display: block; margin-top: 4px; } }

/* ════ Researcher-verification gate (compliance) ════
   The static HTML ships with <html class="gate-locked"> so NO page content paints or is inspectable
   until the visitor accepts — only the gate is visible. titan.js removes the class on acceptance. */
html.gate-locked body > *:not(#ruoGate) { display: none !important; }
html.gate-locked body { overflow: hidden; background: var(--clinical); }
.ruo-gate { position: fixed; inset: 0; z-index: 2000; background: linear-gradient(160deg, #081a34, var(--navy-800)); display: grid; place-items: center; padding: 22px; overflow: auto; }
.ruo-card { background: #fff; border-radius: 22px; max-width: 480px; width: 100%; padding: 34px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.42); }
.ruo-logo { height: 46px; display: block; margin: 0 auto 18px; }
.ruo-title { font-family: var(--f-display); font-weight: 800; font-size: 30px; text-align: center; margin-bottom: 12px; color: var(--navy-800); }
.ruo-title span { color: var(--red); }
.ruo-intro { color: var(--ink-muted); font-size: 15px; line-height: 1.6; text-align: center; margin-bottom: 22px; }
.ruo-check { display: flex; gap: 13px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 15px 16px; margin-bottom: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; transition: border-color .15s, background .15s; }
.ruo-check:has(input:checked) { border-color: var(--navy-800); background: rgba(16,43,92,.03); }
.ruo-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--navy-800); cursor: pointer; }
.ruo-enter { margin-top: 8px; justify-content: center; }
.ruo-enter:disabled { opacity: .5; cursor: not-allowed; }
.ruo-legal { font-size: 12px; color: var(--ink-soft); line-height: 1.5; margin-top: 16px; }
.ruo-legal a { color: var(--navy-800); text-decoration: underline; cursor: pointer; }
.ruo-full { font-size: 11.5px; color: var(--ink-muted); line-height: 1.55; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.ruo-leave { text-align: center; margin-top: 14px; font-size: 12px; }
.ruo-leave a { color: var(--ink-soft); }

/* ════ Stock indicators ════ */
.stock { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
.stock .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.stock-in { color: #157A3C; } .stock-in .dot { background: #1EA34C; box-shadow: 0 0 0 3px rgba(30,163,76,.16); animation: pulseDot 2.4s ease-in-out infinite; }
.stock-low { color: #B26A00; } .stock-low .dot { background: #E08A00; box-shadow: 0 0 0 3px rgba(224,138,0,.16); }
.stock-soon { color: var(--ink-soft); } .stock-soon .dot { background: var(--silver); }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 3px rgba(30,163,76,.16); } 50% { box-shadow: 0 0 0 5px rgba(30,163,76,.05); } }

/* ════ Catalog filter bar ════ */
.cat-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-tab { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--ink-muted); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-full); padding: 9px 18px; cursor: pointer; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.cat-tab:hover { border-color: var(--silver); color: var(--navy-800); }
.cat-tab.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cat-tab .count { font-family: var(--f-mono); font-size: 11px; opacity: .7; }
.cat-search { position: relative; min-width: 240px; }
.cat-search input { width: 100%; font-family: var(--f-body); font-size: 14.5px; padding: 11px 16px 11px 42px; border: 1.5px solid var(--line); border-radius: var(--r-full); background: #fff; transition: border-color .2s; }
.cat-search input:focus { outline: none; border-color: var(--navy-800); }
.cat-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.cat-empty { text-align: center; padding: 60px 20px; color: var(--ink-muted); grid-column: 1 / -1; }

/* ════ Batch-alert email capture ════ */
.alert-box { position: relative; overflow: hidden; border-radius: var(--r-xl); }
.alert-form { display: flex; gap: 12px; max-width: 480px; }
.alert-form input { flex: 1; font-family: var(--f-body); font-size: 15px; padding: 15px 18px; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.alert-form input::placeholder { color: rgba(226,235,247,.45); }
.alert-form input:focus { outline: none; border-color: var(--red-bright); background: rgba(255,255,255,.1); }
.alert-ok { display: flex; align-items: center; gap: 12px; color: #7CFCB0; font-family: var(--f-display); font-weight: 600; font-size: 16px; }

/* ════ Responsive ════ */
@media (max-width: 1000px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .anno-inner > span:nth-child(n+4), .anno-sep:nth-of-type(n+2) { display: none; }
}
@media (max-width: 900px) {
  .t-nav { display: none; }
  .t-menu-btn { display: grid; }
  /* the header's primary CTA overflowed tiny screens — it lives in the mobile menu + hero instead */
  .t-header-actions .btn-primary { display: none; }
  .t-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 22px; }
  /* mobile-first overflow guard: clip (don't scroll) the fixed-width decorative glows
     and emblem watermarks so they can never widen the page. clip (vs hidden) avoids
     creating a scroll container or breaking the sticky header. */
  section { overflow-x: clip; }
  /* let long button + pill/eyebrow text wrap across the whole mobile range, not just <560px */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .pill, .hero-eyebrow { white-space: normal; }
  /* announcement bar must wrap rather than clip once it's below the desktop layout */
  .anno-inner { flex-wrap: wrap; white-space: normal; }
  .anno-inner > span { white-space: normal; }
}

/* ════ Mobile dropdown menu ════ */
/* The menu lives inside the header's flex row, so it must drop OUT of flow as an
   absolute full-width panel — otherwise it lays out as a flex item to the right of
   the header actions and shoves itself off-screen. */
.t-mobile-menu { display: none; }
.t-header.menu-open .t-mobile-menu {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: var(--sh-soft);
  padding: 8px 22px 20px;
  max-height: calc(100dvh - 76px); overflow-y: auto;
}
.t-mobile-menu a { padding: 14px 2px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.t-mobile-menu a.t-mm-cta { border-bottom: none; }
.t-mobile-menu .btn { margin-top: 14px; }
@media (min-width: 901px) { .t-mobile-menu { display: none !important; } }

/* ════ Collapse multi-column sections on small screens ════ */
@media (max-width: 760px) {
  .resp-2, .resp-3 { grid-template-columns: 1fr !important; gap: 36px !important; }
  .resp-2 > *, .resp-3 > * { min-width: 0; }
  .pd-gallery { position: static !important; }
}

/* ════ Announcement bar — single message on phones (wrap, don't clip) ════ */
@media (max-width: 600px) {
  .anno-inner { padding: 8px 16px; font-size: 10.5px; white-space: normal; line-height: 1.4; text-align: center; }
  .anno-inner > span:not(:first-child) { display: none; }
  .anno-inner .anno-sep { display: none; }
  .anno-inner > span:first-child { white-space: normal; }
}

/* ════ Phone polish ════ */
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .h-xl { font-size: 34px; }
  /* let the eyebrow pill wrap instead of forcing the hero column wider than the phone */
  .hero-eyebrow { white-space: normal; line-height: 1.45; }
  .hero { padding: 70px 0 104px; }
  .hero-show { height: 410px; }
  .hero-tile { max-width: 244px; }
  .hero-stats { gap: 16px 22px; }
  .hero-stat .n { font-size: 26px; }
  /* keep the floating hero chips/seal fully on-screen */
  .sc-mw { display: none; }
  .sc-purity { right: 0; top: 4%; transform: scale(.9); transform-origin: top right; }
  .hero-seal { right: 0; bottom: 2%; transform: scale(.88); transform-origin: bottom right; }
  .hero-copy .btn { width: 100%; justify-content: center; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-cell { padding: 22px 22px; }
  .cat-bar { flex-direction: column; align-items: stretch; }
  .cat-search { width: 100%; min-width: 0; }
  /* volume tiers stay 3-up but tighten so the price text never overflows a ~108px column */
  .vol-tier { padding: 11px 6px; min-width: 0; }
  .vol-tier .s { font-size: 14px; }
  .vol-tier .q { font-size: 10px; }
  .vol-tier .tag { font-size: 8.5px; }
  /* footer + process steps go single-column so 2-up cells don't cramp/overflow */
  .t-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  /* product cards: one per row so price + Add never overflow a narrow column */
  .prod-grid, body[data-card-style="B"] .prod-grid { grid-template-columns: 1fr; }
  /* long CTAs (e.g. "Download Certificate of Analysis (PDF)") must wrap, not blow out the column */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .btn-lg { padding: 16px 22px; }
  /* larger footer link tap targets on phones (~44px) */
  .t-footer a { padding: 12px 0; line-height: 1.4; }
  /* comparison table: tighter cells so it fits a narrow screen without cramped scrolling */
  .compare th, .compare td { padding: 12px 14px; font-size: 13.5px; }
  /* released-batches table: tighten cells + keep cols on one line so it scrolls cleanly */
  .batch-table { font-size: 13px !important; }
  .batch-table th, .batch-table td { padding: 12px 13px !important; white-space: nowrap; }
}

/* released-batches table scrolls horizontally inside its card on narrow screens */
.batch-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
