/* Muscle Guard — production stylesheet · v2.0
   Brand tokens identical to Website Brief v1.0
   muscleguardglp.com */

:root {
  --brand-green: #0F7B6C;
  --brand-green-dark: #0A5A4F;
  --brand-green-bg: #E8F4F1;
  --gold: #C97E1A;
  --gold-bg: #FFF3E0;
  --text-dark: #1A2520;
  --muted: #5F6E69;
  --rule: #E5E7E6;
  --bg: #FAFBFA;
  --white: #FFFFFF;
  --radius: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-dark); text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; color: var(--gold); margin-bottom: 12px;
}
.eyebrow-green { color: var(--brand-green); }
.muted { color: var(--muted); }
.green { color: var(--brand-green); }
.center { text-align: center; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-dark);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-wordmark {
  font-weight: 700; font-size: 14px;
  letter-spacing: 1.4px; color: var(--brand-green);
}
.brand-tag {
  font-size: 10px; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase;
  margin-top: -2px;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: var(--text-dark); font-size: 14px; font-weight: 500;
}
.nav a.active { color: var(--brand-green); }
.nav-cta {
  background: var(--brand-green); color: var(--white) !important;
  padding: 9px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
}
.nav-cta:hover { background: var(--brand-green-dark); text-decoration: none; }
.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; }
@media (max-width: 800px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start;
              position: absolute; top: 64px; left: 0; right: 0;
              background: var(--white); border-bottom: 1px solid var(--rule);
              padding: 16px 24px; gap: 14px; }
  .mobile-toggle { display: block; font-size: 22px; color: var(--brand-green); }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--brand-green-bg) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 .accent { color: var(--brand-green); }
.hero .lede { font-size: 17px; color: var(--muted); margin: 8px 0 28px; max-width: 38ch; }
.hero .drugs {
  font-size: 14px; color: var(--muted); margin: 24px 0 12px;
}
.hero .trust { font-size: 13px; color: var(--muted); margin-top: 18px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text-dark); color: var(--white) !important;
  padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
}
.store-btn:hover { background: #000; text-decoration: none; }
.store-btn .store-label { font-size: 10px; opacity: 0.7; display: block; text-transform: uppercase; letter-spacing: 1px; }
.store-btn .store-name { font-size: 15px; }

/* ── Mock dashboard ───────────────────────────────────────────── */
.mockup {
  background: var(--white); border-radius: 24px;
  padding: 32px 28px; box-shadow: 0 30px 80px -20px rgba(15,123,108,0.25);
  border: 1px solid var(--rule);
}
.mockup-title {
  font-size: 11px; text-transform: uppercase; color: var(--muted);
  letter-spacing: 1.5px; margin-bottom: 6px;
}
.score-gauge {
  width: 180px; height: 180px; margin: 12px auto;
  position: relative;
  display: grid; place-items: center;
}
.score-gauge .num {
  font-size: 48px; font-weight: 600; color: var(--brand-green);
}
.score-gauge .label {
  font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase;
}
.circle-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px; margin-top: 16px;
}
.circle-grid div {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-green-bg); border: 1px solid var(--rule);
}
.circle-grid div.on { background: var(--brand-green); border-color: var(--brand-green); }
.circle-grid div.partial { background: var(--gold); border-color: var(--gold); }

