:root {
  --navy: #082d57;
  --blue: #0869c5;
  --red: #ef2025;
  --green: #4ca91e;
  --yellow: #ffbd13;
  --cream: #fff9ef;
  --paper: #ffffff;
  --ink: #12304c;
  --muted: #64778a;
  --line: #dfe8ef;
  --soft-blue: #eaf5ff;
  --soft-yellow: #fff1bd;
  --radius: 28px;
  --shadow: 0 18px 60px rgba(8, 45, 87, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: 190px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a:hover { color: var(--blue); }

.nav-cta {
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background: var(--cream);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
}

.shape-one {
  width: 340px;
  height: 340px;
  background: var(--soft-yellow);
  right: -120px;
  top: -100px;
}

.shape-two {
  width: 240px;
  height: 240px;
  background: var(--soft-blue);
  left: -100px;
  bottom: -100px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero h1,
.section h2,
.contact-section h2 {
  font-family: "Quicksand", sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  color: var(--navy);
}

.hero h1 span { color: var(--red); }

.hero-text {
  max-width: 630px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease;
}

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

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: white;
}

.hero-note {
  margin-top: 33px;
  display: flex;
  flex-direction: column;
  font-size: .95rem;
}

.hero-note strong { color: var(--navy); }
.hero-note span { color: var(--muted); }

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.book-scene {
  position: relative;
  width: 440px;
  height: 480px;
}

.book-card {
  position: absolute;
  width: 280px;
  height: 380px;
  border-radius: 18px 28px 28px 18px;
  box-shadow: var(--shadow);
  border: 5px solid white;
}

.book-back {
  top: 44px;
  left: 40px;
  transform: rotate(-10deg);
  background: var(--soft-blue);
  padding: 55px 34px;
  color: var(--blue);
  font-weight: 900;
}

.trace-line {
  margin-top: 50px;
  border-top: 7px dashed #8bbce5;
  transform: rotate(12deg);
}
.trace-line.short {
  width: 70%;
  margin-top: 44px;
  transform: rotate(-8deg);
}

.book-front {
  top: 70px;
  right: 10px;
  transform: rotate(7deg);
  padding: 38px 26px;
  text-align: center;
  color: var(--navy);
  background: var(--soft-yellow);
}

.book-front p,
.product-cover p {
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.book-front h2 {
  margin-top: 8px;
  font-size: 2.2rem;
  color: var(--red);
}

.book-front strong {
  display: block;
  font-size: 1.4rem;
}

.book-front small,
.product-cover small {
  display: block;
  margin-top: 22px;
  font-size: .68rem;
  font-weight: 900;
}

.mini-adventure {
  position: relative;
  height: 120px;
  margin-top: 22px;
  overflow: hidden;
}

.hill {
  position: absolute;
  width: 180px;
  height: 90px;
  left: 25px;
  bottom: -45px;
  border-radius: 50%;
  background: var(--green);
}

.path {
  position: absolute;
  width: 120px;
  height: 80px;
  left: 55px;
  top: 34px;
  border: 5px dashed white;
  border-color: white transparent transparent white;
  border-radius: 50%;
  transform: rotate(30deg);
}

.flag,
.cover-flag {
  position: absolute;
  width: 32px;
  height: 24px;
  right: 45px;
  top: 16px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 15%, 75% 52%, 100% 90%, 0 78%);
}

.flag::before,
.cover-flag::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 44px;
  left: -4px;
  top: -2px;
  background: var(--navy);
}

.sun {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  top: 18px;
  right: 38px;
  background: var(--yellow);
}

.cloud {
  position: absolute;
  width: 82px;
  height: 27px;
  border-radius: 999px;
  background: white;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: white;
}
.cloud::before { width: 38px; height: 38px; left: 11px; top: -18px; }
.cloud::after { width: 30px; height: 30px; right: 10px; top: -11px; }
.cloud-one { left: 8px; top: 68px; }
.cloud-two { right: -10px; bottom: 72px; transform: scale(.8); }

.star {
  position: absolute;
  color: var(--yellow);
  font-size: 2.1rem;
}
.star-one { left: 3px; bottom: 70px; }
.star-two { right: 20px; top: 110px; font-size: 1.4rem; }

.pencil {
  position: absolute;
  width: 24px;
  height: 190px;
  left: 14px;
  bottom: 10px;
  border-radius: 8px 8px 3px 3px;
  background: var(--red);
  transform: rotate(18deg);
  box-shadow: var(--shadow);
}
.pencil::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 30px solid #e4b687;
}
.pencil::after {
  content: "";
  position: absolute;
  left: 7px;
  top: -30px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 13px solid var(--navy);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.trust-grid div {
  padding: 27px 22px;
  text-align: center;
}
.trust-grid div + div { border-left: 1px solid var(--line); }
.trust-grid strong { display:block; color:var(--navy); }
.trust-grid span { color:var(--muted); font-size:.88rem; }

.section { padding: 110px 0; }

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

.section h2,
.contact-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  color: var(--navy);
}

