/* ============================================================
   Toddler Off Screen — brand styles
   Palette pulled from the hedgehog banner
   ============================================================ */
:root {
  --cream:      #FBF3E4;
  --cream-2:    #FDF8EF;
  --paper:      #FFFFFF;
  --sage:       #8FAE7E;
  --sage-dark:  #6E8E5F;
  --brown:      #6B4A36;
  --brown-soft: #8A6A54;
  --coral:      #EA8A6C;
  --coral-dark: #DA714F;
  --blue:       #8FB4CE;
  --mustard:    #F2C14E;
  --pink:       #EF5FA0;
  --pink-soft:  #FBD9EA;
  --ink:        #4A3A2E;
  --muted:      #8b7c6e;
  --ring:       rgba(107, 74, 54, .12);

  --shadow-sm: 0 4px 14px rgba(107, 74, 54, .08);
  --shadow-md: 0 12px 32px rgba(107, 74, 54, .12);
  --shadow-lg: 0 24px 60px rgba(107, 74, 54, .16);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.1; color: var(--brown); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  border: none; cursor: pointer; border-radius: 999px;
  padding: .85rem 1.6rem; font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.12rem; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(218, 113, 79, .35); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 12px 26px rgba(218, 113, 79, .45); }
.btn--ghost { background: #fff; color: var(--brown); box-shadow: inset 0 0 0 2px var(--ring); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--sage); color: var(--sage-dark); }
.btn--light { background: #fff; color: var(--coral-dark); box-shadow: var(--shadow-md); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 228, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ring);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .7rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: .5rem; }
.nav__logo { font-size: 1.7rem; line-height: 1; }
.nav__name { font-family: 'Baloo 2'; font-weight: 800; font-size: 1.15rem; color: var(--sage-dark); line-height: 1; }
.nav__name span { display: block; color: var(--brown); font-size: .92rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-weight: 700; color: var(--brown-soft); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--coral-dark); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--brown); border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.4rem 1.2rem 3.8rem; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: 0; }
.hero__blob--1 { width: 380px; height: 380px; background: radial-gradient(circle, var(--pink-soft), transparent 70%); top: -80px; left: -100px; }
.hero__blob--2 { width: 440px; height: 440px; background: radial-gradient(circle, #D7E7C9, transparent 70%); bottom: -140px; right: -120px; }
.hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.hero__banner {
  width: 100%; max-width: 780px; margin: 0 auto 1.6rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero__tag {
  display: inline-block; font-weight: 800; color: var(--sage-dark);
  background: #fff; padding: .35rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: .92rem; margin-bottom: 1rem;
}
.hero__title { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
.hero__title span { color: var(--coral); }
.hero__sub { max-width: 620px; margin: 1.1rem auto 0; font-size: 1.12rem; color: var(--brown-soft); }
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-top: 2rem;
}
.hero__badges li {
  background: #fff; padding: .5rem 1rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: var(--brown); box-shadow: var(--shadow-sm);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--sage); overflow: hidden; padding: .7rem 0; }
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: scroll 26s linear infinite; }
.marquee__track span { color: #fff; font-family: 'Baloo 2'; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section shells ---------- */
section { padding: 4.4rem 1.2rem; }
.section__head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; color: var(--coral); margin-bottom: .5rem; }
.section__head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section__lead { margin-top: .8rem; color: var(--brown-soft); font-size: 1.08rem; }

/* ---------- Why cards ---------- */
.why { background: var(--cream-2); }
.why__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.card {
  background: #fff; border-radius: var(--r-md); padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .2s, box-shadow .2s; border: 1px solid var(--ring);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2.4rem; margin-bottom: .7rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { color: var(--brown-soft); font-size: .96rem; }

/* ---------- Featured ---------- */
.featured__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.featured__media { position: relative; }
.featured__flag {
  position: absolute; top: -14px; left: 18px; z-index: 3;
  background: var(--mustard); color: var(--brown); font-family: 'Baloo 2'; font-weight: 800;
  padding: .4rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .9rem;
}
.featured__frame {
  background: linear-gradient(135deg, var(--pink-soft), #fff);
  border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.featured__cover {
  background: #fff; border: 4px dashed var(--pink); border-radius: var(--r-md);
  padding: 2.2rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.featured__abc { font-family: 'Baloo 2'; font-weight: 800; font-size: 3.4rem; color: var(--pink); letter-spacing: .05em; line-height: 1; }
.featured__book { font-family: 'Baloo 2'; font-weight: 800; font-size: 1.7rem; color: var(--brown); }
.featured__ages { color: var(--brown-soft); font-weight: 700; font-size: .9rem; }
.featured__stickers { display: flex; gap: .55rem; font-size: 1.8rem; margin: .6rem 0; }
.featured__pages { background: var(--sage); color: #fff; font-family: 'Baloo 2'; font-weight: 700; padding: .4rem 1.2rem; border-radius: 999px; }
.featured__body .eyebrow { text-align: left; }
.featured__body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.featured__desc { color: var(--brown-soft); font-size: 1.06rem; }
.featured__list { list-style: none; margin: 1.2rem 0; display: grid; gap: .5rem; }
.featured__list li { font-weight: 600; color: var(--ink); }
.price { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0; }
.price__now { font-family: 'Baloo 2'; font-weight: 800; font-size: 2rem; color: var(--sage-dark); }
.price__was { color: var(--muted); text-decoration: line-through; font-weight: 700; }
.price__save { background: var(--pink-soft); color: var(--pink); font-weight: 800; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; }
.featured__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.featured__note { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* ---------- Products ---------- */
.products { background: var(--cream-2); }
.products__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.product {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--ring);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product__thumb {
  position: relative; height: 150px; display: flex; align-items: center; justify-content: center;
}
.product__thumb--abc     { background: linear-gradient(135deg, #FBD9EA, #F7B7D5); }
.product__thumb--123     { background: linear-gradient(135deg, #D7E7C9, #B6D39C); }
.product__thumb--shapes  { background: linear-gradient(135deg, #CFE3EF, #A9C7DC); }
.product__thumb--scissors{ background: linear-gradient(135deg, #FDE6C4, #F7C97A); }
.product__emoji { font-size: 3.2rem; }
.product__tag {
  position: absolute; top: 10px; left: 10px; background: #fff; color: var(--sage-dark);
  font-weight: 800; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.product__tag--soon { color: var(--brown-soft); }
.product h3 { font-size: 1.15rem; margin: 1rem 1.1rem .2rem; }
.product p { color: var(--brown-soft); font-size: .92rem; margin: 0 1.1rem; flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem 1.2rem; }
.product__price { font-family: 'Baloo 2'; font-weight: 800; color: var(--sage-dark); font-size: 1.2rem; }
.product--soon .product__thumb { filter: saturate(.85); }

/* ---------- How ---------- */
.how__steps { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: stretch; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step { background: #fff; border-radius: var(--r-md); padding: 2rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); flex: 1; min-width: 220px; max-width: 300px; position: relative; border: 1px solid var(--ring); }
.step__num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; background: var(--coral); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: 'Baloo 2'; font-weight: 800; box-shadow: var(--shadow-sm); }
.step__icon { font-size: 2.6rem; margin: .6rem 0 .6rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.step p { color: var(--brown-soft); font-size: .96rem; }
.step__arrow { align-self: center; font-size: 2rem; color: var(--sage); font-weight: 800; }

/* ---------- Quotes ---------- */
.quotes { background: var(--cream-2); }
.quotes__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.quote { background: #fff; border-radius: var(--r-md); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--ring); }
.quote__stars { color: var(--mustard); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: .6rem; }
.quote p { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.quote footer { margin-top: .8rem; color: var(--brown-soft); font-weight: 700; }
.quotes__disclaimer { max-width: 680px; margin: 1.8rem auto 0; text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- Newsletter ---------- */
.newsletter { padding-top: 1rem; }
.newsletter__card {
  max-width: var(--maxw); margin: 0 auto; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border-radius: var(--r-lg); padding: 3rem 1.5rem; text-align: center; box-shadow: var(--shadow-lg);
}
.newsletter__blob { position: absolute; width: 320px; height: 320px; background: rgba(255,255,255,.12); border-radius: 50%; top: -120px; right: -80px; }
.newsletter__content { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; color: #fff; }
.newsletter__hedgehog { font-size: 3rem; }
.newsletter__content h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: .4rem 0; }
.newsletter__content p { color: rgba(255,255,255,.9); }
.newsletter__form { display: flex; gap: .6rem; margin: 1.4rem auto 0; max-width: 460px; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1; min-width: 200px; border: none; border-radius: 999px; padding: .85rem 1.3rem;
  font-family: 'Nunito'; font-size: 1rem; font-weight: 600; color: var(--ink);
}
.newsletter__form input:focus { outline: 3px solid var(--mustard); }
.newsletter__msg { margin-top: .9rem; font-weight: 700; min-height: 1.2rem; color: var(--mustard); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: .8rem; }
.faq__item { background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--ring); overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: 'Baloo 2'; font-weight: 700;
  color: var(--brown); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '＋'; color: var(--coral); font-size: 1.4rem; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.4rem 1.2rem; color: var(--brown-soft); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; color: #fff; }
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta__inner p { margin: .8rem 0 1.6rem; color: rgba(255,255,255,.92); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: #fff; padding: 3rem 1.2rem 1.5rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__brand .nav__name, .footer__brand .nav__name span { color: #fff; }
.footer__brand { display: flex; flex-direction: column; gap: .3rem; }
.footer__brand .nav__logo { font-size: 2rem; }
.footer__blurb { color: rgba(255,255,255,.7); margin-top: .6rem; max-width: 320px; }
.footer__col h4 { color: var(--mustard); margin-bottom: .8rem; font-size: 1rem; }
.footer__col a { display: block; color: rgba(255,255,255,.8); padding: .25rem 0; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bar { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: rgba(255,255,255,.6); font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .why__grid, .products__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes__grid { grid-template-columns: 1fr; }
  .featured__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 1.2rem; gap: .4rem; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; z-index: 40;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .7rem .4rem; }
  .nav__toggle { display: flex; }
}
@media (max-width: 520px) {
  .why__grid, .products__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  section { padding: 3rem 1.1rem; }
}
