/* ==========================================================================
   [my] Wellness project — Design System
   Source of truth: Web Style Guide (Sleep Well Edition)
   Built static. Deploy: GitHub → Cloudflare Pages.
   --------------------------------------------------------------------------
   Everything a page needs lives here:
   - Design tokens (colour, type, spacing, radius, shadow)
   - Base element styles
   - Typographic scale (H1–H5, body, overline, quote, caption)
   - Components (buttons, cards, pricing card, swatches, layout containers)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. FONTS
   Newsreader (serif, headings) + Geist (sans, body) load from Google Fonts.
   Another Passion (script) is NOT on Google Fonts — drop the font file into
   /assets/fonts/ and the @font-face below picks it up. Until then it falls
   back gracefully to a cursive. Flagged for Phil.
--------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400;1,6..72,600&family=Geist:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Another Passion';
  src: url('../assets/fonts/AnotherPassion.woff2') format('woff2'),
       url('../assets/fonts/AnotherPassion.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------------
   2. DESIGN TOKENS
--------------------------------------------------------------------------- */
:root {
  /* --- Primary palette (60%) --- */
  --raven:        #423D3B;   /* primary text / dark surfaces */
  --bright-white: #F5F5F7;   /* primary background (style guide RGB typo 257 corrected to 247) */
  --dewkist:      #C5D2C1;   /* primary accent — sage green, used on buttons */

  /* --- Secondary palette (30%) --- */
  --dark-black:   #1D1D1F;   /* deepest surface */
  --baked:        #867F6D;   /* muted warm grey — secondary / metadata text */

  /* --- Wellness pillars (10% — categorisation only) --- */
  --lilac:        #B0A0C1;   /* Sleep Well */
  --twist-of-lime:#3D5B22;   /* Eat Well */
  --clementine:   #F98B30;   /* Move Well */
  --strawberry:   #E56161;   /* Feel Well */
  --breeze:       #B2D9EA;   /* Be Well */

  /* --- Semantic aliases --- */
  --color-bg:        var(--bright-white);
  --color-text:      var(--raven);
  --color-text-soft: var(--baked);
  --color-accent:    var(--dewkist);
  --color-ink:       var(--dark-black);

  /* --- Type families --- */
  --font-serif:  'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:   'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-script: 'Another Passion', 'Snell Roundhand', 'Brush Script MT', cursive;

  /* --- Type scale (desktop) --- */
  --fs-h1:    4rem;      /* 64px */
  --fs-h2:    3rem;      /* 48px */
  --fs-h3:    2.25rem;   /* 36px */
  --fs-h4:    1.375rem;  /* 22px */
  --fs-h5:    1.125rem;  /* 18px */
  --fs-body-lg: 1.3125rem; /* 21px */
  --fs-body:    1.125rem;  /* 18px */
  --fs-body-sm: 1rem;      /* 16px */
  --fs-overline:0.875rem;  /* 14px */
  --fs-quote:   1.5rem;    /* 24px */
  --fs-caption: 0.8125rem; /* 13px */

  /* --- Spacing scale --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-narrow: 760px;   /* readable prose width */
  --quote-max: 680px;

  /* --- Radius / shadow / motion --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-soft: 0 12px 40px rgba(66, 61, 59, 0.08);
  --shadow-card: 0 2px 24px rgba(66, 61, 59, 0.06);
  --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------------
   3. RESET / BASE
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

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

a { color: inherit; text-decoration: none; transition: color var(--ease), opacity var(--ease); }
a:hover { opacity: 0.7; }

::selection { background: var(--dewkist); color: var(--raven); }

/* ---------------------------------------------------------------------------
   4. TYPOGRAPHY
   Class names map 1:1 to the style guide's type specimen.
--------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-weight: 600; }

h1, .h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
}
.h3-italic {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
}
h4, .h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.3;
}
h5, .h5 {
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.4;
}

p { margin: 0 0 1.2em; }

.body-large {
  font-size: var(--fs-body-lg);
  font-weight: 300;
  line-height: 1.7;
}
.body {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
}
.body-secondary {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--color-text-soft);
}

.overline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--baked);
}

.quote {
  font-family: var(--font-serif);
  font-size: var(--fs-quote);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  max-width: var(--quote-max);
}

.caption {
  font-size: var(--fs-caption);
  font-weight: 400;
  color: var(--color-text-soft);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
}

/* ---------------------------------------------------------------------------
   5. LAYOUT
--------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3rem, 8vw, var(--space-7)); }
.section--tight { padding-block: clamp(2rem, 5vw, var(--space-5)); }

/* Surfaces */
.surface-dark  { background: var(--raven);      color: var(--bright-white); }
.surface-black { background: var(--dark-black);  color: var(--bright-white); }
.surface-sage  { background: var(--dewkist);     color: var(--raven); }
.surface-soft  { background: #EFEEEB; color: var(--raven); }
.surface-dark .overline,
.surface-black .overline { color: rgba(245,245,247,0.7); }
.surface-dark .body-secondary,
.surface-black .body-secondary { color: rgba(245,245,247,0.7); }

/* Simple responsive column grids */
.grid { display: grid; gap: clamp(1.5rem, 4vw, var(--space-4)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: var(--space-3); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   6. BUTTONS
   Primary = sage fill. Secondary = outline. Tertiary = text link.
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.1em 1.9em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--dewkist);
  color: var(--raven);
  border-color: var(--dewkist);
}
.btn--primary:hover { opacity: 1; background: #B5C4B0; border-color: #B5C4B0; }

.btn--secondary {
  background: transparent;
  color: var(--raven);
  border-color: var(--raven);
}
.btn--secondary:hover { opacity: 1; background: var(--raven); color: var(--bright-white); }

.btn--tertiary {
  background: transparent;
  color: var(--raven);
  border-color: transparent;
  padding-inline: 0.25em;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
}
.btn--tertiary:hover { opacity: 0.6; }

/* On dark backgrounds */
.surface-dark .btn--secondary,
.surface-black .btn--secondary {
  color: var(--bright-white);
  border-color: rgba(245,245,247,0.6);
}
.surface-dark .btn--secondary:hover,
.surface-black .btn--secondary:hover {
  background: var(--bright-white); color: var(--raven); border-color: var(--bright-white);
}
.surface-dark .btn--tertiary,
.surface-black .btn--tertiary { color: var(--bright-white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------------------------------------------------------------------------
   7. COMPONENTS
--------------------------------------------------------------------------- */

/* Card */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, var(--space-4));
  box-shadow: var(--shadow-card);
}

/* Colour swatch (style guide) */
.swatch {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.swatch__chip { height: 120px; }
.swatch__meta { padding: var(--space-2); }
.swatch__name { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 0.1em; }
.swatch__role { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: 0.08em; color: var(--baked); margin: 0 0 0.75em; }
.swatch__values { font-size: var(--fs-caption); line-height: 1.6; color: var(--baked); }
.swatch__values span { display: block; }

/* Pricing card */
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.75rem, 4vw, var(--space-4));
}
.pricing-card__line {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid #ECEAE6;
}
.pricing-card__line:last-of-type { border-bottom: 0; }
.pricing-card__total {
  font-family: var(--font-serif); font-size: 2rem; margin-top: var(--space-2);
}

/* Eyebrow + heading cluster */
.eyebrow-head > .overline { margin-bottom: var(--space-1); }

/* Type specimen rows */
.specimen { border-top: 1px solid #E4E2DD; padding: var(--space-3) 0; }
.specimen__label { font-size: var(--fs-caption); color: var(--baked); margin-top: var(--space-1); }

/* Divider */
.rule { border: 0; border-top: 1px solid #E4E2DD; margin: var(--space-5) 0; }

/* Pillar chip */
.pillar-chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: 0.08em;
}
.pillar-chip::before { content: ""; width: 0.85em; height: 0.85em; border-radius: 50%; background: var(--dot, var(--lilac)); }

/* ---------------------------------------------------------------------------
   8. SITE HEADER / FOOTER (shared shell)
--------------------------------------------------------------------------- */
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,245,247,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(66,61,59,0.06);
}
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem; gap: 1.5rem;
}
.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500; line-height: 1; letter-spacing: -0.01em;
}
.brand-logo small { font-size: 0.55em; vertical-align: super; opacity: 0.7; }
@media (max-width: 640px) { .site-nav a:not(.btn) { display: none; } }