.section-heading > p {
  max-width: 410px;
  color: var(--muted);
}

.books-section { background: white; }

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.product-cover {
  position: relative;
  margin: 28px 0 28px 28px;
  min-height: 420px;
  padding: 42px 22px 28px;
  text-align: center;
  border: 5px solid white;
  border-radius: 15px 24px 24px 15px;
  box-shadow: 0 15px 30px rgba(8,45,87,.13);
}

.pencil-cover { background: var(--soft-yellow); }
.shapes-cover { background: var(--soft-blue); }

.age-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  font-size: .64rem;
  font-weight: 900;
}

.product-cover h3 {
  margin-top: 9px;
  font-family: "Quicksand",sans-serif;
  font-size: 1.9rem;
  color: var(--red);
}
.shapes-cover h3 { color: var(--blue); }

.product-cover strong {
  display: block;
  font-size: 1.15rem;
}

.cover-art {
  position: relative;
  height: 150px;
  margin-top: 25px;
  overflow: hidden;
}

.rainbow {
  position: absolute;
  width: 150px;
  height: 75px;
  left: 16px;
  top: 30px;
  border: 18px solid var(--red);
  border-bottom: 0;
  border-radius: 90px 90px 0 0;
}
.rainbow::before {
  content: "";
  position: absolute;
  width: 112px;
  height: 56px;
  left: 1px;
  top: 1px;
  border: 15px solid var(--yellow);
  border-bottom: 0;
  border-radius: 70px 70px 0 0;
}
.rainbow::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 38px;
  left: 18px;
  top: 18px;
  border: 13px solid var(--green);
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
}

.cover-path {
  position:absolute;
  width:100px;
  height:65px;
  left:50px;
  bottom:0;
  border-top:4px dashed var(--navy);
  border-radius:50%;
}
.cover-flag { right:16px; top:22px; }

.shape-art {
  position: relative;
  height: 165px;
  margin-top: 20px;
}

.circle, .square, .triangle { position:absolute; }
.circle {
  width:78px; height:78px; border-radius:50%;
  background:var(--yellow); left:8px; top:18px;
}
.square {
  width:75px; height:75px;
  background:var(--green); right:12px; top:55px;
  transform:rotate(10deg);
}
.triangle {
  width:0; height:0;
  border-left:48px solid transparent;
  border-right:48px solid transparent;
  border-bottom:84px solid var(--red);
  left:62px; top:56px;
  transform:rotate(-8deg);
}

