:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-soft: #f3ede4;
  --ink: #1f2421;
  --muted: #5a625c;
  --border: #e5ddd0;
  --forest: #1e3a2f;
  --forest-dark: #142820;
  --terracotta: #d96b43;
  --terracotta-dark: #bc5530;
  --berry: #8e3b4e;
  --cocoa: #3b2621;
  --gold: #c99738;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(30, 58, 47, 0.08);
  --font-serif: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 90px; }

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

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--forest);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--forest); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 107, 67, 0.28);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover { background: var(--forest-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* Badges & Eyebrows */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(217, 107, 67, 0.11);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 14px 0 18px;
  color: var(--forest);
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-card.tall {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.showcase-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.showcase-card.tall img {
  height: 220px;
}

.showcase-meta {
  padding: 14px 16px;
}

.showcase-meta small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--terracotta);
}

.showcase-meta strong {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--forest);
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 66ch;
  margin: 0 auto 38px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--forest);
  margin: 10px 0 10px;
}

.section-head p { color: var(--muted); margin: 0; }

/* Book Cards */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.book-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 58, 47, 0.9);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.book-tag.b2 { background: rgba(188, 85, 48, 0.92); }
.book-tag.b3 { background: rgba(142, 59, 78, 0.92); }

.book-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--forest);
}

.book-body p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--ink);
}

.feature-list li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 800;
}

.book-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-tag {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--forest);
}

.list-price {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.72;
  margin-left: 6px;
}

/* Bundle Banner */
.bundle-box {
  background: linear-gradient(135deg, var(--forest) 0%, #274a3c 100%);
  color: #fff;
  border-radius: 22px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 20px 44px rgba(30, 58, 47, 0.22);
}

.bundle-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 10px 0 12px;
}

.bundle-box p { color: rgba(255, 255, 255, 0.85); margin: 0 0 18px; }

.bundle-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  font-size: 0.92rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle-perks li::before { content: "★ "; color: #f6c465; }

.bundle-cta-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.bundle-price {
  font-size: 2.6rem;
  font-weight: 800;
}

.bundle-compare {
  opacity: 0.78;
  font-size: 0.95rem;
  font-weight: 500;
}

.save-pill {
  display: inline-block;
  background: #f6c465;
  color: #1f2421;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Value / FAQ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.info-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--forest);
}

.info-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Blog Index & Post */
.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.post-card:hover { transform: translateY(-3px); }

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 8px 0;
  color: var(--forest);
}

.post-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.macro-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest);
  margin-top: auto;
}

.macro-strip span {
  background: var(--surface-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Single Blog Post Layout */
.post-article {
  max-width: 780px;
  margin: 36px auto 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.post-content { padding: 32px 36px; }

.post-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  color: var(--forest);
  margin: 12px 0 12px;
}

.post-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: 14px;
  text-align: center;
}

.post-stats div strong {
  display: block;
  font-size: 1.1rem;
  color: var(--forest);
}

.post-stats div span {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.cta-inline-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f2e8 0%, #efe6d7 100%);
  border: 1px solid var(--border);
}

.cta-inline-box h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  color: var(--forest);
}

/* Upsell Grid (Book 1-3 + Bundle with small covers) */
.upsell-box {
  margin-top: 32px;
  padding: 26px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.upsell-box h3 {
  font-family: var(--font-serif);
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 1.35rem;
}

.upsell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.upsell-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upsell-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.upsell-card img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.upsell-card.bundle-card {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--forest) 0%, #274a3c 100%);
  color: #fff;
  border-color: var(--forest);
  padding: 16px;
}

.upsell-card.match-highlight {
  border-color: var(--terracotta);
  box-shadow: 0 6px 20px rgba(217, 107, 67, 0.14);
}

.match-badge {
  display: inline-block;
  background: rgba(217, 107, 67, 0.14);
  color: var(--terracotta-dark);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.quick-cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(217, 107, 67, 0.09);
  border: 1px solid rgba(217, 107, 67, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.quick-cta-strip a {
  color: var(--terracotta-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mid-callout {
  background: linear-gradient(135deg, #f8f2e8 0%, #efe6d7 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--forest);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0 8px;
  font-size: 0.94rem;
}

.mid-callout a {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.upsell-trust {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.upsell-card-info {
  flex: 1;
  min-width: 0;
}

.upsell-card-info small {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}

.upsell-card.bundle-card .upsell-card-info small {
  color: #f6c465;
}

.upsell-card-info strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  line-height: 1.25;
  margin: 2px 0 4px;
}

.upsell-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--forest);
  margin-top: 4px;
}

.upsell-cta {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--terracotta);
  white-space: nowrap;
}

.upsell-card.bundle-card .upsell-price,
.upsell-card.bundle-card .upsell-cta {
  color: #f6c465;
}

.upsell-more-link {
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.upsell-more-link a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  [id] {
    scroll-margin-top: 76px;
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  .hero {
    padding: 24px 0 36px;
  }
  .section {
    padding: 38px 0;
  }
  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 8px;
  }
  .brand-mark {
    font-size: 1.08rem;
    white-space: nowrap;
  }
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: inherit;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
  }
  .nav-links a.active {
    background: #fff;
    border-color: var(--forest);
  }
  .nav-links .btn-sm {
    padding: 8px 10px;
    font-size: inherit;
    border-radius: 10px;
    background: var(--terracotta);
    border-color: var(--terracotta);
  }
  .site-header.is-scrolled .nav-inner {
    flex-wrap: nowrap;
    padding: 8px 0;
  }
  .site-header.is-scrolled .brand-mark {
    font-size: 0.98rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header.is-scrolled .nav-links {
    width: auto;
    display: flex;
    padding-top: 0;
    border-top: none;
  }
  .site-header.is-scrolled .nav-links a:not(.btn) {
    display: none;
  }
  .site-header.is-scrolled .nav-links .btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
    border-radius: 999px;
    flex-shrink: 0;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
  }
  .upsell-grid { grid-template-columns: 1fr; }
  .upsell-card.bundle-card { grid-column: span 1; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 42px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .books-grid,
  .bundle-box,
  .grid-3,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card.tall { grid-template-columns: 1fr; }
  .post-stats { grid-template-columns: repeat(2, 1fr); }
  .post-content { padding: 24px 20px; }
}