.site-footer {
  background: var(--raven); color: rgba(245,245,247,0.85);
  padding-block: var(--space-5);
  font-size: var(--fs-body-sm);
}
.site-footer a:hover { color: #fff; opacity: 1; }
.site-footer__fine { font-size: var(--fs-caption); color: rgba(245,245,247,0.55); line-height: 1.7; }

/* ---------------------------------------------------------------------------
   8b. PAGE COMPONENTS (added for Wave 1 builds)
--------------------------------------------------------------------------- */

/* Numbered steps (3-step ritual / how it works) */
.steps { display: grid; gap: var(--space-3); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--space-3); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--dewkist); color: var(--raven);
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
  margin-bottom: var(--space-2);
}
.surface-dark .step__num { background: var(--lilac); }
.step h4, .step h3 { margin-bottom: 0.4em; }

/* What's inside — product list */
.pack-list { margin: 0; padding: 0; list-style: none; }
.pack-item {
  display: flex; justify-content: flex-start; align-items: center; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid #ECEAE6;
}
.pack-item:last-child { border-bottom: 0; }
.pack-item__thumb {
  width: 58px; height: 58px; flex: 0 0 58px;
  object-fit: contain; background: transparent;
}
.pack-item__name { font-weight: 500; flex: 1 1 auto; }
.pack-item__price { margin-left: auto; }
.pack-item__meta { display: block; font-size: var(--fs-caption); color: var(--baked); font-weight: 400; margin-top: 0.15rem; }
.pack-item__price { font-family: var(--font-serif); font-size: 1.15rem; white-space: nowrap; }

/* Trust badges */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { text-align: left; }
.trust-item__badge {
  display: inline-block; font-family: var(--font-sans); font-size: var(--fs-caption);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--twist-of-lime); margin-bottom: 0.5rem;
}

/* FAQ accordion (native details/summary) */
.faq { max-width: var(--container-narrow); }
.faq__item { border-bottom: 1px solid #E4E2DD; }
.faq__item > summary {
  list-style: none; cursor: pointer; padding: 1.25rem 0;
  font-family: var(--font-sans); font-size: var(--fs-h5); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+"; font-size: 1.5rem; color: var(--baked); transition: transform var(--ease); }
.faq__item[open] > summary::after { content: "–"; }
.faq__item > summary:hover { opacity: 0.7; }
.faq__answer { padding: 0 0 1.25rem; color: var(--raven); max-width: 60ch; }

/* Eyebrow + price line in hero */
.price-tag {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--font-serif); font-size: 2rem; line-height: 1;
}
.price-tag small { font-family: var(--font-sans); font-size: var(--fs-caption); color: var(--baked); font-weight: 400; }
.surface-dark .price-tag small { color: rgba(245,245,247,0.7); }

/* Feature / hero imagery */
.feature-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); object-fit: cover; }
.feature-img--tall { aspect-ratio: 4 / 5; }
.feature-img--wide { aspect-ratio: 3 / 2; }

/* Plain transparent product shot — no frame, page shines through */
.product-shot { width: 100%; height: auto; display: block; object-fit: contain; background: transparent; box-shadow: none; border-radius: 0; }

/* Inline check list */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.75rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--twist-of-lime); font-weight: 700;
}
.surface-dark .check-list li::before { color: var(--dewkist); }

/* ---------------------------------------------------------------------------
   9. RESPONSIVE TYPE (fluid down for mobile)
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --fs-h1: 2.75rem;
    --fs-h2: 2.1rem;
    --fs-h3: 1.7rem;
    --fs-quote: 1.3rem;
    --fs-body-lg: 1.2rem;
  }
}

/* Brand logo (SVG wordmark) */
.site-footer .brand-logo img { height: 38px; }
@media (max-width: 640px) { .brand-logo img { height: 34px; } }

/* ---------------------------------------------------------------------------
   10. FULL-BLEED HERO  (overlay copy on desktop · image-above-copy on mobile)
--------------------------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 90vh; overflow: hidden; background: var(--raven); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(29,29,31,0.72) 0%, rgba(29,29,31,0.30) 34%, rgba(29,29,31,0) 64%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero__copy { max-width: 36rem; color: var(--bright-white); }
.hero__copy h1, .hero__copy .h1 { color: var(--bright-white); }
.hero__copy .overline { color: rgba(245,245,247,0.85); }
.hero__copy .body-large { color: rgba(245,245,247,0.92); }
.hero__copy .price-tag { color: var(--bright-white); }
.hero__copy .btn--secondary { color: var(--bright-white); border-color: rgba(245,245,247,0.6); }
.hero__copy .btn--secondary:hover { background: var(--bright-white); color: var(--raven); border-color: var(--bright-white); }

/* Header overlaying a hero (transparent, white marks) */
.site-header--overlay::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(29,29,31,0.38), rgba(29,29,31,0)); }
.site-header--overlay .site-nav a:not(.btn) { color: var(--bright-white); }

