:root {
  --bg-cream: #ffffff;
  --bg-tint: #fbfaf6;
  --bg-card: #fff7f4;
  --bg-blue: #145da0;
  --bg-dark: #6e6e6e;

  --text: #111111;
  --text-on-cream: #1a1a1a;
  --text-muted: #555555;
  --text-faint: #7a7a7a;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.85);

  --accent-coral: #d3724d;
  --accent-coral-deep: #b85e3b;
  --link-blue: #145da0;
  --cta: #d96a3f;
  --cta-hover: #c45929;

  --rule: #ececec;

  --measure: 855px;
  --measure-narrow: 640px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  --font-serif: "adobe-caslon-pro", "Adobe Caslon Pro", "cormorant-garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity 0.15s ease;
}
a:hover { opacity: 0.85; }
a:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
  border-radius: 2px;
}

.link-blue { color: var(--link-blue) !important; font-weight: 700; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg-cream);
  padding: var(--space-2) var(--space-3);
  z-index: 100;
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); }

/* Advertisement banner (Wix mfda3yug — 10px, gray, centered) */
.ad-banner {
  background: var(--bg-cream);
  padding: 8px var(--space-4) 4px;
}
.ad-banner p {
  max-width: 1300px;
  margin: 0 auto;
  font-size: 10px;
  color: #6e6e6e;
  line-height: 1.4;
  text-align: center;
}
.ad-label {
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #6e6e6e;
}

/* Bands (full-bleed sections) */
.band {
  width: 100%;
  padding: var(--space-7) var(--space-4);
}
/* Brand section: 50px top, 0 bottom (matches Wix mfda3yv22) */
.band-brand { padding: 50px var(--space-4) 0; }
/* Byline bar: 25px top + 25px bottom (matches Wix mfda3yv98) */
.band-byline-bar { padding: 25px var(--space-4); }
.band-top { padding-top: var(--space-6); }
.band-cream { background: var(--bg-cream); color: var(--text); }
.band-blue {
  background: var(--bg-blue);
  color: var(--text-on-dark);
}
.band-blue a { color: var(--text-on-dark); }
.band-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-bottom: var(--space-6);
}
/* Post-content + Why I Recommend sections use cream tint per Wix (color_16 = #FBFAF6) */
.band-top { background: var(--bg-tint); }
.band-recommend { background: var(--bg-tint); }
.band-dark a { color: var(--text-on-dark); }
.band-disclaimer { padding-top: var(--space-6); padding-bottom: var(--space-6); }

.container {
  max-width: var(--measure);
  margin: 0 auto;
}
.container-narrow { max-width: var(--measure-narrow); }
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
}

/* Site header (Wix mfda3yv22: brand + tagline section) */
.site-header {
  margin: 0;
}
.site-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--accent-coral);
  text-align: left;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-tag {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
.site-tag em { font-style: italic; }

@media (max-width: 1000px) {
  .site-title { text-align: center; font-size: 32px; }
  .site-tag { text-align: center; }
}

/* Top byline card (Wix mfda3yvb4 box wrapping avatar + text) */
.byline-top {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg-card);
  border-radius: 80px;
  padding: var(--space-3) var(--space-5);
  margin: 0;
}
.byline-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  flex-shrink: 0;
}
.byline-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

@media (min-width: 750px) and (max-width: 1000px) {
  .byline-avatar { width: 130px; height: 130px; }
}
@media (max-width: 750px) {
  .byline-top {
    border-radius: 32px;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }
  .byline-avatar { width: 85px; height: 85px; }
}

/* Post title + meta */
.post-title {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: var(--space-5) 0 var(--space-3);
  color: #000000;
  text-align: left;
}
.post-meta {
  margin: 0 0 var(--space-5);
  color: var(--text);
  font-style: italic;
  font-size: 12px;
  line-height: 1.6;
}

/* Body text — default 16px (Why I Recommend uses this) */
.band p {
  margin: 0 0 var(--space-4);
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}
.band p:last-child { margin-bottom: 0; }

/* Intro + supplements + blue band paragraphs are 18px per Wix spec */
.band-top p,
.band-supplements p,
.band-blue p {
  font-size: 18px;
  line-height: 1.6;
}

/* Section headings */
.section-heading {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  text-align: center;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-6);
  color: var(--accent-coral);
}
.section-heading-light { color: var(--text-on-dark); }
.section-heading-left { text-align: left; }

/* "Enter RELIEF3..." in blue band uses 39px per Wix spec */
.band-blue .section-heading { font-size: 39px; }
/* "Why I Recommend RELIEF3" uses 42px per Wix spec */
.band-recommend .section-heading { font-size: 42px; }

@media (max-width: 1000px) {
  .post-title { font-size: 29px; line-height: 1.2; }
  .section-heading { font-size: 31px; line-height: 1; }
  .band-blue .section-heading { font-size: 31px; }
  .band-recommend .section-heading { font-size: 31px; }
}

