/* Recall — static site styles. Fonts loaded via Google Fonts <link> in each page. */

/* ============================================================
   RECALL — Design Tokens (colors + type + spacing)
   A calm, trustworthy memory-wellness brand. Editorial + warm.
   Load this file, then use the semantic vars below.
   Fonts are loaded from Google Fonts (see @import). To self-host,
   drop ttf/woff2 into fonts/ and replace the @import.
   ============================================================ */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

:root {
  /* ---------- WARM NEUTRALS (paper → ink) ---------- */
  --cream-50:  #FBF8F2;   /* page background */
  --cream-100: #F4EEE2;   /* raised surface / tint */
  --sand-200:  #EAE1D1;   /* hairline borders, dividers */
  --sand-300:  #D8CDB9;   /* stronger borders */
  --stone-400: #B4A992;   /* disabled, faint text on light */
  --stone-500: #877E6C;   /* subtle/meta text */
  --ink-600:   #5A625C;   /* secondary text */
  --ink-700:   #39413C;   /* strong secondary */
  --ink-800:   #232B27;   /* headings on light */
  --ink-900:   #161C19;   /* primary body text */

  /* ---------- PRIMARY — forest / sage green (calm, health, trust) ---------- */
  --green-50:  #E9F2ED;
  --green-100: #D2E6DC;
  --green-200: #A9CDBE;
  --green-300: #79B19D;
  --green-400: #4C8F79;
  --green-500: #2F7263;   /* PRIMARY */
  --green-600: #245A4E;
  --green-700: #1B453B;
  --green-800: #14332C;

  /* ---------- ACCENT — warm clay / terracotta (CTAs, energy) ---------- */
  --clay-50:   #FBEEE7;
  --clay-100:  #F6D9C8;
  --clay-200:  #EFBFA4;
  --clay-300:  #E6A07C;
  --clay-400:  #DE855C;
  --clay-500:  #D26B43;   /* ACCENT / primary CTA */
  --clay-600:  #B85534;
  --clay-700:  #95432A;

  /* ---------- HIGHLIGHT — warm gold (stars, badges, small accents) ---------- */
  --gold-300:  #ECC777;
  --gold-400:  #E0A93F;
  --gold-500:  #C68C28;

  /* ---------- SEMANTIC HUES ---------- */
  --success: #2F7263;
  --warning: #C68C28;
  --error:   #B5452F;
  --info:    #3C6E7C;

  /* ============================================================
     SEMANTIC TOKENS — prefer these in components
     ============================================================ */
  --bg:            var(--cream-50);
  --bg-tint:       var(--cream-100);
  --surface:       #FFFFFF;
  --surface-sunk:  var(--cream-100);
  --border:        var(--sand-200);
  --border-strong: var(--sand-300);

  --text:          var(--ink-900);
  --text-secondary:var(--ink-600);
  --text-muted:    var(--stone-500);
  --text-ondark:   var(--cream-50);
  --text-ondark-muted: #B9C7BF;

  --primary:        var(--green-500);
  --primary-hover:  var(--green-600);
  --primary-press:  var(--green-700);
  --primary-tint:   var(--green-50);
  --on-primary:     #FBF8F2;

  --accent:         var(--clay-500);
  --accent-hover:   var(--clay-600);
  --accent-press:   var(--clay-700);
  --accent-tint:    var(--clay-50);
  --on-accent:      #FFFFFF;

  --focus-ring:     color-mix(in oklch, var(--green-500) 55%, transparent);

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans:    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ---------- TYPE SCALE (base 18px for legibility) ---------- */
  --text-xs:   0.778rem;  /* 14px */
  --text-sm:   0.889rem;  /* 16px */
  --text-base: 1rem;      /* 18px */
  --text-md:   1.111rem;  /* 20px */
  --text-lg:   1.333rem;  /* 24px */
  --text-xl:   1.667rem;  /* 30px */
  --text-2xl:  2.111rem;  /* 38px */
  --text-3xl:  2.667rem;  /* 48px */
  --text-4xl:  3.556rem;  /* 64px */
  --text-5xl:  4.444rem;  /* 80px */

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;   /* body copy — generous for readability */

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.12em;  /* eyebrow / overline labels */

  /* ---------- SPACING (4px base) ---------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* ---------- RADII ---------- */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  /* ---------- SHADOWS (warm-tinted, soft) ---------- */
  --shadow-xs: 0 1px 2px rgba(58, 42, 24, 0.06);
  --shadow-sm: 0 2px 6px rgba(58, 42, 24, 0.07), 0 1px 2px rgba(58, 42, 24, 0.05);
  --shadow-md: 0 8px 20px rgba(45, 38, 24, 0.09), 0 2px 6px rgba(45, 38, 24, 0.05);
  --shadow-lg: 0 20px 44px rgba(40, 34, 20, 0.12), 0 6px 14px rgba(40, 34, 20, 0.06);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* ---------- MOTION ---------- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   140ms;
  --dur-base:   220ms;
  --dur-slow:   400ms;

  /* ---------- LAYOUT ---------- */
  --maxw-prose:  68ch;     /* article measure */
  --maxw-content: 1180px;  /* page container */
}

