/* ============================================================
   LIVERDECODED — Homepage Stylesheet
   Palette: Forest Green / Warm Amber / Off-White
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --green:         #1a4a35;
  --green-mid:     #2d6a4f;
  --green-light:   #e8f3ee;
  --green-faint:   #f2f8f5;
  --green-glow:    #74c69d;

  --amber:         #b8762a;
  --amber-dark:    #9a6020;
  --amber-light:   #fdf0dc;

  --teal:          #1d5f6e;
  --plum:          #4a2d6b;
  --slate:         #2b4363;

  --text:          #2d3748;
  --text-muted:    #64748b;
  --text-faint:    #94a3b8;

  --bg:            #faf8f3;
  --bg-card:       #ffffff;
  --border:        #e5e0d8;
  --border-light:  #ede9e1;

  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     18px;

  --shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
  --shadow:        0 3px 14px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);

  --max-w:         1120px;
  --nav-h:         60px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.22;
  letter-spacing: -0.2px;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout Helpers ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography Helpers ────────────────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,118,42,0.35);
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green-light); }

.btn-ghost {
  background: rgba(255,255,255,0.11);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-amber { background: var(--amber-light); color: var(--amber-dark); }


/* ============================================================
   NAV
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #12352a 0%, var(--green) 45%, var(--teal) 100%);
  padding: 80px 24px 0;
  overflow: hidden;
  position: relative;
}

/* ambient glows */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 20%, rgba(184,118,42,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 8%  80%, rgba(116,198,157,0.07) 0%, transparent 60%);
  pointer-events: none;
}
/* subtle grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.023) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: end;
}

/* ── Hero left ── */
.hero__left { padding-bottom: 68px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  color: #9de0bc;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--green-glow);
  border-radius: 50%;
  display: block;
}

.hero__h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.14;
}
.hero__h1 em {
  font-style: italic;
  color: var(--green-glow);
}

.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.78;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__proof {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--green-glow);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2px;
}

/* ── Hero right: calculator card ── */
.hero__card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: -2px;           /* flush to section bottom */
}

.hero__card-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-glow);
  margin-bottom: 12px;
}

.hero__card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero__card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  margin-bottom: 18px;
}

.score-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.score-pill {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.calc-field {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.calc-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}
.calc-field span {
  font-size: 14px;
  color: rgba(255,255,255,0.84);
  font-weight: 500;
}

.calc-result {
  background: rgba(116,198,157,0.11);
  border: 1px solid rgba(116,198,157,0.24);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.calc-result__left { min-width: 0; }
.calc-result__label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 3px; }
.calc-result__tag {
  font-size: 11px;
  color: #9de0bc;
  background: rgba(116,198,157,0.14);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}
.calc-result__val {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--green-glow);
  font-weight: 600;
  flex-shrink: 0;
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.trust-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}


/* ============================================================
   CALCULATOR SPOTLIGHT
   ============================================================ */
.calc-spotlight {
  background: linear-gradient(135deg, var(--green) 0%, #1d5060 100%);
  padding: 84px 24px;
  position: relative;
  overflow: hidden;
}
.calc-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 85% 40%, rgba(184,118,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.calc-spotlight__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* left prose */
.calc-spotlight__left .section-label { color: #9de0bc; }

.calc-spotlight__left h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: #fff;
  margin-bottom: 14px;
}

.calc-spotlight__left p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.76);
  line-height: 1.78;
  margin-bottom: 20px;
}

.calc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.calc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.80);
}
.calc-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(116,198,157,0.18);
  border: 1px solid rgba(116,198,157,0.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--green-glow);
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-spotlight__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* right score grid */
.calc-spotlight__right {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.calc-spotlight__grid-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.score-block {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 14px 15px;
}
.score-block--highlight {
  background: rgba(116,198,157,0.11);
  border-color: rgba(116,198,157,0.24);
}

.score-block__name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 5px;
}
.score-block--highlight .score-block__name { color: #9de0bc; }

.score-block__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}


/* ============================================================
   GUIDES SECTION
   ============================================================ */
.guides {
  padding: 84px 24px;
  background: var(--bg);
}

.guides__header {
  max-width: var(--max-w);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.guides__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.guide-card--enzymes::before  { background: var(--green); }
.guide-card--scoring::before  { background: var(--amber); }
.guide-card--fibrosis::before { background: var(--teal); }
.guide-card--imaging::before  { background: var(--plum); }
.guide-card--featured::before { background: linear-gradient(90deg, var(--green), var(--teal)); }

.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #cfc8be;
}

.guide-card__cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  font-family: 'Playfair Display', serif;
}

.guide-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.62;
  flex: 1;
}

.guide-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  transition: gap 0.18s;
}
.guide-card:hover .guide-card__cta { gap: 9px; }