/* ── Sections ─────────────────────────────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--brand-green-bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ── Feature grid ─────────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 24px;
}
.feature.hero-feature { border: 2px solid var(--brand-green); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-green-bg); color: var(--brand-green);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex; background: var(--brand-green-bg); border-radius: 999px;
  padding: 4px; margin: 0 auto 32px; gap: 4px;
}
.pricing-toggle button {
  border: 0; background: transparent; padding: 8px 18px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border-radius: 999px; color: var(--brand-green-dark);
}
.pricing-toggle button.active {
  background: var(--brand-green); color: var(--white);
}
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 800px; margin: 0 auto;
}
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 32px;
  position: relative;
}
.plan.popular { border: 2px solid var(--brand-green); }
.popular-pill {
  position: absolute; top: -12px; right: 24px;
  background: var(--brand-green); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.plan h3 { font-size: 22px; }
.price { font-size: 36px; font-weight: 600; color: var(--text-dark); margin: 8px 0 4px; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-yr { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan ul { padding-left: 0; list-style: none; margin: 16px 0; }
.plan li { padding-left: 24px; position: relative; font-size: 14px; margin-bottom: 8px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 8px; border-left: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green); transform: rotate(-45deg);
}
.trial-banner {
  background: var(--gold-bg); border-radius: 10px;
  padding: 12px 16px; font-size: 13px; color: var(--text-dark);
  margin-bottom: 20px; border-left: 4px solid var(--gold);
}
.ai-cost-callout {
  margin-top: 32px; padding: 20px 24px;
  background: var(--gold-bg); border-left: 4px solid var(--gold);
  border-radius: 8px; font-size: 14px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.ai-cost-callout strong { color: var(--gold); }

/* ── Download CTA ─────────────────────────────────────────────── */
.cta-block {
  background: var(--brand-green); color: var(--white);
  padding: 80px 0; text-align: center;
}
.cta-block h2 { color: var(--white); }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-block .store-btn { background: var(--white); color: var(--text-dark) !important; }
.cta-block .store-btn:hover { background: #F5F5F5; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  color: var(--white); font-size: 12px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,0.7); display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.brand-statement { font-size: 13px; line-height: 1.7; }
.brand-statement .wordmark {
  color: var(--brand-green); font-weight: 700; letter-spacing: 1.4px; margin-bottom: 12px;
  display: block;
}
.disclaimer {
  font-size: 12px; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 8px;
  margin-top: 16px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ── Article / guide layout ───────────────────────────────────── */
.article-hero {
  background: linear-gradient(180deg, var(--brand-green-bg) 0%, var(--white) 100%);
  padding: 64px 0 48px;
}
.article-hero h1 { max-width: 28ch; }
.article-hero .lede { font-size: 18px; color: var(--muted); max-width: 60ch; margin-top: 12px; }
.article {
  max-width: 760px; margin: 0 auto; padding: 48px 24px 72px;
}
.article h2 { margin-top: 48px; }
.article h3 { margin-top: 32px; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin-bottom: 6px; }
.article blockquote {
  border-left: 4px solid var(--brand-green);
  background: var(--brand-green-bg);
  padding: 16px 20px; margin: 24px 0; border-radius: 0 8px 8px 0;
}
.reviewer-line {
  background: var(--brand-green-bg); border-radius: 8px;
  padding: 16px 20px; font-size: 13px; color: var(--brand-green-dark);
  margin: 32px 0;
}
.toc {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 8px; padding: 20px 24px; margin-bottom: 32px;
}
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: decimal; padding-left: 20px; margin: 0; }
.toc a { color: var(--text-dark); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq-item summary {
  font-weight: 500; font-size: 17px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; color: var(--brand-green);
  font-weight: 300; line-height: 1; margin-left: 16px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ── Doctor / region cards ────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 18px; }
.card p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.card a.card-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill {
  background: var(--gold-bg); color: var(--gold);
  font-size: 12px; font-weight: 500; padding: 5px 12px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.5px;
}
.pill.green { background: var(--brand-green-bg); color: var(--brand-green); }

/* ── Stat band ────────────────────────────────────────────────── */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-band .stat {
  padding: 24px 16px; text-align: center; border-right: 1px solid var(--rule);
}
.stat-band .stat:last-child { border-right: 0; }
.stat .big { font-size: 32px; font-weight: 600; color: var(--brand-green); }
.stat .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── Utility ──────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  background: var(--brand-green); color: var(--white) !important;
  font-weight: 500; font-size: 14px;
}
.btn:hover { background: var(--brand-green-dark); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--brand-green) !important;
  border: 1.5px solid var(--brand-green);
}
.btn-outline:hover { background: var(--brand-green); color: var(--white) !important; }

.lang-note {
  font-size: 13px; color: var(--muted); margin-top: 12px; font-style: italic;
}

/* ── Regional copy variants ───────────────────────────────────
   Elements tagged data-r="za|us|eu" are shown only when <html>
   has the matching data-region attribute. The auto-detect script
   in <head> sets data-region before body paints. Fallback: if no
   data-region is set, the ZA variant shows.
   ───────────────────────────────────────────────────────────── */
[data-r] { display: none !important; }
html[data-region="za"] [data-r="za"],
html[data-region="us"] [data-r="us"],
html[data-region="eu"] [data-r="eu"],
html:not([data-region]) [data-r="za"] { display: revert !important; }

/* ── Regional banner ──────────────────────────────────────────
   Top-of-page soft suggestion. Dismissible. Session-scoped. */
