/* =====================================================================
   BuyMounjaro UK — design system "Emerald Checklist"
   Emerald accent on warm sand paper. Forest-night dark mode.
   Display: Inter Tight · Body: Lora.
   Light is default; dark via prefers-color-scheme + [data-theme] override.
   ===================================================================== */

:root {
  --bg: #f6f1e6;
  --bg-wash: linear-gradient(180deg, #efe8d8 0%, rgba(246,241,230,0) 320px);
  --paper: #fffcf4;
  --paper-2: #faf6ea;
  --paper-3: #f1ebdc;
  --hover: #f3eddf;
  --line: #e3dac4;
  --line-strong: #cfc4a8;

  --text: #22301f;
  --muted: #5d6657;
  --faint: #8d937f;

  --accent: #047857;
  --accent-2: #065f46;
  --accent-soft: rgba(4,120,87,0.09);
  --accent-ring: rgba(4,120,87,0.28);
  --on-accent: #f2fbf6;

  --warn: #92600a;
  --warn-soft: rgba(180,120,10,0.11);

  --rec: #065f46;
  --rec-soft: rgba(6,95,70,0.07);
  --chip: rgba(4,120,87,0.10);

  --shadow-1: 0 1px 2px rgba(34,48,31,.06), 0 2px 8px rgba(34,48,31,.05);
  --shadow-2: 0 4px 10px rgba(34,48,31,.06), 0 16px 40px rgba(34,48,31,.10);
  --shadow-3: 0 28px 70px rgba(34,48,31,.18);

  --r: 14px;
  --r-sm: 8px;
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  --fast: 160ms ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1410;
    --bg-wash: linear-gradient(180deg, #10201a 0%, rgba(11,20,16,0) 320px);
    --paper: #121d17;
    --paper-2: #17251e;
    --paper-3: #1d2e25;
    --hover: #1a2a21;
    --line: #24382d;
    --line-strong: #35503f;
    --text: #e7eee6;
    --muted: #a3b3a0;
    --faint: #6f7f6d;
    --accent: #34d399;
    --accent-2: #6ee7b7;
    --accent-soft: rgba(52,211,153,0.12);
    --accent-ring: rgba(52,211,153,0.30);
    --on-accent: #06281c;
    --warn: #f0b95c;
    --warn-soft: rgba(240,185,92,0.12);
    --rec: #6ee7b7;
    --rec-soft: rgba(52,211,153,0.08);
    --chip: rgba(52,211,153,0.14);
    --shadow-1: 0 1px 2px rgba(0,0,0,.35);
    --shadow-2: 0 6px 18px rgba(0,0,0,.4);
    --shadow-3: 0 22px 60px rgba(0,0,0,.55);
  }
}

[data-theme="dark"] {
  --bg: #0b1410;
  --bg-wash: linear-gradient(180deg, #10201a 0%, rgba(11,20,16,0) 320px);
  --paper: #121d17;
  --paper-2: #17251e;
  --paper-3: #1d2e25;
  --hover: #1a2a21;
  --line: #24382d;
  --line-strong: #35503f;
  --text: #e7eee6;
  --muted: #a3b3a0;
  --faint: #6f7f6d;
  --accent: #34d399;
  --accent-2: #6ee7b7;
  --accent-soft: rgba(52,211,153,0.12);
  --accent-ring: rgba(52,211,153,0.30);
  --on-accent: #06281c;
  --warn: #f0b95c;
  --warn-soft: rgba(240,185,92,0.12);
  --rec: #6ee7b7;
  --rec-soft: rgba(52,211,153,0.08);
  --chip: rgba(52,211,153,0.14);
  --shadow-1: 0 1px 2px rgba(0,0,0,.35);
  --shadow-2: 0 6px 18px rgba(0,0,0,.4);
  --shadow-3: 0 22px 60px rgba(0,0,0,.55);
}

/* ==================== base ==================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-wash);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.small { font-size: .8rem; color: var(--faint); }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 700; }

.kicker {
  display: inline-block; font-family: var(--display); font-size: .72rem;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

/* ==================== header ==================== */

.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 22px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand-name em { font-style: normal; color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--display); font-size: .9rem; font-weight: 600;
  color: var(--text); padding: 7px 11px; border-radius: var(--r-sm);
  transition: background var(--fast);
}
.nav-link:hover { background: var(--hover); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.theme-btn, .nav-burger {
  border: 1px solid var(--line); background: var(--paper); color: var(--text);
  border-radius: var(--r-sm); padding: 6px 10px; font-size: .95rem; cursor: pointer;
  transition: background var(--fast);
}
.theme-btn:hover, .nav-burger:hover { background: var(--hover); }
.nav-burger { display: none; }

/* ==================== hero ==================== */

.hero { padding: 54px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 42px; align-items: start; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.stat .stat-n { font-family: var(--display); font-weight: 800; font-size: 1.55rem; color: var(--accent-2); }
.stat .stat-l { font-size: .82rem; color: var(--muted); font-family: var(--display); }

/* eligibility mini-check band */
.check-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-2); padding: 22px 24px;
}
.check-card h2 { font-size: 1.08rem; margin-bottom: 4px; }
.check-card .check-sub { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.check-list .tickbox {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 6px; background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: .8rem;
}
.check-card .check-foot { font-size: .82rem; color: var(--faint); margin: 0; }

.trust-band {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px;
  padding: 13px 18px; border: 1px dashed var(--line-strong); border-radius: var(--r);
  font-family: var(--display); font-size: .84rem; color: var(--muted);
}
.trust-band .ok { color: var(--accent); font-weight: 800; margin-right: 5px; }

/* ==================== buttons ==================== */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  border-radius: 10px; padding: 12px 20px; cursor: pointer;
  border: 1px solid transparent; transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px var(--accent-ring); }
.btn-primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn-ghost { background: var(--paper); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--hover); }
.btn-small { padding: 8px 14px; font-size: .84rem; border-radius: 8px; }

