/* ============================================================
   Kidz Kingdom - kidzkingdom.online
   Mobile-first. ~95% of Pakistani Facebook traffic is mobile.
   ============================================================ */

:root {
  --purple: #5b2c8d;
  --purple-dark: #3f1e64;
  --purple-light: #f3ecfb;
  --yellow: #ffc93c;
  --yellow-dark: #e8ad14;
  --coral: #ff6b6b;
  --green: #1f9d55;
  --green-light: #e8f6ee;
  --cream: #fff8f0;
  --ink: #2d1b4e;
  --body: #4a4458;
  --muted: #7a7387;
  --line: #e8e2ef;
  --white: #fff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 16px rgba(45, 27, 78, 0.08);
  --shadow-lg: 0 12px 32px rgba(45, 27, 78, 0.14);

  --wrap: 1080px;
  --font-display: 'Baloo 2', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  /* room for the sticky mobile order bar */
  padding-bottom: 72px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.section { padding: 44px 0; }
.section--tint { background: var(--white); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.section__head p { color: var(--muted); margin: 0; }

.center { text-align: center; }

/* ---------------------------------------------- announcement bar */

.announce {
  background: var(--purple);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 9px 14px;
  letter-spacing: 0.01em;
}
.announce span { white-space: nowrap; }
.announce span + span::before {
  content: '•';
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------------------------------------------- header */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo__crown { font-size: 1.25rem; }

.header__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---------------------------------------------- hero */

.hero {
  background: linear-gradient(170deg, var(--purple-light) 0%, var(--cream) 72%);
  padding: 30px 0 40px;
}
.hero__grid { display: grid; gap: 26px; }

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--purple-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.hero h1 { margin-bottom: 12px; }
.hero__sub { font-size: 1.02rem; color: var(--body); margin-bottom: 20px; }

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* placeholder shown until real photos are dropped in */
.ph {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: repeating-linear-gradient(
    45deg, #efe8f7, #efe8f7 12px, #e7ddf3 12px, #e7ddf3 24px
  );
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  padding: 20px;
}
.ph small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }

/* ---------------------------------------------- price */

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.price__now { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--purple); }
.price__was { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.price__save {
  background: var(--coral);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
}
.price__note { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }

/* ---------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 14px 26px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  width: 100%;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.btn--primary { background: var(--yellow); color: var(--purple-dark); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--wa { background: var(--green); color: #fff; }
.btn--ghost { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-row { display: grid; gap: 10px; }

/* ---------------------------------------------- trust strip */

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.trust__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.trust__ico { font-size: 1.4rem; display: block; margin-bottom: 3px; }

/* ---------------------------------------------- steps */

.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  position: relative;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 50%;
}
.step h3 { margin-top: 6px; }
.step p { margin: 0; font-size: 0.92rem; }

/* ---------------------------------------------- features */

.features { display: grid; gap: 14px; }
.feature {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.feature__ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--purple-light);
  border-radius: 12px;
  font-size: 1.3rem;
}
.feature h3 { font-size: 1rem; margin-bottom: 3px; }
.feature p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------- included box */

.included {
  background: var(--white);
  border: 2px dashed var(--purple);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.included ul { list-style: none; margin: 0; padding: 0; }
.included li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.included li:last-child { border-bottom: none; }
.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ---------------------------------------------- video */

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame video, .video-frame iframe {
  width: 100%; height: 100%; display: block; border: 0;
}

/* ---------------------------------------------- reviews */

.reviews { display: grid; gap: 14px; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.review__stars { color: var(--yellow-dark); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 6px; }
.review__text { font-size: 0.94rem; margin-bottom: 10px; }
.review__who { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.reviews-empty {
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------------------------------------------- faq */

.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 15px 44px 15px 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  list-style: none;
  font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--purple);
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 16px 16px; font-size: 0.92rem; color: var(--body); }

/* ---------------------------------------------- order form */

.order { background: var(--purple); color: #fff; }
.order h2, .order .section__head p { color: #fff; }
.order .section__head p { opacity: 0.85; }

.order__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}

.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.field .req { color: var(--coral); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 13px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--purple);
}
.field textarea { resize: vertical; min-height: 76px; }
.field__hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.field__err { font-size: 0.8rem; color: var(--coral); font-weight: 600; margin-top: 4px; display: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--coral); }
.field.is-invalid .field__err { display: block; }

.field-row { display: grid; gap: 15px; }

.summary {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.summary__line { display: flex; justify-content: space-between; padding: 3px 0; }
.summary__line--total {
  border-top: 2px solid var(--line);
  margin-top: 7px;
  padding-top: 9px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--purple);
}
.summary__free { color: var(--green); font-weight: 700; }

.cod-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #14532d;
  margin-bottom: 16px;
}