/* featured card variant */
.guide-card--featured {
  background: linear-gradient(135deg, var(--green-faint) 0%, #e4f2ea 100%);
  border-color: #b7ddc8;
}
.guide-card--featured .guide-card__cat { color: var(--green); }
.guide-card--featured h3              { color: var(--green); }
.guide-card--featured .guide-card__cta { color: var(--amber); }


/* ============================================================
   BOOKS SECTION
   ============================================================ */
.books {
  padding: 84px 24px;
  background: var(--green-faint);
  border-top: 1px solid #d8ebe0;
  border-bottom: 1px solid #d8ebe0;
}

.books__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.books__header { margin-bottom: 40px; }

.books__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

/* individual book card */
.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.book-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.book-card__head {
  padding: 28px 28px 0;
}

.book-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.book-card__num {
  width: 30px;
  height: 30px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

.book-card h3 {
  font-size: 20px;
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1.28;
}

.book-card__tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.book-card__chapters {
  padding: 20px 28px;
  flex: 1;
}

.book-card__chapters-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.chapter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.chapter-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}
.chapter-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border: 1.5px solid var(--green-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.book-card__foot {
  padding: 20px 28px 26px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.book-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.book-card__price sub {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  vertical-align: middle;
}

.book-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* bundle card */
.bundle-card {
  background: var(--amber-light);
  border: 1.5px solid #e8c080;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bundle-card__text h3 {
  font-size: 22px;
  color: var(--green);
  margin-bottom: 7px;
}
.bundle-card__text p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

.bundle-card__pricing {
  text-align: right;
  flex-shrink: 0;
}
.bundle-card__was {
  font-size: 14px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.bundle-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}


/* ============================================================
   TOPICS STRIP
   ============================================================ */
.topics-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}

.topics-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topics-strip__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  margin-right: 4px;
}

.topic-chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.topic-chip:hover {
  background: var(--green-light);
  color: var(--green);
  border-color: #b7ddc8;
}
.topic-chip--all {
  font-weight: 700;
  color: var(--green);
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 84px 24px;
  background: var(--bg);
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}
.faq__header .section-sub { margin: 0 auto; }

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s;
}
.faq__q:hover { color: var(--green); }

.faq__chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.faq__chevron svg {
  width: 11px;
  height: 11px;
  stroke: var(--green);
  transition: transform 0.28s ease;
}

.faq__item--open .faq__chevron { background: var(--green); }
.faq__item--open .faq__chevron svg {
  stroke: #fff;
  transform: rotate(180deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq__item--open .faq__a { max-height: 500px; }

.faq__a-inner {
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.82;
}
.faq__a-inner a {
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--amber-light);
  border-top: 1px solid #e8c080;
  padding: 16px 24px;
}

.disclaimer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #5a3a0a;
  line-height: 1.6;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0f2d1f;
  color: rgba(255,255,255,0.62);
  padding: 56px 24px 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  font-size: 13.5px;
  line-height: 1.72;
  margin: 12px 0 18px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__social {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: background 0.18s, color 0.18s;
}
.footer__social:hover { background: rgba(255,255,255,0.14); color: #fff; }

.footer__col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  transition: color 0.15s;
}
.footer__col ul li a:hover { color: var(--green-glow); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up              { animation: fadeUp 0.5s ease both; }
.fade-up--d1          { animation-delay: 0.08s; }
.fade-up--d2          { animation-delay: 0.16s; }
.fade-up--d3          { animation-delay: 0.24s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner              { grid-template-columns: 1fr; }
  .hero__card               { display: none; }
  .hero__left               { padding-bottom: 52px; }
  .calc-spotlight__inner    { grid-template-columns: 1fr; gap: 40px; }
  .guides__grid             { grid-template-columns: repeat(2, 1fr); }
  .books__grid              { grid-template-columns: 1fr; }
  .footer__top              { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .guides__grid                 { grid-template-columns: 1fr; }
  .guides__header               { flex-direction: column; align-items: flex-start; }
  .hero__actions                { flex-direction: column; }
  .hero__actions .btn           { justify-content: center; }
  .hero__proof                  { gap: 20px; }
  .trust-bar__inner             { gap: 18px; justify-content: flex-start; }
  .bundle-card                  { flex-direction: column; }
  .bundle-card__pricing         { text-align: left; }
  .book-card__actions           { align-items: flex-start; }
  .footer__top                  { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom               { flex-direction: column; text-align: center; }
  .topics-strip__inner          { gap: 8px; }
}

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter {
  background: var(--surface, #f7f4ef);
  padding: 72px 24px;
  text-align: center;
}
.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter__inner h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.newsletter__inner p {
  color: var(--text-muted, #666);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.65;
}
.newsletter__form {
  display: flex;
  justify-content: center;
}
/* Override EmailOctopus default widths so it fits cleanly */
.newsletter__form > div,
.newsletter__form form {
  width: 100% !important;
  max-width: 480px !important;
}