/* ==========================================================================
   Wonders Kids — Global stylesheet
   --------------------------------------------------------------------------
   1. Tokens & reset        5. Hero               9.  Testimonials
   2. Utilities & buttons   6. Features           10. Newsletter
   3–4. (header.css)        7. About              11. Footer
                            8. FAQ                12. Responsive · 13. Motion
   ========================================================================== */

/* 1. TOKENS & RESET ======================================================== */
:root {
  --primary: #5751E1;
  --primary-dark: #4640C9;
  --primary-soft: #EFEEFE;
  --yellow: #FFC224;
  --heading: #161439;
  --body: #6D6C80;
  --navy: #06042E;
  --navy-2: #12103F;
  --grey-bg: #F7F7F7;
  --hero-bg: #F4F4F4;
  --border: #D7D7DF;
  --white: #fff;

  --c-purple: #5751E1; --c-purple-shade: #4943C7;
  --c-yellow: #E8B33F; --c-yellow-shade: #CD9A2C;
  --c-pink:   #CC8DCB; --c-pink-shade:   #B677B4;
  --c-green:  #86C04C; --c-green-shade:  #6FA939;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1160px;
  --radius: 8px;
  --header-h: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* 2. UTILITIES & BUTTONS =================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 15px; }
.section { position: relative; padding: 120px 0; }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wk-icon { width: 1em; height: 1em; flex-shrink: 0; }