.region-banner {
  background: var(--brand-green-bg);
  border-bottom: 1px solid var(--rule);
  font-size: 14px; color: var(--brand-green-dark);
}
.region-banner[hidden] { display: none !important; }
.region-banner .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 24px;
}
.region-banner a { font-weight: 500; color: var(--brand-green-dark); text-decoration: underline; }
.region-banner-close {
  background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--brand-green-dark);
  padding: 0 4px; opacity: 0.7;
}
.region-banner-close:hover { opacity: 1; }
@media (max-width: 600px) {
  .region-banner .wrap { padding: 8px 16px; font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════════
   Direction C — iPhone mockups, product gallery, comparison chart
   When you want to swap to real screenshots later:
     - inside any .phone-screen, replace the .phone-app contents with
       <img class="phone-real" src="/screen-name.png" alt="...">
     - the .phone-real class is styled to fit the screen frame edge-to-edge
   ═══════════════════════════════════════════════════════════════════ */

/* ── Phone mockup — frame, notch, screen, status bar ───────────── */
.phone-mockup {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.phone-mockup.phone-hero { width: min(340px, 100%); }
.phone-mockup.phone-small { width: min(260px, 100%); }
.phone-frame {
  position: relative;
  background: #1A2520;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 30px 80px -20px rgba(15, 123, 108, 0.32),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.phone-mockup.phone-small .phone-frame { border-radius: 30px; padding: 9px; }
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: #1A2520;
  border-radius: 14px;
  z-index: 2;
}
.phone-mockup.phone-small .phone-notch { top: 12px; width: 72px; height: 18px; }
.phone-screen {
  position: relative;
  background: #FAFBFA;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}
.phone-mockup.phone-small .phone-screen { border-radius: 22px; }

/* ── Status bar ─────────────────────────────────────────────────── */
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px;
  font-size: 11px; font-weight: 600; color: var(--text-dark);
}
.phone-time { letter-spacing: 0.2px; }
.phone-status-icons { display: flex; gap: 5px; align-items: center; }
.phone-signal, .phone-wifi, .phone-battery {
  display: inline-block; background: var(--text-dark);
}
.phone-signal { width: 16px; height: 9px; clip-path: polygon(0 60%, 25% 60%, 25% 40%, 50% 40%, 50% 20%, 75% 20%, 75% 0%, 100% 0%, 100% 100%, 0 100%); }
.phone-wifi { width: 13px; height: 9px; clip-path: polygon(50% 100%, 0 30%, 25% 5%, 50% 0, 75% 5%, 100% 30%); }
.phone-battery {
  width: 22px; height: 10px; border-radius: 2.5px;
  position: relative;
}
.phone-battery::after {
  content: ""; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 4px; background: var(--text-dark); border-radius: 0 1px 1px 0;
}

/* ── App content shell ──────────────────────────────────────────── */
.phone-app {
  flex: 1; padding: 8px 16px 12px;
  display: flex; flex-direction: column; gap: 14px;
}
.phone-app-head { display: flex; justify-content: space-between; align-items: center; }
.phone-greet-tag { font-size: 10px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.phone-greet-name { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-top: 2px; }
.phone-screen-title { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-green); color: var(--white);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
}

/* ── Score card ─────────────────────────────────────────────────── */
.phone-score-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 16px;
  padding: 14px; text-align: center;
}
.phone-score-card-large { padding: 18px; }
.phone-score-label { font-size: 10px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.phone-score-wrap { position: relative; width: 130px; height: 130px; margin: 0 auto; display: grid; place-items: center; }
.phone-score-card-large .phone-score-wrap { width: 160px; height: 160px; }
.phone-score-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-score-num { position: relative; text-align: center; line-height: 1; }
.phone-score-big { display: block; font-size: 36px; font-weight: 600; color: var(--brand-green); }
.phone-score-card-large .phone-score-big { font-size: 44px; }
.phone-score-small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.phone-score-trend { font-size: 11px; color: var(--brand-green); margin-top: 10px; }
.phone-arrow-up { color: var(--brand-green); font-size: 10px; }

/* ── Mini stat row (hero only) ─────────────────────────────────── */
.phone-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-mini-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; }
.phone-mini-num { font-size: 18px; font-weight: 600; color: var(--text-dark); }
.phone-mini-unit { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 1px; }
.phone-mini-lbl { font-size: 9px; color: var(--muted); letter-spacing: 0.6px; text-transform: uppercase; margin-top: 2px; }
.phone-mini-bar { height: 4px; background: var(--brand-green-bg); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.phone-mini-bar span { display: block; height: 100%; background: var(--brand-green); border-radius: 999px; }

/* ── Section label inside app ──────────────────────────────────── */
.phone-section-label { font-size: 9px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }

/* ── Week grid (hero) ──────────────────────────────────────────── */
.phone-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.phone-week-cell {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-green-bg); border: 1px solid var(--rule);
  display: grid; place-items: center;
}
.phone-week-cell.on { background: var(--brand-green); border-color: var(--brand-green); }
.phone-week-cell.partial { background: var(--gold); border-color: var(--gold); }
.phone-week-day { font-size: 8px; font-weight: 700; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.5px; }
.phone-week-cell:not(.on):not(.partial) .phone-week-day { color: var(--muted); }

/* ── Shot/medication card ──────────────────────────────────────── */
.phone-shot-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px;
  padding: 10px 12px; margin-top: 4px;
}
.phone-shot-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-green-bg); display: grid; place-items: center; font-size: 14px; }
.phone-shot-title { font-size: 12px; font-weight: 600; color: var(--text-dark); }
.phone-shot-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* ── Bottom nav (hero only) ────────────────────────────────────── */
.phone-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-top: 1px solid var(--rule);
  padding: 10px 12px 16px;
}
.phone-nav-item { text-align: center; font-size: 16px; color: var(--muted); opacity: 0.5; }
.phone-nav-item.active { color: var(--brand-green); opacity: 1; }