@media (max-width: 768px) {
  .hero { display: block; min-height: 0; background: var(--bright-white); }
  .hero__media { position: static; }
  .hero__media img { height: auto; aspect-ratio: 4 / 3; }
  .hero__scrim { display: none; }
  .hero__inner { background: var(--bright-white); padding-block: var(--space-4); }
  .hero__copy { color: var(--raven); max-width: none; }
  .hero__copy h1, .hero__copy .h1 { color: var(--raven); }
  .hero__copy .overline { color: var(--lilac); }
  .hero__copy .body-large, .hero__copy .price-tag { color: var(--raven); }
  .hero__copy .btn--secondary { color: var(--raven); border-color: var(--raven); }
  .hero__copy .btn-row { flex-direction: column; align-items: stretch; }
  .hero__copy .btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   11. SLEEP ASSESSMENT QUIZ
--------------------------------------------------------------------------- */
.quiz { max-width: 660px; margin-inline: auto; }
.quiz__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: clamp(1.5rem, 4vw, var(--space-4)); }
.quiz__progress { height: 6px; background: #ECEAE6; border-radius: 99px; overflow: hidden; margin-bottom: var(--space-3); }
.quiz__bar { height: 100%; background: var(--dewkist); width: 12.5%; transition: width 0.35s var(--ease); }
.quiz__step { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--baked); }
.quiz__q { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.2; margin: 0.4rem 0 var(--space-3); }
.quiz__options { display: grid; gap: 0.75rem; }
.quiz__option {
  text-align: left; font-family: var(--font-sans); font-size: var(--fs-body); color: var(--raven);
  padding: 1rem 1.25rem; border: 1.5px solid #E4E2DD; border-radius: var(--radius-md);
  background: #fff; cursor: pointer; transition: all var(--ease); width: 100%;
}
.quiz__option:hover { border-color: var(--dewkist); background: #FAFBFA; }
.quiz__option.is-selected { border-color: var(--raven); background: var(--dewkist); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-3); gap: 1rem; }
.quiz__back { background: none; border: 0; color: var(--baked); font-family: var(--font-sans); font-size: var(--fs-body-sm); cursor: pointer; padding: 0.5rem 0; }
.quiz__back:hover { color: var(--raven); }
.quiz__back[disabled] { opacity: 0; pointer-events: none; }
/* Multi-select options + continue button */
.quiz__option--multi { padding-left: 3rem; position: relative; }
.quiz__option--multi::before { content: ""; position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; border: 2px solid #C9C5BD; border-radius: 5px; background: #fff; transition: border-color var(--ease), background var(--ease); }
.quiz__option--multi.is-selected::before { background: var(--raven); border-color: var(--raven); }
.quiz__option--multi.is-selected::after { content: "✓"; position: absolute; left: 1.42rem; top: 50%; transform: translateY(-50%); color: #fff; font-size: 0.8rem; line-height: 1; }
.quiz__continue { padding: 0.7rem 1.6rem; }

/* Result view */
.quiz__result { text-align: center; }
.quiz__band { font-family: var(--font-serif); font-size: var(--fs-h2); line-height: 1.15; margin: 0.25rem 0 var(--space-2); }
.quiz__result > .body { max-width: 52ch; margin-inline: auto; }
.quiz__panel { text-align: left; background: var(--bright-white); border: 1px solid #E4E2DD; border-radius: var(--radius-md); padding: 1.5rem 1.75rem; margin: var(--space-3) 0; }
.quiz__panel .overline { display: block; margin-bottom: 0.85rem; }
.quiz__panel--routine { background: var(--dewkist); border-color: transparent; }
.quiz__pattern, .quiz__routine { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.quiz__pattern li, .quiz__routine li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.quiz__pattern li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--baked); }
.quiz__routine li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--raven); font-weight: 700; }
.quiz__break { display: inline-block; background: var(--bright-white); border: 1px solid #E4E2DD; border-radius: 99px; padding: 0.4rem 1rem; margin: 0.35rem; font-size: var(--fs-body-sm); }
.is-hidden { display: none; }

/* ---------------------------------------------------------------------------
   12. ARTICLE / INSIGHT PAGES (pillar + clusters)
--------------------------------------------------------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article > h2 { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 600; margin-top: var(--space-5); }
.article > h3 { font-family: var(--font-sans); font-size: var(--fs-h4); margin-top: var(--space-4); }
.article p, .article li { font-size: var(--fs-body); line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.5rem; }
.article__meta { font-size: var(--fs-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--baked); }
.article blockquote { margin: var(--space-4) 0; padding: 0.2rem 0 0.2rem var(--space-3); border-left: 3px solid var(--dewkist);
  font-family: var(--font-serif); font-style: italic; font-size: var(--fs-quote); line-height: 1.5; }
.article img.inline-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); margin: var(--space-4) 0; }

.toc { background: var(--bright-white); border: 1px solid #E4E2DD; border-radius: var(--radius-md); padding: var(--space-3); margin: var(--space-4) 0; }
.toc__title { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--baked); margin-bottom: 0.5rem; }
.toc a { display: block; padding: 0.4rem 0; border-bottom: 1px solid #EFEDE9; font-size: var(--fs-body-sm); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--baked); opacity: 1; padding-left: 0.25rem; }

.cta-band { background: var(--dewkist); border-radius: 0; padding: clamp(1.75rem, 4vw, var(--space-5)); text-align: center; margin: 0; }
.cta-band h3 { color: var(--raven); margin-bottom: 0.4em; }
.oil-card { border-top: 1px solid #E4E2DD; padding-top: var(--space-3); margin-top: var(--space-3); }
.oil-card h3 { margin-top: 0; }

/* ===================================================================
   Site footer — recreated to match staging (stg-ntxphe.elementor.cloud)
   Near-black panel, Geist (inherited), left-aligned. Desktop + mobile.
   =================================================================== */
.site-footer {
    background: #1d1d1f;
    color: rgba(245, 245, 247, 0.4);
    padding: 76px 0 46px;
}
.site-footer .footer-inner {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- Logo row: brand pair (left) + trust logos (right) ---- */
.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.footer-logos__brand,
.footer-logos__trust {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}
.footer-logos__brand { gap: 40px; }
.footer-logos__trust { gap: 52px; }

.footer-logo { display: inline-flex; align-items: flex-end; transition: opacity .2s ease; }
.footer-logo:hover { opacity: .75; }
.footer-logo img { display: block; width: auto; }

/* Heights matched to staging's rendered logo sizes */
.footer-logo--mwp img         { height: 60px; }
.footer-logo--pursue img      { height: 42px; }
.footer-logo--cptg img        { height: 36px; }
.footer-logo--therapeutic img { height: 46px; }
.footer-logo--coimpact img    { height: 36px; }
.footer-logo--healing img     { height: 36px; }

/* ---- Social icons ---- */
.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 38px;
}
.footer-social a { display: inline-flex; line-height: 0; opacity: .4; transition: opacity .2s ease; }
.footer-social a:hover { opacity: 1; }
.footer-social img { width: 18px; height: 18px; display: block; }

/* ---- Fine print ---- */
.footer-fine { margin-top: 44px; }
.footer-fine__heading {
    margin: 0 0 22px;
    color: rgba(245, 245, 247, 0.4);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.footer-fine__disclaimer {
    margin: 0 0 22px;
    max-width: 440px;
    color: rgba(245, 245, 247, 0.4);
    font-size: 11px;
    line-height: 1.3;
}
.footer-fine__legal {
    margin: 0 0 19px;
    color: rgba(245, 245, 247, 0.4);
    font-size: 11px;
    line-height: 1.3;
}
.footer-fine__legal a { color: rgba(245, 245, 247, 0.6); text-decoration: none; }
.footer-fine__legal a:hover { color: #fff; text-decoration: underline; }
.footer-fine__legal .footer-sep { margin: 0 4px; color: rgba(245, 245, 247, 0.3); }
.footer-fine__copyright {
    margin: 0;
    color: rgba(245, 245, 247, 0.4);
    font-size: 11px;
    line-height: 1.3;
}
.footer-fine__copyright a { color: rgba(245, 245, 247, 0.6); text-decoration: none; }
.footer-fine__copyright a:hover { color: #fff; text-decoration: underline; }
.footer-heart { color: #ff0000; }
.footer-break { display: none; }

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .site-footer { padding: 48px 0 32px; }
    .site-footer .footer-inner { padding: 0 24px; }
    .footer-logos {
        justify-content: flex-start;
        gap: 36px 40px;
    }
    .footer-logos__brand { gap: 28px; }
    .footer-logos__trust { gap: 32px 40px; flex: 1 1 100%; }
}

/* ===================================================================
   Site header — recreated to match staging (stg-ntxphe.elementor.cloud)
   Transparent fixed overlay (dark-hero pages) + solid variant (light pages)
   White logo · nav + outline CTA · hamburger below 1200px
   =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transform: translateY(0);
    transition: transform 0.34s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform;
}
/* Hide on scroll down, reveal on scroll up */
.site-header.is-hidden { transform: translateY(-100%); }
/* Frosted glass once scrolled away from the very top (transparent-overlay pages) */
.site-header.is-scrolled:not(.site-header--solid) {
    background: rgba(20, 18, 17, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1216px;
    margin: 0 auto;
    padding: 22px 40px;
}

/* Logo */
.site-header__logo { display: inline-flex; line-height: 0; flex: 0 0 auto; }
.site-header__logo img { height: 56px; width: auto; display: block; }

/* Primary nav (desktop inline) */
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}
.site-header__nav a {
    color: #f5f5f7;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -0.3px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s ease;
}
.site-header__nav a:hover { opacity: .7; color: #f5f5f7; }

/* Right-side actions: CTA + hamburger */
.site-header__actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #f5f5f7;
    border: 1px solid #f5f5f7;
    border-radius: 5px;
    padding: 13px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.site-header__cta:hover { background: #f5f5f7; color: #1d1d1f; }

/* Hamburger (hidden on desktop) */
.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.site-header__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #f5f5f7;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, background .2s ease;
}

/* ---- Solid variant (light-background pages) ---- */
.site-header--solid { background: #fff; border-bottom: 1px solid rgba(29, 29, 31, 0.08); }
.site-header--solid .site-header__cta { color: #1d1d1f; border-color: #1d1d1f; }
.site-header--solid .site-header__cta:hover { background: #1d1d1f; color: #fff; }
.site-header--solid .site-header__toggle span { background: #1d1d1f; }

/* Fixed solid header overlays content -> push content down */
.has-solid-header { padding-top: 100px; }

/* ---- Desktop inline nav (>=1201px) ---- */
@media (min-width: 1201px) {
    .site-header--solid .site-header__nav a { color: #1d1d1f; }
    .site-header--solid .site-header__nav a:hover { color: #1d1d1f; opacity: .6; }
}

/* ---- Tablet / mobile: hamburger + dropdown ---- */
@media (max-width: 1200px) {
    .site-header__toggle { display: flex; }

    .site-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        background: #1d1d1f;
        padding: 8px 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    .site-header.is-open .site-header__nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .site-header__nav a {
        color: #f5f5f7;
        padding: 15px 40px;
        font-size: 17px;
    }
    .site-header__nav a:hover { background: rgba(255, 255, 255, 0.06); opacity: 1; color: #f5f5f7; }

    /* Hamburger -> X when open */
    .site-header.is-open .site-header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.is-open .site-header__toggle span:nth-child(2) { opacity: 0; }
    .site-header.is-open .site-header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 767px) {
    .site-header__inner { padding: 16px 24px; gap: 12px; }
    .site-header__logo img { height: 44px; }
    .site-header__cta { padding: 11px 15px; font-size: 12px; }
    .site-header__nav a { padding: 15px 24px; }
    .site-header__submenu a { padding-left: 44px; }
    .has-solid-header { padding-top: 76px; }
}

/* ===================================================================
   Header — "About dōTERRA" dropdown submenu
   =================================================================== */
.site-header__dropdown { position: relative; display: inline-flex; align-items: center; }
.site-header__trigger { display: inline-flex; align-items: center; gap: 6px; }
.site-header__caret {
    width: 6px; height: 6px; display: inline-block;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); margin-top: -3px; opacity: .75;
    transition: transform .2s ease;
}
.site-header__submenu { display: none; }

/* Desktop: hover / focus popover */
@media (min-width: 1201px) {
    .site-header__submenu {
        display: flex; flex-direction: column; gap: 2px;
        position: absolute; top: 100%; right: 0; left: auto;
        transform: translateY(4px);
        min-width: 252px; padding: 8px; margin-top: 6px;
        background: #1d1d1f; border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
        opacity: 0; visibility: hidden; pointer-events: none; z-index: 60;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    /* invisible bridge so the cursor doesn't drop the hover between trigger and panel */
    .site-header__submenu::before {
        content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
    }
    .site-header__dropdown:hover .site-header__submenu,
    .site-header__dropdown:focus-within .site-header__submenu {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateY(0);
    }
    .site-header__dropdown:hover .site-header__caret,
    .site-header__dropdown:focus-within .site-header__caret { transform: rotate(225deg); margin-top: 2px; }
    .site-header__submenu a {
        color: #f5f5f7 !important; padding: 10px 14px; border-radius: 7px;
        font-size: 14px; line-height: 1.3; white-space: nowrap; opacity: 1;
    }
    .site-header__submenu a:hover { background: rgba(255, 255, 255, 0.09); opacity: 1; }
    /* Solid (light) header keeps the dark panel + light links */
    .site-header--solid .site-header__submenu a { color: #f5f5f7 !important; }
}

/* Mobile: submenu expands inline as indented sub-links */
@media (max-width: 1200px) {
    .site-header__dropdown { display: block; width: 100%; }
    .site-header__trigger { width: 100%; }
    .site-header__caret { display: none; }
    .site-header__submenu { display: flex; flex-direction: column; }
    .site-header__submenu a { padding-left: 60px; font-size: 15px; opacity: .82; }
}

/* ===================================================================
   Legal pages — privacy policy, disclaimer, terms, returns
   =================================================================== */
.legal__updated { display: block; color: var(--baked); font-size: var(--fs-body-sm); margin: 0.25rem 0 0; }
.legal { max-width: 70ch; }
.legal h2 { font-size: var(--fs-h3); margin: 2.2em 0 0.6em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-sans); font-size: var(--fs-h4); font-weight: 600; margin: 1.6em 0 0.5em; }
.legal p { margin: 0 0 1.1em; line-height: 1.7; }
.legal ul, .legal ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.legal li { margin-bottom: 0.5em; line-height: 1.65; }
.legal a { color: var(--twist-of-lime); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { opacity: 0.7; }
.legal__note { background: #EFEEEB; border: 1px solid #E4E2DD; border-radius: 12px; padding: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: var(--space-3); }
.legal__note p { margin: 0; font-size: var(--fs-body-sm); color: var(--baked); }
.legal__toc { background: var(--bright-white); border: 1px solid #E4E2DD; border-radius: 12px; padding: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: var(--space-4); }
.legal__toc .overline { display: block; margin-bottom: 0.85rem; }
.legal__toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 2rem; }
.legal__toc a { text-decoration: none; color: var(--raven); }
.legal__toc a:hover { color: var(--twist-of-lime); }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }

/* ===================================================================
   Homepage feature sections (image + text, alternating)
   =================================================================== */
.feature { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.feature__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
/* Image anchors to the top of the copy column and stays pinned while you
   scroll, releasing once the bottom of the text column is reached. */
.feature__media {
    position: sticky;
    top: 100px;
    align-self: start;
}
.feature__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    aspect-ratio: 1120 / 760;
}
.feature__body h2 { margin: 0.25rem 0 1.25rem; }
.feature__body p { margin: 0 0 1rem; max-width: 46ch; }
.feature__body p:last-child { margin-bottom: 0; }
.feature__body .overline { display: block; margin-bottom: 0.75rem; }

.feature__list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 46ch;
}
.feature__list li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.5;
}
.feature__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--dewkist);
}

/* On the dark Sleep Well Pack panel, push the image to the right edge nicely */
.feature.surface-dark { background: var(--raven); }

/* Calmer-approach CTA — sage green panel */
.cta-calm {
    background: var(--dewkist);
    color: var(--raven);
}
.cta-calm .overline { color: var(--raven); opacity: 0.65; }
.cta-calm h2 { color: var(--raven); }
/* Dark primary button on the sage panel (sage-on-sage would vanish) */
.cta-calm .btn--primary { background: var(--raven); color: var(--bright-white); border-color: var(--raven); }
.cta-calm .btn--primary:hover { background: var(--dark-black); border-color: var(--dark-black); }

@media (max-width: 860px) {
    .feature__inner { grid-template-columns: 1fr; gap: 2rem; }
    /* Image always above text on mobile, regardless of source order; no sticky */
    .feature__media { order: -1; position: static; top: auto; }
    .feature__body p, .feature__list { max-width: none; }
}

/* ===================================================================
   Homepage — extra components (mini-points, CPTG, step cards)
   =================================================================== */
/* "Why start with sleep" sub-points */
.mini-points { display: grid; gap: 1.25rem; margin: 0.5rem 0 1.25rem; max-width: 46ch; }
.mini-point .overline { display: block; margin-bottom: 0.25rem; }
.mini-point p { margin: 0; }
.mini-points__closer { font-style: italic; font-family: var(--font-serif); font-size: 1.125rem; }

/* dōTERRA CPTG inline logo (on dark panel) */
.doterra-cptg { width: 92px; height: auto; margin: 0.5rem 0 1.25rem; }

/* Three steps */
.steps-section { text-align: left; }
.steps-section .overline { display: block; margin-bottom: 0.75rem; }
.steps-section > .container > h2 { margin: 0 0 2.5rem; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.step-card { display: flex; flex-direction: column; }
.step-card__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--raven);
}
.step-card__media { margin-bottom: 1.25rem; }
.step-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.step-card h3 { margin: 0 0 0.6rem; }
.step-card p { margin: 0; }
.steps-section__closer {
    margin: 2.25rem 0 0;
    text-align: center;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.125rem;
}

@media (max-width: 860px) {
    .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mini-points { max-width: none; }
}

/* ===================================================================
   Sleep Well Pack page
   =================================================================== */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .overline { display: block; margin-bottom: 0.75rem; }
.section-head h2 { margin: 0 0 1rem; }
.section-closer { text-align: center; margin: 3rem 0 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height: 1.25; }
/* Split section head — intro copy left, image right */
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: none; }
.section-head--split .section-head__copy { max-width: 620px; }
.section-head__media img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
/* dōTERRA difference — two-column purity layout */
.purity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.purity-col > h4 { margin: 0 0 1.5rem; }
.purity-logo { width: auto; height: 64px; display: block; margin: 0 0 1.5rem; }
.purity-logo--circle { height: 90px; }
.purity-steps { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.25rem; }
.purity-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.purity-steps__num { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lilac); color: var(--raven); font-weight: 600; font-size: var(--fs-body-sm); flex-shrink: 0; }
.purity-steps li strong { display: block; margin-bottom: 0.2rem; }
.purity-steps li p { margin: 0; color: rgba(245,245,247,0.7); font-size: var(--fs-body-sm); }
/* Keep the italic span the same size as the rest of the line */
.section-closer .h3-italic { font-size: inherit; }

/* Trust band — products stacked above the heading + logos (all breakpoints) */
.trust-band__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(1.5rem,4vw,2.5rem); }
.trust-band__media { max-width: 760px; width: 100%; }
.trust-band__media img { width: 100%; height: auto; display: block; }
.trust-band__body h3 { margin: 0 0 1.5rem; }
.trust-band__logos { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-band__logos img { height: 64px; width: auto; }
.trust-band__logos img:first-child { height: 44px; }

/* Insight callout */
.insight-card { margin-top: 1.75rem; padding: 1.75rem; border-left: 3px solid var(--dewkist); background: rgba(197,210,193,0.14); border-radius: 0 10px 10px 0; }
.insight-card .overline { display: block; margin-bottom: 0.75rem; }
.insight-card p:last-child { margin-bottom: 0; }

/* How it works — day/night split */
.protocol-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3rem); }
.protocol-split__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; margin-bottom: 1.25rem; display: block; }
.protocol-split__item .overline { display: block; margin-bottom: 0.5rem; }
.protocol-split__item h4 { margin: 0 0 0.75rem; }

/* Product cards */
.product-cards { display: grid; gap: 1.5rem; }
.product-card { display: grid; grid-template-columns: 460px 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: center; padding: clamp(1.5rem,3vw,2.5rem); background: #fff; border: 1px solid rgba(66,61,59,0.08); border-radius: 16px; }
.product-card:nth-child(even) { background: #EFEEEB; }
.product-card__media { background: #fff; border-radius: 12px; padding: 1.5rem; position: relative; }
/* Plain media — no white box (stick + touch product shots) */
.product-card__media--plain { background: transparent; padding: 0; }
/* Therapeutic Wellness badge on the softgels card */
.product-card__media .product-card__badge { position: absolute; top: 0.75rem; right: 0.75rem; width: 72px; height: auto; z-index: 2; }
.product-card__media img { width: 100%; max-width: 424px; aspect-ratio: 1/1; object-fit: contain; display: block; margin-inline: auto; }
.product-card__body .overline { display: block; margin-bottom: 0.4rem; }
.product-card__body h4 { margin: 0 0 0.75rem; }
.product-card__desc { color: var(--baked); margin: 0 0 1.5rem; }
/* What it does / How to use / Protocol role — 3 columns */
.product-card__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.product-card__details .detail p:last-child { margin-bottom: 0; }
.product-card__details .detail > p:not(.product-card__label) { font-size: var(--fs-body-sm); }
.product-card__details .check-list { margin: 0; }
.product-card__details .check-list li { font-size: var(--fs-body-sm); }
.product-card__label { font-family: var(--font-sans); font-size: var(--fs-overline); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--baked); margin: 0 0 0.5rem; }

/* Price strip */
.price-strip { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: clamp(2rem,4vw,3.5rem); padding: clamp(1.75rem,3vw,2.5rem); background: var(--raven); color: var(--bright-white); border-radius: 16px; }
.price-strip .overline { display:block; color: rgba(245,245,247,0.7); margin-bottom: 0.5rem; }
.price-strip .desktop-break { display: inline; }
.price-strip h2 { margin: 0; color: var(--bright-white); }
.price-strip__price { text-align: right; }
.price-strip__amount { font-family: var(--font-serif); font-size: 3rem; font-weight: 600; line-height: 1; display: block; }
.price-strip__price .caption { color: rgba(245,245,247,0.7); margin: 0.5rem 0 1rem; }

/* 4-step protocol */
.protocol-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.protocol-step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid rgba(245,245,247,0.15); }
.protocol-step:last-child { border-bottom: 0; padding-bottom: 0; }
.protocol-step__num { font-family: var(--font-serif); font-size: 2.5rem; line-height: 1; color: var(--lilac); }
.protocol-step__body .overline { display: block; margin-bottom: 0.4rem; }
.protocol-step__body h4 { margin: 0 0 0.6rem; }
.protocol-step__sub { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: rgba(245,245,247,0.7); margin-left: 0.5rem; }

.sequence { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(245,245,247,0.15); }
.sequence > h4 { margin: 0 0 1.5rem; }
.sequence__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.sequence__grid h5 { margin: 0 0 0.4rem; }
.sequence__grid p { margin: 0; color: rgba(245,245,247,0.7); font-size: var(--fs-body-sm); }

/* Full-width image break */
.image-break img { width: 100%; height: clamp(280px, 45vh, 560px); object-fit: cover; display: block; }

/* Comparison cards */
.compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: clamp(2.5rem,5vw,4rem); }
.compare-card { background: var(--bright-white); border-radius: 14px; padding: 1.75rem; }
.compare-card__vs { font-family: var(--font-serif); font-style: italic; color: var(--baked); }
.compare-card h4 { margin: 0.25rem 0 1rem; }
.compare-card__label { font-family: var(--font-sans); font-size: var(--fs-overline); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--baked); margin: 1rem 0 0.3rem; }
.compare-card__label--us { color: var(--twist-of-lime); }
.compare-card p { margin: 0; }

/* First 30 days */
.expect { margin-bottom: clamp(2.5rem,5vw,4rem); }
.expect__intro { max-width: 720px; margin-bottom: 2rem; }
.expect__weeks { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.expect__week { background: var(--bright-white); border-radius: 14px; padding: 1.5rem; }
.expect__week h4 { margin: 0 0 0.6rem; }

/* Ingredients */
.ingredients { max-width: 760px; }
.ingredients h4 { margin: 0 0 0.75rem; }
.ingredient-chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ingredient-chips li { background: var(--bright-white); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: var(--fs-body-sm); }

/* Order grid */
.order-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.order-grid__body h4 { margin: 1.5rem 0 0.6rem; }
.order-card { background: var(--bright-white); border: 1px solid rgba(66,61,59,0.1); border-radius: 16px; padding: 1.75rem; position: sticky; top: 100px; }
.order-card__media { background: transparent; border-radius: 12px; margin-bottom: 1.25rem; }
.order-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: contain; display: block; }
.order-card__list { list-style: none; margin: 0.5rem 0 1rem; padding: 0; }
.order-card__list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(66,61,59,0.08); font-size: var(--fs-body-sm); }
.order-card__list li span { color: var(--baked); white-space: nowrap; }
.order-card__price { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 600; margin: 0.5rem 0 1rem; }
.order-card__price small { font-size: 1rem; color: var(--baked); }
.order-card .btn { margin: 1rem 0; }

/* FAQ accordion */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid rgba(66,61,59,0.12); border-radius: 10px; padding: 0 1.25rem; background: var(--bright-white); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-family: var(--font-sans); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--baked); transition: transform var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 1.1rem; }