.section-subheading {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  text-align: left;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: var(--space-6) 0 var(--space-4);
  color: #fbfaf6;
}
.section-subheading-light { color: #fbfaf6; }

/* Hero video */
.hero-video {
  margin: var(--space-5) 0 var(--space-3);
}
.hero-video video {
  width: 100%;
  background: #000;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-video figcaption {
  text-align: center;
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-top: var(--space-3);
}

/* CTA Button */
.cta-row {
  text-align: center;
  margin: var(--space-5) 0 0 !important;
}
.btn-cta {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  padding: 1rem 2.6rem;
  border-radius: 0;
  text-decoration: none !important;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.005em;
  transition: background 0.15s ease;
  border: 0;
}
.btn-cta:hover {
  background: var(--cta-hover);
  opacity: 1;
}

/* Supplement section: title + body left, image right */
.band-supplements .container { max-width: 920px; }

.supplement {
  margin: 0 0 var(--space-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.supplement h3 {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0;
  margin: 0 0 var(--space-3);
  color: var(--text);
  line-height: 1;
}
.supplement p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.supplement-img { margin: 0; order: -1; }
.supplement-img img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 760px) {
  .supplement {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-rows: auto auto;
    column-gap: var(--space-6);
    row-gap: var(--space-3);
    align-items: start;
  }
  .supplement h3 { grid-column: 1; grid-row: 1; }
  .supplement p { grid-column: 1; grid-row: 2; }
  .supplement-img {
    grid-column: 2;
    grid-row: 1 / span 2;
    order: 0;
  }
  .supplement-img img {
    aspect-ratio: 3 / 2;
  }
}

/* Split layout (in colored bands) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
  margin: 0 0 var(--space-5);
}
.split-img { margin: 0; }
.split-img img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.split-img-small img {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.split-body p {
  margin-bottom: var(--space-4);
  line-height: 1.75;
}
.split-body p:last-child { margin-bottom: 0; }

@media (min-width: 720px) {
  .split {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }
  .split.split-reverse {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .split.split-reverse .split-body { order: 1; }
  .split.split-reverse .split-img { order: 2; }
}

/* Hero image (Why I Recommend) */
.hero-img {
  margin: var(--space-5) 0 var(--space-6);
}
.hero-img img {
  width: 100%;
  border-radius: 8px;
  max-height: 420px;
  object-fit: cover;
}

/* Lists */
.weeks {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0;
  color: var(--text-on-dark);
}
.weeks li {
  margin: 0 0 var(--space-3);
  line-height: 1.6;
  font-size: 18px;
}
.weeks li:last-child { margin-bottom: 0; }
.weeks strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--text-on-dark);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.checks li {
  margin: 0 0 var(--space-4);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.6;
  font-size: 16px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-weight: 700;
}
.checks strong { color: var(--text); }

.ingredients {
  list-style: decimal;
  padding-left: 1.6rem;
  margin: 0 0 var(--space-5);
}
.ingredients li {
  margin: 0 0 var(--space-3);
  line-height: 1.6;
  font-size: 16px;
  padding-left: 0.25rem;
}
.ingredients strong { color: var(--text); }

/* Badge row */
.badges {
  margin: var(--space-7) 0 var(--space-6);
  text-align: center;
}
.badges img {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}

/* Bottom byline (in dark band) */
.byline-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
  margin-top: var(--space-3);
}
.byline-photo {
  margin: 0;
}
.byline-photo img {
  width: 100%;
  max-width: 390px;
  height: 402px;
  object-fit: cover;
  object-position: 49% 25%;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.byline-prose p {
  color: var(--text-on-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 var(--space-4);
}
.byline-prose p:last-child { margin-bottom: 0; }

@media (min-width: 720px) {
  .byline-bottom {
    grid-template-columns: 410px minmax(0, 1fr);
    gap: var(--space-6);
  }
}

/* Disclaimer (white band, Wix mfda3yz520 — 12px, gray, bold via inline) */
.disclaimer {
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: #6e6e6e;
  font-weight: 700;
}
.disclaimer p {
  margin: 0 0 var(--space-3) !important;
  font-size: 12px;
}
.disclaimer p:last-child { margin: 0 !important; }
.disclaimer strong { color: #6e6e6e; }
.disclaimer em { font-style: italic; }
.disclaimer a {
  color: #6e6e6e;
  font-weight: 700;
  text-decoration: underline;
}
.visit-line {
  margin-top: var(--space-3) !important;
  font-weight: 600;
}
.closing-line {
  margin-top: var(--space-3) !important;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-cream);
  color: var(--text-faint);
  padding: var(--space-3) var(--space-4) var(--space-4);
  text-align: center;
  font-size: 0.78rem;
}
.site-footer p { margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-cta { transition: none; }
}
