:root {
  --background: #fffaf0;
  --foreground: #17201b;
  --muted: #5f675e;
  --paper: #fffef9;
  --ink: #111b17;
  --green: #128c4a;
  --green-dark: #075e36;
  --coral: #e9674a;
  --amber: #d79a27;
  --line: #e8ddc7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
  overflow-x: clip;
}

.hero-section {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(255, 247, 228, 0.82)),
    radial-gradient(circle at 84% 16%, rgba(233, 103, 74, 0.18), transparent 32%),
    radial-gradient(circle at 12% 72%, rgba(18, 140, 74, 0.12), transparent 30%);
  border-bottom: 1px solid var(--line);
  min-height: 88vh;
  padding: 24px clamp(18px, 4vw, 64px) 56px;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 56px;
}

.brand,
.nav-actions,
.hero-buttons,
.trust-row,
.cta-strip,
.final-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.82rem;
  height: 38px;
  justify-content: center;
  width: 42px;
}

.nav-actions {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  margin: 56px auto 0;
  max-width: 1180px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(4rem, 12vw, 9.5rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 28px;
  max-width: 780px;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 18px;
}

h3 {
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.hero-lede,
.final-cta p,
.feature-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.hero-lede {
  max-width: 650px;
}

.whatsapp-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.whatsapp-button:hover,
.category-tile:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.whatsapp-button.primary {
  background: var(--green);
  box-shadow: 0 18px 36px rgba(18, 140, 74, 0.24);
  color: white;
}

.whatsapp-button.secondary {
  background: var(--paper);
  border-color: rgba(18, 140, 74, 0.24);
  color: var(--green-dark);
}

.whatsapp-button.ghost {
  background: rgba(255, 255, 255, 0.44);
  border-color: var(--line);
  color: var(--ink);
}

.whatsapp-icon {
  align-items: center;
  background: #21c063;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.trust-row {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 26px;
}

.trust-row span {
  border-left: 3px solid var(--amber);
  padding-left: 10px;
}

.book-showcase {
  min-width: 0;
}

.shelf-card {
  background: linear-gradient(160deg, #fffefa, #f7ead4);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(42, 32, 15, 0.15);
  min-height: 520px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
  position: relative;
}

.shelf-card::after {
  background: #9d6844;
  border-radius: 999px;
  bottom: 92px;
  box-shadow: 0 16px 0 rgba(95, 57, 32, 0.2);
  content: "";
  height: 18px;
  left: 8%;
  position: absolute;
  width: 84%;
}

.book-cover {
  border-radius: 6px;
  box-shadow: 12px 18px 26px rgba(36, 27, 17, 0.18);
  color: white;
  display: flex;
  flex-direction: column;
  height: 280px;
  justify-content: flex-end;
  padding: 22px;
  position: absolute;
  width: 172px;
}

.book-cover span {
  font-size: 0.92rem;
  opacity: 0.86;
}

.book-cover strong {
  font-size: 2.1rem;
  letter-spacing: 0;
  line-height: 1;
}

.book-one {
  background: linear-gradient(160deg, #13261d, #17844a);
  left: 11%;
  top: 74px;
  transform: rotate(-6deg);
}

.book-two {
  background: linear-gradient(160deg, #ef7d59, #a83529);
  left: 38%;
  top: 44px;
  transform: rotate(4deg);
}

.book-three {
  background: linear-gradient(160deg, #eab344, #7c4a12);
  right: 10%;
  top: 92px;
  transform: rotate(-2deg);
}

.desk-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 24px;
  color: var(--muted);
  font-weight: 750;
  left: 24px;
  max-width: calc(100% - 48px);
  padding: 18px;
  position: absolute;
  z-index: 1;
}

.cta-strip {
  background: var(--ink);
  color: white;
  justify-content: center;
  padding: 24px;
}

.cta-strip p {
  font-size: 1.2rem;
  font-weight: 850;
  margin: 0 8px 0 0;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px clamp(18px, 4vw, 64px);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 760px;
}

.category-grid,
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-tile,
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.category-tile {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  padding: 22px;
}

.category-tile span {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}

.category-tile strong {
  color: var(--green-dark);
  font-size: 0.88rem;
}

.category-tile:hover,
.feature-card:hover {
  border-color: rgba(18, 140, 74, 0.34);
  box-shadow: 0 16px 32px rgba(42, 32, 15, 0.08);
}

.feature-band {
  max-width: none;
}

.feature-band .section-heading,
.feature-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.feature-card {
  padding: 24px;
}

.mini-book {
  border-radius: 5px;
  height: 116px;
  margin-bottom: 24px;
  width: 82px;
}

.mini-book.coral {
  background: linear-gradient(145deg, #ff9678, #ba3a2b);
}

.mini-book.green {
  background: linear-gradient(145deg, #2bc56f, #08482d);
}

.mini-book.amber {
  background: linear-gradient(145deg, #f2c85d, #9c5e11);
}

.final-cta {
  background: linear-gradient(135deg, #153123, #0b1812);
  color: white;
  padding: 76px clamp(18px, 4vw, 64px) 106px;
  text-align: center;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.final-actions {
  justify-content: center;
  margin-top: 28px;
}

.floating-whatsapp {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 18px 36px rgba(18, 140, 74, 0.3);
  color: white;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  position: fixed;
  right: 18px;
  z-index: 20;
}

@media (max-width: 900px) {
  .nav-actions a:not(.whatsapp-button) {
    display: none;
  }

  .hero-grid,
  .category-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .shelf-card {
    min-height: 430px;
  }

  .book-cover {
    height: 230px;
    width: 142px;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .hero-grid {
    margin-top: 36px;
  }

  h1 {
    font-size: clamp(3.2rem, 21vw, 5.7rem);
  }

  .whatsapp-button,
  .floating-whatsapp {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .book-one {
    left: 4%;
  }

  .book-two {
    left: 30%;
  }

  .book-three {
    right: 4%;
  }

  .book-cover strong {
    font-size: 1.62rem;
  }

  .final-cta {
    padding-bottom: 136px;
  }
}