/* Insight cards — 3-up grid of related articles */
.insight-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }
.insight-card { display: flex; flex-direction: column; background: var(--bright-white); border-radius: 16px; overflow: hidden; transition: transform var(--ease), box-shadow var(--ease); }
.insight-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.insight-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.insight-card__body { padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.insight-card__body .overline { display: block; margin-bottom: 0.6rem; }
.insight-card__body h4 { margin: 0 0 0.6rem; }
.insight-card__body p { margin: 0 0 1.25rem; color: var(--baked); font-size: var(--fs-body-sm); }
.insight-card__body .text-link { margin-top: auto; }
.text-link { font-weight: 600; color: var(--twist-of-lime); }

/* Final CTA band — beach photo background with overlaid text */
.cta-band { position: relative; display: flex; align-items: center; min-height: 460px; overflow: hidden; background: var(--dark-black); color: var(--bright-white); }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.cta-band__scrim { display: none; }
.cta-band__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band__copy { max-width: 620px; margin-left: auto; text-align: right; }
.cta-band__copy .btn-row { justify-content: flex-end; }
.cta-band__copy { text-shadow: 0 1px 12px rgba(29,29,31,0.45), 0 1px 3px rgba(29,29,31,0.35); }
.cta-band h2 { color: var(--bright-white); }
.cta-band .body-large { color: var(--bright-white); }
.cta-band .caption { color: rgba(245,245,247,0.9); }
.cta-band .btn--secondary { color: var(--bright-white); border-color: rgba(245,245,247,0.6); background: transparent; }
.cta-band .btn--secondary:hover { background: var(--bright-white); color: var(--raven); border-color: var(--bright-white); }

/* ===================================================================
   Checkout page — alternating section surfaces (dark / soft / sage)
   =================================================================== */
.checkout .section-head { margin-inline: auto; max-width: 760px; }
/* First (dark) section sits under the fixed transparent header */
.checkout-intro { padding-top: clamp(120px, 16vh, 180px); }

/* Order summary (on light surface) */
.checkout-summary { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; background: #fff; border: 1px solid rgba(66,61,59,0.1); border-radius: 18px; padding: clamp(1.75rem, 4vw, 3rem); }
.checkout-summary__items > .overline { display: block; margin-bottom: 0.5rem; }
.checkout-summary__items h2 { margin: 0 0 1.5rem; }
.checkout-summary__media { border-radius: 12px; margin-bottom: 1.5rem; }
.checkout-summary__media img { width: 100%; max-width: 440px; display: block; }
.checkout-items { list-style: none; margin: 0; padding: 0; }
.checkout-items li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(66,61,59,0.1); }
.checkout-items li strong { font-weight: 600; }
.checkout-items li span { color: var(--baked); white-space: nowrap; font-size: var(--fs-body-sm); }
.checkout-items li em { grid-column: 1 / -1; font-style: normal; color: var(--baked); font-size: var(--fs-body-sm); }

.checkout-price { background: var(--raven); color: var(--bright-white); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2rem); position: sticky; top: 100px; }
.checkout-price .overline { display: block; margin-bottom: 0.5rem; color: rgba(245,245,247,0.7); }
.checkout-price__amount { font-family: var(--font-serif); font-size: 3rem; font-weight: 600; line-height: 1; margin: 0; }
.checkout-price__note { color: rgba(245,245,247,0.7); font-size: var(--fs-body-sm); margin: 0.5rem 0 1.25rem; }
.checkout-price .check-list li::before { color: var(--dewkist); }
.checkout-price__btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

