/* =========================================================
   VANTAGE PEPTIDES — Main Stylesheet
   Placeholder brand. See README.md for the rename procedure.
   ========================================================= */

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

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ---- Tokens ---- */
:root {
  --ink:       #0B0F14;   /* near-black, primary text + dark surfaces */
  --ink-2:     #161C24;   /* raised dark surface */
  --ink-3:     #232B36;   /* dark borders */
  --paper:     #FFFFFF;
  --mist:      #F5F7F9;   /* light section background */
  --mist-2:    #EDF1F4;   /* light raised surface */
  --line:      #E1E7EC;
  --line-dk:   #CBD5DD;
  --muted:     #5C6B7A;
  --muted-2:   #8494A3;

  --teal:      #0D9488;   /* primary accent */
  --teal-d:    #0B7A70;
  --teal-l:    #14B8A6;
  --teal-bg:   #E6F5F3;

  --amber:     #B45309;   /* compliance / caution */
  --amber-bg:  #FEF6EC;
  --red:       #B42318;
  --green:     #067647;

  --r-xs: 4px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;

  --sh-sm: 0 1px 2px rgba(11,15,20,.06), 0 1px 3px rgba(11,15,20,.04);
  --sh:    0 4px 16px rgba(11,15,20,.07);
  --sh-lg: 0 16px 48px rgba(11,15,20,.14);

  --ease: .18s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --nav-h: 62px;
}

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 44px); }
body { font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; overflow-x: hidden; }

/* ---- Type ---- */
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.022em; }
h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }
h4 { font-size: .95rem; font-weight: 650; letter-spacing: -.005em; }
p  { color: var(--muted); }

.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--teal-l); }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }
section { padding: 76px 0; }
.section-head { max-width: 66ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-mist { background: var(--mist); }
.bg-ink  { background: var(--ink); color: #fff; }
.bg-ink p, .bg-ink .lead { color: #A8B6C4; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; letter-spacing: -.005em;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist-2); }
.btn-outline { border: 1.5px solid var(--line-dk); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--mist); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 15px 30px; font-size: .97rem; }
.btn-sm { padding: 9px 15px; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- Pills / badges ---- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-xs);
  background: var(--mist-2); color: var(--muted);
}
.pill-teal   { background: var(--teal-bg); color: var(--teal-d); }
.pill-amber  { background: var(--amber-bg); color: var(--amber); }
.pill-green  { background: #E7F6EF; color: var(--green); }
.pill-out    { background: var(--mist-2); color: var(--muted-2); }
.pill-dark   { background: rgba(255,255,255,.09); color: #C6D2DE; }

/* =========================================================
   COMPLIANCE BAR  (sitewide, above nav — non-negotiable)
   ========================================================= */
.ruo-bar {
  background: var(--ink); color: #C6D2DE;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  text-align: center; padding: 9px 22px;
  border-bottom: 1px solid var(--ink-3);
}
.ruo-bar strong { color: #fff; font-weight: 600; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.nav-logo .mark {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: var(--ink); color: var(--teal-l);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .82rem; font-weight: 600;
}
.nav-logo .word { font-size: 1.03rem; font-weight: 700; letter-spacing: -.025em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--muted); transition: color var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.cart-btn { position: relative; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-dk); font-size: .85rem; font-weight: 600; }
.cart-btn:hover { border-color: var(--ink); }
.cart-count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--teal); color: #fff;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  display: grid; place-items: center;
}
.cart-count[data-empty="true"] { background: var(--line-dk); color: var(--muted); }