/* ── Sub-scores list (gallery score detail) ────────────────────── */
.phone-subscores { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.phone-subscore { display: grid; grid-template-columns: 64px 1fr 22px; align-items: center; gap: 8px; }
.phone-sub-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.phone-sub-bar { height: 5px; background: var(--brand-green-bg); border-radius: 999px; overflow: hidden; }
.phone-sub-bar span { display: block; height: 100%; background: var(--brand-green); border-radius: 999px; }
.phone-sub-val { font-size: 11px; font-weight: 600; color: var(--text-dark); text-align: right; }

/* ── Plate-scan / camera mockup ────────────────────────────────── */
.phone-camera {
  position: relative;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #1A2520;
  margin-top: 4px;
}
.phone-camera-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 35% 45%, rgba(201, 126, 26, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(15, 123, 108, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #2a3530 0%, #1A2520 100%);
}
.phone-camera-frame {
  position: absolute; inset: 18px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}
.phone-detect-card {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px; padding: 10px 12px;
  backdrop-filter: blur(8px);
}
.phone-detect-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.phone-detect-row strong { color: var(--text-dark); }
.phone-detect-conf { font-size: 9px; color: var(--brand-green); font-weight: 600; }
.phone-macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0; }
.phone-macro { background: var(--brand-green-bg); border-radius: 6px; padding: 4px 2px; text-align: center; }
.phone-macro.highlight { background: var(--brand-green); }
.phone-macro.highlight .phone-macro-val, .phone-macro.highlight .phone-macro-lbl { color: var(--white); }
.phone-macro-val { display: block; font-size: 10px; font-weight: 600; color: var(--text-dark); }
.phone-macro-lbl { display: block; font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 1px; }
.phone-detect-cta {
  background: var(--brand-green); color: var(--white);
  text-align: center; font-size: 11px; font-weight: 600;
  padding: 7px; border-radius: 7px; margin-top: 2px;
}

/* ── Doctor PDF preview ────────────────────────────────────────── */
.phone-pdf-preview {
  flex: 1; display: grid; place-items: center;
  background: #f0f2f1; border-radius: 12px; padding: 12px; margin-top: 4px;
}
.phone-pdf-page {
  width: 100%; max-width: 180px;
  background: var(--white); border-radius: 4px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.phone-pdf-letterhead {
  background: var(--brand-green); color: var(--white);
  padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
}
.phone-pdf-shield { font-size: 16px; }
.phone-pdf-wm { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; }
.phone-pdf-sub { font-size: 7px; opacity: 0.85; margin-top: 1px; }
.phone-pdf-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.phone-pdf-line {
  height: 3px; background: var(--rule); border-radius: 999px; width: 70%;
}
.phone-pdf-line.wide { width: 100%; }
.phone-pdf-chart {
  height: 32px; margin: 4px 0;
  background:
    linear-gradient(180deg, rgba(15, 123, 108, 0.18) 0%, rgba(15, 123, 108, 0) 100%),
    linear-gradient(to right, transparent calc(100% - 1px), var(--rule) calc(100% - 1px));
  border-bottom: 1px solid var(--rule);
  border-radius: 3px;
  position: relative;
}
.phone-pdf-chart::after {
  content: "";
  position: absolute; inset: 4px;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green) 50%, transparent 50%);
  clip-path: polygon(0 60%, 15% 50%, 30% 45%, 45% 35%, 60% 30%, 75% 20%, 100% 15%, 100% 100%, 0 100%);
  opacity: 0.35;
}
.phone-pdf-pill {
  background: var(--brand-green); color: var(--white);
  font-size: 7px; font-weight: 600;
  padding: 4px 6px; border-radius: 3px;
  margin-top: 2px; text-align: center;
}
.phone-share-cta {
  background: var(--brand-green); color: var(--white);
  text-align: center; font-size: 11px; font-weight: 600;
  padding: 8px; border-radius: 8px; margin-top: 4px;
}

/* ── Hero grid swap — phone takes proper space ─────────────────── */
.hero-grid { align-items: stretch; }
.hero .phone-mockup { justify-self: center; align-self: center; }
@media (max-width: 880px) {
  .hero .phone-mockup { margin: 0 auto; }
}

/* ── Product gallery section ───────────────────────────────────── */
.product-gallery { background: var(--white); padding: 80px 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: 1fr; gap: 56px; } }
.gallery-item { text-align: center; }
.gallery-item .phone-mockup { margin: 0 auto 28px; display: block; }
.gallery-item h3 { font-size: 19px; margin-bottom: 6px; }
.gallery-item p { font-size: 14px; color: var(--muted); max-width: 32ch; margin: 0 auto; }

/* ── Muscle-preservation section (rebuilt) ─────────────────────── */
.preservation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: 1080px; margin: 0 auto 56px;
  align-items: center;
}
@media (max-width: 880px) { .preservation-grid { grid-template-columns: 1fr; gap: 32px; } }
.preservation-text p { font-size: 16px; line-height: 1.7; color: var(--text-dark); }
.preservation-text p:not(:last-child) { margin-bottom: 16px; }

