/* ===========================================================
   Health Vitality Lab — Advertorial Presell Page
   Editorial, trustworthy, health-publication aesthetic
   =========================================================== */

:root {
  --ink: #1a2332;
  --ink-soft: #5b6472;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e4e1d8;
  --accent: #1f6f54;       /* deep trust green */
  --accent-dark: #16533f;
  --accent-soft: #e8f3ee;
  --gold: #b68a35;         /* editorial gold accent */
  --danger-soft: #faf6ec;
  --shadow: 0 4px 18px rgba(26, 35, 50, 0.07);
  --shadow-lg: 0 10px 30px rgba(26, 35, 50, 0.12);
  --radius: 10px;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Masthead ---------- */
.masthead {
  background: var(--ink);
  color: #f5f3ec;
  padding: 14px 20px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.kicker {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c9cfd8;
  margin-bottom: 4px;
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ---------- Page wrap ---------- */
.wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 20px 20px;
}

.sponsored {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.byline {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 22px;
}

figure {
  margin: 0 0 24px;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

p {
  font-size: 18px;
  color: #2b3442;
  margin: 0 0 20px;
}

.lede {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--accent-dark);
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 20px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Ingredient list ---------- */
.ingredient-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ingredient-list li {
  font-size: 16px;
  color: #2b3442;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.ingredient-list li:last-child {
  border-bottom: none;
}

.ingredient-list strong {
  color: var(--accent-dark);
}

/* ---------- CTA ---------- */
.cta-block {
  text-align: center;
  margin: 30px 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-button:hover,
.cta-button:active {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.cta-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Stats ---------- */
.stat-row {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.stat-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 18px 10px;
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #c9cfd8;
  padding: 28px 20px 40px;
  margin-top: 30px;
}

footer > div:first-child {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #e8ecf1;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  text-decoration: underline;
}

footer .legal {
  max-width: 700px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  color: #8e97a4;
}

/* ---------- Legal pages (privacy, terms, contact) ---------- */
.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-page h1 {
  font-size: 26px;
}

.legal-page h2 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent-dark);
  margin-top: 32px;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  color: #2b3442;
}

.legal-updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .brand { font-size: 20px; }
  h1 { font-size: 25px; }
  .lede { font-size: 18px; }
  p { font-size: 16.5px; }
  .pullquote { font-size: 17px; padding: 16px 18px; }
  .stat-row { flex-direction: column; }
  .cta-button { font-size: 17px; padding: 16px 18px; }
}