.btn {
  --btn-shadow: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 28px; border-radius: 8px; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
  white-space: nowrap;
}
.btn .wk-icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .wk-icon { transform: translateX(4px); }
.btn--lg { padding: 20px 30px; font-size: 17px; }
.btn--pill { border-radius: 50px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 4px 6px 0 rgba(6, 4, 46, .14); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--heading); }
.btn--white:hover { background: var(--heading); color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--heading); box-shadow: 4px 6px 0 #1C1A4A; border-radius: 50px; }
.btn--yellow:hover { transform: translate(2px, 3px); box-shadow: 2px 3px 0 #1C1A4A; }

.badge {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-weight: 500; font-size: 16px; line-height: 1; padding: 11px 16px; border-radius: 30px; margin-bottom: 18px;
}
.section-head { position: relative; z-index: 1; margin-bottom: 50px; }
.section-head--center { text-align: center; max-width: 660px; margin-inline: auto; }
.section-head--center .section-text { max-width: 600px; margin-inline: auto; }
.section-title { font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.section-head--center .section-title { margin-bottom: 18px; }
.section-title--left { margin-bottom: 20px; }
.section-text { font-size: 16px; line-height: 1.75; }

/* 3–4. TOPBAR, HEADER & MOBILE MENU → see header.css ===================== */

/* 5. HERO ================================================================== */
.hero { position: relative; background: var(--hero-bg); overflow: hidden; padding: 70px 0 0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.hero__content { padding: 80px 0 170px; }
.hero__eyebrow {
  font-family: var(--font-heading); font-weight: 500; font-size: 15px; text-transform: uppercase;
  letter-spacing: .18em; color: #5B5A6E; margin-bottom: 14px;
}
.hero__title { font-size: 62px; font-weight: 700; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 26px; max-width: 470px; }
.hero__text { font-size: 18px; line-height: 1.65; color: var(--body); margin-bottom: 26px; }
.hero__media { position: relative; align-self: end; display: flex; justify-content: flex-end; margin-right: -20px; }
.hero__media img { width: 100%; max-width: 600px; margin-bottom: -10px; }
.hero__dino { width: 70px; left: -6px; bottom: 40px; }
.hero__balloon { width: 58px; top: 50px; left: max(15px, calc(50% - 400px)); animation: float 6s ease-in-out infinite; }
.hero__plane { width: 46px; top: 132px; left: max(30px, calc(50% - 549px)); z-index: 2; }
.hero__trail { width: 130px; top: 150px; left: -30px; }
.hero__cloud { color: #fff; }
.hero__cloud--1 { width: 165px; top: 40px; left: calc(50% - 200px); animation: float 9s ease-in-out infinite; }
.hero__cloud--2 { width: 80px; top: 20px; right: 15%; opacity: .9; }
.hero__heart { width: 300px; top: 0; right: -40px; }
.hero__flower { width: 72px; top: 110px; right: max(20px, calc(50% - 580px)); z-index: 2; animation: spin 18s linear infinite; }
.hero__clouds { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; z-index: 2; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 6. FEATURES ============================================================== */
.features { padding-top: 110px; }
.features__star { width: 60px; top: 90px; left: max(20px, calc(50% - 510px)); animation: float 7s ease-in-out infinite; }
.features__zigzag { width: 100px; color: #61D6D0; top: 170px; right: max(20px, calc(50% - 560px)); }
.features__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.feature-card { position: relative; min-height: 300px; display: flex; color: #fff; transition: transform .35s var(--ease); }
.feature-card:hover { transform: translateY(-8px); }
.feature-card__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.feature-card__fill  { fill: var(--card); }
.feature-card__shade { fill: var(--card-shade); }
.feature-card__dash  { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.feature-card--purple { --card: var(--c-purple); --card-shade: var(--c-purple-shade); }
.feature-card--yellow { --card: var(--c-yellow); --card-shade: var(--c-yellow-shade); }
.feature-card--pink   { --card: var(--c-pink);   --card-shade: var(--c-pink-shade); }
.feature-card--green  { --card: var(--c-green);  --card-shade: var(--c-green-shade); }
.feature-card__body {
  position: relative; z-index: 1; width: 100%; text-align: center;
  padding: 36px 30px 50px; display: flex; flex-direction: column; align-items: center;
}
.feature-card__icon { width: 34px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.feature-card__title { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.feature-card__text { font-size: 15px; line-height: 1.4; color: #fff; margin-bottom: 22px; }
.feature-card .btn { margin-top: auto; padding: 14px 26px; font-weight: 700; }
.feature-card--yellow .feature-card__text { color: #FFF7DD; }

/* 7. ABOUT ================================================================= */
.about { padding-top: 40px; }
.about__rocket { width: 80px; top: 20px; left: 0; }
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; max-width: 480px; margin: 70px auto 0; width: 100%; }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 470 / 400; border-radius: 30% 46% 38% 36% / 36% 44% 40% 46%; }
.about__img--small {
  position: absolute; left: 6px; bottom: -6px; width: 49%; aspect-ratio: 230 / 220;
  border-radius: 34% 40% 44% 38% / 42% 36% 46% 42%; border: 6px solid #fff;
}
.about__arc--red  { width: 64px; top: -16px; right: -6px; }
.about__arc--cyan { width: 100px; bottom: -14px; left: -24px; z-index: 2; }
.about__star { width: 90px; right: 0; bottom: -10px; z-index: 2; animation: float 6s ease-in-out infinite; }
.about__content { position: relative; }
.about__sun { width: 90px; top: 20px; right: -20px; animation: float 7s ease-in-out infinite; }
.about__content .section-title { font-size: 35px; max-width: 480px; margin-bottom: 26px; }
.about__content .section-text { max-width: 440px; margin-bottom: 24px; }
.check-list { display: grid; gap: 14px; margin-bottom: 40px; }
.check-list li { display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--heading); }
.check-list__icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--heading);
  display: grid; place-items: center; border: 1.5px solid var(--heading); box-shadow: 2px 2px 0 rgba(6, 4, 46, .25); flex-shrink: 0;
}
.check-list__icon .wk-icon { width: 14px; height: 14px; stroke-width: 3; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.call-box { display: flex; align-items: center; gap: 12px; }
.call-box__icon {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--yellow); color: var(--primary);
  display: grid; place-items: center; transition: background .2s;
}
.call-box__icon .wk-icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.call-box:hover .call-box__icon { background: var(--yellow); }
.call-box__text strong { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--heading); line-height: 1.2; }
.call-box__text small { font-size: 15px; color: var(--body); }

/* 8. FAQ =================================================================== */
.faq { padding-top: 50px; }
.faq__flower { width: 60px; top: 10px; left: max(15px, calc(50% - 620px)); animation: spin 22s linear infinite; }
.faq__zigzag { width: 100px; color: #61D6D0; top: 50px; right: max(20px, calc(50% - 600px)); }
.faq__sun { width: 86px; bottom: 90px; right: max(30px, calc(50% - 600px)); z-index: 2; animation: spin 20s linear infinite; }
.faq__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.faq__content .section-text { max-width: 480px; margin-bottom: 34px; }
.accordion { display: grid; gap: 12px; }
.accordion__item { background: var(--grey-bg); border-radius: 6px; transition: box-shadow .2s, background .2s; }
.accordion__item.is-open { background: #fff; box-shadow: 0 10px 30px rgba(6, 4, 46, .07); }
.accordion__heading { font-size: inherit; }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 22px; font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--heading);
}
.accordion__btn:hover { color: var(--primary); }
.accordion__chev { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.accordion__btn[aria-expanded="true"] { color: var(--primary); }
.accordion__btn[aria-expanded="true"] .accordion__chev { transform: rotate(90deg); }
.accordion__panel { padding: 0 22px 20px; }
.accordion__panel p { font-size: 15.5px; }

.faq__media { position: relative; }
.faq__img {
  position: relative; aspect-ratio: 570 / 440; border-radius: 40% 44% 48% 42% / 36% 30% 56% 50%;
  padding: 10px; border: 2px dashed #C5C5CF;
}
.faq__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* 9. TESTIMONIALS ========================================================== */
.testimonials { position: relative; background: var(--hero-bg); padding: 120px 0 110px; margin-top: 60px; overflow: hidden; }
.testimonials { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 22'%3E%3Cpath d='M0 22C14 2 40 0 54 0s40 2 54 22Z' fill='%23F4F4F4'/%3E%3C/svg%3E"); }
.testimonials::before, .testimonials::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; background: var(--wave) 0 0 / 108px 22px repeat-x;
}
.testimonials::before { top: 0; background-color: #fff; }  /* grey humps rising into the white section above */
.testimonials::after  { bottom: 0; --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 22'%3E%3Cpath d='M0 22C14 2 40 0 54 0s40 2 54 22Z' fill='%23fff'/%3E%3C/svg%3E"); }
.testimonials__cloud { width: 82px; color: #fff; top: 50px; right: max(30px, calc(50% - 560px)); }
.testimonials__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); top: 82px; right: max(160px, calc(50% - 420px)); }
.testimonials__car { width: 76px; bottom: 120px; right: max(30px, calc(50% - 560px)); }

.testimonial-slider { position: relative; z-index: 1; display: grid; }
.testimonial {
  grid-area: 1 / 1; display: grid; grid-template-columns: 450px 1fr; gap: 30px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.testimonial.is-active { opacity: 1; visibility: visible; }
.testimonial__media { position: relative; background: #F3F4F8; align-self: stretch; display: flex; justify-content: center; align-items: flex-end; min-height: 360px; padding-top: 20px; }
.testimonial__media img { position: relative; z-index: 1; width: 82%; max-height: 360px; object-fit: contain; object-position: bottom; }
.testimonial__balloon { width: 54px; top: 22px; left: 36px; z-index: 2; animation: float 6s ease-in-out infinite; }
.testimonial__cloud { z-index: 2; }
.testimonial__cloud--white { width: 90px; color: #fff; top: 125px; left: 34px; z-index: 0; }
.testimonial__cloud--coral { width: 116px; color: #EF6F69; bottom: 50px; right: 40px; }
.testimonial__body { padding: 20px 0 50px 0; max-width: 560px; }
.testimonial__stars { display: flex; gap: 8px; color: #F8BC24; margin-bottom: 20px; }
.testimonial__stars .wk-icon { width: 21px; height: 21px; }
.testimonial__quote { margin: 0 0 22px; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.5; color: var(--heading); }
.testimonial__name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--primary); }
.testimonial__role { font-size: 15px; color: var(--body); }
.testimonial-slider__dots { grid-area: 1 / 1; align-self: end; justify-self: start; margin-left: 480px; display: flex; gap: 10px; z-index: 2; }
.testimonial-slider__dots button { width: 14px; height: 14px; border-radius: 50%; background: #D6D6DE; transition: background .2s, transform .2s; }
.testimonial-slider__dots button.is-active { background: var(--heading); }
.testimonial-slider__dots button:hover { transform: scale(1.15); }

/* 10. NEWSLETTER =========================================================== */
.newsletter { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.newsletter__swirl { position: absolute; right: -60px; top: 0; width: 520px; color: rgba(255,255,255,.12); pointer-events: none; }
.newsletter__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; min-height: 282px; }
.newsletter__media { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; }
.newsletter__arc {
  position: absolute; left: 50%; bottom: -205px; translate: -50% 0; width: 340px; height: 340px; border-radius: 50%;
  border: 40px solid var(--yellow);
}
.newsletter__dots {
  position: absolute; top: 58px; right: 26px; width: 70px; height: 84px;
  background: radial-gradient(circle, rgba(255,255,255,.85) 1.5px, transparent 2px) 0 0 / 14px 14px;
}
.newsletter__media img { position: relative; width: 240px; }
.newsletter__title { color: #fff; font-size: 37px; font-weight: 700; line-height: 1.22; letter-spacing: -.02em; max-width: 660px; margin-bottom: 26px; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
.newsletter__form input {
  flex: 1 1 280px; min-width: 0; height: 52px; border-radius: 50px; border: 1px solid transparent;
  background: #4A44D1; color: #fff; padding: 0 24px; font-size: 16px; transition: border-color .2s;
}
.newsletter__form input::placeholder { color: #B6B2FF; }
.newsletter__form input:focus { outline: none; border-color: rgba(255,255,255,.6); }
.newsletter__form input[aria-invalid="true"] { border-color: #FFB4B4; }
.newsletter__form .btn { height: 52px; padding: 0 38px; font-size: 17px; font-weight: 700; }
.newsletter__status { flex-basis: 100%; min-height: 1.5em; font-size: 14px; color: #E5E3FF; padding-left: 10px; }

/* 11. FOOTER =============================================================== */
.site-footer { background: var(--navy); color: #B2BBCC; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr 1.15fr; gap: 30px; padding-top: 60px; padding-bottom: 80px; }
.footer-logo img { height: 94px; width: auto; margin-bottom: 30px; }
.footer-about { font-size: 16px; line-height: 1.75; max-width: 300px; margin-bottom: 18px; }
.footer-contact li { font-size: 16px; margin-bottom: 10px; }
.footer-contact a:hover, .footer-links a:hover { color: #fff; }
.footer-title { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 34px; padding-bottom: 14px; position: relative; padding-top: 4px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 2px; background: var(--primary); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { display: inline-block; transition: color .2s, transform .2s; }
.footer-links a:hover { transform: translateX(4px); }
.footer-social { display: flex; gap: 14px; margin-bottom: 30px; }
.footer-social a { color: #fff; display: grid; place-items: center; width: 20px; height: 20px; }
.footer-social a:hover { color: var(--yellow); }
.footer-social .wk-icon { width: 17px; height: 17px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 4px;
  background: #13113D; color: #fff; border: 1px solid rgba(255,255,255,.06); transition: background .2s;
}
.app-badge:hover { background: #1F1C55; }
.app-badge__icon { width: 20px; height: 20px; }
.app-badge span { display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 500; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.app-badge small { font-size: 9.5px; color: #B2BBCC; font-weight: 400; }
.site-footer__bottom { background: #1C1A4A; padding: 27px 0; font-size: 15px; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom ul { display: flex; gap: 0; }
.site-footer__bottom li + li::before { content: "|"; margin: 0 14px; }
.site-footer__bottom a:hover { color: #fff; }

.back-to-top {
  position: fixed; right: 44px; bottom: 32px; z-index: 90; width: 36px; height: 36px; border-radius: 4px;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 12px -6px rgba(6, 4, 46, .5);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--heading); }
.back-to-top .wk-icon { width: 18px; height: 18px; }

/* 12. RESPONSIVE =========================================================== */
@media (max-width: 1199px) {
  .hero__title { font-size: 54px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; max-width: 640px; margin-inline: auto; }
  .testimonial { grid-template-columns: 380px 1fr; }
  .testimonial-slider__dots { margin-left: 410px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 991px) {
  .section { padding: 90px 0; }

  .hero { padding-top: 40px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { padding: 50px 0 0; }
  .hero__title { max-width: 520px; margin-inline: auto; }
  .br-desktop { display: none; }
  .hero__media { justify-content: center; margin-right: 0; }
  .hero__media img { max-width: 460px; }
  .hero__trail, .hero__plane, .hero__heart { display: none; }

  .about__grid, .faq__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__media { margin-top: 40px; }
  .about__rocket { display: none; }

  .testimonial { grid-template-columns: 1fr; gap: 10px; }
  .testimonial__media { min-height: 300px; max-width: 420px; width: 100%; margin-inline: auto; }
  .testimonial__body { text-align: center; margin-inline: auto; padding-bottom: 60px; }
  .testimonial__stars { justify-content: center; }
  .testimonial-slider__dots { margin-left: 0; justify-self: center; }

  .newsletter__inner { grid-template-columns: 1fr; text-align: center; gap: 10px; padding-top: 60px; }
  .newsletter__content { order: -1; }
  .newsletter__title { margin-inline: auto; }
  .newsletter__form { margin-inline: auto; }
  .newsletter__media { height: 260px; }
}

@media (max-width: 767px) {
  .section-title { font-size: 30px; }
  .about__content .section-title { font-size: 28px; }
  .hero__title { font-size: 42px; }
  .hero__text { font-size: 16px; }
  .features__grid { grid-template-columns: 1fr; max-width: 340px; }
  .about__sun { width: 60px; top: -20px; right: 0; }
  .check-list li { font-size: 16px; }
  .accordion__btn { font-size: 16px; padding: 16px 18px; }
  .testimonial__quote { font-size: 18px; }
  .newsletter__title { font-size: 28px; }
  .newsletter__form .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; padding-bottom: 50px; }
  .site-footer__bottom-inner { justify-content: center; text-align: center; }
  .back-to-top { right: 16px; bottom: 16px; }
  .hero__flower { width: 48px; top: 20px; }
  .features__star, .features__zigzag, .hero__balloon, .faq__zigzag { display: none; }
}


/* 13. MOTION =============================================================== */
/* Only hide-then-reveal when JS is running (html.js is set in <head>). */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"]  { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"]  { transform: scale(.9); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* hero entrance */
.js .hero__content > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.js .hero__content > :nth-child(1) { animation-delay: .1s; }
.js .hero__content > :nth-child(2) { animation-delay: .22s; }
.js .hero__content > :nth-child(3) { animation-delay: .36s; }
.js .hero__content > :nth-child(4) { animation-delay: .5s; }
.js .hero__media img { opacity: 0; transform: translateY(40px) scale(.97); animation: rise 1.1s var(--ease) .3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* gradient highlight word in hero title */
.text-gradient {
  background: linear-gradient(100deg, #5751E1 0%, #A855F7 50%, #EC4B95 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .text-underline { position: relative; white-space: nowrap; }
.hero__title .text-underline svg { position: absolute; left: 0; bottom: -4px; width: 100%; height: 16px; overflow: visible; }
.hero__title .text-underline path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* tilt-on-hover program cards */
.feature-card { transform-style: preserve-3d; will-change: transform; }
.feature-card .btn { box-shadow: 0 8px 20px -8px rgba(6,4,46,.35); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero__content > *, .js .hero__media img { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero__title .text-underline path { animation: none; stroke-dashoffset: 0; }
}