.preservation-chart-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  padding: 28px;
  box-shadow: 0 20px 40px -20px rgba(15, 123, 108, 0.15);
}
.chart-eyebrow { font-size: 11px; text-transform: uppercase; color: var(--gold); font-weight: 700; letter-spacing: 1.2px; margin-bottom: 20px; }
.chart-bars { display: flex; flex-direction: column; gap: 18px; margin-bottom: 16px; }
.chart-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.chart-row-label { font-size: 12px; font-weight: 600; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.chart-row-bar { height: 28px; background: var(--brand-green-bg); border-radius: 6px; overflow: hidden; position: relative; }
.chart-row-fill {
  height: 100%; border-radius: 6px;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
  animation: chart-grow 1.4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes chart-grow { from { width: 0; } }
.chart-row-fill-bad { background: linear-gradient(90deg, #b85d3a 0%, #9d4e30 100%); }
.chart-row-fill-good { background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-green-dark) 100%); }
.chart-row-val { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-top: 2px; }
.chart-footnote { font-size: 11px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--rule); padding-top: 14px; }

/* ── Stat strip ────────────────────────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  overflow: hidden;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip-item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--rule);
}
.stat-strip-item:last-child { border-right: 0; }
@media (max-width: 720px) {
  .stat-strip-item { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat-strip-item:last-child { border-bottom: 0; }
}
.stat-strip-num {
  font-size: 32px; font-weight: 600; color: var(--brand-green);
  line-height: 1; margin-bottom: 10px;
}
.stat-strip-unit { font-size: 16px; color: var(--muted); font-weight: 400; }
.stat-strip-lbl { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════════
   Visual confidence pass — bolder headings, dramatic hero,
   statement band, distinct hero feature cards
   ═══════════════════════════════════════════════════════════════════ */

/* ── Bolder headings sitewide ──────────────────────────────────── */
h1 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.05; }
h2 { font-weight: 600; letter-spacing: -0.018em; line-height: 1.1; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
h4 { font-weight: 600; letter-spacing: -0.005em; }

/* Refine hero h1 size + spacing */
.hero h1 { font-size: clamp(38px, 5.6vw, 60px); margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--brand-green); }
.hero .lede {
  font-size: 18px; line-height: 1.55;
  color: var(--text-dark); opacity: 0.78;
  margin: 4px 0 28px; max-width: 42ch;
  font-weight: 400;
}

/* Section headings — bigger, tighter */
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { font-size: 17px; line-height: 1.55; max-width: 56ch; margin: 0 auto; }

/* Eyebrow — more presence */
.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.8px;
}

/* ── Hero — more drama on the phone ────────────────────────────── */
.hero { padding: 80px 0 100px; }
.hero-grid { gap: 64px; }
.hero .phone-mockup.phone-hero {
  width: min(360px, 100%);
  transform: rotate(2deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.hero .phone-mockup.phone-hero:hover { transform: rotate(0deg) translateY(-4px); }
.hero .phone-frame {
  box-shadow:
    0 50px 100px -30px rgba(15, 123, 108, 0.45),
    0 20px 40px -20px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}

/* Add a subtle glow behind the phone */
.hero-grid > div:last-child {
  position: relative;
}
.hero-grid > div:last-child::before {
  content: "";
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  background: radial-gradient(ellipse, rgba(15, 123, 108, 0.22) 0%, transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

/* Trust line — better presence */
.hero .trust { font-size: 13px; color: var(--muted); margin-top: 20px; font-weight: 500; }

/* ── Statement band — the "wow" moment ─────────────────────────── */
.statement-band {
  background:
    radial-gradient(ellipse at top right, rgba(201, 126, 26, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  pointer-events: none;
}
.statement-band > .wrap { position: relative; z-index: 1; }
.statement-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 220, 130, 0.95);
  margin-bottom: 20px;
}
.statement-headline {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 56px;
}
.statement-accent { color: rgba(255, 220, 130, 0.95); }
.statement-accent em { font-style: italic; font-weight: 700; }
.statement-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .statement-split { grid-template-columns: 1fr; }
  .statement-divider { display: none; }
}
.statement-stat { text-align: center; }
.statement-stat-num {
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.96);
}
.statement-stat-good .statement-stat-num { color: rgba(255, 220, 130, 0.98); }
.statement-pct { font-size: 0.5em; font-weight: 600; opacity: 0.85; margin-left: 2px; }
.statement-stat-lbl {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-top: 16px;
}
.statement-stat-lbl strong { color: var(--white); font-weight: 600; }
.statement-stat-source {
  font-size: 12px; opacity: 0.65; display: inline-block; margin-top: 6px;
  letter-spacing: 0.3px;
}
.statement-divider {
  width: 1px; height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}
.statement-footer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 56px;
  letter-spacing: 0.3px;
}

/* ── Features — make the 2 hero features visually dominant ─────── */
.feature-grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 881px) {
  .feature-grid {
    grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: row;
  }
  .feature.hero-feature {
    grid-column: span 2;
    grid-row: span 1;
    padding: 36px;
  }
  .feature:not(.hero-feature) {
    padding: 22px;
  }
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(15, 123, 108, 0.18);
}
.feature.hero-feature {
  border: 2px solid var(--brand-green);
  background: linear-gradient(135deg, var(--white) 0%, var(--brand-green-bg) 100%);
}
.feature.hero-feature::after {
  content: "Hero feature";
  position: absolute;
  top: 14px; right: 14px;
  background: var(--brand-green);
  color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.feature.hero-feature .feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  font-size: 24px;
  background: var(--brand-green);
  color: var(--white);
}
.feature.hero-feature h3 { font-size: 22px; }
.feature.hero-feature p { font-size: 15px; color: var(--text-dark); opacity: 0.78; line-height: 1.55; }