/* Process steps (on dark surface) */
.checkout-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.checkout-steps li { display: flex; flex-direction: column; gap: 1rem; }
.checkout-steps__num { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--lilac); color: var(--raven); font-family: var(--font-serif); font-weight: 600; }
.checkout-steps h4 { margin: 0 0 0.4rem; }
.checkout-steps p { margin: 0; color: rgba(245,245,247,0.7); font-size: var(--fs-body-sm); }
.checkout .section-closer { color: inherit; }

/* Account cards (on sage surface) */
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.account-card { background: rgba(255,255,255,0.5); border: 1px solid rgba(66,61,59,0.1); border-radius: 14px; padding: 1.75rem; }
.account-card h4 { margin: 0 0 0.6rem; }
.account-card p { margin: 0; color: var(--raven); font-size: var(--fs-body-sm); }
.account-note { text-align: center; margin: 2.5rem 0 0; font-style: italic; font-family: var(--font-serif); }

.checkout-final h2 { margin-bottom: 0.75rem; }

@media (max-width: 860px) {
    .checkout-summary { grid-template-columns: 1fr; }
    .checkout-price { position: static; }
    .checkout-steps { grid-template-columns: 1fr 1fr; }
    .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .checkout-steps { grid-template-columns: 1fr; }
}

/* Cautions */
.cautions .caption { margin-bottom: 0.6rem; color: var(--baked); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .trust-band__inner,
    .protocol-split,
    .order-grid,
    .feature__inner { grid-template-columns: 1fr; }
    .sequence__grid,
    .compare-grid,
    .expect__weeks { grid-template-columns: 1fr; }
    .order-card { position: static; }
    .product-card { grid-template-columns: 1fr; }
    .product-card__media { max-width: 424px; margin-inline: auto; }
    .product-card__details { grid-template-columns: 1fr; gap: 1.25rem; }
    .section-head--split { grid-template-columns: 1fr; }
    .section-head__media { order: -1; }
    .purity-grid { grid-template-columns: 1fr; }
    .surface-dark .section-head .desktop-break { display: none; }
    .cta-band__copy { max-width: none; text-align: center; }
    .cta-band__copy .btn-row { justify-content: center; }
    .price-strip { grid-template-columns: 1fr; }
    .price-strip__price { text-align: left; }
    .price-strip .desktop-break { display: none; }
    .insight-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 600px) {
    .trust-band__logos img { height: 52px; }
}