.form-msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.form-msg--error { display: block; background: #fdeaea; color: #9b1c1c; }

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------------------------------------------- sticky mobile bar */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(45, 27, 78, 0.1);
}
.sticky-bar__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--purple);
  white-space: nowrap;
}
.sticky-bar .btn { flex: 1; padding: 12px 16px; font-size: 0.98rem; }
.sticky-bar__wa {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.25rem;
}

/* ---------------------------------------------- footer */

.footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 34px 0 26px;
  font-size: 0.88rem;
}
.footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 10px; }
.footer__grid { display: grid; gap: 24px; margin-bottom: 24px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ---------------------------------------------- legal pages */

.legal { background: var(--white); padding: 34px 0 50px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin-top: 30px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 7px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 9px 11px; border: 1px solid var(--line); }
.legal th { background: var(--purple-light); color: var(--ink); font-weight: 700; }

/* ---------------------------------------------- thank you */

.ty { min-height: 62vh; display: grid; place-items: center; padding: 44px 0; text-align: center; }
.ty__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
}
.ty__tick {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: 2.1rem;
}
.ty__ref {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 11px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-weight: 700;
  color: var(--purple);
  margin: 16px 0 22px;
}

/* ---------------------------------------------- desktop */

@media (min-width: 720px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .hero__copy { order: 1; }
  .hero__media { order: 2; }

  .btn { width: auto; }
  .btn-row { display: flex; flex-wrap: wrap; }
  .btn-row .btn { flex: 1 1 auto; min-width: 210px; }

  .trust { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .order__card { padding: 32px 30px; }

  /* the sticky bar is a mobile pattern - desktop has the hero CTA in view */
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* ============================================================
   Homepage
   ============================================================ */

/* ---------------------------------------------- nav */

.nav { display: none; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 100px;
}
.nav a:hover { background: var(--purple-light); color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); background: var(--purple-light); }

/* ---------------------------------------------- home hero */

.hhero {
  background: linear-gradient(150deg, var(--purple) 0%, #7a3fb8 55%, #9b4dd4 100%);
  color: #fff;
  padding: 40px 0 46px;
  position: relative;
  overflow: hidden;
}
.hhero::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  background: var(--yellow);
  opacity: 0.16;
  border-radius: 50%;
}
.hhero__grid { display: grid; gap: 26px; position: relative; z-index: 1; }
.hhero h1 { color: #fff; margin-bottom: 12px; }
.hhero p { font-size: 1.03rem; opacity: 0.92; margin-bottom: 22px; }
.hhero .badge { background: var(--yellow); color: var(--purple-dark); }
.hhero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* ---------------------------------------------- usp strip */

.usp { background: var(--white); border-bottom: 1px solid var(--line); }
.usp__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.usp__item {
  background: var(--white);
  padding: 18px 12px;
  text-align: center;
}
.usp__ico { font-size: 1.6rem; display: block; margin-bottom: 5px; }
.usp__item strong { display: block; font-size: 0.88rem; color: var(--ink); }
.usp__item span { font-size: 0.78rem; color: var(--muted); }

/* ---------------------------------------------- product grid */

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--soon { opacity: 0.82; }
.card--soon:hover { transform: none; box-shadow: none; }

.card__media {
  display: block;
  position: relative;
  background: var(--purple-light);
  aspect-ratio: 1 / 1;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .ph { aspect-ratio: 1 / 1; }

.card__badge {
  position: absolute;
  top: 9px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 100px;
}
.card__badge--off { left: 9px; background: var(--coral); color: #fff; }
.card__badge--tag { right: 9px; background: var(--yellow); color: var(--purple-dark); }
.card__badge--soon {
  left: 9px;
  background: var(--ink);
  color: #fff;
  opacity: 0.85;
}

.card__body {
  padding: 13px 13px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title { font-size: 0.97rem; margin-bottom: 3px; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--purple); }
.card__ages {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  margin: 0 0 7px;
  align-self: flex-start;
}
.card__blurb { font-size: 0.83rem; color: var(--muted); margin-bottom: 11px; }

.card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 11px;
}
.card__now {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--purple);
}
.card__was { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }

.card__btn { width: 100%; padding: 10px 16px; font-size: 0.92rem; margin-top: auto; }

/* ---------------------------------------------- how it works (COD) */

.how { background: var(--purple-light); }
.how__grid { display: grid; gap: 16px; }
.how__step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}
.how__ico {
  width: 52px; height: 52px;
  margin: 0 auto 11px;
  display: grid; place-items: center;
  background: var(--purple-light);
  border-radius: 50%;
  font-size: 1.5rem;
}
.how__step h3 { font-size: 1rem; margin-bottom: 5px; }
.how__step p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------- cta band */

.cta-band {
  background: var(--yellow);
  text-align: center;
  padding: 38px 0;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--purple-dark); opacity: 0.85; margin-bottom: 20px; }