/* ── Stat strip — bigger, heavier ──────────────────────────────── */
.stat-strip-num {
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-strip-unit { font-size: 0.42em; }
.stat-strip-lbl { font-size: 14px; line-height: 1.55; }
.stat-strip-item { padding: 36px 24px; }

/* ── Section spacing — more breathing room ────────────────────── */
section { padding: 88px 0; }
.section-head { margin-bottom: 56px; }

/* ════════════════════════════════════════════════════════════════════
   RADICAL DIRECTION — cinematic dark hero, editorial typography
   Deliberate departure from v2 brief tokens, sanctioned by Helen
   on 2026-05-19 ("doesn't wow me, do something radical").
   Brand colors preserved; the way they're used is radical.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero — cinematic dark ─────────────────────────────────────── */
.hero.hero-dark {
  background:
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(15, 123, 108, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(201, 126, 26, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #050807 0%, #0c1411 50%, #0a1815 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  min-height: 100vh;
  display: flex; align-items: center;
}
@media (max-width: 880px) { .hero.hero-dark { padding: 64px 0 88px; min-height: auto; } }

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 90%);
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: -10%; right: -10%;
  background: radial-gradient(circle, rgba(15, 200, 175, 0.18) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-dark .wrap { position: relative; z-index: 2; }
.hero-dark .hero-grid { gap: 80px; }
@media (max-width: 880px) { .hero-dark .hero-grid { gap: 56px; } }

/* Eyebrow above the headline */
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.hero-eyebrow-accent { color: rgba(255, 220, 130, 0.9); font-weight: 700; }

/* The headline itself — massive, italic accent, displayed on dark */
.hero-h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 32px;
  max-width: 13ch;
  text-wrap: balance;
  -webkit-text-wrap: balance;
}
.hero-h1 .hero-h1-accent { display: inline-block; text-wrap: balance; }
.hero-h1-accent {
  color: rgba(255, 220, 130, 0.95);
  font-weight: 700;
  font-style: italic;
}
.hero-dark .lede {
  font-size: 18px; line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px; max-width: 44ch;
  font-weight: 400;
}
.hero-dark .lede strong { color: var(--white); font-weight: 600; }
.hero-dark .drugs {
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
  margin: 0 0 32px;
}
.hero-dark .drugs strong { color: rgba(255, 220, 130, 0.85); font-weight: 600; }
.hero-dark .trust {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 22px;
  font-weight: 500;
}

/* Hero CTA — brighter, with glow */
.hero-dark .hero-cta .store-btn {
  background: var(--white);
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-dark .hero-cta .store-btn:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(15, 123, 108, 0.4);
}

/* The phone — glowing, slight rotation, dramatic */
.hero-phone-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
}
@media (max-width: 880px) { .hero-phone-wrap { min-height: auto; padding: 20px 0; } }
.phone-glow {
  position: absolute;
  width: 420px; height: 600px;
  background: radial-gradient(ellipse, rgba(15, 200, 175, 0.45) 0%, rgba(15, 123, 108, 0.15) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.hero-dark .phone-mockup.phone-hero {
  position: relative; z-index: 1;
  width: min(340px, 100%);
  transform: rotate(-3deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.hero-dark .phone-mockup.phone-hero:hover { transform: rotate(0deg) translateY(-6px); }
.hero-dark .phone-frame {
  background: #0a0d0c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(15, 200, 175, 0.4),
    0 30px 80px -10px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}

/* ── THESIS section — pure black editorial moment ──────────────── */
.thesis-band {
  background: #000;
  color: var(--white);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thesis-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(15, 200, 175, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 126, 26, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.thesis-band > .wrap { position: relative; z-index: 1; }
.thesis-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255, 220, 130, 0.7);
  padding: 6px 14px;
  border: 1px solid rgba(255, 220, 130, 0.25);
  border-radius: 999px;
  margin-bottom: 40px;
}
.thesis-head {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 80px;
  max-width: 20ch;
  margin-left: auto; margin-right: auto;
}
.thesis-head em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.thesis-accent { color: rgba(255, 220, 130, 0.95); }

.thesis-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .thesis-split { grid-template-columns: 1fr; gap: 56px; }
  .thesis-vs { display: none; }
}
.thesis-col { text-align: center; }
.thesis-num {
  font-size: clamp(80px, 11vw, 140px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  display: inline-block;
}
.thesis-num-bad { color: var(--white); }
.thesis-num-good {
  color: rgba(255, 220, 130, 0.98);
  text-shadow: 0 0 40px rgba(255, 220, 130, 0.4);
}
.thesis-pct {
  font-size: 0.42em; font-weight: 700;
  opacity: 0.7; margin-left: 4px;
}
.thesis-lbl {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 28ch;
  margin-left: auto; margin-right: auto;
}
.thesis-lbl-strong { color: var(--white); font-weight: 600; }
.thesis-lbl strong { color: var(--white); font-weight: 600; }
.thesis-vs {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}
.thesis-foot {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 80px;
  letter-spacing: 0.5px;
}

/* ── CTA block — black instead of brand green ──────────────────── */
.cta-block-dark {
  background:
    radial-gradient(circle at 30% 50%, rgba(15, 123, 108, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201, 126, 26, 0.15) 0%, transparent 50%),
    #000;
}
.cta-block-dark h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.cta-block-dark .store-btn {
  background: var(--white);
  color: var(--text-dark) !important;
  padding: 14px 22px;
  font-weight: 600;
  border-radius: 12px;
}

/* ── Section rhythm — give product gallery and pricing
       light backgrounds, alternating with dark ──────────────────── */
.product-gallery { background: var(--bg); }

/* ── Phone — Muscle Guard brand row at top of app ─────────────── */
.phone-app-brand {
  display: flex; align-items: center; gap: 7px;
  padding: 2px 0 4px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2px;
}
.phone-shield {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.phone-wordmark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--brand-green);
  flex: 1;
}
.phone-bell {
  font-size: 12px;
  opacity: 0.55;
  filter: grayscale(0.6);
}

/* ── Real screenshot showcase ────────────────────────────────── */
.screenshot-showcase {
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-green-bg) 100%);
  padding: 80px 0 96px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 48px;
}
@media (max-width: 1024px) { .screenshot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .screenshot-grid { grid-template-columns: 1fr; gap: 32px; } }
.screenshot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.screenshot-card img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15, 123, 108, 0.18), 0 4px 10px rgba(0, 0, 0, 0.06);
  display: block;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screenshot-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(15, 123, 108, 0.24), 0 6px 14px rgba(0, 0, 0, 0.08);
}
.screenshot-card figcaption {
  max-width: 320px;
}
.screenshot-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-dark);
}
.screenshot-card figcaption p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ── Screenshot sizing — !important to bulletproof against cached CSS ── */
.screenshot-card img,
.screenshot-grid img,
.screenshot-showcase img {
  width: 100% !important;
  max-width: 280px !important;
  height: auto !important;
}