/* CTA band — stack photo on top, copy below (mobile) */
@media (max-width: 767px) {
    .cta-band { display: block; min-height: 0; }
    .cta-band__media { position: static; }
    .cta-band__media img { height: auto; aspect-ratio: 4 / 3; object-position: 28% center; }
    .cta-band__scrim { display: none; }
    .cta-band__inner { background: var(--dark-black); padding-block: var(--space-4); }
    .cta-band__copy { text-align: center; margin: 0 auto; }
    .cta-band__copy .btn-row { justify-content: center; }
}

/* ===================================================================
   Insights article template (blog post)
   =================================================================== */
/* Hero */
.article-hero { position: relative; display: flex; align-items: flex-end; min-height: 58vh; overflow: hidden; background: var(--raven); }
.article-hero__media { position: absolute; inset: 0; z-index: 0; }
.article-hero__media picture { display: block; width: 100%; height: 100%; }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.article-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(29,29,31,0.78) 0%, rgba(29,29,31,0.30) 45%, rgba(29,29,31,0.05) 100%); }
.article-hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 6vw, 4.5rem); color: var(--bright-white); }
.article-hero h1 { color: var(--bright-white); max-width: 18ch; margin: 0.5rem 0 1rem; }
.article-hero .overline { color: var(--lilac); }
.article-hero__meta { color: rgba(245,245,247,0.8); font-size: var(--fs-body-sm); margin: 0; }

/* Mobile: show the full photo first (product visible, no crop), headline drops below in a dark band */
@media (max-width: 768px) {
    .article-hero { display: block; min-height: 0; overflow: visible; }
    .article-hero__media { position: static; }
    .article-hero__media img { height: auto; object-fit: contain; }
    .article-hero__media .img-ph { aspect-ratio: 16 / 9; min-height: 0; border-radius: 0; }
    .article-hero__scrim { display: none; }
    .article-hero__inner { position: static; background: var(--raven); padding-block: clamp(1.5rem, 6vw, 2.25rem); }
    .article-hero h1 { max-width: none; }
}

/* 3-column layout: TOC | body | advert */
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); max-width: 1240px; margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem); }

/* Table of contents (sticky left) */
.article-toc { position: sticky; top: 110px; align-self: start; }
.article-toc .overline { display: block; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(66,61,59,0.15); }
.article-toc nav { display: grid; gap: 0.85rem; }
.article-toc a { color: var(--baked); font-size: var(--fs-body-sm); line-height: 1.4; border-left: 2px solid transparent; padding-left: 0.85rem; margin-left: -0.85rem; transition: color var(--ease), border-color var(--ease); }
.article-toc a:hover { color: var(--raven); opacity: 1; }
.article-toc a.is-active { color: var(--raven); border-left-color: var(--lilac); font-weight: 500; }

/* Article body */
.article-body { min-width: 0; max-width: 720px; }
.article-body > * { scroll-margin-top: 110px; }
.article-body h2 { scroll-margin-top: 110px; margin: 2.5rem 0 1rem; }
.article-body h3 { scroll-margin-top: 110px; margin: 2rem 0 0.75rem; }
.article-body p { margin: 0 0 1.25rem; }
.article-body__lede { font-size: var(--fs-body-lg); font-weight: 300; line-height: 1.6; color: var(--raven); margin-bottom: 1.75rem; }
.article-body__note { font-size: var(--fs-body-sm); font-style: italic; color: var(--baked); }
.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 16/9; object-fit: cover; }
.article-quote { margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 3px solid var(--lilac); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-quote); line-height: 1.45; color: var(--raven); }
.article-list { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.article-list li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.article-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--dewkist); }