/* ==================== sections ==================== */

main.wrap { padding-bottom: 30px; }
section { margin: 58px 0; }
.section-head { max-width: 68ch; margin-bottom: 22px; }
.section-head p { color: var(--muted); }

/* ==================== comparison table ==================== */

.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-1);
}
table { border-collapse: collapse; width: 100%; }
.price-table { min-width: 900px; font-size: .9rem; }
.price-table thead th {
  font-family: var(--display); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-align: left;
  color: var(--on-accent); background: var(--accent-2);
  padding: 12px 14px; white-space: nowrap;
}
.price-table td { padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table tbody tr:hover { background: var(--hover); }
.price-table .td-price { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .promo { color: var(--accent-2); font-size: 1.02rem; }
.price-table .promo-note, .price-table .was { display: block; font-family: var(--display); font-weight: 500; font-size: .74rem; color: var(--faint); }
.prov-name { font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--text); }
.prov-reg, .prov-note { display: block; font-size: .76rem; color: var(--muted); font-family: var(--display); font-weight: 500; }
.prov-note.warned { color: var(--warn); }
.code-chip {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .78rem;
  background: var(--chip); color: var(--accent-2); border: 1px dashed var(--accent-ring);
  border-radius: 6px; padding: 2px 8px; letter-spacing: .04em;
}
.code-detail { display: block; font-size: .75rem; color: var(--muted); font-family: var(--display); margin-top: 3px; }

/* recommended row */
.row-rec { background: var(--rec-soft); box-shadow: inset 3px 0 0 var(--accent); }
.row-rec td { border-top-color: var(--accent-ring); }
.rec-star {
  display: inline-block; font-family: var(--display); font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent);
  background: var(--accent); border-radius: 6px; padding: 2px 8px; margin-bottom: 5px;
}
.table-foot { font-size: .8rem; color: var(--faint); margin-top: 12px; max-width: 90ch; }
.updated-line { font-family: var(--display); font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.updated-line strong { color: var(--accent-2); }

/* ==================== dose matrix ==================== */

.matrix-table { min-width: 720px; font-size: .9rem; }
.matrix-table thead th {
  font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-align: left; color: var(--muted);
  background: var(--paper-2); padding: 11px 14px; border-bottom: 2px solid var(--line-strong);
}
.matrix-table td { padding: 12px 14px; border-top: 1px solid var(--line); }
.matrix-table .dose-cell { font-family: var(--display); font-weight: 800; white-space: nowrap; }
.matrix-table .role-cell { font-size: .84rem; color: var(--muted); }
.matrix-table .m-price { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.matrix-table .m-prov { display: block; font-family: var(--display); font-weight: 500; font-size: .75rem; color: var(--muted); }
.matrix-table .m-twc { background: var(--rec-soft); }

/* ==================== TWC pick block ==================== */

.pick-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  background: var(--paper); border: 2px solid var(--accent);
  border-radius: var(--r); padding: 30px 32px; box-shadow: var(--shadow-2);
}
.pick-box h2 { margin-bottom: 8px; }
.pick-points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.pick-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.pick-points .pp { flex: none; color: var(--accent); font-family: var(--display); font-weight: 800; }
.pick-side { text-align: center; padding: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); }
.pick-side .from { font-family: var(--display); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pick-side .big-price { font-family: var(--display); font-weight: 800; font-size: 2.3rem; color: var(--accent-2); line-height: 1.1; }
.pick-side .big-sub { font-size: .82rem; color: var(--muted); margin-bottom: 14px; font-family: var(--display); }

/* inline CTA box (also for articles) */
.cta-box {
  background: var(--paper); border: 2px solid var(--accent); border-radius: var(--r);
  padding: 24px 26px; margin: 30px 0; box-shadow: var(--shadow-1);
}
.cta-box h3 { margin-bottom: 6px; }
.cta-box p { margin-bottom: 14px; color: var(--muted); font-size: .95rem; }
.cta-box .btn { margin-right: 10px; }
.cta-note { font-size: .78rem; color: var(--faint); margin: 10px 0 0; }

/* ==================== timeline / steps ==================== */

.timeline { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline > li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 58px;
}
.timeline > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline > li::after {
  content: ""; position: absolute; left: 18px; top: 44px; bottom: 4px;
  width: 2px; background: var(--line-strong);
}
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 4px; }
.timeline .t-when { font-family: var(--display); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); display: block; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .95rem; margin-bottom: 0; max-width: 66ch; }

