:root {
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --sand: #d8c3a5;
  --ink: #6b4f3a;
  --muted: #826b59;
  --gold: #c9a86a;
  --sage: #a8b89a;
  --rose: #f4c7cf;
  --line: rgba(107, 79, 58, 0.18);
  --shadow: 0 18px 44px rgba(107, 79, 58, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Nunito,
    Quicksand,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.02;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 106, 0.65);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.nav-links a:hover {
  background: rgba(216, 195, 165, 0.28);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.button.primary {
  background: var(--sage);
  color: #24311f;
  border-color: rgba(107, 79, 58, 0.16);
  box-shadow: var(--shadow);
}
.button.amazon {
  background: #f3d28e;
  border-color: rgba(107, 79, 58, 0.18);
}
.button.large {
  min-height: 52px;
  padding-inline: 22px;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 58px 0 46px;
  background:
    linear-gradient(
      120deg,
      rgba(255, 253, 248, 0.95),
      rgba(246, 241, 231, 0.72)
    ),
    url("assets/banniere-mamie-jo.png") center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-media {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.logo-panel img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 168, 106, 0.55);
  color: #735530;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}
h1 {
  max-width: 850px;
  margin: 18px 0 20px;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}
h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}
.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 26px 0;
}
.actions.center {
  justify-content: center;
}
.trust {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.section {
  padding: 74px 0;
  background: var(--paper);
}
.section.soft {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin-bottom: 0;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.books {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(107, 79, 58, 0.08);
}
.card p {
  color: var(--muted);
}
.book-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.featured-book {
  border-color: rgba(201, 168, 106, 0.68);
}
.cover {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cream), var(--sand));
  border: 1px solid rgba(107, 79, 58, 0.14);
}
.book-card h3 {
  margin-top: 14px;
}
.book-card p {
  flex: 1;
}
.meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: center;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.preview-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.preview-grid img {
  width: 100%;
  aspect-ratio: 0.78 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}
.story {
  max-width: 850px;
  color: var(--muted);
  font-size: 18px;
}
.story strong,
.story a {
  color: var(--ink);
  font-weight: 900;
}
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--ink);
}
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}
.final-cta {
  text-align: center;
  max-width: 780px;
}
.final-cta p {
  color: var(--muted);
  font-size: 19px;
  margin-inline: auto;
  max-width: 650px;
}
.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--cream);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .brand {
    min-width: 0;
  }
  .hero {
    min-height: 0;
  }
  .hero-grid,
  .grid.books,
  .grid.three,
  .grid.benefits,
  .split {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1140px);
  }
  .nav-links {
    justify-content: flex-start;
  }
  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }
  h1 {
    font-size: 38px;
  }
  .section {
    padding: 54px 0;
  }
  .preview-grid,
  .preview-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .button {
    width: 100%;
  }
}
