/* ============================================================================
   PEPTIDE GUIDE — consumer education page
   ----------------------------------------------------------------------------
   Design tokens from the MrPep design system — brand teal, blush and ink kept
   verbatim; the cream ground is swapped for a creamy purple.
   (design-system/tokens/tokens.json + mrpep-theme/assets/css/main.css).
   The one addition is the four-step EVIDENCE scale — the spine of this page.
   Single brand skin by design: the MrPep system states dark is opt-in via
   data-theme only and must never be derived from prefers-color-scheme, so a
   visitor's OS setting cannot flip the page out of its brand colours.
   ========================================================================== */

.pg {
  /* ---- Brand (MrPep) ---------------------------------------------------- */
  --teal:        #3A4A5C;
  --teal-deep:   #2E3D4D;
  --teal-soft:   #E3E7EC;
  --blush:       #C2603A;
  --blush-soft:  #F7E7DF;

  /* ---- Neutrals — creamy purple ground ---------------------------------- */
  --bg:          #F4F4F2;
  --bg-2:        #EAE9E5;
  --surface:     #FFFFFF;
  --surface-2:   #FAFAF8;
  --surface-3:   #EDECE8;
  --ink:         #1A1D21;
  --muted:       #5B6169;
  --faint:       #62676D;   /* close to --muted on purpose: this is the darkest
                               value that clears AA on every surface it lands on,
                               incl. the alt band. Hierarchy between muted and
                               faint is carried by size, weight and case, not tone. */
  --line:        #DEDDD8;
  --line-2:      #CBC9C3;

  /* ---- Evidence scale (new) --------------------------------------------- */
  --ev-approved-ink:  #1B6B4F;
  --ev-approved-bg:   #E2F1E7;
  --ev-approved-line: #BEDFC9;
  --ev-clinical-ink:  #215F75;
  --ev-clinical-bg:   #DDEEF4;
  --ev-clinical-line: #B7D8E5;
  --ev-preclin-ink:   #9A5019;
  --ev-preclin-bg:    #FAECDF;
  --ev-preclin-line:  #EFD3B8;
  --ev-anec-ink:      #63676D;
  --ev-anec-bg:       #E9E8E4;
  --ev-anec-line:     #CBC9C3;

  /* ---- Type + rhythm ---------------------------------------------------- */
  --font:         'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --maxw: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  --shadow-1: 0 1px 2px rgba(26,29,33,0.05), 0 14px 30px -20px rgba(26,29,33,0.20);
  --shadow-2: 0 34px 64px -34px rgba(26,29,33,0.30);
  --glow:     0 22px 50px -22px rgba(58,74,92,0.42);

  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }

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

/* Ambient wash, matched to the storefront home page */
.pg__wash {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -6%, rgba(58,74,92,0.10), transparent 60%),
    radial-gradient(760px 520px at 4% 4%, rgba(194,96,58,0.10), transparent 55%),
    linear-gradient(180deg, #F4F4F2, #EFEFEC 45%, #F4F4F2);
}
.pg > *:not(.pg__wash) { position: relative; z-index: 1; }

.pg h1, .pg h2, .pg h3, .pg h4 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance;
}
.pg p { margin: 0; }
.pg a { color: inherit; text-decoration: none; }
.pg img { max-width: 100%; display: block; }
.pg button { font-family: inherit; cursor: pointer; }
.pg :focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }

.pg .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.pg .section { padding: 92px 0; }
.pg .section--tight { padding: 64px 0; }
.pg .section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.pg .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-deep);
}
.pg .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--blush); }
.pg .section-head { max-width: 680px; margin-bottom: 44px; }
.pg .section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 16px 0 12px; }
.pg .section-head p { color: var(--muted); font-size: 17px; }
.pg .muted { color: var(--muted); }

