/* ==========================================================================
   Baby Hippo Coloring — shared stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@500;600;700&display=swap');

:root{
  --cream:      #fff6e8;
  --cream-2:    #fff0d8;
  --ink:        #2c1b3d;
  --purple:     #7b3fc4;
  --purple-dk:  #5a2596;
  --violet:     #9b5de5;
  --pink:       #ff5da2;
  --pink-dk:    #e13e83;
  --yellow:     #ffc93c;
  --yellow-dk:  #f2a900;
  --blue:       #3fc1e0;
  --green:      #4cc98a;
  --paper:      #fffdf9;
  --line:       #2c1b3d;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-pop: 6px 6px 0 var(--ink);
  --shadow-pop-sm: 4px 4px 0 var(--ink);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle, rgba(44,27,61,0.08) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
}

h1, h2, h3, h4{
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .4em;
  letter-spacing: .2px;
}

p{ margin: 0 0 1em; }

a{ color: inherit; }

img{ max-width: 100%; display: block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

/* ---- decorative blobs / stars ---- */
.blob{
  position:absolute; z-index:0; pointer-events:none;
  filter: blur(0px);
}
.star{
  position:absolute; z-index:1; pointer-events:none;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle{
  0%,100%{ transform: scale(1) rotate(0deg); opacity:.85; }
  50%{ transform: scale(1.25) rotate(12deg); opacity:1; }
}
@keyframes float-y{
  0%,100%{ transform: translateY(0) rotate(var(--r,0deg)); }
  50%{ transform: translateY(-16px) rotate(var(--r,0deg)); }
}
@keyframes spin-slow{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  font-size:1.05rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  text-decoration:none;
  cursor:pointer;
  box-shadow: var(--shadow-pop);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active{ transform: translate(1px,1px); box-shadow: 3px 3px 0 var(--ink); }
.btn-primary{ background: var(--pink); color: #fff; }
.btn-secondary{ background: var(--paper); color: var(--ink); }
.btn-yellow{ background: var(--yellow); color: var(--ink); }
.btn-sm{ padding: 10px 20px; font-size: .92rem; border-width: 2.5px; box-shadow: var(--shadow-pop-sm); }
.btn-sm:hover{ box-shadow: 6px 6px 0 var(--ink); }

.btn-store{
  display:inline-flex; align-items:center; gap:12px;
  background: var(--ink); color:#fff;
  border-radius: 16px; padding: 11px 22px 11px 18px;
  border: 3px solid var(--ink);
  text-decoration:none;
  box-shadow: var(--shadow-pop);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-store:hover{ transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--purple-dk); }
.btn-store svg{ flex-shrink:0; }
.btn-store .store-text{ text-align:left; line-height:1.15; }
.btn-store .store-text small{ display:block; font-size:.66rem; font-weight:600; opacity:.8; font-family:'Quicksand'; letter-spacing:.4px; text-transform:uppercase; }
.btn-store .store-text strong{ display:block; font-size:1.18rem; font-family:'Baloo 2'; }

/* ---- badge / pill / tag ---- */
.pill{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:2.5px solid var(--ink); border-radius:999px;
  padding:7px 16px; font-size:.85rem; font-weight:700;
  box-shadow: 3px 3px 0 var(--ink);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav{
  position: sticky; top:0; z-index:50;
  background: rgba(255,246,232,.88);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.site-nav .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color: var(--ink);
}
.brand img{ width:44px; height:44px; border-radius:12px; }
.brand span{
  font-family:'Baloo 2', sans-serif; font-weight:800; font-size:1.28rem;
}
.nav-links{
  display:flex; align-items:center; gap:30px; list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  text-decoration:none; font-weight:700; font-size:.98rem;
  position:relative; padding-bottom:3px;
}
.nav-links a:hover{ color: var(--purple-dk); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{ display:none; }

@media (max-width: 880px){
  .nav-links{ display:none; }
  .nav-cta .btn-sm-label{ display:none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  padding: 86px 0 70px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items:center;
  position:relative; z-index:2;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:2.5px solid var(--ink); border-radius:999px;
  padding:6px 16px 6px 8px; font-size:.85rem; font-weight:700;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 22px;
}
.hero-eyebrow .dot{
  width:22px; height:22px; border-radius:50%;
  background: var(--yellow); display:flex; align-items:center; justify-content:center;
  font-size: .8rem;
}
.hero h1{
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  color: var(--purple-dk);
}
.hero h1 .swirl{
  color: var(--pink);
  position:relative;
  display:inline-block;
}
.hero-sub{
  font-size: 1.18rem;
  max-width: 480px;
  color: #4a3763;
  font-weight:600;
}
.hero-actions{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin-top: 30px;
}
.hero-rating{
  display:flex; align-items:center; gap:12px;
  margin-top: 26px; font-size:.92rem; font-weight:700; color:#4a3763;
}
.hero-rating .stars{ color: var(--yellow-dk); font-size:1.1rem; letter-spacing:2px; }

.hero-art{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  min-height: 420px;
}
.hero-art .stage{
  position:relative; width: 420px; height:420px;
  display:flex; align-items:center; justify-content:center;
}
.hero-art .stage::before{
  content:"";
  position:absolute; inset: 10px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--yellow) 72%);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow-pop);
  animation: spin-slow 40s linear infinite;
}
.hero-art img.mascot{
  position:relative; z-index:2;
  width: 340px; filter: drop-shadow(0 18px 14px rgba(44,27,61,.28));
  animation: float-y 5s ease-in-out infinite;
}
.hero-art .crayon{
  position:absolute; z-index:3;
  animation: float-y 4.5s ease-in-out infinite;
}

/* scribble underline */
.scribble-underline{
  position: relative;
  display:inline-block;
}
.scribble-underline svg{
  position:absolute; left:0; bottom:-10px; width:100%; height:14px;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee{
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--purple);
  padding: 16px 0;
  overflow:hidden;
  position:relative;
}
.marquee-track{
  display:flex; align-items:center; gap:46px;
  width:max-content;
  animation: marquee 28s linear infinite;
}
.marquee span{
  font-family:'Baloo 2', sans-serif; font-weight:700; color:#fff;
  font-size:1.15rem; display:flex; align-items:center; gap:14px;
  white-space:nowrap;
}
.marquee span::after{ content:"✦"; color: var(--yellow); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section{ padding: 96px 0; position:relative; }
.section-head{
  text-align:center; max-width: 680px; margin: 0 auto 56px;
}
.section-tag{
  display:inline-block; font-family:'Baloo 2'; font-weight:700;
  color: var(--pink-dk); background:#fff; border:2.5px solid var(--ink);
  padding: 5px 16px; border-radius:999px; font-size:.85rem;
  box-shadow: 3px 3px 0 var(--ink); margin-bottom:16px; transform: rotate(-2deg);
}
.section-head h2{
  font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--purple-dk);
}
.section-head p{ color:#4a3763; font-size:1.08rem; }

.alt-bg{ background: var(--cream-2); }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-card{
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-pop);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover{ transform: translate(-3px,-5px); box-shadow: 9px 11px 0 var(--ink); }
.feature-card .icon{
  width:58px; height:58px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem; border:2.5px solid var(--ink);
  margin-bottom:18px; box-shadow: 3px 3px 0 var(--ink);
}
.feature-card h3{ font-size:1.28rem; color: var(--ink); margin-bottom:.35em; }
.feature-card p{ color:#4a3763; font-size:.98rem; margin:0; }

.bg-pink{ background: var(--pink); color:#fff; }
.bg-yellow{ background: var(--yellow); }
.bg-blue{ background: var(--blue); color:#fff; }
.bg-green{ background: var(--green); color:#fff; }
.bg-purple{ background: var(--violet); color:#fff; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 30px;
  counter-reset: step;
}
.step{ position:relative; text-align:center; padding: 0 14px; }
.step .num{
  width:64px; height:64px; margin: 0 auto 18px;
  border-radius:50%; border:3px solid var(--ink);
  background: var(--yellow); display:flex; align-items:center; justify-content:center;
  font-family:'Baloo 2'; font-weight:800; font-size:1.5rem;
  box-shadow: var(--shadow-pop-sm);
}
.step h3{ font-size:1.2rem; }
.step p{ color:#4a3763; font-size:.96rem; }
.step-arrow{
  position:absolute; top:26px; right:-24px; font-size:1.6rem; color: var(--purple);
}

/* ==========================================================================
   FRIENDS / CHARACTERS
   ========================================================================== */
.friends-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.friend-card{
  background:#fff; border:3px solid var(--ink); border-radius: var(--radius-md);
  padding: 20px 16px 22px; text-align:center;
  box-shadow: var(--shadow-pop);
  transition: transform .18s ease, box-shadow .18s ease;
}
.friend-card:nth-child(2n){ transform: rotate(1.4deg); }
.friend-card:nth-child(2n+1){ transform: rotate(-1.4deg); }
.friend-card:hover{ transform: translateY(-6px) rotate(0deg); box-shadow: 8px 10px 0 var(--ink); }
.friend-card img{ width:100%; max-width:150px; margin: 0 auto 10px; }
.friend-card h4{ font-size:1.05rem; margin-bottom:2px; }
.friend-card p{ font-size:.85rem; color:#5c4877; margin:0; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.gallery-item{
  background:#fff; border:3px solid var(--ink); border-radius: var(--radius-sm);
  overflow:hidden; box-shadow: var(--shadow-pop-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-item:hover{ transform: translate(-2px,-4px); box-shadow: 7px 9px 0 var(--ink); }
.gallery-item img{ width:100%; aspect-ratio: 4/5; object-fit:cover; }
.gallery-item .cap{
  padding: 10px 12px; font-family:'Baloo 2'; font-weight:700; font-size:.92rem;
  border-top: 3px solid var(--ink); background: var(--cream-2);
}

/* ==========================================================================
   TRUST / PARENTS
   ========================================================================== */
.trust-wrap{
  background: var(--purple);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 54px 50px;
  color:#fff;
  display:grid; grid-template-columns: 1fr 1fr; gap:50px;
  align-items:center;
  box-shadow: var(--shadow-pop);
  position:relative; overflow:hidden;
}
.trust-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.trust-list li{ display:flex; align-items:flex-start; gap:12px; font-weight:600; }
.trust-list .check{
  flex-shrink:0; width:26px; height:26px; border-radius:50%;
  background: var(--yellow); color:var(--ink); display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-weight:800; border: 2px solid var(--ink);
}
.trust-wrap h2{ color:#fff; }
.trust-wrap .section-tag{ background: var(--yellow); color:var(--ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width: 760px; margin: 0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{
  background:#fff; border:3px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop-sm); overflow:hidden;
}
.faq-item summary{
  cursor:pointer; list-style:none; padding: 18px 22px;
  font-family:'Baloo 2'; font-weight:700; font-size:1.05rem;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-size:1.5rem; color: var(--pink-dk); flex-shrink:0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item .faq-body{ padding: 0 22px 20px; color:#4a3763; font-size:.98rem; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner{
  background: var(--pink);
  border-top:3px solid var(--ink); border-bottom:3px solid var(--ink);
  padding: 70px 0;
  text-align:center;
  position:relative; overflow:hidden;
}
.cta-banner h2{ color:#fff; font-size: clamp(2rem,4vw,3rem); }
.cta-banner p{ color:#fff2f8; font-size:1.1rem; max-width:520px; margin:0 auto 30px; }
.cta-actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--ink); color: #fff2e6;
  padding: 56px 0 28px;
}
.footer-top{
  display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom: 34px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ width:44px; height:44px; border-radius:12px; }
.footer-brand span{ font-family:'Baloo 2'; font-weight:800; font-size:1.2rem; color:#fff; }
.footer-cols{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-col h5{
  font-family:'Baloo 2'; font-size:.82rem; letter-spacing:1px; text-transform:uppercase;
  color: var(--yellow); margin-bottom:14px;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-col a{ text-decoration:none; color:#e9dcf7; font-weight:600; font-size:.95rem; }
.footer-col a:hover{ color: var(--yellow); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:.86rem; color:#bfa9dd;
}
.footer-bottom .made{ display:flex; align-items:center; gap:6px; }

/* ==========================================================================
   SIMPLE PAGE (support / privacy)
   ========================================================================== */
.page-hero{
  padding: 64px 0 40px; text-align:center; position:relative;
}
.page-hero h1{ color: var(--purple-dk); font-size: clamp(2.2rem,4vw,3.2rem); }
.page-hero p{ color:#4a3763; max-width:560px; margin: 0 auto; }

.doc-wrap{
  max-width: 820px; margin: 0 auto; padding: 0 28px 90px;
}
.doc-card{
  background: var(--paper); border:3px solid var(--ink); border-radius: var(--radius-lg);
  padding: 48px 52px; box-shadow: var(--shadow-pop);
}
.doc-card h2{ color: var(--purple-dk); font-size:1.5rem; margin-top:1.6em; }
.doc-card h2:first-child{ margin-top:0; }
.doc-card h3{ font-size:1.12rem; color: var(--pink-dk); margin-top:1.4em;}
.doc-card p, .doc-card li{ color:#3a2a52; font-size:1rem; }
.doc-card ul{ padding-left: 1.3em; }
.doc-card li{ margin-bottom:.5em; }
.doc-card strong{ color: var(--ink); }
.doc-card a{ color: var(--purple-dk); font-weight:700; text-decoration: underline wavy var(--pink); text-underline-offset:3px; }
.doc-updated{
  display:inline-block; margin-bottom: 30px;
}

.contact-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top: 40px;
}
.contact-card{
  background:#fff; border:3px solid var(--ink); border-radius: var(--radius-md);
  padding: 26px 22px; text-align:center; box-shadow: var(--shadow-pop-sm);
}
.contact-card .icon{
  width:52px; height:52px; border-radius:14px; margin: 0 auto 14px;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem;
  border:2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.contact-card h3{ font-size:1.08rem; }
.contact-card p{ font-size:.92rem; color:#4a3763; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; min-height: 320px; }
  .hero-art .stage{ width:300px; height:300px; }
  .hero-art img.mascot{ width:250px; }
  .features-grid{ grid-template-columns: repeat(2,1fr); }
  .friends-grid{ grid-template-columns: repeat(3,1fr); }
  .gallery-grid{ grid-template-columns: repeat(3,1fr); }
  .steps{ grid-template-columns: 1fr; gap:44px; }
  .step-arrow{ display:none; }
  .trust-wrap{ grid-template-columns:1fr; padding: 40px 30px; }
  .contact-grid{ grid-template-columns:1fr; }
  .doc-card{ padding: 34px 26px; }
}
@media (max-width: 620px){
  .features-grid{ grid-template-columns: 1fr; }
  .friends-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ flex-direction:column; }
  .hero{ padding-top:56px; }
  .section{ padding: 66px 0; }
}