/* numbered steps for article bodies */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 12px; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; }
.steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent-ring);
  font-family: var(--display); font-weight: 800; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
}

/* ==================== callouts ==================== */

.callout {
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); display: block; margin-bottom: 6px; }
.callout-warn { border-left-color: var(--warn); background: var(--warn-soft); }
.callout-warn .callout-title { color: var(--warn); }

/* ==================== FAQ ==================== */

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0 18px; transition: border-color var(--fast);
}
.faq details[open] { border-color: var(--accent-ring); box-shadow: var(--shadow-1); }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 0;
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--accent); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 16px; color: var(--muted); font-size: .95rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ==================== blog cards ==================== */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; color: var(--text);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent-ring); text-decoration: none; }
.post-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.post-card .post-meta { font-family: var(--display); font-size: .76rem; color: var(--faint); }
.post-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.post-card .read-on { font-family: var(--display); font-weight: 700; font-size: .85rem; color: var(--accent); margin-top: auto; }

/* ==================== article pages ==================== */

.article { max-width: 780px; margin: 0 auto; padding: 40px 0 20px; }
.crumbs { font-family: var(--display); font-size: .8rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.article-head h1 { margin-bottom: 12px; }
.article-meta { font-family: var(--display); font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.article-body { margin-top: 26px; }
.article-body h2 { margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--line); }
.article-body h3 { margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .45em; }
.article-body .table-scroll { margin: 24px 0; }
.article-body table { font-size: .89rem; min-width: 560px; width: 100%; }
.article-body table thead th {
  font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; text-align: left; color: var(--on-accent);
  background: var(--accent-2); padding: 10px 13px;
}
.article-body table td { padding: 11px 13px; border-top: 1px solid var(--line); }
.article-body blockquote { border-left: 3px solid var(--line-strong); margin: 1.2em 0; padding: 2px 0 2px 18px; color: var(--muted); font-style: italic; }

/* ==================== generic content pages ==================== */

.page { max-width: 780px; margin: 0 auto; padding: 46px 0 20px; }
.page h1 { margin-bottom: 10px; }
.page .page-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.page h2 { margin-top: 1.7em; }

/* ==================== footer ==================== */

.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
  padding: 42px 0 26px;
}
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { color: var(--muted); font-family: var(--display); font-size: .88rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-blurb { color: var(--muted); font-size: .88rem; max-width: 34ch; }
.compliance {
  border-top: 1px dashed var(--line-strong); padding: 24px 0;
  display: grid; gap: 12px;
}
.compliance p { font-size: .78rem; color: var(--faint); line-height: 1.6; margin: 0; max-width: 110ch; }
.compliance strong { color: var(--muted); font-family: var(--display); }
.copyright { padding: 0 0 30px; font-family: var(--display); font-size: .78rem; color: var(--faint); }

/* ==================== responsive ==================== */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .pick-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow-2);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 11px 12px; }
  .nav-burger { display: inline-flex; }
  .hero { padding-top: 34px; }
  .hero-stats { gap: 18px; }
  .timeline > li { padding-left: 50px; }
  section { margin: 44px 0; }
}