/* ── Hero — real screenshot replacing the SVG mockup ─────────── */
.hero-screenshot {
  position: relative;
  z-index: 1;
  width: min(340px, 100%) !important;
  max-width: 340px !important;
  height: auto !important;
  border-radius: 36px;
  box-shadow:
    0 0 60px rgba(15, 200, 175, 0.4),
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(-3deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  display: block;
  margin: 0 auto;
}
.hero-screenshot:hover { transform: rotate(0deg) translateY(-6px); }

/* ── Drug grid ────────────────────────────────────────────────── */
.drug-grid-section {
  background: var(--bg);
  padding: 80px 0;
}
.drug-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) { .drug-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (max-width: 480px) { .drug-grid { grid-template-columns: repeat(2, 1fr); } }
.drug-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.drug-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(15, 123, 108, 0.15);
}
.drug-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
}
.drug-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.2px;
}

/* ── Alternating feature rows — editorial layout ──────────────── */
.feature-rows {
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-green-bg) 100%);
  padding: 96px 0 120px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 96px;
}
.feature-row:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .feature-row-reverse > .feature-row-img { order: -1; }
}
.feature-row-reverse > .feature-row-img { order: 2; }
.feature-row-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.feature-row-img::before {
  content: "";
  position: absolute;
  width: 80%; height: 60%;
  top: 20%; left: 10%;
  background: radial-gradient(ellipse, rgba(15, 123, 108, 0.18) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.feature-row-img img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 320px !important;
  height: auto !important;
  border-radius: 28px;
  box-shadow:
    0 30px 60px -20px rgba(15, 123, 108, 0.3),
    0 8px 16px -4px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}
.feature-row-text { max-width: 460px; }
.feature-row-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--brand-green);
  background: var(--brand-green-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.feature-row-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--text-dark);
}
.feature-row-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
}
.feature-row-text p:last-child { margin-bottom: 0; }
.feature-row-text p strong { color: var(--text-dark); font-weight: 600; }

/* ── Feature grid override — uniform 3×3 layout ─────────────────
   Drops the special 5-col layout with hero-feature spans so all
   9 tiles render the same size, in 3 rows of 3. Looks tidier
   than the lopsided 5+4 layout. */
@media (min-width: 881px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 20px !important;
  }
  .feature.hero-feature {
    grid-column: span 1 !important;
    padding: 22px !important;
  }
  .feature.hero-feature h3 { font-size: 17px !important; }
  .feature.hero-feature p { font-size: 14px !important; }
  .feature.hero-feature .feature-icon {
    width: 40px !important; height: 40px !important;
    border-radius: 10px !important; font-size: 16px !important;
  }
  /* Drop the "Hero feature" badge — no longer visually different */
  .feature.hero-feature::after { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════
   Build Spec v2 — research hub, comparison table, field notes,
   article template, story page, demoted for-doctors
   ═══════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb (visible, every research article) ─────────────── */
.breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumb .wrap { color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-green); }
.bc-sep { color: var(--rule); margin: 0 6px; }
.bc-current { color: var(--text-dark); font-weight: 500; }