.nav-toggle { display: none; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 19px; height: 1.5px; background: var(--ink); transition: var(--ease); }
.nav-mobile { display: none; flex-direction: column; padding: 14px 22px 22px; background: #fff; border-bottom: 1px solid var(--line); gap: 2px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 11px 0; font-size: .95rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 14px; border-bottom: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--ink); color: #fff; padding: 78px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal-l); }
.hero .lead { color: #A8B6C4; font-size: 1.08rem; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 38px; padding: 24px 0 44px; border-top: 1px solid var(--ink-3); }
.hero-stat .n { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.1; }
.hero-stat .l { font-size: .78rem; color: #8494A3; margin-top: 3px; }

/* Hero product card */
.hero-card {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--r-lg); padding: 26px; margin-bottom: 44px;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.hero-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.hero-card .sub { font-size: .84rem; color: #8494A3; margin-top: 2px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--ink-3); font-size: .82rem; vertical-align: top; }
.spec-table td:first-child { color: #8494A3; width: 42%; }
.spec-table td:last-child { font-family: var(--mono); color: #E4EAF0; text-align: right; font-size: .78rem; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; }
.hero-card-price { font-family: var(--mono); font-size: 1.25rem; font-weight: 600; }
.hero-card-price span { font-size: .78rem; color: #8494A3; font-weight: 400; }

/* Marquee strip under hero */
.strip { background: var(--ink-2); border-top: 1px solid var(--ink-3); padding: 15px 0; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.strip-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .71rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase; color: #8494A3;
}
.strip-item svg { color: var(--teal-l); flex-shrink: 0; }

/* =========================================================
   GENERIC CARD GRIDS
   ========================================================= */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: border-color var(--ease), box-shadow var(--ease);
}
.card:hover { border-color: var(--line-dk); }
.card .ico {
  width: 36px; height: 36px; border-radius: var(--r-sm); margin-bottom: 15px;
  background: var(--teal-bg); color: var(--teal-d); display: grid; place-items: center;
}
.card h3 { margin-bottom: 7px; }
.card p { font-size: .88rem; }
.card .stat { font-family: var(--mono); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

.card-dark { background: var(--ink-2); border-color: var(--ink-3); }
.card-dark:hover { border-color: #3A4552; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #8494A3; }
.card-dark .ico { background: rgba(20,184,166,.13); color: var(--teal-l); }
.card-dark .stat { color: #fff; }

/* =========================================================
   CATEGORY TILES
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; transition: border-color var(--ease), transform var(--ease);
}
.cat-tile:hover { border-color: var(--teal); transform: translateY(-2px); }
.cat-tile .n { font-family: var(--mono); font-size: .7rem; color: var(--muted-2); letter-spacing: .07em; }
.cat-tile h3 { font-size: 1rem; }
.cat-tile p { font-size: .82rem; line-height: 1.5; }

/* =========================================================
   PRODUCT CARDS + SHOP
   ========================================================= */
.shop-layout { display: grid; grid-template-columns: 208px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); }
.filter-group + .filter-group { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.filter-group h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; font-weight: 500; }
.filter-list li { margin-bottom: 3px; }
.filter-list button {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; text-align: left; padding: 7px 9px; border-radius: var(--r-xs);
  font-size: .86rem; color: var(--muted); transition: var(--ease);
}
.filter-list button:hover { background: var(--mist); color: var(--ink); }
.filter-list button.active { background: var(--ink); color: #fff; font-weight: 550; }
.filter-list button .c { font-family: var(--mono); font-size: .72rem; opacity: .65; }

.shop-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-count { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); margin-right: auto; }
.search-box { position: relative; flex: 1; max-width: 300px; }
.search-box input {
  width: 100%; padding: 10px 12px 10px 34px; border: 1px solid var(--line-dk);
  border-radius: var(--r-sm); font-size: .87rem; background: #fff;
}
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
select.sort {
  padding: 10px 12px; border: 1px solid var(--line-dk); border-radius: var(--r-sm);
  font-size: .87rem; background: #fff; cursor: pointer;
}
select.sort:focus { outline: none; border-color: var(--teal); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.p-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.p-card:hover { border-color: var(--line-dk); box-shadow: var(--sh); transform: translateY(-2px); }
.p-card-media {
  position: relative; aspect-ratio: 4/3; background: var(--mist);
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.p-card-media img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder vial glyph shown until real product photography is dropped in */
.vial-ph { width: 46px; height: 74px; opacity: .3; }
.p-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.p-card-body { padding: 16px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.p-card-cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.p-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.p-card .sub { font-size: .8rem; color: var(--muted); line-height: 1.45; margin-bottom: 13px; }
.p-card-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.p-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.p-card-price { font-family: var(--mono); font-size: 1.02rem; font-weight: 600; line-height: 1.2; }
.p-card-price .from { display: block; font-family: var(--font); font-size: .68rem; color: var(--muted-2); font-weight: 400; margin-bottom: 1px; }

.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line-dk); border-radius: var(--r); }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { font-size: .9rem; }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding: 44px 0 0; }
.pdp-media { position: sticky; top: calc(var(--nav-h) + 24px); }
.pdp-media-main {
  aspect-ratio: 1; background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden;
}
.pdp-media-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media-main .vial-ph { width: 96px; height: 154px; }
.pdp-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.doc-link {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: var(--ease);
}
.doc-link:hover { border-color: var(--teal); background: var(--teal-bg); }
.doc-link svg { color: var(--teal-d); flex-shrink: 0; }
.doc-link .t { font-size: .85rem; font-weight: 600; }
.doc-link .s { font-family: var(--mono); font-size: .68rem; color: var(--muted-2); }

.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted-2); padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--ink); }

.pdp-head { margin-bottom: 22px; }
.pdp-head .cat { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 9px; }
.pdp-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 7px; }
.pdp-head .sub { font-size: 1rem; color: var(--muted); }
.pdp-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

.variant-list { display: flex; flex-direction: column; gap: 8px; margin: 22px 0; }
.variant {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: var(--ease);
}
.variant:hover:not(:disabled) { border-color: var(--line-dk); }
.variant.selected { border-color: var(--teal); background: var(--teal-bg); }
.variant.unavailable { opacity: .62; }
.variant.unavailable .size { color: var(--muted); }
.variant.unavailable .price { text-decoration: line-through; color: var(--muted-2); }
.variant.unavailable.selected { opacity: 1; border-color: var(--amber); background: var(--amber-bg); }
.variant.unavailable.selected .radio { border-color: var(--amber); border-width: 5px; }
.variant .radio {
  width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--line-dk);
  flex-shrink: 0; display: grid; place-items: center; transition: var(--ease);
}
.variant.selected .radio { border-color: var(--teal); border-width: 5px; }
.variant .size { font-weight: 600; font-size: .93rem; margin-right: auto; }
.variant .unit { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); }
.variant .price { font-family: var(--mono); font-weight: 600; font-size: 1rem; }

.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line-dk);
  border-radius: var(--r-sm); overflow: hidden;
}
.qty button { width: 38px; height: 44px; font-size: 1.05rem; color: var(--muted); transition: var(--ease); }
.qty button:hover { background: var(--mist); color: var(--ink); }
.qty input {
  width: 46px; height: 44px; text-align: center; border: none;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  font-family: var(--mono); font-weight: 600; font-size: .95rem;
}
.qty input:focus { outline: none; background: var(--mist); }

