@font-face {
  font-family:Fredoka;
  src:url('/assets/fredoka.ttf') format('truetype');
  font-display:swap;
  font-weight:300 700;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}
body {
  margin:0;
  background:#faf6ed;
  color:#223d34;
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  line-height:1.65;
}
a {
  color:inherit;
}
img {
  max-width:100%;
  height:auto;
  display:block;
}
h1,h2,h3,.brand {
  font-family:Fredoka,Arial,sans-serif;
  font-weight:500;
  line-height:1.08;
}
h1 {
  font-size:clamp(48px,5.5vw,79px);
  letter-spacing:-2.5px;
  margin:20px 0 24px;
}
h2 {
  font-size:clamp(36px,4vw,54px);
  letter-spacing:-1.4px;
  margin:0 0 24px;
}
h3 {
  font-size:26px;
  margin:20px 0 12px;
}
p {
  color:#52645b;
  margin:0 0 20px;
}
em {
  font-style:normal;
  color:#ad4c2d;
}
a:focus-visible {
  outline:3px solid #ad4c2d;
  outline-offset:6px;
}
.wrap {
  max-width:1220px;
  margin:auto;
  padding-left:40px;
  padding-right:40px;
}
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:26px;
  padding-bottom:26px;
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-size:29px;
  letter-spacing:-1px;
}
.brand-icon {
  width:48px;
  height:48px;
  border-radius:12px;
  flex-shrink:0;
}
.kids {
  display:block;
  font-size:16px;
  letter-spacing:3px;
  line-height:1.1;
}
.header nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  font-weight:600;
}
.header nav a {
  text-decoration:none;
}
.language {
  border-left:1px solid #c8cfc1;
  padding-left:24px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#254c3d;
  color:#fff9ee;
  border-radius:12px;
  padding:15px 23px;
  text-decoration:none;
  font-weight:600;
}
.button:hover {
  background:#35664f;
}
.small {
  font-size:14px;
  padding:12px 20px;
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
  padding-top:62px;
  padding-bottom:95px;
}
.eyebrow {
  font-size:11px;
  letter-spacing:2.2px;
  font-weight:700;
  color:#8d4b30;
}
.intro {
  max-width:480px;
  font-size:18px;
  line-height:1.8;
}
.stores {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.availability {
  font-size:11px;
  margin-top:13px;
}
.hero-art {
  position:relative;
  padding:20px 5px;
}
.main-art {
  border-radius:48% 48% 28px 28px;
  transform:rotate(3deg);
  box-shadow:14px 18px 0 #e3e8cd;
}
.emoji-note {
  position:absolute;
  top:30px;
  left:-25px;
  background:#fffdf6;
  border-radius:18px;
  padding:12px 19px;
  font-size:30px;
  transform:rotate(-10deg);
  box-shadow:0 7px 24px #263c3220;
}
.art-note {
  position:absolute;
  bottom:-3px;
  right:20px;
  background:#f3ca76;
  padding:15px 22px;
  font-family:Fredoka,sans-serif;
  transform:rotate(-5deg);
  border-radius:5px;
  font-size:18px;
  color:#543d1e;
}
.spark {
  position:absolute;
  z-index:1;
  color:#ad4c2d;
}
.spark-one {
  font-size:65px;
  right:-14px;
  top:-22px;
}
.spark-two {
  font-size:44px;
  left:-19px;
  bottom:34px;
}
.section {
  padding-top:85px;
  padding-bottom:85px;
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:60px;
  margin-bottom:40px;
}
.section-heading p {
  max-width:290px;
  margin-bottom:24px;
}
.steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:42px;
}
.steps article {
  border-top:1px solid #bec6b9;
  padding-top:25px;
}
.step-number {
  font-family:Fredoka,sans-serif;
  font-size:30px;
  color:#ad4c2d;
}
.steps p {
  font-size:16px;
}
.story-section {
  background:#eaf0de;
}
.story-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}
.story-card img {
  border-radius:120px 120px 16px 16px;
  aspect-ratio:1;
  object-fit:cover;
}
.story-card:nth-child(2) img {
  border-radius:16px;
}
.story-card:nth-child(3) img {
  border-radius:16px 120px 16px 16px;
}
.story-card>div {
  padding-top:25px;
}
.tiny {
  font-size:10px;
  letter-spacing:1.8px;
  color:#52645b;
}
.story-card h3 {
  margin-top:9px;
}
.story-card p {
  font-size:15px;
}
.characters {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:85px;
  align-items:center;
  padding-top:110px;
  padding-bottom:110px;
}
.character-art {
  position:relative;
  min-height:400px;
}
.character-art img:first-child {
  width:65%;
  border-radius:160px 160px 24px 24px;
  transform:rotate(-9deg);
  border:9px solid #e8b775;
}
.character-art img:nth-child(2) {
  position:absolute;
  width:53%;
  right:0;
  bottom:0;
  transform:rotate(10deg);
  border-radius:50%;
  border:9px solid #e9c5b5;
}
.character-art span {
  position:absolute;
  right:10px;
  top:-25px;
  font-size:100px;
  color:#ad4c2d;
}
.parent-note {
  font-size:13px;
  border-left:2px solid #b88b54;
  padding-left:16px;
  margin-top:26px;
}
.app-section {
  background:#254c3d;
  color:#faf6ed;
}
.app-section p {
  color:#d9e1d7;
}
.app-section .eyebrow {
  color:#f3ca76;
}
.app-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:100px;
}
.app-layout figure {
  margin:0;
  text-align:center;
}
.phone {
  width:260px;
  border:8px solid #19362b;
  border-radius:35px;
  margin:auto;
  box-shadow:15px 20px 0 #3c624f;
}
.app-layout figcaption {
  font-size:11px;
  color:#d9e1d7;
  margin-top:28px;
}
.text-link {
  display:inline-block;
  text-underline-offset:7px;
  font-weight:600;
}
.download {
  text-align:center;
  padding-top:90px;
  padding-bottom:100px;
}
.download .stores {
  justify-content:center;
}
.final-star {
  display:block;
  font-size:60px;
  color:#ad4c2d;
  line-height:1;
  margin-bottom:20px;
}
.footer {
  border-top:1px solid #ccd1c3;
  display:flex;
  justify-content:space-between;
  gap:30px;
  padding-top:35px;
  padding-bottom:35px;
}
.footer .brand {
  font-size:24px;
}
.footer p {
  font-size:13px;
  margin:10px 0 0;
}
.footer-links {
  display:flex;
  gap:24px;
  align-items:center;
  font-size:12px;
}
.footer-links a {
  text-underline-offset:4px;
}
.skip {
  position:absolute;
  top:-100px;
  left:20px;
  background:#fff;
  padding:12px;
  z-index:10;
}
.skip:focus {
  top:10px;
}
.legal {
  max-width:900px;
  padding-top:60px;
  padding-bottom:90px;
}
.legal h1 {
  font-size:56px;
}
.legal h2 {
  font-size:28px;
  margin-top:35px;
  letter-spacing:0;
}
.draft {
  background:#f4deb4;
  border-left:4px solid #9a4c2d;
  padding:20px;
  margin:30px 0;
  font-size:15px;
  color:#543d1e;
}
@media(max-width:900px) {
  .wrap {
    padding-left:25px;
    padding-right:25px;
  }
  .header nav {
    gap:18px;
  }
  .nav-detail {
    display:none;
  }
  .hero {
    gap:30px;
    padding-top:30px;
  }
  h1 {
    font-size:54px;
  }
  .hero-art {
    margin:15px;
  }
  .section-heading {
    gap:30px;
  }
  .characters {
    gap:40px;
  }
  .character-art {
    min-height:320px;
  }
  .app-layout {
    gap:40px;
  }
  .footer-links {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}
@media(max-width:600px) {
  .header {
    padding-top:20px;
    padding-bottom:15px;
  }
  .brand {
    font-size:24px;
  }
  .brand-icon {
    width:40px;
    height:40px;
    border-radius:10px;
  }
  .kids {
    font-size:13px;
  }
  .header nav {
    gap:12px;
  }
  .header .small {
    display:none;
  }
  .language {
    border:0;
    padding:0;
  }
  .hero {
    grid-template-columns:1fr;
    gap:20px;
    padding-top:35px;
    padding-bottom:65px;
  }
  .hero-copy {
    max-width:460px;
  }
  h1 {
    font-size:55px;
  }
  .intro {
    font-size:17px;
  }
  .hero-art {
    margin:10px 20px 0;
  }
  .hero-art .main-art {
    max-height:460px;
    object-fit:cover;
  }
  .section {
    padding-top:60px;
    padding-bottom:60px;
  }
  .section-heading {
    display:block;
    margin-bottom:30px;
  }
  .section-heading p {
    max-width:none;
  }
  .steps {
    grid-template-columns:1fr;
    gap:20px;
  }
  .steps article {
    padding-top:18px;
  }
  .steps h3 {
    margin-top:10px;
  }
  .story-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .story-card img {
    max-height:410px;
  }
  .characters {
    grid-template-columns:1fr;
    gap:50px;
  }
  .character-art {
    max-width:370px;
    min-height:345px;
    margin:auto;
    width:100%;
  }
  .app-layout {
    grid-template-columns:1fr;
    gap:35px;
  }
  .footer {
    flex-direction:column;
  }
  .footer-links {
    justify-content:flex-start;
    gap:18px;
  }
  .download h2 {
    font-size:43px;
  }
  .legal h1 {
    font-size:44px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}

/* Match visible badge heights: PNG alpha bounds differ between locales.
   Google EN: 168px visible / 250px; ES: 192px visible / 250px. */
.stores {
  --badge-height: 60px;
  --google-badge-scale: 1.4880952381;
  align-items: center;
}
html[lang="es"] .stores { --google-badge-scale: 1.3020833333; }
.badge-link { display: inline-block; flex-shrink: 0; }
.badge-link:hover { opacity: .88; }
.badge-link img { display: block; height: var(--badge-height); width: auto; }
.badge-link--google img { height: calc(var(--badge-height) * var(--google-badge-scale)); }
@media (max-width: 900px) {
  .stores { --badge-height: 48px; }
}
@media (max-width: 600px) {
  .stores { --badge-height: 44px; }
}