/* ── Article byline (research template) ───────────────────────── */
.article-byline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

/* ── Article boundary footer (load-bearing) ───────────────────── */
.article-boundary {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  background: var(--bg);
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--brand-green);
  margin: 48px 0 24px;
  line-height: 1.55;
}

/* ── Article CTA block (App + Subscribe) ──────────────────────── */
.article-cta-block {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .article-cta-block { grid-template-columns: 1fr; } }
.article-cta-col h3 { font-size: 18px; margin-bottom: 8px; }
.article-cta-col p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ── Subscribe form (used in /research/ + article footer) ─────── */
.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
}
.subscribe-form input[type=email] {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: var(--white);
  color: var(--text-dark);
}
.subscribe-form input[type=email]:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(15,123,108,0.15);
}
.subscribe-form button {
  background: var(--brand-green);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.subscribe-form button:hover { background: var(--brand-green-dark); }

/* ── Citations list ───────────────────────────────────────────── */
.citations {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
}
.citations li {
  margin-bottom: 10px;
  padding-left: 0;
}

/* ── Research Hub: hero ───────────────────────────────────────── */
.research-hero {
  background:
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(15, 123, 108, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--brand-green-bg) 0%, var(--white) 100%);
  padding: 80px 0 64px;
  text-align: center;
}
.research-hero h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 24ch;
  margin: 8px auto 16px;
  text-wrap: balance;
}
.research-hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto 12px;
}
.research-hero-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 36px;
}
.research-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-large {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}

/* ── Research Hub: branches ───────────────────────────────────── */
.research-branch { padding: 80px 0; }
.research-branch.alt { background: var(--brand-green-bg); }
.branch-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.branch-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--gold-bg);
  background: var(--gold-bg);
  border-radius: 999px;
  margin-bottom: 18px;
}
.branch-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.branch-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.branch-grid-two { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
@media (max-width: 880px) { .branch-grid, .branch-grid-two { grid-template-columns: 1fr; } }

.branch-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--text-dark) !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -15px rgba(15,123,108,0.25);
  border-color: var(--brand-green);
}
.branch-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  background: var(--brand-green-bg);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.branch-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.branch-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.branch-card-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
}

/* ── Research Hub: trust badge + subscribe block ──────────────── */
.research-trust {
  background: var(--bg);
  padding: 60px 0;
}
.trust-badge {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}
.trust-badge-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.trust-badge-body {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

.research-subscribe {
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-green-bg) 100%);
  padding: 60px 0;
  text-align: center;
}
.research-subscribe h2 { font-size: clamp(24px, 3vw, 32px); }
.research-subscribe p { color: var(--muted); margin-bottom: 24px; }
.research-subscribe .subscribe-form { margin: 0 auto; }
.subscribe-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ── Homepage: comparison table ───────────────────────────────── */
.comparison-section { background: var(--white); padding: 80px 0; }
.comparison-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.comparison-table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: var(--bg);
}
.comparison-table th.us-col, .comparison-table td.us-col {
  background: var(--brand-green-bg);
  color: var(--brand-green-dark);
  font-weight: 600;
}
.comparison-table th.us-col { background: var(--brand-green); color: var(--white); }
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}
.comparison-table .yes { color: var(--brand-green); font-weight: 600; }
.comparison-table .no { color: var(--muted); }
.comparison-table .partial { color: var(--gold); }
.comparison-foot {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* ── Homepage: field notes ────────────────────────────────────── */
.field-notes { background: var(--bg); padding: 80px 0; }
.field-notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 880px) { .field-notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .field-notes-grid { grid-template-columns: 1fr; } }
.field-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none !important;
  color: var(--text-dark) !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.field-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(15,123,108,0.18);
}
.field-card-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.field-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.35;
}
.field-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  flex: 1;
  line-height: 1.5;
}
.field-card-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── Footer: 3-column rebuild + boundary statement ────────────── */
.footer-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid-3 { grid-template-columns: 1fr; gap: 32px; } }
.boundary-statement {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

/* ── Story page ───────────────────────────────────────────────── */
.story-article p { font-size: 16px; line-height: 1.7; }

/* ── Hero CTA hierarchy: primary "Read the evidence" big, App store secondary smaller ─ */
.hero-cta-secondary { margin-top: 16px; opacity: 0.85; }
.store-btn-small {
  padding: 10px 16px !important;
  font-size: 13px !important;
}
.store-btn-small .store-name { font-size: 13px !important; }

/* On-dark variant of btn-outline for the thesis section button */
.btn-on-dark {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.4) !important;
  background: transparent !important;
}
.btn-on-dark:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

/* Pricing fine print italic */
.pricing-fine {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  font-style: italic;
}

/* Feature: research card highlighted */
.feature.feature-research { border: 2px dashed var(--brand-green); background: var(--brand-green-bg); }
.feature.feature-research a { color: var(--brand-green-dark); font-weight: 600; }

.research-hero-meta-2 {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}