/* ---------------------------------------------- breadcrumb */

.crumb {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  padding: 10px 0;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--purple); }
.crumb span { color: var(--ink); font-weight: 600; }
.crumb i { color: var(--line); font-style: normal; margin: 0 6px; }

/* ---------------------------------------------- desktop */

@media (min-width: 720px) {
  .nav { display: flex; gap: 4px; align-items: center; }

  .hhero { padding: 62px 0 68px; }
  .hhero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }

  .usp__grid { grid-template-columns: repeat(4, 1fr); }
  .grid-products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .how__grid { grid-template-columns: repeat(3, 1fr); }
  .card__title { font-size: 1.02rem; }
}

@media (min-width: 480px) and (max-width: 719px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Kid-friendly layer: illustration, colour, motion
   ============================================================ */

:root {
  --sky: #4ec5f1;
  --mint: #3dd9a0;
  --tangerine: #ff8c42;
  --bubblegum: #ff8fb0;
}

/* ---------------------------------------------- svg art wrappers */

.art { line-height: 0; }
.art svg { width: 100%; height: auto; display: block; }
.art--fill { width: 100%; height: 100%; }
.art--fill svg { height: 100%; object-fit: contain; }

/* ---------------------------------------------- motion */

@keyframes kk-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes kk-drift {
  0%   { transform: translateX(-8%); }
  100% { transform: translateX(108%); }
}
@keyframes kk-twinkle {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
@keyframes kk-wave-hand {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(-48deg); }
}
@keyframes kk-pop {
  0%   { transform: scale(.9); opacity: 0; }
  100% { transform: scale(1);  opacity: 1; }
}

.art-float   { animation: kk-float 4s ease-in-out infinite; }
.art-wave    { animation: kk-wave-hand 1.6s ease-in-out infinite; transform-origin: 50px 146px; }
.art-sound   { animation: kk-twinkle 1.4s ease-in-out infinite; }
.art-crown   { animation: kk-float 3.2s ease-in-out infinite; transform-origin: center; }
.art-flag    { animation: kk-twinkle 2.4s ease-in-out infinite; }

/* mascot follows the cursor a little - set from main.js */
.art-pupil { transition: transform .18s ease-out; }

/* ---------------------------------------------- decorative scenery */

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.scene__cloud {
  position: absolute;
  width: 120px;
  opacity: .5;
  animation: kk-drift linear infinite;
}
.scene__cloud--1 { top: 12%;  width: 96px;  animation-duration: 46s; }
.scene__cloud--2 { top: 44%;  width: 140px; animation-duration: 64s; animation-delay: -20s; opacity: .35; }
.scene__cloud--3 { top: 70%;  width: 76px;  animation-duration: 54s; animation-delay: -38s; opacity: .3; }

.scene__star {
  position: absolute;
  width: 22px;
  animation: kk-twinkle 3s ease-in-out infinite;
}
.scene__star--1 { top: 18%; left: 8%;  animation-delay: 0s; }
.scene__star--2 { top: 62%; left: 4%;  animation-delay: .9s; width: 15px; }
.scene__star--3 { top: 26%; right: 9%; animation-delay: 1.7s; width: 18px; }
.scene__star--4 { top: 76%; right: 5%; animation-delay: .4s; width: 13px; }

/* ---------------------------------------------- hero, illustrated */

.hhero { padding-bottom: 0; }
.hhero__art {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 240px;
}
.hhero__mascot {
  width: 172px;
  position: relative;
  z-index: 2;
  animation: kk-float 4.5s ease-in-out infinite;
}
.hhero__castle {
  width: 100%;
  max-width: 330px;
  position: relative;
  z-index: 1;
  margin-top: -46px;
}
.hhero__rainbow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  opacity: .5;
  z-index: 0;
}