/* ---- Buttons -------------------------------------------------------------- */
.pg .btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pg .btn:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: var(--shadow-1); }
.pg .btn:active { transform: translateY(0); }
.pg .btn svg { width: 17px; height: 17px; }
.pg .btn--primary {
  background: linear-gradient(180deg, #344659, var(--teal-deep));
  color: #fff; border-color: transparent; font-weight: 700; box-shadow: var(--glow);
}
.pg .btn--primary:hover { box-shadow: 0 26px 56px -20px rgba(46,61,77,0.55); border-color: transparent; }
.pg .btn--sm { padding: 9px 15px; font-size: 13.5px; }

/* ---- Hero ----------------------------------------------------------------- */
.pg .hero { padding: 76px 0 20px; }
.pg .hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.pg .hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 500; letter-spacing: -0.025em; margin: 20px 0; }
.pg .hero h1 em { color: var(--teal-deep); font-style: italic; font-weight: 500; }
.pg .hero__lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.pg .hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pg .hero__meta { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.pg .hero__meta b {
  font-family: var(--font-display); display: block; font-size: 28px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.pg .hero__meta span { font-size: 12.5px; color: var(--muted); }

/* Hero visual — the evidence ladder, this page's actual thesis */
.pg .ladder {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(58% 58% at 50% 12%, rgba(58,74,92,0.14), transparent 62%),
              linear-gradient(180deg, #FFFFFF, #EBECEF);
  box-shadow: var(--shadow-2); padding: 30px; display: grid; gap: 12px; align-content: center;
}
.pg .ladder__cap { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.pg .ladder__row {
  display: grid; grid-template-columns: 13px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
}
.pg .ladder__row i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.pg .ladder__row b { font-size: 14.5px; font-weight: 700; display: block; }
.pg .ladder__row span { font-size: 12.5px; color: var(--muted); }
.pg .ladder__row u {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; text-decoration: none;
  color: var(--ink); font-variant-numeric: tabular-nums;
}

/* ---- Disclaimer band ------------------------------------------------------ */
.pg .notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--radius-sm); background: var(--warn-bg, #FAECDF);
  border: 1px solid var(--ev-preclin-line); color: #6E4A1C; font-size: 14.5px; line-height: 1.65;
}
.pg .notice svg { width: 21px; height: 21px; flex: none; margin-top: 2px; color: var(--ev-preclin-ink); }
.pg .notice b { color: var(--ev-preclin-ink); }

/* ---- Filter bar ----------------------------------------------------------- */
.pg .filters {
  position: sticky; top: 0; z-index: 20; padding: 16px 0;
  background: rgba(244,244,242,0.92); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.pg .filters__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pg .search {
  flex: 1 1 240px; min-width: 200px; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
}
.pg .search svg { width: 17px; height: 17px; color: var(--faint); flex: none; }
.pg .search input {
  border: 0; background: transparent; font-family: inherit; font-size: 14.5px;
  color: var(--ink); width: 100%; outline: none;
}
.pg .chip {
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--muted);
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.pg .chip:hover { color: var(--ink); border-color: var(--teal); }
.pg .chip[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.pg .filters__count { font-size: 13px; color: var(--faint); margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---- Compound cards ------------------------------------------------------- */
.pg .library { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.pg .cmpd {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-1); overflow: hidden; position: relative;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pg .cmpd::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tier); }
.pg .cmpd[open] { border-color: var(--teal); box-shadow: var(--shadow-2); grid-column: 1 / -1; }
.pg .cmpd[data-tier="approved"]   { --tier: var(--ev-approved-ink); }
.pg .cmpd[data-tier="clinical"]   { --tier: var(--ev-clinical-ink); }
.pg .cmpd[data-tier="preclinical"]{ --tier: var(--ev-preclin-ink); }
.pg .cmpd[data-tier="anecdotal"]  { --tier: var(--ev-anec-line); }
.pg .cmpd.is-hidden { display: none; }

.pg .cmpd__head {
  cursor: pointer; list-style: none; padding: 22px 24px 22px 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: start;
}
.pg .cmpd__head::-webkit-details-marker { display: none; }
.pg .cmpd__head h3 { font-size: 21px; }
.pg .cmpd__aka { font-size: 13px; color: var(--faint); margin-top: 3px; }
.pg .cmpd__blurb { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); margin-top: 6px; max-width: 68ch; }
.pg .cmpd__tags { grid-column: 1 / -1; display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.pg .cmpd__more {
  font-size: 12.5px; font-weight: 700; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 5px; margin-left: auto;
}
.pg .cmpd[open] .cmpd__more span::after { content: " less"; }
.pg .cmpd:not([open]) .cmpd__more span::after { content: " more"; }
.pg .cmpd__more svg { width: 13px; height: 13px; transition: transform .2s ease; }
.pg .cmpd[open] .cmpd__more svg { transform: rotate(180deg); }

.pg .tier {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.pg .tier i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pg .tier--approved    { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border: 1px solid var(--ev-approved-line); }
.pg .tier--clinical    { background: var(--ev-clinical-bg); color: var(--ev-clinical-ink); border: 1px solid var(--ev-clinical-line); }
.pg .tier--preclinical { background: var(--ev-preclin-bg);  color: var(--ev-preclin-ink);  border: 1px solid var(--ev-preclin-line); }
.pg .tier--anecdotal   { background: var(--ev-anec-bg);     color: var(--ev-anec-ink);     border: 1px solid var(--ev-anec-line); }

.pg .tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-3); border: 1px solid var(--line); color: var(--muted);
}

/* Expanded body */
.pg .cmpd__body { padding: 0 24px 26px 28px; border-top: 1px solid var(--line); margin-top: 4px; }
.pg .cmpd__cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; padding-top: 24px; }
.pg .cmpd__body h4 {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 9px;
}
.pg .cmpd__body h4:not(:first-child) { margin-top: 26px; }
.pg .cmpd__body p { font-size: 15px; color: #33383D; line-height: 1.72; max-width: 68ch; }
.pg .cmpd__body p + p { margin-top: 12px; }
.pg .cmpd__body ul { margin: 0; padding-left: 20px; font-size: 15px; color: #33383D; line-height: 1.7; }
.pg .cmpd__body li + li { margin-top: 7px; }

/* Spec table — the dosing facts, given instrument-panel treatment */
.pg .spec {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); overflow: hidden;
}
.pg .spec__row { display: grid; grid-template-columns: 108px 1fr; gap: 14px; padding: 12px 16px; }
.pg .spec__row + .pg .spec__row, .pg .spec__row + .spec__row { border-top: 1px solid var(--line); }
.pg .spec dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.pg .spec dd { margin: 0; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pg .spec dd small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: normal; }

.pg .flag {
  display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: var(--ev-preclin-bg);
  border: 1px solid var(--ev-preclin-line); font-size: 13.5px; line-height: 1.62; color: #6E4A1C;
}
.pg .flag svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ev-preclin-ink); }
.pg .flag b { color: var(--ev-preclin-ink); display: block; margin-bottom: 2px; }
.pg .flag--stop { background: #FBEAE6; border-color: #F0C7BC; color: #7A3527; }
.pg .flag--stop svg, .pg .flag--stop b { color: #A8412C; }

/* ---- Steps ---------------------------------------------------------------- */
.pg .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pg .step {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .step__num {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-soft); border: 1px solid var(--ev-approved-line);
  font-family: var(--font-display); font-weight: 700; color: var(--teal-deep);
  margin-bottom: 16px; font-size: 18px;
}
.pg .step h3 { font-size: 18px; margin-bottom: 8px; }
.pg .step p { font-size: 14px; color: var(--muted); }
.pg .step:not(:last-child)::after {
  content: ""; position: absolute; top: 48px; right: -10px; width: 20px; height: 2px;
  border-radius: 2px; background: var(--line-2);
}

/* ---- Method cards --------------------------------------------------------- */
.pg .methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg .method {
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .method__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-soft); border: 1px solid var(--ev-approved-line); margin-bottom: 16px;
}
.pg .method__ico svg { width: 22px; height: 22px; color: var(--teal-deep); }
.pg .method h3 { font-size: 19px; margin-bottom: 8px; }
.pg .method p { font-size: 14.5px; color: var(--muted); line-height: 1.68; }
.pg .method ul { margin: 10px 0 0; padding-left: 19px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.pg .method li + li { margin-top: 6px; }

/* ---- Calculator ----------------------------------------------------------- */
.pg .calc { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: start; }
.pg .calc__panel {
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .field { display: grid; gap: 7px; margin-bottom: 18px; }
.pg .field label { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.pg .field small { font-size: 12.5px; color: var(--muted); }
.pg .field__in { display: flex; align-items: center; gap: 10px; }
.pg .field input, .pg .field select {
  flex: 1; padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--surface-2); font-family: inherit; font-size: 15.5px; color: var(--ink);
  font-variant-numeric: tabular-nums; outline: none; min-width: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.pg .field input:focus, .pg .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58,74,92,0.14); }
.pg .field__unit { font-size: 13.5px; font-weight: 700; color: var(--muted); flex: none; width: 34px; }

.pg .calc__out {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--ev-approved-line);
  background: radial-gradient(90% 130% at 0% 0%, rgba(58,74,92,.12), transparent 60%), var(--surface);
  box-shadow: var(--shadow-1);
}
.pg .readout { text-align: center; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.pg .readout__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pg .readout__val {
  font-family: var(--font-display); font-size: clamp(52px, 9vw, 76px); font-weight: 600;
  letter-spacing: -0.03em; color: var(--teal-deep); line-height: 1; margin: 10px 0 6px;
  font-variant-numeric: tabular-nums;
}
.pg .readout__sub { font-size: 14px; color: var(--muted); }

/* Syringe barrel — the instrument from the subject's own world */
.pg .syringe { margin: 26px 0 22px; }
.pg .syringe__barrel {
  position: relative; height: 40px; border-radius: 8px; background: var(--surface-2);
  border: 1px solid var(--line-2); overflow: hidden;
}
.pg .syringe__fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(180deg, rgba(58,74,92,.34), rgba(46,61,77,.46));
  border-right: 2px solid var(--teal-deep); transition: width .35s cubic-bezier(0.4,0,0.2,1);
}
.pg .syringe__ticks { position: absolute; inset: 0; display: flex; }
.pg .syringe__ticks i { flex: 1; border-right: 1px solid var(--line-2); }
.pg .syringe__ticks i:nth-child(5n) { border-right-color: var(--faint); }
.pg .syringe__ticks i:last-child { border-right: 0; }
.pg .syringe__scale {
  display: flex; justify-content: space-between; margin-top: 7px;
  font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums;
}

.pg .calc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.pg .calc__stat { text-align: center; padding: 14px 8px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.pg .calc__stat b {
  display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.pg .calc__stat span { font-size: 11.5px; color: var(--muted); }

/* ---- Reference table ------------------------------------------------------ */
.pg .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.pg table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.pg thead th {
  text-align: left; padding: 14px 18px; background: var(--surface-2);
  border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
.pg tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: #33383D; }
.pg tbody tr:last-child td { border-bottom: 0; }
.pg tbody th {
  text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 14.5px;
}
.pg tbody tr:last-child th { border-bottom: 0; }
.pg td.num, .pg .tabular { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- FAQ ------------------------------------------------------------------ */
.pg .faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.pg .faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); }
.pg .faq-item[open] { border-color: var(--teal); }
.pg .faq-q {
  cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-display);
  font-size: 18px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pg .faq-q::-webkit-details-marker { display: none; }
.pg .faq-q .ic { width: 20px; height: 20px; flex: none; position: relative; }
.pg .faq-q .ic::before, .pg .faq-q .ic::after { content: ""; position: absolute; background: var(--teal-deep); border-radius: 2px; transition: transform .2s ease; }
.pg .faq-q .ic::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.pg .faq-q .ic::after { left: 9px; top: 2px; bottom: 2px; width: 2px; }
.pg .faq-item[open] .faq-q .ic::after { transform: scaleY(0); }
.pg .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.pg .faq-a p + p { margin-top: 11px; }

/* ---- Closing band --------------------------------------------------------- */
.pg .closer {
  border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 44px;
  background: radial-gradient(90% 150% at 0% 0%, rgba(58,74,92,.11), transparent 60%),
              radial-gradient(70% 120% at 100% 100%, rgba(194,96,58,.13), transparent 60%),
              var(--surface);
  box-shadow: var(--shadow-1);
}
.pg .closer h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.pg .closer p { color: var(--muted); font-size: 16px; max-width: 70ch; }
.pg .closer p + p { margin-top: 12px; }


/* ---- Serum concentration panel -------------------------------------------- */
.pg .pkpanel {
  margin-top: 28px; padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1);
}
.pg .pkpanel__head h3 { font-size: 24px; margin: 14px 0 10px; }
.pg .pkpanel__head p { font-size: 15px; max-width: 74ch; }
.pg .pkchart {
  margin-top: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface-2); padding: 14px; overflow-x: auto;
}
.pg .pkchart canvas { width: 100%; height: auto; display: block; min-width: 520px; }
.pg .pkstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.pg .pkstat { padding: 16px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.pg .pkstat b {
  display: block; font-family: var(--font-display); font-size: 27px; font-weight: 600;
  color: var(--teal-deep); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.pg .pkstat span { font-size: 12px; color: var(--muted); }
.pg .pknote { font-size: 13px; color: var(--faint); margin-top: 16px; line-height: 1.6; }
.pg .pkpanel.is-off .pkchart, .pg .pkpanel.is-off .pkstats { display: none; }

@media (max-width: 1000px) { .pg .pkstats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .pg .pkpanel { padding: 22px 18px; }
  .pg .pkstats { grid-template-columns: 1fr; }
}


/* ---- Plain-English tier explainer inside a card ---------------------------- */
.pg .tiermeans {
  margin: 22px 0 24px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.pg .tiermeans b { color: var(--ink); }

/* Protocol table nested inside a compound card */
.pg .tablewrap--in { margin-bottom: 6px; box-shadow: none; }
.pg .tablewrap--in table { min-width: 520px; font-size: 14px; }
.pg .tablewrap--in tbody th { font-weight: 600; white-space: normal; min-width: 150px; }
.pg .tablewrap--in td { white-space: normal; }

/* "What people report, and when" */
.pg ul.tl { list-style: none; padding-left: 0; }
.pg ul.tl li { position: relative; padding-left: 22px; }
.pg ul.tl li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal-soft); border: 1.5px solid var(--teal);
}

/* Combination chips */
.pg .stacks { display: flex; flex-wrap: wrap; gap: 7px; }
.pg .stk {
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-3); color: var(--muted);
}
.pg .stk--synergistic { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border-color: var(--ev-approved-line); }
.pg .stk--caution     { background: var(--ev-preclin-bg);  color: var(--ev-preclin-ink);  border-color: var(--ev-preclin-line); }
.pg .stknote { font-size: 12.5px; color: var(--faint); margin-top: 10px; line-height: 1.55; }

/* ---- Beginner glossary ----------------------------------------------------- */
.pg .glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg .gloss {
  padding: 22px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .gloss dt {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 7px;
}
.pg .gloss dd { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.66; }
.pg .gloss dd b { color: var(--ink); font-weight: 600; }

/* ---- Vial quality checks ---------------------------------------------------- */
.pg .checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pg .check {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .check__ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.pg .check__ico svg { width: 17px; height: 17px; }
.pg .check--ok  .check__ico { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border: 1px solid var(--ev-approved-line); }
.pg .check--iffy .check__ico { background: var(--ev-preclin-bg); color: var(--ev-preclin-ink); border: 1px solid var(--ev-preclin-line); }
.pg .check--bad .check__ico { background: #FBEAE6; color: #A8412C; border: 1px solid #F0C7BC; }
.pg .check h3 { font-size: 16.5px; margin-bottom: 5px; }
.pg .check p { font-size: 14px; color: var(--muted); line-height: 1.62; }

/* ---- Collapsible advanced panel --------------------------------------------- */
.pg .adv { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.pg .adv[open] { border-color: var(--teal); }
.pg .adv__q {
  cursor: pointer; list-style: none; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pg .adv__q::-webkit-details-marker { display: none; }
.pg .adv__q b { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); display: block; }
.pg .adv__q span { font-size: 13.5px; color: var(--muted); }
.pg .adv__q .ic { width: 20px; height: 20px; flex: none; position: relative; }
.pg .adv__q .ic::before, .pg .adv__q .ic::after { content: ""; position: absolute; background: var(--teal-deep); border-radius: 2px; transition: transform .2s ease; }
.pg .adv__q .ic::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.pg .adv__q .ic::after { left: 9px; top: 2px; bottom: 2px; width: 2px; }
.pg .adv[open] .adv__q .ic::after { transform: scaleY(0); }
.pg .adv__body { padding: 0 24px 24px; border-top: 1px solid var(--line); }
.pg .adv__body > *:first-child { margin-top: 22px; }

@media (max-width: 1000px) {
  .pg .glossary { grid-template-columns: repeat(2, 1fr); }
  .pg .checks { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pg .glossary { grid-template-columns: 1fr; }
}


/* ---- Announce bar + header (matches the MrPep dark nav) -------------------- */
.pg .announce {
  background: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 12.5px; color: #D3D6DA; letter-spacing: 0.02em;
}
.pg .announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 24px; text-align: center; }
.pg .announce b { color: #fff; font-weight: 600; }
.pg .announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blush); flex: none; }

.pg .header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(26,29,33,0.92); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.pg .header__inner { display: flex; align-items: center; gap: 26px; padding: 13px 24px; }
.pg .brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.pg .brand__mark { width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 11px; }
.pg .brand__mark svg { width: 20px; height: 20px; color: #B8D4E2; }
.pg .brand__name { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; color: #fff; line-height: 1; }
.pg .brand__name b { color: #B8D4E2; font-weight: 600; }
.pg .nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; flex-wrap: wrap; }
.pg .nav a { padding: 9px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.72); transition: color .16s ease, background .16s ease; }
.pg .nav a:hover { color: #fff; background: rgba(255,255,255,0.09); }
.pg .header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pg .header .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.24); background: transparent; }
.pg .header .btn--ghost:hover { border-color: var(--teal); background: rgba(255,255,255,0.10); }

/* ---- Footer ---------------------------------------------------------------- */
.pg .footer { background: #20242A; color: #ABAFB5; padding: 56px 0 32px; margin-top: 0; }
.pg .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.pg .footer h4 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #73777D; margin-bottom: 14px; }
.pg .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pg .footer a { font-size: 14.5px; color: #C6CACF; }
.pg .footer a:hover { color: #fff; }
.pg .footer__about p { font-size: 14px; color: #909599; line-height: 1.7; margin-top: 14px; max-width: 42ch; }
.pg .footer__bar {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #82868C;
}
.pg .footer .brand__name { font-size: 21px; }

@media (max-width: 900px) {
  .pg .header__inner { flex-wrap: wrap; gap: 12px; }
  .pg .nav { order: 3; width: 100%; margin-left: 0; }
  .pg .header__actions { margin-left: auto; }
  .pg .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pg .footer__grid { grid-template-columns: 1fr; }
  .pg .nav a { padding: 8px 11px; font-size: 13.5px; }
}


/* ---- Where to buy band ------------------------------------------------------ */
.pg .source {
  border-radius: var(--radius-lg); border: 1px solid var(--ev-approved-line); padding: 40px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(58,74,92,.13), transparent 62%),
              radial-gradient(70% 120% at 0% 100%, rgba(194,96,58,.10), transparent 60%),
              var(--surface);
  box-shadow: var(--shadow-1);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center;
}
.pg .source h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 14px 0 12px; }
.pg .source p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 60ch; }
.pg .source p + p { margin-top: 11px; }
.pg .source__why { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.pg .source__why li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.pg .source__why svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ev-approved-ink); }
.pg .source__cta { display: grid; gap: 12px; justify-items: stretch; }
.pg .source__cta .btn { justify-content: center; }
.pg .source__note { font-size: 12.5px; color: var(--faint); line-height: 1.6; text-align: center; }

/* Small inline "where to get this" link used inside cards and sections */
.pg .buylink {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--teal-deep);
  padding: 8px 14px; border-radius: 999px;
  background: var(--teal-soft); border: 1px solid var(--ev-approved-line);
  transition: background .16s ease, border-color .16s ease;
}
.pg .buylink:hover { background: #D6DCE3; border-color: var(--teal); }
.pg .buylink svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .pg .source { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; }
}


/* ---- Secondary recommendation (tracking app) -------------------------------- */
.pg .tool {
  margin-top: 18px; padding: 28px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1);
  display: grid; grid-template-columns: 54px 1fr auto; gap: 22px; align-items: center;
}
.pg .tool__ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-soft); border: 1px solid var(--ev-approved-line);
}
.pg .tool__ico svg { width: 25px; height: 25px; color: var(--teal-deep); }
.pg .tool h3 { font-size: 20px; margin-bottom: 6px; }
.pg .tool p { font-size: 14.5px; color: var(--muted); line-height: 1.66; max-width: 62ch; }
.pg .tool__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.pg .tool .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .pg .tool { grid-template-columns: 54px 1fr; padding: 24px; }
  .pg .tool .btn { grid-column: 1 / -1; justify-content: center; }
}


/* ---- Video library ---------------------------------------------------------- */
.pg .vidpath { display: grid; gap: 20px; }
.pg .vcard {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-1); overflow: hidden;
  display: grid; grid-template-columns: 460px 1fr; gap: 0; align-items: stretch;
}
.pg .vcard--short { grid-template-columns: 300px 1fr; }
.pg .vcard--feature { grid-template-columns: 1fr; }

