:root {
  --cream: #fff7e8;
  --paper: #fffdf8;
  --sun: #ffd166;
  --coral: #f9846b;
  --blue: #77c9d4;
  --deep-blue: #22445f;
  --green: #7fb069;
  --brown: #6a4a3c;
  --text: #24313d;
  --muted: #66717d;
  --shadow: 0 18px 45px rgba(58, 41, 28, 0.14);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 247, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 74, 60, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--deep-blue);
  box-shadow: 0 8px 22px rgba(255, 209, 102, .45);
}
.brand strong { display: block; font-family: 'Baloo 2', cursive; font-size: 1.25rem; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: .95rem; }
.site-nav a { text-decoration: none; }
.nav-button { padding: 9px 16px; background: var(--deep-blue); color: white; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; }

.section-pad { padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px); }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); font-weight: 900; font-size: .78rem; }
h1, h2, h3 { font-family: 'Baloo 2', cursive; line-height: 1.05; margin: 0 0 16px; color: var(--deep-blue); }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); max-width: 820px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: 1.45rem; }
p { margin-top: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: 82vh;
  background:
    radial-gradient(circle at 80% 20%, rgba(119, 201, 212, .35), transparent 30%),
    radial-gradient(circle at 15% 15%, rgba(255, 209, 102, .45), transparent 28%),
    var(--cream);
}
.hero-text { max-width: 720px; font-size: 1.15rem; color: #3d4a55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
}
.button.primary { background: var(--coral); color: white; box-shadow: 0 12px 25px rgba(249, 132, 107, .25); }
.button.secondary { border-color: var(--deep-blue); color: var(--deep-blue); background: white; }
.button.large { font-size: 1.1rem; padding: 16px 28px; }
.tagline { font-family: 'Baloo 2', cursive; color: var(--green); font-size: 1.35rem; font-weight: 700; }
.hero-card { display: flex; justify-content: center; }
.painting-frame {
  width: min(100%, 450px);
  aspect-ratio: 4 / 5;
  padding: 22px;
  border-radius: 36px;
  background: linear-gradient(135deg, #9a6a42, #d4a15f, #7a4f31);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.painting-glow {
  height: 100%;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.5), transparent 16%),
    linear-gradient(180deg, rgba(119,201,212,.95), rgba(127,176,105,.95));
}
.large-star { font-size: 4.8rem; text-shadow: 0 4px 14px rgba(0,0,0,.18); }

.section-heading { max-width: 840px; margin: 0 auto 36px; text-align: center; }
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.book-card, .activity-card, .benefit-grid > div, .author-card, .adventure-kit, .media-placeholder {
  background: var(--paper);
  border: 1px solid rgba(106, 74, 60, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.book-card { padding: 16px; display: flex; flex-direction: column; }
.cover-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 9;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(255,209,102,.9), rgba(119,201,212,.85));
  color: var(--deep-blue);
  font-weight: 900;
  text-align: center;
  padding: 14px;
}
.book-card p { color: var(--muted); font-size: .95rem; }
.book-card a { margin-top: auto; font-weight: 900; color: var(--coral); text-decoration: none; }

.split-section { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: center; }
.warm-bg { background: #ffefd2; }
.sky-bg { background: #e7f8fb; }
.adventure-kit, .author-card, .media-placeholder { padding: 28px; }
.adventure-kit ul { margin: 0; padding-left: 20px; font-weight: 800; }
.activity-grid, .benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.activity-card, .benefit-grid > div { padding: 24px; }
.media-placeholder { min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); border-style: dashed; }
.cta-section { text-align: center; background: var(--deep-blue); color: white; }
.cta-section h2, .cta-section .eyebrow { color: white; }
.cta-section p { max-width: 720px; margin-left: auto; margin-right: auto; }
.contact-section { background: var(--paper); }
.signup-form { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.signup-form input, .signup-form button {
  border: 2px solid rgba(34, 68, 95, .18);
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
}
.signup-form input { min-width: 240px; background: white; }
.signup-form button { background: var(--green); color: white; font-weight: 900; cursor: pointer; border-color: var(--green); }
.form-note { text-align: center; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.site-footer { padding: 28px clamp(18px, 5vw, 72px); background: #17364d; color: white; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

@media (max-width: 1100px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .activity-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 18px; right: 18px; top: 76px; flex-direction: column; align-items: stretch; padding: 18px; background: white; border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .painting-frame { max-width: 360px; }
}
@media (max-width: 560px) {
  .book-grid, .activity-grid, .benefit-grid { grid-template-columns: 1fr; }
  .site-header { padding-inline: 16px; }
  h1 { font-size: 3rem; }
}