/* ============================================================
   SEMANTIC ELEMENT STYLES — apply with utility classes
   ============================================================ */
.t-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--primary);
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-800);
}
.t-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-800);
}
.t-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--ink-800);
}
.t-h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--ink-800);
}
.t-lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}
.t-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text);
}
.t-small {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}
.t-meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
}
.t-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--ink-700);
}

/* ============================================================
   Recall blog — UI kit styles (built on ../../colors_and_type.css)
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }

.container { max-width: var(--maxw-content); margin: 0 auto; padding: 0 28px; }
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }

/* ---------- icons ---------- */
.icon { width: 20px; height: 20px; stroke-width: 2; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--primary); margin: 0 0 var(--space-4);
}
.eyebrow .icon { width: 16px; height: 16px; }

/* ---------- headings ---------- */
.display { font-family: var(--font-display); font-weight: 500; color: var(--ink-800); letter-spacing: var(--tracking-tight); margin: 0; }
.h1 { font-size: clamp(2.5rem, 5vw, var(--text-4xl)); line-height: var(--leading-tight); }
.h2 { font-size: clamp(2rem, 4vw, var(--text-3xl)); line-height: var(--leading-snug); }
.h3 { font-size: var(--text-2xl); line-height: var(--leading-snug); }
.serif-italic { font-style: italic; }
.lead { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-secondary); margin: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: var(--text-base); line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; min-height: 52px; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn:active { transform: scale(0.975); }
.btn .icon { width: 19px; height: 19px; }

.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--accent:active { background: var(--accent-press); transform: scale(0.975); }

.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--primary); border-color: var(--green-300); }
.btn--ghost:hover { background: var(--green-50); border-color: var(--green-400); }

.btn--text { background: transparent; color: var(--primary); padding: 8px 6px; min-height: 0; }
.btn--text:hover { color: var(--primary-hover); }

.btn--lg { font-size: var(--text-md); padding: 18px 32px; min-height: 60px; }
.btn--block { width: 100%; }
.btn--ondark { background: var(--cream-50); color: var(--green-700); }
.btn--ondark:hover { background: #fff; }

/* ============================================================
   PLACEHOLDER IMAGE — clearly marked, user replaces these
   ============================================================ */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--cream-100);
  background-image: repeating-linear-gradient(45deg,
    transparent, transparent 13px,
    color-mix(in srgb, var(--sand-300) 55%, transparent) 13px,
    color-mix(in srgb, var(--sand-300) 55%, transparent) 14px);
  border: 1.5px dashed var(--sand-300);
  border-radius: var(--radius-lg);
  color: var(--stone-500); overflow: hidden;
}
.ph__tag {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--cream-50); border: 1px dashed var(--sand-300);
  border-radius: var(--radius-sm); padding: 8px 14px; text-align: center;
  max-width: 80%;
}
.ph__tag b {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--clay-600); text-transform: uppercase;
}
.ph__tag span { font-size: 12px; color: var(--stone-500); line-height: 1.35; }
.ph--circle { border-radius: var(--radius-pill); }

/* ============================================================
   BADGES / PILLS / RATING
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: var(--text-sm); font-weight: 600;
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.badge .icon { width: 15px; height: 15px; }
.badge--green { background: var(--green-100); color: var(--green-700); }
.badge--clay { background: var(--clay-100); color: var(--clay-700); }
.badge--gold { background: #FBF0D8; color: var(--gold-500); }
.badge--neutral { background: var(--cream-100); color: var(--ink-700); border: 1px solid var(--sand-300); }

.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .icon { width: 19px; height: 19px; fill: var(--gold-400); color: var(--gold-400); }
.rating-text { font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); margin-left: 8px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__body { padding: var(--space-5); }

/* feature card */
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
.feature__ico {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--green-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.feature__ico .icon { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--ink-800); margin: 0 0 10px; }
.feature p { margin: 0; font-size: var(--text-base); color: var(--text-secondary); line-height: var(--leading-normal); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 38px; }
.header__nav { display: flex; align-items: center; gap: var(--space-5); }
.header__nav a {
  color: var(--ink-700); font-weight: 500; font-size: var(--text-base); white-space: nowrap;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color var(--dur-base), border-color var(--dur-base);
}
.header__nav a:hover, .header__nav a.active { color: var(--primary); border-color: var(--primary); }
.header__cta { display: flex; align-items: center; gap: var(--space-4); }
.header__burger { display: none; background: none; border: none; color: var(--ink-800); padding: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 78% 8%, var(--green-50), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8); align-items: center;
  padding-block: var(--space-9) var(--space-8);
}
.hero h1 { margin-bottom: var(--space-7); max-width: 14ch; line-height: 1.18; }
.hero .lead { max-width: 46ch; margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-5); }
.hero__social { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.hero__book { position: relative; display: flex; justify-content: center; }
.book-cover {
  width: 320px; max-width: 100%; aspect-ratio: 5 / 7;
  border-radius: 6px 10px 10px 6px;
  box-shadow: var(--shadow-lg), -3px 0 0 rgba(0,0,0,0.06) inset;
  transform: rotate(2.5deg);
}
.book-cover .ph__tag { transform: rotate(-2.5deg); }

/* reassurance strip */
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4) var(--space-7); }
.reassure span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-700); font-weight: 500; }
.reassure .icon { color: var(--primary); }
.divider-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-tint); }