/* Poster / player stage */
.pg .vstage {
  position: relative; border-right: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(58,74,92,0.18), transparent 62%),
    linear-gradient(160deg, #2A2F36, #1A1D21);
  aspect-ratio: 16 / 9; overflow: hidden;
}
.pg .vcard--short .vstage { aspect-ratio: 9 / 16; }
.pg .vcard--feature .vstage { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
.pg .vstage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s ease;
}
.pg .vstage img.is-loaded { opacity: 1; }
.pg .vstage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pg .vplay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; gap: 0;
  background: linear-gradient(180deg, rgba(26,29,33,0.10), rgba(26,29,33,0.55));
  border: 0; padding: 0; cursor: pointer;
  transition: background .2s ease;
}
.pg .vplay:hover { background: linear-gradient(180deg, rgba(26,29,33,0.05), rgba(26,29,33,0.42)); }
.pg .vplay__btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,0.94); display: grid; place-items: center;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.6);
  transition: transform .2s ease, background .2s ease;
}
.pg .vplay:hover .vplay__btn { transform: scale(1.07); background: #fff; }
.pg .vplay__btn svg { width: 25px; height: 25px; color: var(--teal-deep); margin-left: 4px; }
.pg .vplay__hint {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,0.92);
  background: rgba(26,29,33,0.62); border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 13px; border-radius: 999px; backdrop-filter: blur(6px); white-space: nowrap;
}
@media (max-width: 520px) { .pg .vplay__hint { display: none; } }
.pg .vdur {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(26,29,33,0.72); border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* Card body */
.pg .vbody { padding: 28px 30px; display: flex; flex-direction: column; }
.pg .vstep {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-soft);
  border: 1px solid var(--ev-clinical-line); padding: 5px 12px; border-radius: 999px;
}
.pg .vstep b {
  width: 17px; height: 17px; border-radius: 50%; background: var(--teal-deep); color: #fff;
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
}
.pg .vbody h3 { font-size: 22px; margin: 14px 0 8px; }
.pg .vcard--feature .vbody h3 { font-size: 27px; }
.pg .vchan { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.pg .vchan a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pg .vchan a:hover { color: var(--teal-deep); }
.pg .vbody > p { font-size: 15px; color: #33383D; line-height: 1.7; max-width: 68ch; }

.pg .vcovers { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg .vcovers li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.pg .vcovers svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ev-approved-ink); }

.pg .vwatch {
  margin-top: 18px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.pg .vwatch b { color: var(--ink); }

.pg .vlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pg .vlinks span { font-size: 12.5px; color: var(--faint); align-self: center; margin-right: 2px; }
.pg .vlinks a {
  font-size: 12.5px; font-weight: 700; color: var(--teal-deep);
  padding: 6px 12px; border-radius: 999px; background: var(--teal-soft);
  border: 1px solid var(--ev-clinical-line);
}
.pg .vlinks a:hover { background: #D6DCE3; border-color: var(--teal); }

@media (max-width: 1000px) {
  .pg .vcard, .pg .vcard--short { grid-template-columns: 1fr; }
  .pg .vstage { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
  .pg .vcard--short .vstage { aspect-ratio: 4 / 3; }
  .pg .vcard--short .vstage img { object-fit: contain; background: #1A1D21; }
}
@media (max-width: 620px) {
  .pg .vbody { padding: 22px 20px; }
  .pg .vbody h3, .pg .vcard--feature .vbody h3 { font-size: 20px; }
}


/* ---- Quick reference (front-page lead) -------------------------------------- */
.pg .qsearch {
  position: sticky; top: 0; z-index: 25; padding: 14px 0 16px;
  background: rgba(244,244,242,0.94); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.pg .qsearch__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pg .qsearch .search { flex: 1 1 260px; }
.pg .qcount { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; margin-left: auto; }

.pg .qgroup { margin-top: 44px; }
.pg .qgroup:first-of-type { margin-top: 8px; }
.pg .qgroup.is-hidden { display: none; }
.pg .qgroup__head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 2px solid var(--teal-deep); margin-bottom: 4px;
}
.pg .qgroup__head h3 { font-size: 23px; }
.pg .qgroup__head span { font-size: 13.5px; color: var(--muted); max-width: 60ch; }
.pg .qgroup__n {
  font-size: 12px; font-weight: 700; color: var(--teal-deep);
  background: var(--teal-soft); border: 1px solid var(--ev-clinical-line);
  padding: 3px 9px; border-radius: 999px; margin-left: auto;
}

.pg .qrow {
  display: grid; grid-template-columns: 250px 1fr; gap: 26px;
  padding: 17px 12px 17px 14px; border-bottom: 1px solid var(--line);
  position: relative; border-radius: 10px;
  transition: background .15s ease;
}
.pg .qrow:hover { background: var(--surface); }
.pg .qrow.is-hidden { display: none; }
.pg .qrow::before {
  content: ""; position: absolute; left: 0; top: 17px; bottom: 17px; width: 3px;
  border-radius: 3px; background: var(--tier);
}
.pg .qrow[data-tier="approved"]    { --tier: var(--ev-approved-ink); }
.pg .qrow[data-tier="clinical"]    { --tier: var(--ev-clinical-ink); }
.pg .qrow[data-tier="preclinical"] { --tier: var(--ev-preclin-ink); }
.pg .qrow[data-tier="anecdotal"]   { --tier: var(--ev-anec-line); }

.pg .qname {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.25;
}
.pg .qname a { color: var(--teal-deep); text-decoration: none; }
.pg .qname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg .qaka { font-size: 12.5px; color: var(--faint); margin-top: 4px; line-height: 1.4; }
.pg .qdesc { font-size: 15px; color: #33383D; line-height: 1.65; max-width: 76ch; }
.pg .qtier {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-top: 8px; padding: 3px 8px; border-radius: 999px;
}
.pg .qrow[data-tier="approved"]    .qtier { background: var(--ev-approved-bg); color: var(--ev-approved-ink); }
.pg .qrow[data-tier="clinical"]    .qtier { background: var(--ev-clinical-bg); color: var(--ev-clinical-ink); }
.pg .qrow[data-tier="preclinical"] .qtier { background: var(--ev-preclin-bg);  color: var(--ev-preclin-ink); }
.pg .qrow[data-tier="anecdotal"]   .qtier { background: var(--ev-anec-bg);     color: var(--ev-anec-ink); }

.pg .qkey {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 6px;
}
.pg .qkey b { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pg .qkey span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.pg .qkey i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

@media (max-width: 760px) {
  .pg .qrow { grid-template-columns: 1fr; gap: 8px; padding-left: 14px; }
  .pg .qdesc { font-size: 14.5px; }
  .pg .qgroup__n { margin-left: 0; }
}


/* ---- Going deeper: compact video cards -------------------------------------- */
.pg .creator {
  display: grid; grid-template-columns: 66px 1fr auto; gap: 22px; align-items: center;
  padding: 26px 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); margin-bottom: 26px;
}
.pg .creator__ico {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #2A2F36, #1A1D21); color: #B8D4E2;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
}
.pg .creator h3 { font-size: 21px; margin-bottom: 7px; }
.pg .creator p { font-size: 14.5px; color: var(--muted); line-height: 1.68; max-width: 74ch; }

.pg .deepgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg .dcard {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pg .dcard:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-2); }
.pg .dcard .vstage { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.pg .dcard .vstage--short { aspect-ratio: 16 / 9; }
.pg .dcard .vstage--short img { object-fit: contain; background: #1A1D21; }
.pg .dcard .vplay__btn { width: 52px; height: 52px; }
.pg .dcard .vplay__btn svg { width: 19px; height: 19px; }

.pg .dbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pg .dtopic {
  align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft);
  border: 1px solid var(--ev-clinical-line); padding: 4px 10px; border-radius: 999px;
}
.pg .dbody h3 { font-size: 18px; line-height: 1.25; }
.pg .dbody p { font-size: 14px; color: var(--muted); line-height: 1.62; }

@media (max-width: 1000px) { .pg .deepgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .pg .deepgrid { grid-template-columns: 1fr; }
  .pg .creator { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .pg .creator .btn { justify-self: start; }
}


/* ---- Popular / stocked badges ----------------------------------------------- */
.pg .pill {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle;
}
.pg .pill svg { width: 11px; height: 11px; }
.pg .pill--pop  { background: #F7E7DF; color: #A24E2C; border: 1px solid #EBCBBB; }
.pg .pill--soon { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border: 1px solid var(--ev-approved-line); }
.pg .pill--mp   { background: var(--teal-soft); color: var(--teal-deep); border: 1px solid var(--ev-clinical-line); }
.pg .qname .pill { margin-top: 7px; }
.pg .qbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }

/* Popular rows get a slightly warmer ground so they stand out when scanning */
.pg .qrow.is-pop { background: linear-gradient(90deg, rgba(194,96,58,0.07), transparent 55%); }
.pg .qrow.is-pop:hover { background: var(--surface); }

/* ---- Where to buy a licensed GLP-1 ------------------------------------------ */
.pg .rx {
  margin-top: 20px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--ev-approved-bg); border: 1px solid var(--ev-approved-line);
}
.pg .rx h5 {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ev-approved-ink); margin: 0 0 9px;
  display: flex; align-items: center; gap: 8px;
}
.pg .rx h5 svg { width: 15px; height: 15px; }
.pg .rx p { font-size: 14px; color: #2A5541; line-height: 1.65; margin: 0; }
.pg .rx p + p { margin-top: 9px; }
.pg .rx ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg .rx li { font-size: 14px; color: #2A5541; line-height: 1.55; }
.pg .rx a { color: var(--ev-approved-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.pg .rx a:hover { color: #14563F; }
.pg .rx__note { font-size: 12.5px; color: #4A6E5B; margin-top: 12px; line-height: 1.55; }


/* ---- Equipment / CE marking -------------------------------------------------- */
.pg .kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.pg .kitcard {
  padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.pg .kitcard h3 { font-size: 17.5px; margin-bottom: 7px; }
.pg .kitcard p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.pg .mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 30px; padding: 0 11px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  background: var(--ink); color: #fff; margin-bottom: 13px;
}
.pg .mark--bad { background: #A8412C; }
.pg .mark--warn { background: var(--ev-preclin-ink); }
@media (max-width: 900px) { .pg .kit { grid-template-columns: 1fr; } }


/* ---- Pre-made vs make-your-own ---------------------------------------------- */
.pg .versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.pg .vs {
  padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-1);
}
.pg .vs--bad { border-color: #F0C7BC; background: linear-gradient(180deg, #FDF4F2, var(--surface) 60%); }
.pg .vs--good { border-color: var(--ev-approved-line); background: linear-gradient(180deg, #F1FAF3, var(--surface) 60%); }
.pg .vs__tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.pg .vs--bad .vs__tag { background: #FBEAE6; color: #A8412C; border: 1px solid #F0C7BC; }
.pg .vs--good .vs__tag { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border: 1px solid var(--ev-approved-line); }
.pg .vs h3 { font-size: 20px; margin-bottom: 10px; }
.pg .vs > p { font-size: 14.5px; color: var(--muted); line-height: 1.68; }
.pg .vs ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.pg .vs li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: #33383D; }
.pg .vs li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.pg .vs--bad li svg { color: #A8412C; }
.pg .vs--good li svg { color: var(--ev-approved-ink); }
.pg .vs li b { color: var(--ink); }

/* Recipe / protocol steps */
.pg .recipe {
  margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden;
}
.pg .recipe__head { padding: 24px 28px 4px; }
.pg .recipe__head h3 { font-size: 21px; margin-bottom: 8px; }
.pg .recipe__head p { font-size: 14.5px; color: var(--muted); line-height: 1.66; max-width: 74ch; }
.pg .recipe ol { margin: 18px 0 0; padding: 0 28px 8px; list-style: none; counter-reset: step; }
.pg .recipe li {
  counter-increment: step; position: relative; padding: 0 0 20px 46px;
  border-left: 2px solid var(--line); margin-left: 15px;
}
.pg .recipe li:last-child { border-left-color: transparent; padding-bottom: 24px; }
.pg .recipe li::before {
  content: counter(step); position: absolute; left: -16px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-deep); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
}
.pg .recipe li h4 { font-family: var(--font); font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.pg .recipe li p { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 72ch; }
.pg .recipe li p b { color: var(--ink); }

@media (max-width: 900px) {
  .pg .versus { grid-template-columns: 1fr; }
  .pg .vs { padding: 22px; }
  .pg .recipe__head, .pg .recipe ol { padding-inline: 20px; }
}


/* UK status variants — green reads as "you can get this properly", amber as not */
.pg .rx--otc { background: var(--ev-clinical-bg); border-color: var(--ev-clinical-line); }
.pg .rx--otc h5, .pg .rx--otc a { color: var(--teal-deep); }
.pg .rx--otc p { color: #1F5468; }
.pg .rx--specialist, .pg .rx--unlicensed {
  background: var(--ev-preclin-bg); border-color: var(--ev-preclin-line);
}
.pg .rx--specialist h5, .pg .rx--unlicensed h5,
.pg .rx--specialist a, .pg .rx--unlicensed a { color: var(--ev-preclin-ink); }
.pg .rx--specialist p, .pg .rx--unlicensed p { color: #6E4A1C; }

/* UK availability table */
.pg .ukrow { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 14px; border-bottom: 1px solid var(--line); }
.pg .ukrow:last-child { border-bottom: 0; }
.pg .ukrow h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.pg .ukrow p { font-size: 14.5px; color: #33383D; line-height: 1.65; max-width: 74ch; }
.pg .ukrow .links { margin-top: 9px; font-size: 13px; }
.pg .ukrow .links a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.pg .ukstat {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.pg .ukstat--pom { background: var(--ev-approved-bg); color: var(--ev-approved-ink); border: 1px solid var(--ev-approved-line); }
.pg .ukstat--otc { background: var(--ev-clinical-bg); color: var(--teal-deep); border: 1px solid var(--ev-clinical-line); }
.pg .ukstat--both { background: var(--surface-3); color: var(--muted); border: 1px solid var(--line-2); }
@media (max-width: 760px) { .pg .ukrow { grid-template-columns: 1fr; gap: 10px; } }


/* ---- Ingredient breakdown for multi-component vials -------------------------- */
.pg .ingr { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); overflow: hidden; }
.pg .ingr__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 15px; font-size: 14.5px;
}
.pg .ingr__row + .ingr__row { border-top: 1px solid var(--line); }
.pg .ingr__row span { color: var(--ink); }
.pg .ingr__row b { color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .pg .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .pg .library { grid-template-columns: 1fr; }
  .pg .cmpd__cols { grid-template-columns: 1fr; gap: 24px; }
  .pg .methods { grid-template-columns: 1fr; }
  .pg .calc { grid-template-columns: 1fr; }
  .pg .steps { grid-template-columns: repeat(2, 1fr); }
  .pg .step:not(:last-child)::after { display: none; }
}
@media (max-width: 620px) {
  .pg .section { padding: 64px 0; }
  .pg .steps { grid-template-columns: 1fr; }
  .pg .calc__stats { grid-template-columns: 1fr; }
  .pg .cmpd__head { padding: 20px 18px 20px 22px; }
  .pg .cmpd__body { padding: 0 18px 22px 22px; }
  .pg .closer { padding: 30px 24px; }
  .pg .filters__count { width: 100%; margin-left: 0; }
}