.pdp-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 40px 0 0; overflow-x: auto; }
.pdp-tabs button {
  padding: 12px 16px; font-size: .88rem; font-weight: 550; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: var(--ease);
}
.pdp-tabs button:hover { color: var(--ink); }
.pdp-tabs button.active { color: var(--ink); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding: 26px 0; }
.tab-panel.active { display: block; }
.tab-panel p { font-size: .93rem; margin-bottom: 14px; }
.tab-panel p:last-child { margin-bottom: 0; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table tr { border-bottom: 1px solid var(--line); }
.data-table td { padding: 13px 0; font-size: .88rem; vertical-align: top; }
.data-table td:first-child { color: var(--muted); width: 32%; padding-right: 20px; }
.data-table td:last-child { font-family: var(--mono); font-size: .82rem; word-break: break-word; }

/* =========================================================
   RUO / COMPLIANCE NOTICE BLOCK
   ========================================================= */
.notice {
  display: flex; gap: 13px; padding: 17px 19px;
  background: var(--amber-bg); border: 1px solid rgba(180,83,9,.2);
  border-radius: var(--r-sm);
}
.notice svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.notice h4 { color: var(--amber); margin-bottom: 4px; font-size: .87rem; }
.notice p { font-size: .83rem; line-height: 1.55; color: #7C4A15; }
.notice p + p { margin-top: 7px; }

/* =========================================================
   COA / DOCUMENT TABLE
   ========================================================= */
.doc-table-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.doc-table-scroll { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.doc-table thead th {
  text-align: left; padding: 13px 18px; background: var(--mist);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.doc-table tbody tr { border-bottom: 1px solid var(--line); }
.doc-table tbody tr:last-child { border-bottom: none; }
.doc-table tbody tr:hover { background: var(--mist); }
.doc-table td { padding: 14px 18px; font-size: .87rem; vertical-align: middle; }
.doc-table td.c-name { font-weight: 600; }
.doc-table td.c-mono { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.doc-table td.c-act { text-align: right; white-space: nowrap; }

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 22px 0 0; }
.step::before {
  content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 1px;
  background: var(--ink-3);
}
.step:last-child::before { right: 22px; }
.step .dot {
  position: relative; width: 27px; height: 27px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--teal); color: var(--teal-l);
  display: grid; place-items: center; margin-bottom: 17px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .85rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  width: 100%; text-align: left; padding: 20px 0;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
}
.faq-q .chev { flex-shrink: 0; color: var(--muted-2); transition: transform var(--ease); margin-top: 3px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 44px 22px 0; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: .92rem; }
.faq-a p + p { margin-top: 11px; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(11,15,20,.45); z-index: 100;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; z-index: 101; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--sh-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 19px 22px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.cart-head h3 { font-size: 1.05rem; }
.cart-close { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-xs); color: var(--muted); }
.cart-close:hover { background: var(--mist); color: var(--ink); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { padding: 60px 0; text-align: center; }
.cart-empty p { font-size: .9rem; margin-bottom: 18px; }

.cart-line { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-media {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--mist); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-media .vial-ph { width: 20px; height: 32px; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-info h4 { font-size: .9rem; margin-bottom: 2px; }
.cart-line-info .v { font-family: var(--mono); font-size: .74rem; color: var(--muted-2); margin-bottom: 8px; }
.cart-line-ctl { display: flex; align-items: center; gap: 10px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-dk); border-radius: var(--r-xs); }
.cart-qty button { width: 26px; height: 26px; font-size: .9rem; color: var(--muted); }
.cart-qty button:hover { background: var(--mist); color: var(--ink); }
.cart-qty .n { min-width: 26px; text-align: center; font-family: var(--mono); font-size: .78rem; font-weight: 600; }
.cart-line-rm { font-size: .76rem; color: var(--muted-2); text-decoration: underline; }
.cart-line-rm:hover { color: var(--red); }
.cart-line-price { font-family: var(--mono); font-size: .9rem; font-weight: 600; margin-left: auto; }

.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; flex-shrink: 0; background: #fff; }
.cart-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font-size: .87rem; }
.cart-row .lbl { color: var(--muted); }
.cart-row .val { font-family: var(--mono); font-weight: 500; }
.cart-row.total { padding-top: 11px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1rem; }
.cart-row.total .lbl { color: var(--ink); font-weight: 600; }
.cart-row.total .val { font-size: 1.15rem; font-weight: 600; }
.cart-ack {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 15px 0; padding: 12px 13px; background: var(--mist);
  border-radius: var(--r-sm); font-size: .77rem; line-height: 1.5; color: var(--muted);
}
.cart-ack input { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--teal); flex-shrink: 0; cursor: pointer; }
.cart-ack label { cursor: pointer; }

/* Toast */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 90px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  font-size: .87rem; font-weight: 550; z-index: 120; box-shadow: var(--sh-lg);
  transition: transform .26s cubic-bezier(.4,0,.2,1); display: flex; align-items: center; gap: 9px;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--teal-l); }

/* =========================================================
   CTA BAND + NEWSLETTER
   ========================================================= */
.cta-band { background: var(--ink); color: #fff; padding: 66px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #A8B6C4; max-width: 52ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.signup { display: flex; gap: 9px; max-width: 420px; }
.signup input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--ink-3); border-radius: var(--r-sm);
  background: var(--ink-2); color: #fff; font-size: .88rem;
}
.signup input::placeholder { color: #6B7A89; }
.signup input:focus { outline: none; border-color: var(--teal); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #8494A3; padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 46px; }
.footer-brand .nav-logo { margin-bottom: 15px; }
.footer-brand .word { color: #fff; }
.footer-brand p { font-size: .85rem; max-width: 34ch; margin-bottom: 20px; }
.footer h4 { color: #fff; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .86rem; transition: color var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid var(--ink-3); padding: 26px 0 34px; }
.footer-disclaimer { font-size: .78rem; line-height: 1.65; color: #6B7A89; margin-bottom: 20px; max-width: 100ch; }
.footer-disclaimer strong { color: #A8B6C4; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   LEGAL / LONGFORM PAGES
   ========================================================= */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 52px 0; }
.page-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.page-head .updated { font-family: var(--mono); font-size: .76rem; color: var(--muted-2); }
.prose { padding: 52px 0 76px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 13px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 9px; }
.prose p { font-size: .94rem; margin-bottom: 15px; }
.prose ul, .prose ol { margin: 0 0 15px 20px; }
.prose li { font-size: .94rem; color: var(--muted); margin-bottom: 8px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal-d); text-decoration: underline; }
.prose .notice { margin: 22px 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); }
.prose th { background: var(--mist); font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { margin-bottom: 0; }
  .hero-stats { padding-bottom: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .pdp-media { position: static; }
  .pdp-media-main { aspect-ratio: 16/10; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step::before { display: none; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline { display: none; }
  .shop-layout { grid-template-columns: 1fr; gap: 26px; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list li { margin: 0; }
  .filter-list button { width: auto; border: 1px solid var(--line); }
  .filter-group + .filter-group { margin-top: 18px; padding-top: 18px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  section { padding: 54px 0; }
  .hero { padding-top: 52px; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp-docs { grid-template-columns: 1fr; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .shop-count { margin-right: 0; }
  .signup { flex-direction: column; max-width: none; }
  .ruo-bar { font-size: .62rem; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   AGE / RESEARCHER GATE
   ========================================================= */
.gate {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,15,20,.88); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 22px;
  animation: gate-in .2s ease;
}
@keyframes gate-in { from { opacity: 0 } to { opacity: 1 } }
.gate-panel {
  background: #fff; border-radius: var(--r-lg);
  max-width: 480px; width: 100%; box-shadow: var(--sh-lg);
  display: flex; flex-direction: column;
  max-height: min(92vh, 660px);
  overflow: hidden;
}
/* prose scrolls; the actions never do */
.gate-scroll {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 30px 32px 6px; min-height: 0; flex: 1 1 auto;
}
.gate-foot {
  flex: 0 0 auto; padding: 16px 32px 26px;
  border-top: 1px solid var(--line); background: #fff;
}
.gate-mark {
  width: 38px; height: 38px; border-radius: 9px; margin-bottom: 18px;
  background: var(--ink); color: var(--teal-l); display: grid; place-items: center;
  font-family: var(--mono); font-size: .95rem; font-weight: 600;
}
.gate-panel h2 { font-size: 1.45rem; margin-bottom: 11px; }
.gate-scroll > p { font-size: .91rem; margin-bottom: 16px; }
.gate-list { margin-bottom: 6px; }
.gate-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: .88rem; color: var(--ink);
}
.gate-list li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 15px; height: 15px; border-radius: 4px;
  background: var(--teal-bg); border: 1.5px solid var(--teal);
}
.gate-list li::after {
  content: ''; position: absolute; left: 4.5px; top: 8.5px;
  width: 5px; height: 8px; border: solid var(--teal-d);
  border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.gate-actions { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.gate-fine { font-size: .75rem; line-height: 1.5; color: var(--muted-2); margin: 0; }
.gate-fine a { color: var(--teal-d); text-decoration: underline; }
/* short viewports: tighten so the buttons still fit without scrolling to them */
@media (max-height: 560px) {
  .gate-scroll { padding: 20px 24px 4px; }
  .gate-foot { padding: 12px 24px 18px; }
  .gate-mark { width: 30px; height: 30px; margin-bottom: 12px; font-size: .8rem; }
  .gate-panel h2 { font-size: 1.2rem; margin-bottom: 8px; }
  .gate-scroll > p { font-size: .85rem; margin-bottom: 12px; }
  .gate-actions .btn { padding: 11px 20px; font-size: .9rem; }
}

/* =========================================================
   GLOBAL SEARCH (nav)
   ========================================================= */
.gsearch { position: relative; flex: 1; max-width: 300px; }
.gsearch input {
  width: 100%; padding: 8px 12px 8px 32px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .85rem; background: var(--mist);
}
.gsearch input:focus {
  outline: none; background: #fff;
  border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg);
}
.gsearch > svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); pointer-events: none;
}
.gsearch-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg); overflow: hidden; z-index: 95;
}
.gsearch-panel.open { display: block; }
.gsearch-hit {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  transition: background var(--ease);
}
.gsearch-hit:last-child { border-bottom: none; }
.gsearch-hit:hover { background: var(--mist); }
.gsearch-hit .n { font-size: .89rem; font-weight: 600; }
.gsearch-hit .s { grid-column: 1; font-size: .77rem; color: var(--muted); }
.gsearch-hit .p { grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: .85rem; font-weight: 600; }
.gsearch-empty { padding: 18px 14px; font-size: .85rem; color: var(--muted); }

/* =========================================================
   CART ADDITIONS — promo, discounts, nudges
   ========================================================= */
.promo-row { display: flex; gap: 8px; margin-bottom: 12px; }
.promo-row input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--line-dk);
  border-radius: var(--r-sm); font-size: .85rem;
  font-family: var(--mono); text-transform: uppercase;
}
.promo-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.promo-msg { font-size: .78rem; margin: -4px 0 11px; }
.promo-msg.ok  { color: var(--green); }
.promo-msg.err { color: var(--red); }
.cart-row.discount .lbl { color: var(--green); }
.cart-row.discount .val { color: var(--green); }
.cart-nudge {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 11px; margin-bottom: 8px;
  background: var(--teal-bg); border-radius: var(--r-sm);
  font-size: .78rem; font-weight: 550; color: var(--teal-d);
}
.cart-fineprint { font-size: .73rem; color: var(--muted-2); margin-top: 10px; text-align: center; }

/* =========================================================
   STARS / REVIEWS
   ========================================================= */
.stars { display: inline-flex; gap: 1px; color: #F59E0B; vertical-align: middle; }
.p-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.p-card-rating .c { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); }

.reviews-empty {
  padding: 32px; border: 1px dashed var(--line-dk); border-radius: var(--r);
  text-align: center;
}
.reviews-empty h4 { margin-bottom: 6px; }
.reviews-empty p { font-size: .87rem; max-width: 52ch; margin: 0 auto; }
.review {
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.review:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.review-head h4 { font-size: .95rem; }
.review-meta { font-size: .78rem; color: var(--muted-2); margin-top: 8px; }
.review-meta .vp { color: var(--green); font-weight: 600; }

/* =========================================================
   LOT / COA CALLOUT ON PRODUCT PAGE
   ========================================================= */
.lot-card {
  border: 1px solid var(--teal); background: var(--teal-bg);
  border-radius: var(--r); padding: 16px 18px; margin: 20px 0;
}
.lot-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.lot-card-head h4 { color: var(--teal-d); font-size: .82rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.lot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lot-grid .k { font-size: .72rem; color: var(--teal-d); opacity: .8; margin-bottom: 2px; }
.lot-grid .v { font-family: var(--mono); font-size: .95rem; font-weight: 600; color: var(--ink); }

/* =========================================================
   WAITLIST (out-of-stock)
   ========================================================= */
.waitlist {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; margin: 18px 0; background: var(--mist);
}
.waitlist h4 { margin-bottom: 4px; }
.waitlist p { font-size: .83rem; margin-bottom: 12px; }
.waitlist form { display: flex; gap: 8px; }
.waitlist input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--line-dk);
  border-radius: var(--r-sm); font-size: .86rem; background: #fff;
}
.waitlist input:focus { outline: none; border-color: var(--teal); }

/* =========================================================
   CALCULATOR
   ========================================================= */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc-card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.calc-field .hint { font-size: .77rem; color: var(--muted-2); margin-top: 5px; }
.calc-input-row { display: flex; align-items: stretch; }
.calc-input-row input, .calc-input-row select {
  flex: 1; padding: 12px 14px; border: 1.5px solid var(--line-dk);
  border-radius: var(--r-sm) 0 0 var(--r-sm); font-size: .95rem;
  font-family: var(--mono); background: #fff; min-width: 0;
}
.calc-input-row .unit {
  display: grid; place-items: center; padding: 0 15px;
  border: 1.5px solid var(--line-dk); border-left: none;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--mist); font-family: var(--mono);
  font-size: .85rem; color: var(--muted); white-space: nowrap;
}
.calc-input-row input:focus { outline: none; border-color: var(--teal); }
.calc-input-row select { border-radius: var(--r-sm); font-family: var(--font); }

.calc-out { background: var(--ink); color: #fff; border-radius: var(--r); padding: 26px; }
.calc-out .big {
  font-family: var(--mono); font-size: 2.3rem; font-weight: 600;
  line-height: 1.1; margin-bottom: 4px; letter-spacing: -.02em;
}
.calc-out .big span { font-size: 1.1rem; color: var(--teal-l); }
.calc-out .cap { font-size: .8rem; color: #8494A3; margin-bottom: 22px; }
.calc-rows { border-top: 1px solid var(--ink-3); }
.calc-rows .r {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ink-3);
}
.calc-rows .r:last-child { border-bottom: none; }
.calc-rows .k { font-size: .84rem; color: #8494A3; }
.calc-rows .v { font-family: var(--mono); font-size: .95rem; font-weight: 600; }
.calc-err { color: #FCA5A5; font-size: .85rem; }

/* =========================================================
   PAYMENT BADGES
   ========================================================= */
.pay-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pay-badge {
  padding: 6px 11px; border: 1px solid var(--ink-3); border-radius: var(--r-xs);
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: #A8B6C4;
}
.pay-note { font-size: .77rem; color: #6B7A89; margin-top: 10px; max-width: 46ch; }

/* =========================================================
   BLOG
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; background: #fff; transition: var(--ease);
}
.post-card:hover { border-color: var(--line-dk); box-shadow: var(--sh); transform: translateY(-2px); }
.post-card .kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.post-card h3 { font-size: 1.06rem; line-height: 1.35; margin-bottom: 9px; }
.post-card p { font-size: .87rem; flex: 1; margin-bottom: 15px; }
.post-card .meta {
  display: flex; align-items: center; gap: 9px;
  font-size: .76rem; color: var(--muted-2);
  padding-top: 14px; border-top: 1px solid var(--line);
}

.post-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 56px 0; }
.post-head .kicker {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.post-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 14px; max-width: 22ch; }
.post-head .standfirst { font-size: 1.05rem; color: var(--muted); max-width: 60ch; margin-bottom: 18px; }
.post-head .meta { display: flex; gap: 14px; font-size: .81rem; color: var(--muted-2); flex-wrap: wrap; }

.post-body { padding: 52px 0 76px; }
.post-body h2 { font-size: 1.4rem; margin: 42px 0 14px; }
.post-body h3 { font-size: 1.08rem; margin: 28px 0 10px; }
.post-body p { font-size: .97rem; line-height: 1.72; margin-bottom: 17px; }
.post-body ul, .post-body ol { margin: 0 0 17px 22px; }
.post-body li { font-size: .97rem; line-height: 1.7; color: var(--muted); margin-bottom: 9px; list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--teal-d); text-decoration: underline; }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: .9rem; }
.post-body th, .post-body td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); }
.post-body th { background: var(--mist); font-weight: 600; }
.post-body blockquote {
  border-left: 3px solid var(--teal); padding: 4px 0 4px 20px;
  margin: 0 0 20px; font-size: 1.02rem; color: var(--ink);
}
.post-body code {
  font-family: var(--mono); font-size: .87em;
  background: var(--mist-2); padding: 2px 6px; border-radius: 4px;
}
.post-toc {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; margin-bottom: 34px; background: var(--mist);
}
.post-toc h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 11px; font-weight: 500;
}
.post-toc li { margin-bottom: 7px; }
.post-toc a { font-size: .89rem; color: var(--muted); }
.post-toc a:hover { color: var(--teal-d); }

/* =========================================================
   RESPONSIVE ADDITIONS
   ========================================================= */
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; gap: 26px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .gsearch { display: none; }
  .lot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .lot-grid { grid-template-columns: 1fr; gap: 10px; }
  .gate-scroll { padding: 24px 22px 4px; }
  .gate-foot { padding: 14px 22px 20px; }
  .waitlist form { flex-direction: column; }
  .calc-out .big { font-size: 1.9rem; }
}

/* =========================================================
   SCROLLABLE TABLE WRAPPER
   Wide tables scroll inside their own container so the page
   body never gains a horizontal scrollbar on small screens.
   ========================================================= */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 22px;
  border-radius: var(--r-sm);
}
.table-scroll > table { margin-bottom: 0; min-width: 460px; }
.post-body .table-scroll > table,
.prose .table-scroll > table { margin-bottom: 0; }