/* Advert card (sticky right) — wrapper stretches full row height so the card can travel */
.article-advert { align-self: stretch; }
.advert-card { position: sticky; top: 110px; background: var(--raven); color: var(--bright-white); border-radius: 16px; padding: 1.75rem; }
.advert-card__media { border-radius: 12px; margin-bottom: 1.5rem; }
.advert-card__media img { width: 100%; display: block; }
.advert-card .overline { display: block; color: rgba(245,245,247,0.7); margin-bottom: 0.6rem; }
.advert-card h3 { color: var(--bright-white); margin: 0 0 0.75rem; }
.advert-card p { color: rgba(245,245,247,0.78); font-size: var(--fs-body-sm); margin: 0 0 1.5rem; }
.advert-card__btn { width: 100%; justify-content: center; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    /* drop the TOC, keep body + advert */
    .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .article-toc { display: none; }
}
@media (max-width: 860px) {
    /* single column — advert moves below the article */
    .article-layout { grid-template-columns: 1fr; max-width: 680px; }
    .advert-card { position: static; }
    .article-advert { max-width: 420px; margin-inline: auto; }
}

/* ===================================================================
   Essential Oils pillar page
   =================================================================== */
.oil-grid { display: grid; gap: 1.5rem; }
.oil-grid--2 { grid-template-columns: repeat(2, 1fr); }
.oil-grid--3 { grid-template-columns: repeat(3, 1fr); }

.oil-card { background: #fff; border: 1px solid rgba(66,61,59,0.1); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2rem); position: relative; }
.surface-soft .oil-card { background: #fff; }
.oil-card__num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--lilac); display: block; margin-bottom: 0.5rem; }
.oil-card h3, .oil-card h4 { margin: 0 0 0.4rem; }
.oil-card h3 em, .oil-card__aroma { font-style: italic; }
.oil-card__aroma { color: var(--baked); font-size: var(--fs-body-sm); margin: 0 0 0.9rem; }
.oil-card p { margin: 0 0 0.75rem; }
.oil-card p:last-child { margin-bottom: 0; }
.oil-card__best { font-size: var(--fs-body-sm); }
.oil-card--feature { background: var(--dewkist); border-color: transparent; }

.quick-ref { margin-top: clamp(2rem,4vw,3rem); background: var(--raven); color: var(--bright-white); border-radius: 16px; padding: clamp(1.75rem,3vw,2.5rem); }
.quick-ref .overline { display: block; color: rgba(245,245,247,0.7); margin-bottom: 1rem; }
.quick-ref ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.quick-ref li { padding-left: 1.4rem; position: relative; }
.quick-ref li::before { content: "→"; position: absolute; left: 0; color: var(--dewkist); }

/* Blend recipe cards */
.blend-card { background: #fff; border: 1px solid rgba(66,61,59,0.1); border-radius: 14px; padding: clamp(1.5rem,3vw,2rem); }
.blend-card .overline { display: block; margin-bottom: 1rem; }
.recipe { list-style: none; margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid rgba(66,61,59,0.1); display: grid; gap: 0.5rem; }
.recipe li { display: flex; gap: 0.75rem; }
.recipe li span { font-weight: 600; min-width: 4.5rem; color: var(--twist-of-lime); }
.blend-card p { margin: 0; }
.blend-card--pre { background: var(--raven); color: var(--bright-white); border-color: transparent; }
.blend-card--pre .overline { color: rgba(245,245,247,0.7); }
.blend-card--pre .text-link { display: inline-block; margin-top: 1rem; color: var(--dewkist); }

/* Method list */
.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; max-width: 820px; }
.method { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.method__num { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--dewkist); color: var(--raven); font-family: var(--font-serif); font-weight: 600; flex-shrink: 0; }
.method__body h4 { margin: 0.3rem 0 0.5rem; }
.method__body p { margin: 0; }
.method__tag { display: inline-block; font-family: var(--font-sans); font-size: var(--fs-overline); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--twist-of-lime); background: var(--dewkist); border-radius: 99px; padding: 0.15rem 0.6rem; margin-left: 0.5rem; vertical-align: middle; }

.safety-panel { margin-top: clamp(2rem,4vw,3rem); background: var(--bright-white); border: 1px solid #E4E2DD; border-radius: 14px; padding: clamp(1.5rem,3vw,2rem); max-width: 820px; }
.safety-panel .overline { display: block; margin-bottom: 1rem; }
.safety-panel .caption { margin: 1rem 0 0; }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }
.compare-table th, .compare-table td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; font-size: var(--fs-body-sm); border-bottom: 1px solid rgba(66,61,59,0.08); }
.compare-table thead th { background: var(--raven); color: var(--bright-white); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.03em; }
.compare-table tbody th { font-family: var(--font-serif); font-size: var(--fs-body); font-weight: 600; white-space: nowrap; }
.compare-table tbody tr:nth-child(even) { background: #FAFBFA; }
.compare-table tbody tr:first-child { background: rgba(197,210,193,0.25); }

/* 4-step protocol block */
.protocol-block { border-radius: 18px; padding: clamp(2rem,4vw,3rem); margin-top: clamp(2rem,4vw,3rem); }
.steps--protocol { gap: 1.5rem; }
.steps--protocol .step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.steps--protocol .step h4 { margin: 0.3rem 0 0.5rem; }
.steps--protocol .step p { margin: 0; color: rgba(245,245,247,0.78); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .oil-grid--2, .oil-grid--3 { grid-template-columns: 1fr; }
}

/* ===================================================================
   Image placeholder — "image to go here" (bespoke imagery pending)
   =================================================================== */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; width: 100%; height: 100%; min-height: 200px; text-align: center;
  padding: 1.5rem; box-sizing: border-box;
  color: var(--baked);
  background: repeating-linear-gradient(45deg, #ECEAE4, #ECEAE4 12px, #E6E3DC 12px, #E6E3DC 24px);
  border: 1.5px dashed #B9B3A6; border-radius: 14px;
}
.img-ph__label { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--fs-overline); }
.img-ph__note { font-size: var(--fs-body-sm); font-style: italic; max-width: 32ch; line-height: 1.4; }
/* When standing in for a fixed-ratio media box */
.img-ph[data-ratio] { aspect-ratio: var(--ph-ratio, 16/9); min-height: 0; }
/* Full-bleed contexts (hero / cta band) — fill the absolute media layer, no radius */
.hero__media .img-ph,
.article-hero__media .img-ph,
.cta-band__media .img-ph { border-radius: 0; min-height: 100%; }

/* ===================================================================
   Natural Sleep Aids AU — hero trust list + two-option pricing
   =================================================================== */
.hero-trust { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.hero-trust li { position: relative; padding-left: 1.4rem; font-size: var(--fs-body-sm); color: var(--bright-white); }
.hero-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--dewkist); font-weight: 700; }

/* step sub-label (shared by protocol steps) */
.steps--protocol .step__sub { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: rgba(245,245,247,0.7); margin-left: 0.4rem; }