/* ---------------------------------------------- wave dividers */

.wave {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: -1px;
}
.wave svg { width: 100%; height: 100%; display: block; }
.wave--flip svg { transform: rotate(180deg); }

/* ---------------------------------------------- colourful sections */

.section__head h2 { position: relative; display: inline-block; }
.section__head h2::after {
  content: '';
  display: block;
  width: 62px;
  height: 5px;
  margin: 8px auto 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--mint), var(--sky));
}

/* rotating accent colour on the USP tiles */
.usp__item:nth-child(1) .usp__ico { background: var(--green-light); }
.usp__item:nth-child(2) .usp__ico { background: #eaf6fd; }
.usp__item:nth-child(3) .usp__ico { background: #fff4e0; }
.usp__item:nth-child(4) .usp__ico { background: var(--purple-light); }
.usp__ico {
  width: 54px;
  height: 54px;
  margin: 0 auto 7px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 7px;
}
.usp__ico svg { width: 100%; height: 100%; }

/* ---------------------------------------------- cards, brighter */

.card { border-width: 2px; }
.card:nth-child(4n+1) { border-color: #ffd9e3; }
.card:nth-child(4n+2) { border-color: #cfeedd; }
.card:nth-child(4n+3) { border-color: #ffe6c2; }
.card:nth-child(4n+4) { border-color: #cfe9f8; }

.card:nth-child(4n+1) .card__media { background: #fff0f5; }
.card:nth-child(4n+2) .card__media { background: #eefaf3; }
.card:nth-child(4n+3) .card__media { background: #fff6ea; }
.card:nth-child(4n+4) .card__media { background: #eef8fe; }

.card__media .art--fill { padding: 6px; }
.card:hover .art--fill svg { transform: scale(1.05); transition: transform .3s ease; }

.card__ages { background: var(--mint); color: #0d4f34; }

/* ---------------------------------------------- how-it-works, colourful */

.how__step:nth-child(1) .how__ico { background: #ffe6ee; }
.how__step:nth-child(2) .how__ico { background: #e4f5ff; }
.how__step:nth-child(3) .how__ico { background: #e6faf0; }
.how__step { border: 2px solid transparent; transition: transform .15s ease; }
.how__step:hover { transform: translateY(-4px); }

/* ---------------------------------------------- feature icons, varied */

.features .feature:nth-child(4n+1) .feature__ico { background: #ffe6ee; }
.features .feature:nth-child(4n+2) .feature__ico { background: #e4f5ff; }
.features .feature:nth-child(4n+3) .feature__ico { background: #fff4e0; }
.features .feature:nth-child(4n+4) .feature__ico { background: #e6faf0; }

/* ---------------------------------------------- cta band */

.cta-band { position: relative; overflow: hidden; }
.cta-band__mascot {
  width: 92px;
  margin: 0 auto 10px;
  animation: kk-float 3.6s ease-in-out infinite;
}

/* ---------------------------------------------- announcement bar */

.announce {
  background: linear-gradient(90deg, var(--purple), #8f4ecf, var(--purple));
}

/* ---------------------------------------------- desktop */

@media (min-width: 720px) {
  .hhero__mascot { width: 210px; }
  .hhero__castle { max-width: 380px; margin-top: -56px; }
  .hhero__rainbow { width: 260px; }
  .wave { height: 66px; }
}

/* ---------------------------------------------- respect motion prefs */

@media (prefers-reduced-motion: reduce) {
  .art-float, .art-wave, .art-sound, .art-crown, .art-flag,
  .hhero__mascot, .cta-band__mascot, .scene__cloud, .scene__star {
    animation: none !important;
  }
  .art-pupil { transition: none; }
}

/* mascot above the order form */
.order__mascot {
  width: 84px;
  margin: 0 auto 6px;
  animation: kk-float 3.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .order__mascot { animation: none; } }

/* hero illustration on the product page */
.hero__media .art { padding: 18px; background: var(--purple-light); }

/* ============================================================
   Mobile hardening
   ============================================================ */

/*
 * The announcement bar's spans sit adjacent with no whitespace between them,
 * so `white-space: nowrap` left the line no break opportunity and forced the
 * whole page ~143px wider than a 360px phone. Flex + wrap gives it real break
 * points between items while keeping each item itself unbroken.
 */
.announce {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 6px;
  row-gap: 1px;
}
.announce span + span::before { margin: 0 6px 0 0; }

@media (max-width: 719px) {
  .announce { font-size: .71rem; padding: 7px 10px; line-height: 1.5; }
}

/* Narrow phones: 360px and below */
@media (max-width: 380px) {
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.4rem; }

  .wrap { padding: 0 14px; }
  .section { padding: 36px 0; }

  .logo { font-size: 1.15rem; }
  .header__wa { font-size: .78rem; padding: 7px 11px; }

  .grid-products { gap: 10px; }
  .card__body { padding: 11px 11px 13px; }
  .card__title { font-size: .9rem; }
  .card__blurb { font-size: .78rem; }
  .card__now { font-size: 1.12rem; }
  .card__btn { font-size: .85rem; padding: 9px 12px; }

  .usp__item { padding: 14px 8px; }
  .usp__ico { width: 46px; height: 46px; }
  .usp__item strong { font-size: .82rem; }
  .usp__item span { font-size: .72rem; }

  .hhero__mascot { width: 142px; }
  .hhero__castle { max-width: 272px; margin-top: -36px; }
  .hhero__rainbow { width: 176px; }

  .price__now { font-size: 1.95rem; }
  .trust__item { font-size: .74rem; padding: 10px 6px; }

  .sticky-bar { gap: 6px; padding: 8px 10px; }
  .sticky-bar__price { font-size: 1.02rem; }
  .sticky-bar .btn { font-size: .86rem; padding: 11px 8px; }
  .sticky-bar__wa { width: 42px; height: 42px; font-size: 1.1rem; }

  .order__card { padding: 20px 15px; }
  .legal table { font-size: .82rem; }
  .legal th, .legal td { padding: 7px 8px; }
}

/* Any wide block inside long-form pages scrolls itself rather than the page */
.legal table { display: block; overflow-x: auto; white-space: nowrap; }
@media (min-width: 560px) {
  .legal table { display: table; white-space: normal; }
}

/* Tap targets: iOS/Android guidance is ~44px minimum */
@media (max-width: 719px) {
  .nav a, .footer a { padding-top: 4px; padding-bottom: 4px; }
  .faq summary { padding-top: 16px; padding-bottom: 16px; }
}

/* Stop iOS Safari zooming the page when a form field is focused.
   Anything under 16px triggers the auto-zoom. */
@media (max-width: 719px) {
  .field input, .field textarea, .field select { font-size: 16px; }
}

/* Touch targets: bring the two small circular/pill buttons up to 44px */
@media (max-width: 719px) {
  .header__wa { min-height: 44px; padding-top: 0; padding-bottom: 0; }
  .sticky-bar__wa { width: 44px; height: 44px; }
}

/* ============================================================
   Real media
   ============================================================ */

/* Product photos sit on a tinted panel so square shots with white
   backgrounds don't float on the cream page. */
.hero__media img,
.card__media img { display: block; width: 100%; height: auto; }
.hero__media { background: var(--white); }

/*
 * The demo clip is 540x960 (vertical, phone-shot). A 16:9 frame would
 * letterbox it into a thin strip, so portrait video gets its own frame,
 * width-capped so it doesn't dominate on desktop.
 */
.video-frame--portrait {
  aspect-ratio: 9 / 16;
  max-width: 330px;
  margin: 0 auto;
  background: #000;
}
.video-frame--portrait video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Supporting photo gallery */
.gallery {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.gallery__item {
  margin: 0;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__item img { width: 100%; height: auto; display: block; }
.gallery__item figcaption {
  padding: 11px 14px;
  font-size: .84rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 20px; }
}


/* ============================================================
   Kid-friendly cursor
   Desktop only - touch devices have no cursor at all.
   ============================================================ */

@media (hover: hover) {

  /* Default: a purple arrow with a gold edge and a little sparkle.
     Still arrow-shaped, so it still reads as a cursor. */
  body { cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48cGF0aCBkPSdNMyAxLjUgTDMgMjMgTDkgMTcuNSBMMTIuNiAyNS42IEwxNi44IDIzLjYgTDEzLjIgMTUuOCBMMjEuNSAxNS44IFonIGZpbGw9JyM2QjNGQTAnIHN0cm9rZT0nI0ZGQzkzQycgc3Ryb2tlLXdpZHRoPScyLjQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnLz48cGF0aCBkPSdNMjUgMy41IGwxLjE1IDIuNTUgMi41NSAxLjE1IC0yLjU1IDEuMTUgLTEuMTUgMi41NSAtMS4xNS0yLjU1IC0yLjU1LTEuMTUgMi41NS0xLjE1IHonIGZpbGw9JyNGRjZCNkInLz48L3N2Zz4=") 2 2, auto; }

  /* Anything clickable gets the crown. */
  a, button, summary, label,
  .btn, .card, .card__media, .nav a, .sticky-bar__wa, .header__wa,
  [role='button'], [data-track], [data-wa] {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48cGF0aCBkPSdNNS41IDIxIEwzLjUgOCBMMTAuNSAxMi41IEwxNiA0IEwyMS41IDEyLjUgTDI4LjUgOCBMMjYuNSAyMSBaJyBmaWxsPScjRkZDOTNDJyBzdHJva2U9JyM1QjJDOEQnIHN0cm9rZS13aWR0aD0nMi4yJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PHJlY3QgeD0nNS41JyB5PScyMScgd2lkdGg9JzIxJyBoZWlnaHQ9JzUuNScgcng9JzIuNzUnIGZpbGw9JyNGRkM5M0MnIHN0cm9rZT0nIzVCMkM4RCcgc3Ryb2tlLXdpZHRoPScyLjInLz48Y2lyY2xlIGN4PScxNicgY3k9JzEwLjUnIHI9JzEuNycgZmlsbD0nI0ZGNkI2QicvPjwvc3ZnPg==") 16 4, pointer;
  }

  /* Form fields keep their native cursors - overriding these makes
     text genuinely harder to select and position. */
  input, textarea, select,
  input[type='text'], input[type='tel'] { cursor: auto; }
  textarea { cursor: auto; }
  select { cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48cGF0aCBkPSdNNS41IDIxIEwzLjUgOCBMMTAuNSAxMi41IEwxNiA0IEwyMS41IDEyLjUgTDI4LjUgOCBMMjYuNSAyMSBaJyBmaWxsPScjRkZDOTNDJyBzdHJva2U9JyM1QjJDOEQnIHN0cm9rZS13aWR0aD0nMi4yJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PHJlY3QgeD0nNS41JyB5PScyMScgd2lkdGg9JzIxJyBoZWlnaHQ9JzUuNScgcng9JzIuNzUnIGZpbGw9JyNGRkM5M0MnIHN0cm9rZT0nIzVCMkM4RCcgc3Ryb2tlLXdpZHRoPScyLjInLz48Y2lyY2xlIGN4PScxNicgY3k9JzEwLjUnIHI9JzEuNycgZmlsbD0nI0ZGNkI2QicvPjwvc3ZnPg==") 16 4, pointer; }

  /* Disabled buttons should not promise a click. */
  .btn[disabled], button[disabled] { cursor: not-allowed; }

  /* Let people select body copy normally. */
  p, li, td, th, figcaption, .legal { cursor: auto; }
  p a, li a, td a, figcaption a, .legal a { cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48cGF0aCBkPSdNNS41IDIxIEwzLjUgOCBMMTAuNSAxMi41IEwxNiA0IEwyMS41IDEyLjUgTDI4LjUgOCBMMjYuNSAyMSBaJyBmaWxsPScjRkZDOTNDJyBzdHJva2U9JyM1QjJDOEQnIHN0cm9rZS13aWR0aD0nMi4yJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PHJlY3QgeD0nNS41JyB5PScyMScgd2lkdGg9JzIxJyBoZWlnaHQ9JzUuNScgcng9JzIuNzUnIGZpbGw9JyNGRkM5M0MnIHN0cm9rZT0nIzVCMkM4RCcgc3Ryb2tlLXdpZHRoPScyLjInLz48Y2lyY2xlIGN4PScxNicgY3k9JzEwLjUnIHI9JzEuNycgZmlsbD0nI0ZGNkI2QicvPjwvc3ZnPg==") 16 4, pointer; }
}

/* ============================================================
   Order modal
   ============================================================ */

/* Section CTA that opens it */
.order__cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 11px;
}
.order__cta-price { text-align: center; margin-bottom: 4px; }
.order__cta-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
}
.order__cta-price small { font-size: .85rem; color: var(--muted); }

/* --- the dialog itself --- */

.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(45, 27, 78, .62);
  backdrop-filter: blur(2px);
}

.modal__panel {
  background: var(--cream);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  margin: auto auto 0;          /* bottom sheet on mobile */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(45, 27, 78, .3);
  animation: kk-sheet-up .22s cubic-bezier(.2, .8, .3, 1);
}

@keyframes kk-sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  background: var(--purple);
  color: #fff;
  flex: 0 0 auto;
}
.modal__head h2 { color: #fff; font-size: 1.25rem; margin: 0 0 2px; }
.modal__head p  { margin: 0; font-size: .86rem; opacity: .85; }

.modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.modal__close:hover { background: rgba(255, 255, 255, .3); }
.modal__close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  padding: 16px;
}

/* Inside the modal the card is already on a panel - drop the extra chrome. */
.order__card--modal {
  box-shadow: none;
  padding: 0;
  max-width: none;
  background: transparent;
}

/* Stop the page behind from scrolling while the sheet is open. */
body.modal-open { overflow: hidden; }

@media (min-width: 560px) {
  .modal__panel {
    margin: auto;                 /* centred dialog on larger screens */
    border-radius: var(--radius);
    max-height: 88vh;
    box-shadow: var(--shadow-lg);
    animation: kk-pop .18s ease-out;
  }
  @keyframes kk-pop {
    from { transform: scale(.97); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }
  .modal__body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__panel { animation: none; }
}

/*
 * Bottom-sheet positioning.
 *
 * Vertical `margin: auto` only resolves inside a flex/grid container, so the
 * panel was pinning to the top of the dialog instead of the bottom - the worst
 * place to put a form on a phone, furthest from the thumb.
 *
 * The [open] guard matters: styling bare `.modal` with display:flex would
 * override the browser's `dialog:not([open]) { display: none }` and leave the
 * form permanently on the page.
 */
.modal[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal__panel { margin: 0; }

@media (min-width: 560px) {
  .modal[open] { align-items: center; }
}