.product-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-type {
  margin-bottom: 11px;
  color: var(--blue)!important;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.product-info h3 {
  margin-bottom: 15px;
  font-family: "Quicksand",sans-serif;
  font-size: 2rem;
  line-height:1.18;
  color: var(--navy);
}

.product-info p { color: var(--muted); }
.product-info a { margin-top: 25px; font-weight:900; color:var(--navy); }

.philosophy-section {
  background: var(--navy);
  color: white;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 95px;
}

.eyebrow.light { color: var(--yellow); }
.philosophy-section h2 { color:white; }
.philosophy-copy > p:last-child {
  margin-top: 24px;
  color: rgba(255,255,255,.72);
  font-size:1.08rem;
}

.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.principle:last-child { border-bottom:1px solid rgba(255,255,255,.18); }
.principle > span { color:var(--yellow); font-weight:900; }
.principle h3 { margin-bottom:7px; font-size:1.35rem; }
.principle p { color:rgba(255,255,255,.67); }

.parents-section { background: var(--cream); }

.parent-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items:center;
}

.parent-illustration {
  position:relative;
  min-height:380px;
  border-radius:var(--radius);
  background:white;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.big-circle {
  position:absolute;
  width:170px;height:170px;
  border-radius:50%;
  background:var(--yellow);
  left:65px;top:65px;
}
.small-square {
  position:absolute;
  width:105px;height:105px;
  background:var(--green);
  right:60px;bottom:62px;
  transform:rotate(11deg);
}
.small-triangle {
  position:absolute;
  width:0;height:0;
  border-left:65px solid transparent;
  border-right:65px solid transparent;
  border-bottom:112px solid var(--red);
  right:50px;top:48px;
  transform:rotate(8deg);
}
.dashed-path {
  position:absolute;
  width:260px;height:150px;
  left:85px;bottom:35px;
  border:6px dashed var(--blue);
  border-color:var(--blue) transparent transparent var(--blue);
  border-radius:50%;
  transform:rotate(-7deg);
}

.parent-copy p:not(.eyebrow) {
  margin-top:22px;
  color:var(--muted);
  font-size:1.08rem;
}

.text-link {
  display:inline-block;
  margin-top:25px;
  font-weight:900;
  color:var(--navy);
}

.contact-section {
  padding:88px 0;
  background:var(--yellow);
}

.contact-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:45px;
}
.contact-box h2 {
  max-width:760px;
  font-size:clamp(2.4rem,4vw,4rem);
}
.contact-box p:last-child { margin-top:14px; color:#594614; }
.btn-white { flex-shrink:0; background:white; color:var(--navy); }

footer {
  padding:38px 0;
  background:white;
}

.footer-wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}
.footer-wrap img {
  width:190px;
  height:70px;
  object-fit:contain;
  object-position:left;
}
.footer-wrap div { text-align:right; color:var(--muted); }
.footer-wrap p { font-weight:800; color:var(--navy); }

@media (max-width: 980px) {
  .hero-grid,
  .philosophy-grid,
  .parent-box { grid-template-columns:1fr; }

  .book-grid { grid-template-columns:1fr; }

  .hero-copy { max-width:760px; }
  .hero-visual { min-height:470px; }

  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-grid div:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .trust-grid div:nth-child(4) { border-top:1px solid var(--line); }
}

@media (max-width: 760px) {
  .container { width:min(100% - 28px,1160px); }

  .brand img { width:150px; height:55px; }

  .menu-toggle { display:block; }

  .site-nav {
    position:absolute;
    top:86px;
    left:14px;
    right:14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:14px;
    border:1px solid var(--line);
    border-radius:18px;
    background:white;
    box-shadow:var(--shadow);
  }
  .site-nav.open { display:flex; }
  .site-nav a { padding:14px; }
  .nav-cta { text-align:center; }

  .hero { padding:58px 0 70px; }
  .hero-grid { gap:30px; }
  .hero h1 { font-size:clamp(3rem,14vw,4.7rem); }

  .book-scene {
    width:330px;
    height:430px;
    transform:scale(.87);
  }

  .section { padding:78px 0; }
  .section-heading,
  .contact-box,
  .footer-wrap {
    align-items:flex-start;
    flex-direction:column;
  }

  .product-card { grid-template-columns:1fr; }
  .product-cover { margin:24px 24px 0; min-height:390px; }
  .product-info { padding:30px 26px 38px; }

  .footer-wrap div { text-align:left; }
}