/* Two-option pricing */
.price-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 880px; margin-inline: auto; align-items: start; }
.price-option { position: relative; background: #fff; border: 1px solid rgba(66,61,59,0.12); border-radius: 16px; padding: clamp(1.75rem,3vw,2.5rem); }
.price-option--featured { border-color: var(--dewkist); border-width: 2px; box-shadow: var(--shadow-soft); }
.price-option__tag { position: absolute; top: -0.8rem; left: clamp(1.75rem,3vw,2.5rem); background: var(--dewkist); color: var(--raven); font-family: var(--font-sans); font-size: var(--fs-overline); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 99px; padding: 0.3rem 0.9rem; }
.price-option .overline { display: block; margin-bottom: 0.5rem; }
.price-option__amount { font-family: var(--font-serif); font-size: 2.75rem; font-weight: 600; line-height: 1; margin: 0.25rem 0; }
.price-option__amount small { font-family: var(--font-sans); font-size: var(--fs-body-sm); font-weight: 400; color: var(--baked); }
.price-option__desc { color: var(--baked); font-size: var(--fs-body-sm); margin: 0 0 1.25rem; }
.price-option__btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

@media (max-width: 760px) {
    .price-options { grid-template-columns: 1fr; }
}

/* ===================================================================
   About dōTERRA — framework hub + sub-page components
   =================================================================== */

/* Logo lockup in hero (sits above the h1 on sub-pages) */
.logo-lockup { display: flex; align-items: center; height: 40px; margin-bottom: var(--space-2); }
.logo-lockup picture { display: flex; align-items: center; height: 100%; }
.logo-lockup img { height: 100%; width: auto; display: block; }
.logo-lockup--lg { height: 80px; }
@media (max-width: 768px) { .logo-lockup { height: 32px; } .logo-lockup--lg { height: 64px; } }

/* Framework cards on the hub — link out to each sub-page */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.about-card { display: flex; flex-direction: column; background: var(--bright-white); border: 1px solid rgba(66,61,59,0.1); border-radius: 16px; padding: clamp(1.75rem, 3vw, 2.5rem); transition: transform var(--ease), box-shadow var(--ease); }
.about-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.about-card__logo { display: flex; align-items: center; height: 64px; margin-bottom: 1.25rem; }
.about-card__logo img { max-height: 100%; max-width: 200px; width: auto; display: block; }
.about-card h3 { margin: 0 0 0.75rem; }
.about-card p { margin: 0 0 1rem; }
.about-card p:last-of-type { margin-bottom: 1.25rem; }
.about-card__label { font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-body-sm); color: var(--raven); }
.about-card .text-link { margin-top: auto; }

/* "What it is / what it is not" dual panels */
.isnot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.isnot-card { border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.isnot-card--is { background: var(--dewkist); color: var(--raven); }
.isnot-card--isnot { background: var(--bright-white); border: 1px solid #E4E2DD; }
.isnot-card .overline { display: block; margin-bottom: 1.25rem; }
.cross-list { list-style: none; margin: 0; padding: 0; }
.cross-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.85rem; }
.cross-list li:last-child { margin-bottom: 0; }
.cross-list li::before { content: "✕"; position: absolute; left: 0; top: 0.05em; color: var(--baked); font-weight: 700; }
.isnot-card--is .check-list li::before { color: var(--twist-of-lime); }

/* Impact / example callout (Somali Frankincense, Healing Hands projects) */
.example-card { background: var(--bright-white); border-left: 3px solid var(--dewkist); border-radius: 0 14px 14px 0; padding: clamp(1.5rem, 3vw, 2.25rem); margin-top: 1.5rem; }
.surface-soft .example-card { background: #fff; }
.example-card .overline { display: block; margin-bottom: 0.85rem; }
.example-card h3, .example-card h4 { margin: 0 0 0.75rem; }
.example-card p { margin: 0 0 0.9rem; max-width: 64ch; }
.example-card p:last-child { margin-bottom: 0; }
.example-card__stat { font-family: var(--font-serif); font-weight: 600; color: var(--twist-of-lime); }

/* Documentation / "where to find more" links */
.doc-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 1rem; max-width: 820px; }
.doc-list li { padding-bottom: 1rem; border-bottom: 1px solid #E4E2DD; }
.doc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-list strong { display: block; font-family: var(--font-sans); font-size: var(--fs-body); margin-bottom: 0.2rem; }
.doc-list a { word-break: break-word; }

@media (max-width: 900px) {
    .about-grid, .isnot-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Region picker splash (root /) + footer region switcher
   =================================================================== */
.region-splash { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--raven); color: var(--bright-white); padding: clamp(2rem, 6vw, 5rem) 1.5rem; }
.region-splash__inner { max-width: 640px; width: 100%; text-align: center; }
.region-splash__logo { height: 60px; width: auto; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); display: block; }
.region-splash .overline { color: rgba(245, 245, 247, 0.75); }
.region-splash h1 { color: var(--bright-white); margin: 0.5rem 0 1rem; }
.region-splash .body-large { color: rgba(245, 245, 247, 0.9); margin-bottom: clamp(2rem, 5vw, 3rem); }
.region-splash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.region-card { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--bright-white); transition: transform var(--ease), background var(--ease), border-color var(--ease); }
a.region-card:hover { opacity: 1; transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); border-color: var(--dewkist); }
.region-card__flag { font-size: 2.5rem; line-height: 1; }
.region-card__name { font-family: var(--font-serif); font-size: 1.35rem; }
.region-card__note { font-size: var(--fs-body-sm); color: rgba(245, 245, 247, 0.7); }
.region-card--soon { opacity: 0.5; cursor: default; }
.region-card.is-detected { border-color: var(--dewkist); box-shadow: 0 0 0 2px var(--dewkist) inset; }
.region-splash__detect { margin-top: 1.5rem; font-size: var(--fs-body-sm); color: rgba(245, 245, 247, 0.7); }
@media (max-width: 520px) { .region-splash__grid { grid-template-columns: 1fr; } }

.footer-region { margin-top: 1rem; font-size: var(--fs-body-sm); color: rgba(245, 245, 247, 0.6); }
.footer-region strong { color: #fff; font-weight: 600; }
.footer-region a { color: rgba(245, 245, 247, 0.85); text-decoration: underline; text-underline-offset: 2px; }
.footer-region a:hover { color: #fff; opacity: 1; }

/* ===================================================================
   Insights index — coming-soon cards
   =================================================================== */
.insight-card__media { position: relative; }
.insight-card__pill { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-sans); font-size: var(--fs-overline); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--raven); color: var(--bright-white); border-radius: 99px; padding: 0.25rem 0.7rem; }
.insight-card--soon { opacity: 0.72; cursor: default; }
.insight-card--soon:hover { transform: none; box-shadow: none; opacity: 0.72; }

/* ===================================================================
   Apple-style image framing — faint 1px hairline + soft "squircle"
   radius, acting as a shadowless container that separates images
   (esp. white products) from white/light backgrounds.
   Excludes full-bleed heroes/CTA banners, the transparent advert
   cluster, trust/brand logos, and placeholders.
   =================================================================== */
.feature-img,
.feature__media img,
.section-head__media img,
.protocol-split__media img,
.step-card__media img,
.article-figure img,
.article img.inline-img,
.image-break img {
  border: 1px solid #D2D2D2;
  border-radius: 16px;
}
/* White product tiles & thumbnail cards: frame the container (image is edge-to-edge) */
.insight-cards .insight-card,
.product-card__media,
.order-card__media,
.checkout-summary__media {
  border: 1px solid #D2D2D2;
}

/* Transparent product cluster inside a feature block — no boxed frame */
.feature__media--product img { border: 0; box-shadow: none; background: transparent; object-fit: contain; }

/* ===================================================================
   Hero on a light/bright image — dark copy on desktop (mobile already
   stacks to dark-on-white, so it's left untouched here).
   =================================================================== */
@media (min-width: 769px) {
  .hero--light .hero__scrim {
    background: linear-gradient(to right, rgba(245,245,247,0.92) 0%, rgba(245,245,247,0.55) 34%, rgba(245,245,247,0) 60%);
  }
  .hero--light .hero__copy,
  .hero--light .hero__copy h1,
  .hero--light .hero__copy .h1,
  .hero--light .hero__copy .body-large { color: var(--raven); }
  .hero--light .hero__copy .overline { color: var(--baked); }
  .hero--light .hero-trust li { color: var(--raven); }
  .hero--light .hero-trust li::before { color: var(--twist-of-lime); }
  .hero--light .hero__copy .btn--secondary { color: var(--raven); border-color: var(--raven); }
  .hero--light .hero__copy .btn--secondary:hover { background: var(--raven); color: var(--bright-white); border-color: var(--raven); }
}

/* Trust marks inside a feature block — small, side by side, no frame */
.feature__media--logos { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; justify-content: center; }
.feature__media--logos img {
  width: auto; max-width: 42%;
  height: clamp(72px, 9vw, 118px);
  aspect-ratio: auto; object-fit: contain;
  border: 0; border-radius: 0; box-shadow: none;
}

/* Brand name keeps its proper casing inside uppercased overlines */
.overline .brand { text-transform: none; }

/* Article CTA band: square corners + flush full-bleed (no inset/margins) */
.insight-page .cta-band { border-radius: 0; margin: 0; }