/* ============================================================
   DARK PANEL (forest)
   ============================================================ */
.panel-dark { background: var(--green-700); color: var(--text-ondark); }
.panel-dark .display, .panel-dark .h2 { color: var(--cream-50); }
.panel-dark .lead { color: var(--text-ondark-muted); }
.panel-dark .eyebrow { color: var(--green-200); }

/* ============================================================
   STEPS (how it works)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step__num {
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 500;
  color: var(--accent); letter-spacing: 0.1em;
  border: 1.5px solid var(--clay-200); border-radius: var(--radius-pill);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--ink-800); margin: 0 0 8px; }
.step p { margin: 0; color: var(--text-secondary); }

/* ============================================================
   CHAPTER LIST
   ============================================================ */
.chapters { display: flex; flex-direction: column; gap: 2px; }
.chapter {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--border);
}
.chapter:last-child { border-bottom: 0; }
.chapter__no { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-muted); width: 34px; flex: none; }
.chapter__title { font-weight: 500; color: var(--ink-800); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.quote-card .stars { margin-bottom: 2px; }
.quote-card blockquote {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-lg);
  line-height: var(--leading-snug); color: var(--ink-700); margin: 0;
}
.quote-card__person { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar-initial { width: 46px; height: 46px; flex: none; border-radius: var(--radius-pill);
  background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.quote-card__name { font-weight: 600; color: var(--ink-800); font-size: var(--text-sm); }
.quote-card__role { font-size: var(--text-xs); color: var(--text-muted); }

/* ============================================================
   PRICING / OFFER
   ============================================================ */
.offer {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: var(--space-8); text-align: center; max-width: 560px; margin: 0 auto;
}
.price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: var(--space-5) 0; }
.price__amount { font-family: var(--font-display); font-weight: 500; font-size: var(--text-4xl); color: var(--ink-800); line-height: 1; }
.price__strike { font-size: var(--text-lg); color: var(--text-muted); text-decoration: line-through; }
.price__note { font-size: var(--text-sm); color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--text-lg); color: var(--ink-800);
}
.faq__q .icon { color: var(--primary); transition: transform var(--dur-base) var(--ease-out); }
.faq__item[data-open="true"] .faq__q .icon { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-inout); }
.faq__item[data-open="true"] .faq__a { max-height: 320px; }
.faq__a p { margin: 0; padding: 0 0 var(--space-5); color: var(--text-secondary); max-width: 64ch; }

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
.capture { display: flex; gap: var(--space-3); flex-wrap: wrap; max-width: 540px; }
.capture input {
  flex: 1; min-width: 220px; font-family: var(--font-sans); font-size: var(--text-base);
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); padding: 15px 16px; min-height: 52px;
}
.capture input::placeholder { color: var(--stone-400); }
.capture input:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-focus); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-800); color: var(--text-ondark-muted); padding: var(--space-8) 0 var(--space-6); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer img { height: 34px; margin-bottom: var(--space-4); }
.footer h4 { color: var(--cream-50); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 var(--space-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer a { color: var(--text-ondark-muted); font-size: var(--text-sm); }
.footer a:hover { color: var(--cream-50); }
.footer__legal { padding-top: var(--space-5); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: rgba(231,239,233,0.6); }
.footer__disclaimer { max-width: 60ch; line-height: 1.5; }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-hero { padding-block: var(--space-8) var(--space-6); text-align: center; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }
.cat-tab {
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700); white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); padding: 8px 18px; transition: all var(--dur-base);
}
.cat-tab:hover { border-color: var(--green-300); color: var(--primary); }
.cat-tab.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.post-card { display: flex; flex-direction: column; }
.post-card .card__body { display: flex; flex-direction: column; height: 100%; }
.post-card .eyebrow { margin-bottom: 10px; font-size: var(--text-xs); }
.post-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: var(--leading-snug); color: var(--ink-800); margin: 0 0 10px; }
.post-card p { margin: 0 0 var(--space-5); color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-normal); }
.post-card__meta { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); margin-top: auto; display: inline-flex; align-items: center; gap: 8px; }
.post-card__meta .icon { width: 14px; height: 14px; color: var(--primary); }
.featured { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-xl); padding: var(--space-8); position: relative; overflow: hidden; }
.featured::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--green-200) 40%, transparent), transparent 70%); pointer-events: none; }
.featured__inner { position: relative; max-width: 60ch; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article { max-width: var(--maxw-prose); margin: 0 auto; padding: var(--space-8) 0; }
.article__head { max-width: var(--maxw-prose); margin: 0 auto; text-align: center; padding-top: var(--space-7); }
.article__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem,4.5vw,var(--text-3xl)); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); color: var(--ink-800); margin: var(--space-4) 0; }
.article__byline { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text-muted); font-size: var(--text-sm); }
.article__byline .ph { width: 40px; height: 40px; }
.article__hero { max-width: 1000px; margin: var(--space-7) auto; aspect-ratio: 16/8; }
.article__rule { width: 64px; height: 3px; border-radius: 2px; background: var(--clay-300); margin: var(--space-6) auto var(--space-7); }
.prose__lead { font-size: var(--text-lg) !important; line-height: var(--leading-relaxed); color: var(--ink-800); }
.prose__lead::first-letter { initial-letter: 2; font-family: var(--font-display); font-weight: 600; color: var(--primary); margin-right: 8px; }
.prose { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--ink-900); }
.prose > * { max-width: var(--maxw-prose); margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 var(--space-5); }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); color: var(--ink-800); margin: var(--space-7) auto var(--space-4); line-height: var(--leading-snug); }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--ink-800); margin: var(--space-6) auto var(--space-3); }
.prose ul { margin: 0 0 var(--space-5); padding-left: 1.3em; }
.prose li { margin-bottom: var(--space-3); }
.prose strong { color: var(--ink-800); font-weight: 700; }
.pullquote { font-family: var(--font-display); font-style: italic; font-size: var(--text-2xl); line-height: var(--leading-snug); color: var(--primary); border-left: 3px solid var(--green-300); padding-left: var(--space-5); margin: var(--space-7) auto; }
.article-cta { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-7) auto; display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; }
.article-cta__book { width: 96px; aspect-ratio: 5/7; flex: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .hero .lead { max-width: none; }
  .hero__actions, .hero__social, .reassure { justify-content: center; }
  .hero__book { order: -1; margin-bottom: var(--space-5); }
  .steps, .post-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .header__nav { display: none; }
  .header__burger { display: block; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* entrance — none; content is always visible (reliable for print/export/screenshots) */
.reveal { }


/* ============================================================
   STATIC-SITE ADDITIONS (mobile menu + cookie bar)
   ============================================================ */
@media (max-width: 980px){
  .header__nav.is-open{ display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column; gap:0; background:var(--cream-50); border-bottom:1px solid var(--border); padding:8px 28px 18px; box-shadow:var(--shadow-md); }
  .header__nav.is-open a{ padding:13px 0; border-bottom:1px solid var(--border); }
}
.cookie-bar{ position:fixed; left:16px; right:16px; bottom:16px; z-index:200; max-width:720px; margin:0 auto; background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:var(--space-5); display:flex; flex-wrap:wrap; gap:var(--space-4); align-items:center; }
.cookie-bar p{ flex:1 1 280px; margin:0; color:var(--text-secondary); }
.cookie-bar .cb-actions{ display:flex; gap:var(--space-3); flex-wrap:wrap; }


/* mobile: collapse the inline multi-column grids */
@media (max-width: 980px){
  .benefits-grid{ grid-template-columns:1fr !important; }
  .bookpanel-grid{ grid-template-columns:1fr !important; }
  .author-grid{ grid-template-columns:1fr !important; text-align:center; }
  .capture-grid{ grid-template-columns:1fr !important; }
}


/* mobile: hide the header CTA button so the bar fits (hero CTA stays visible) */
@media (max-width: 980px){
  .header__cta .btn{ display:none; }
}


/* small phones: keep the offer card and its badge inside the viewport */
@media (max-width: 600px){
  .offer{ padding: var(--space-6) var(--space-5); }
  .offer .badge{ white-space:normal; text-align:center; line-height:1.3; }
}

@media (max-width: 600px){
  .book-cover{ width:min(300px, 82vw); transform:none; }
}

@media (max-width: 600px){
  .btn{ white-space:normal; text-align:center; }
}

@media (max-width: 600px){
  .btn{ max-width:100%; }
}

/* real book cover is ~3:5 — show it fully, no crop */
.book-cover{ aspect-ratio:304/500; }
.article-cta__book{ aspect-ratio:304/500; }
