:root {
  --paper: #f8f5eb;
  --ink: #24483a;
  --muted: #667564;
  --green: #315c43;
  --light-green: #e5ebd7;
  --orange: #d98758;
  --yellow: #f3d89a;
  --line: #dddfcf;
  --round: "Baloo 2", "Arial Rounded MT Bold", ui-rounded, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img,
svg {
  max-width: 100%;
  vertical-align: middle;
}
img {
  height: auto;
}
button:disabled {
  opacity: 0.46;
  cursor: default;
}
button[hidden],
a[hidden],
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #d88759;
  outline-offset: 5px;
  border-radius: 8px;
}
.icon {
  width: 23px;
  height: 23px;
  flex: none;
}
.wrap {
  width: min(1220px, calc(100% - 80px));
  margin: 0 auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--round);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(42px, 5.7vw, 77px);
}
h2 {
  font-size: clamp(31px, 3.4vw, 44px);
}
h3 {
  font-size: 28px;
}
p {
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #637c58;
}
.eyebrow .icon {
  width: 17px;
  height: 17px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 22px;
  border-radius: 15px;
  border: 1.5px solid transparent;
  min-height: 53px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--green);
  color: #fffdf3;
  box-shadow: 0 4px 0 #234934;
}
.button.primary:hover {
  background: #244b35;
}
.button.secondary {
  background: #fffdf4;
  border-color: #d5dbcb;
  color: var(--green);
}
.text-link {
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.5;
  min-height: 42px;
}
.text-link:hover {
  color: #b56e45;
}
.text-link .icon {
  width: 19px;
  height: 19px;
}
.icon-button {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #d9decb;
  border-radius: 50%;
  flex: none;
}
.icon-button:hover {
  background: #e8eddb;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: white;
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
#header {
  position: sticky;
  top: 0;
  background: #f8f5ebf5;
  backdrop-filter: blur(14px);
  z-index: 50;
  border-bottom: 1px solid #e3e5d7;
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 17px 34px;
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}
.brand img {
  width: 40px;
  height: 53px;
  object-fit: cover;
}
.brand strong {
  font-family: var(--round);
  font-weight: 800;
  font-size: 31px;
  letter-spacing: -0.03em;
}
.brand-dot {
  color: var(--orange);
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.07em;
  color: #758369;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 9px 12px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  background: #e5ebd9;
  color: #36583e;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 11px;
}
.language-control {
  display: flex;
  align-items: center;
  gap: 6px;
}
.language-symbol {
  font-size: 17px;
  font-weight: 800;
  color: #6a7b60;
}
.language-symbol span {
  font-size: 11px;
  position: relative;
  top: 4px;
  margin-left: -3px;
}
.language-control select {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  width: 53px;
  cursor: pointer;
  padding: 8px 1px;
}
.language-control option {
  font-size: 14px;
}
.sound-button {
  width: 36px;
  height: 36px;
}
.sound-button .icon {
  width: 18px;
  height: 18px;
}
.menu-button {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 36px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  min-height: 610px;
}
.hero-copy .eyebrow {
  margin-bottom: 23px;
}
.hero-copy h1 {
  margin-bottom: 20px;
  line-height: 1.04;
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #839077;
}
.hero-note .icon {
  width: 14px;
  height: 14px;
  stroke: #b4a46e;
}
.hero-art {
  position: relative;
  isolation: isolate;
  padding: 21px 0 0;
}
.hero-scene {
  width: 100%;
  border-radius: 50% 45% 41% 47%/38% 42% 39% 47%;
  background: #e1e8ce;
  aspect-ratio: 1.3;
  object-fit: cover;
  object-position: 50% 60%;
  box-shadow: 20px 22px 0 -5px #e7e6d4;
}
.hero-bubble {
  position: absolute;
  top: 9px;
  left: 31px;
  z-index: 1;
  transform: rotate(-6deg);
  background: #fffdf4;
  border: 1px solid #dfe3d1;
  border-radius: 24px 24px 24px 3px;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 7px 17px #38583a0a;
}
.hero-bubble span {
  color: #d39a59;
  margin-left: 9px;
}
.little-spark {
  position: absolute;
  color: #cf9a54;
}
.spark-one {
  font-size: 49px;
  top: 10%;
  right: 0;
}
.spark-two {
  font-size: 30px;
  bottom: 2%;
  left: -11px;
}
.section-heading {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 34px;
}
.section-heading .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}
.section-heading h2 {
  margin-bottom: 10px;
}
.section-heading p {
  font-size: 14px;
}
.explore-section {
  padding-top: 24px;
  padding-bottom: 85px;
}
.trail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trail {
  padding: 31px 27px 25px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border: 1px solid transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.trail:hover {
  transform: translateY(-5px);
  box-shadow: 0 9px 20px #294d3c09;
}
.trail-0 {
  background: #e6ecd9;
  border-color: #d7e0c5;
}
.trail-1 {
  background: #f4e4bd;
  border-color: #e9d7a7;
}
.trail-2 {
  background: #e5e8ed;
  border-color: #d7dce5;
}
.trail-icon {
  display: flex;
  width: 47px;
  height: 47px;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  background: #ffffff75;
  margin-bottom: 18px;
}
.trail h3 {
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.trail p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 215px;
  position: relative;
  z-index: 1;
}
.trail-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.trail-link .icon {
  width: 15px;
}
.trail-art {
  position: absolute;
  right: -15px;
  bottom: 15px;
  width: 100px;
  opacity: 0.7;
  transform: rotate(-16deg);
}
.trail-1 .trail-art {
  width: 80px;
  right: 7px;
  bottom: 15px;
}
.trail-2 .trail-art {
  width: 95px;
  right: 9px;
  bottom: 24px;
}
.family-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 35px 30px 95px;
}
.family-picture {
  position: relative;
  max-width: 470px;
  margin: auto;
  transform: rotate(-2deg);
  border: 13px solid #fffdf3;
  border-radius: 22px;
  box-shadow: 0 7px 22px #5e66530b;
}
.family-picture img {
  border-radius: 12px;
  display: block;
  width: 100%;
}
.picture-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #fffdf2e0;
  border-radius: 20px;
  padding: 5px 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}
.picture-label .icon {
  width: 14px;
  height: 14px;
  color: #c1795c;
}
.family-copy .eyebrow {
  margin-bottom: 18px;
}
.family-copy h2 {
  font-size: 39px;
  margin-bottom: 20px;
}
.family-copy p {
  font-size: 15px;
  line-height: 1.9;
}
.family-copy .text-link {
  margin-top: 8px;
}
.home-watch {
  padding: 25px 0 100px;
}
.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 29px;
}
.section-row h2 {
  margin: 9px 0;
}
.section-row p {
  font-size: 14px;
  margin: 0;
  max-width: 600px;
}
.section-row > .text-link {
  white-space: nowrap;
}
.mini-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mini-scene > div {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  background: #d8e4c5;
}
.mini-scene img {
  width: 100%;
  transition: transform 0.3s;
  display: block;
}
.mini-scene:hover img {
  transform: scale(1.04);
}
.mini-scene h3 {
  font-size: 22px;
  margin: 17px 0 0;
}
.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fffdf1de;
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: var(--green);
}
.play-circle .icon {
  width: 20px;
  height: 20px;
  fill: var(--green);
  stroke-width: 0;
  transform: translateX(-1px);
}
#footer {
  position: relative;
  background: #e8eddd;
  margin-top: 35px;
}
.footer-wave {
  height: 34px;
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  background: #e8eddd;
  clip-path: polygon(
    0 62%,
    8% 36%,
    20% 70%,
    33% 31%,
    48% 62%,
    62% 26%,
    76% 65%,
    91% 29%,
    100% 50%,
    100% 100%,
    0 100%
  );
}
.footer-inner {
  max-width: 1220px;
  width: calc(100% - 80px);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 35px;
  padding: 45px 0 35px;
  align-items: start;
}
.footer-brand strong {
  font-size: 32px;
}
.footer-inner p {
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}
.footer-inner small {
  font-size: 11px;
  color: #7c896e;
}
.footer-links {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
}
.footer-links button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid #d9dfcd;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #849178;
  padding: 15px 20px;
  text-align: center;
}
.footer-bottom .icon {
  width: 12px;
  height: 12px;
}
.page-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 42px;
  padding-top: 51px;
}
.page-heading h1 {
  font-size: clamp(36px, 4.4vw, 57px);
  margin: 12px 0 13px;
}
.page-heading > p {
  font-size: 15px;
  max-width: 660px;
  margin: 0 auto;
}
.page-heading > .eyebrow {
  justify-content: center;
}
.book {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid #e0e3d4;
  border-radius: 28px;
  overflow: hidden;
  background: #fffdf5;
  box-shadow: 0 10px 24px #324e3e05;
  scroll-margin-top: 105px;
  min-height: 510px;
}
.book-picture {
  position: relative;
  background: #e7ebd7;
  display: flex;
  align-items: center;
  padding: 22px;
}
.book-picture img {
  width: 100%;
  border-radius: 16px;
}
.book-page-counter {
  position: absolute;
  bottom: 14px;
  left: 22px;
  background: #fffdf5e8;
  border-radius: 22px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
}
.book-text {
  padding: 35px 38px;
  align-self: center;
}
.book-text h2 {
  font-size: 32px;
  margin: 9px 0 17px;
}
.book-paragraphs p {
  font-size: 15px;
  line-height: 1.85;
  color: #52634e;
  margin-bottom: 15px;
}
.listen-button {
  font-size: 12px;
  gap: 7px;
  margin-top: 3px;
}
.book-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 22px;
}
.book-navigation .button {
  min-width: 140px;
}
.book-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 420px;
}
.book-dots button {
  border: 0;
  background: none;
  width: 24px;
  height: 35px;
  padding: 8px;
}
.book-dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: #d9dfcc;
  border-radius: 50%;
}
.book-dots button[aria-current] span {
  background: var(--green);
  transform: scale(1.3);
}
.book-download {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  margin: 25px 0 65px;
}
.book-download small {
  font-size: 10px;
  color: #8b957e;
}
.story-reflection {
  background: #e8eddb;
  text-align: center;
  border-radius: 20px;
  padding: 25px;
  margin-top: 25px;
}
.story-reflection h3 {
  margin-bottom: 8px;
}
.story-reflection p {
  font-size: 14px;
  margin: 0;
}
.animation-section {
  padding-bottom: 90px;
}
.animation-player {
  max-width: 1020px;
  margin: auto;
  border: 1px solid #dce1cf;
  background: #fffdf4;
  border-radius: 25px;
  overflow: hidden;
}
.animation-screen {
  background: #e3e9d5;
}
.animation-screen > img {
  width: 100%;
  display: block;
  max-height: 550px;
  object-fit: cover;
}
.animation-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 21px 27px;
}
.animation-caption h2 {
  font-size: 29px;
  margin: 0 0 5px;
}
.animation-caption p {
  font-size: 13px;
  margin: 0;
}
.animation-caption .button {
  min-width: 123px;
}
.scene-picker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 25px auto 15px;
  max-width: 1020px;
}
.scene-choice {
  padding: 7px 7px 9px;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}
.scene-choice img {
  width: 100%;
  border-radius: 9px;
  display: block;
  margin-bottom: 8px;
}
.scene-choice.selected {
  border-color: #62845b;
  background: #edf1e4;
}
.scene-choice:hover {
  background: #e9eeda;
}
.scene-download {
  display: flex;
  justify-content: center;
  margin: 10px auto 0;
  font-size: 12px;
}
.videos-heading {
  margin-top: 70px;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.video-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  background: #dce4cf;
}
.video-grid h3 {
  font-size: 23px;
  margin: 15px 0 0;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 90px;
}
.game-card {
  display: flex;
  align-items: start;
  flex-direction: column;
  border: 1px solid #e0e3d3;
  padding: 22px;
  border-radius: 24px;
  background: #fffdf4;
  transition: transform 0.2s;
}
.game-card:hover {
  transform: translateY(-6px);
}
.game-illustration {
  height: 187px;
  background: #e6edda;
  border-radius: 17px;
  width: 100%;
  margin-bottom: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card-1 .game-illustration {
  background: #f3e6c6;
}
.game-card-2 .game-illustration {
  background: #e9e3dc;
}
.game-card h2 {
  font-size: 29px;
  margin: 10px 0 13px;
}
.game-card p {
  font-size: 14px;
  flex: 1;
  margin-bottom: 23px;
}
.sample-card {
  display: block;
  width: 73px;
  height: 104px;
  background: #fffdf5;
  box-shadow: 0 5px 0 #d2d9c2;
  border-radius: 13px;
  padding: 18px 6px;
  transform: rotate(-13deg);
  position: absolute;
  left: 25%;
  top: 32px;
}
.sample-card.second {
  transform: rotate(15deg);
  left: 49%;
  top: 49px;
}
.sample-card img {
  width: 60px;
}
.color-art {
  width: 160px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.color-art span {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-35deg);
}
.fruit-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fruit-art img {
  width: 75px;
  margin: 0 -4px;
}
.fruit-art img:nth-child(2) {
  transform: translateY(-15px);
}
.active-game {
  max-width: 1000px;
  padding-top: 26px;
  padding-bottom: 90px;
}
.active-game .page-heading {
  padding-top: 12px;
  margin-bottom: 30px;
}
.active-game .page-heading h1 {
  font-size: 45px;
}
.memory-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 800;
}
.memory-stats > span {
  padding: 8px 13px;
  border-radius: 22px;
  background: #e8eddb;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 690px;
  margin: auto;
}
.memory-card {
  aspect-ratio: 1.13;
  border: 1px solid #d5ddc4;
  border-radius: 17px;
  background: #dfe8cc;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 0 #cdd9bb;
  transition:
    background 0.2s,
    transform 0.2s;
}
.memory-card:hover:not(.matched) {
  transform: translateY(-3px);
}
.memory-card > span {
  position: absolute;
  inset: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.15s,
    transform 0.2s;
}
.card-back img {
  height: 80%;
  width: auto;
}
.memory-card .card-front {
  opacity: 0;
  transform: scale(0.7);
}
.card-front img {
  width: 65px;
  height: 65px;
}
.memory-card.flipped {
  background: #fffdf2;
}
.memory-card.flipped .card-back {
  opacity: 0;
}
.memory-card.flipped .card-front {
  opacity: 1;
  transform: scale(1);
}
.memory-card.matched {
  background: #edf1d7;
  border-color: #a8bd87;
  box-shadow: 0 4px 0 #bdcda7;
}
.game-feedback {
  font-size: 18px;
  text-align: center;
  font-weight: 800;
  min-height: 54px;
  margin-top: 25px;
  color: #587347;
}
.color-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background: #fffdf4;
  border: 1px solid #dfe3d1;
  border-radius: 28px;
  padding: 32px;
}
.color-character > svg {
  display: block;
  width: 100%;
  height: auto;
}
.color-controls {
  text-align: center;
}
.pill {
  display: inline-block;
  background: #e5ebd7;
  border-radius: 22px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 800;
}
.color-controls h2 {
  font-size: 29px;
  margin: 16px 0 18px;
}
.color-controls h2 strong {
  display: block;
  font-size: 38px;
  filter: brightness(0.8);
}
.color-palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 290px;
  margin: auto;
}
.color-leaf {
  background: #f8f5e9;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 12px;
  min-width: 65px;
  min-height: 65px;
  transition: transform 0.15s;
}
.color-leaf .icon {
  width: 42px;
  height: 42px;
  fill: var(--leaf-color);
  stroke: #ffffffa0;
  stroke-width: 1;
}
.color-leaf:hover {
  transform: scale(1.07);
}
.color-leaf.correct {
  border-color: #54733a;
  background: #edf3dd;
}
.color-controls .game-feedback {
  font-size: 15px;
  min-height: 42px;
  margin: 18px 0 10px;
}
.color-controls > .text-link {
  display: block;
  margin: 15px auto 0;
}
.picnic-game {
  background: #fffdf3;
  border: 1px solid #dfe3d0;
  border-radius: 28px;
  padding: 28px;
}
.picnic-top {
  text-align: center;
}
.picnic-top h2 {
  font-size: 30px;
  margin: 16px 0;
}
.basket-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f4e5bc;
  padding: 9px 19px;
  border-radius: 16px;
  font-weight: 800;
}
.basket-counter .icon {
  width: 26px;
  height: 26px;
}
.fruit-field {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 25px auto 0;
  max-width: 600px;
}
.pick-fruit {
  border: 0;
  background: #edf0dd;
  border-radius: 50%;
  aspect-ratio: 1;
  padding: 10px;
  transition:
    transform 0.2s,
    opacity 0.3s;
  min-width: 70px;
  min-height: 70px;
}
.pick-fruit img {
  width: 80px;
}
.pick-fruit:hover:not(:disabled) {
  transform: scale(1.1);
}
.pick-fruit.picked {
  opacity: 0.08;
  transform: scale(0.5);
}
.picnic-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.bedtime-section {
  background: #223d46;
  color: #f2e8c5;
  padding-bottom: 75px;
  min-height: 800px;
}
.night-mode #main {
  background: #223d46;
}
.night-mode #footer {
  margin-top: 0;
}
.bedtime-section .page-heading {
  padding-top: 47px;
}
.bedtime-section .page-heading > p {
  color: #b3c8c0;
}
.bedtime-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.night-room {
  aspect-ratio: 1.15;
  border-radius: 29px;
  background: linear-gradient(160deg, #34535a, #1a343b);
  position: relative;
  overflow: hidden;
  border: 1px solid #58736b;
}
.night-moon {
  position: absolute;
  top: 40px;
  right: 54px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #efda9b;
  box-shadow: 0 0 40px #f7d68c18;
}
.night-moon:after {
  content: "";
  position: absolute;
  left: 18px;
  top: -10px;
  width: 64px;
  height: 64px;
  background: #304e55;
  border-radius: 50%;
}
.night-stars span {
  position: absolute;
  left: var(--star-x);
  top: var(--star-y);
  color: #e9d48c;
  opacity: 0.15;
  transition: opacity 2s;
}
.night-stars span.lit {
  opacity: 1;
}
.night-stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke-width: 0;
}
.sleeping-character {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 20px;
}
.sleeping-character > svg {
  width: 100%;
  display: block;
  filter: saturate(0.8) brightness(0.9);
  height: auto;
  max-height: 305px;
}
.sleeping-character .head-rig {
  transform-origin: 190px 302px;
  transition: transform 2s;
}
.sleeping-character .eye {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 3s;
}
.sleeping-character.sleepy .eye {
  transform: scaleY(0.5);
}
.sleeping-character.asleep .eye {
  transform: scaleY(0.06);
}
.sleeping-character.asleep .head-rig {
  transform: rotate(8deg) translateY(5px);
}
.sleeping-character.asleep {
  animation: sleep-breathe 4s ease-in-out infinite;
}
.leaf-bed {
  position: absolute;
  left: 10%;
  bottom: 45px;
  width: 80%;
  height: 75px;
  background: #527869;
  border-radius: 50% 8% 50% 10%;
  transform: rotate(-3deg);
  border-bottom: 6px solid #436556;
}
.sleep-z {
  position: absolute;
  left: 35%;
  top: 30%;
  font-family: var(--round);
  font-size: 29px;
  letter-spacing: 9px;
  opacity: 0;
  transition: opacity 2s;
  color: #d7d8b0;
}
.night-room.asleep .sleep-z {
  opacity: 0.7;
  animation: zz 5s ease-in-out infinite;
}
.night-status {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 15px;
  text-align: center;
  color: #cbd4bc;
  font-size: 12px;
  font-weight: 700;
}
.night-story {
  padding: 10px 12px;
}
.night-story .eyebrow {
  color: #d4c78f;
}
.night-story h2 {
  font-size: 35px;
  margin: 12px 0 20px;
}
.night-story p {
  color: #cad5c7;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.night-story small {
  font-size: 11px;
  color: #95b1a9;
}
.bedtime-controls {
  text-align: center;
  margin: 32px auto 0;
  max-width: 800px;
}
.star-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 24px;
}
.star-progress .icon {
  width: 24px;
  height: 24px;
  color: #6c8178;
  transition: color 1s;
  fill: currentColor;
  stroke: none;
}
.star-progress .icon.lit {
  color: #f2d58a;
}
.bedtime-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.night-button {
  background: #efda9b;
  color: #344f42;
  box-shadow: 0 4px 0 #b6a86c;
}
.night-secondary {
  background: transparent;
  border-color: #637d72;
  color: #e1e5cf;
}
.night-button:disabled {
  opacity: 0.65;
}
.mic-button {
  color: #b7c9bd;
  font-size: 12px;
  min-height: 44px;
  margin-top: 23px;
}
.mic-note {
  max-width: 550px;
  margin: 5px auto 0;
  color: #9cb6ab;
  font-size: 11px;
}
.mic-button:hover {
  color: #f1d89c;
}
#mic-status {
  font-size: 12px;
  color: #d4d9b9;
  margin: 8px 0 0;
}
.contact-section {
  padding-bottom: 80px;
}
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.creator {
  background: #fffdf3;
  border: 1px solid #dfe3d1;
  border-radius: 22px;
  padding: 28px;
}
.creator-icon {
  display: flex;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #e7edd8;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.creator .eyebrow {
  font-size: 10px;
  min-height: 30px;
}
.creator h2 {
  font-size: 28px;
  margin: 10px 0 0;
}
.contact-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-top: 65px;
}
.contact-about img {
  border-radius: 23px;
}
.contact-about h2 {
  font-size: 35px;
  margin: 14px 0 18px;
}
.contact-about p {
  font-size: 14px;
}
.contact-panel {
  margin: 60px auto 0;
  max-width: 800px;
  text-align: center;
  background: #e6ecd8;
  border: 1px solid #d8e0c6;
  border-radius: 25px;
  padding: 38px;
}
.contact-panel > .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
}
.contact-panel h2 {
  font-size: 33px;
  margin-bottom: 14px;
}
.contact-panel p {
  font-size: 14px;
}
.contact-email {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin: 20px 0 7px;
}
.contact-panel small {
  display: block;
  font-size: 12px;
  color: #7b866e;
}
.contact-panel .button {
  margin-top: 22px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 24px;
  max-width: min(90vw, 650px);
  width: max-content;
  border-radius: 18px;
  background: #2e523f;
  color: #fffdf2;
  z-index: 90;
  font-size: 14px;
  box-shadow: 0 8px 20px #142d2920;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  width: min(660px, calc(100% - 30px));
  border: 1px solid #dce1cd;
  border-radius: 25px;
  padding: 42px;
  background: var(--paper);
  color: var(--ink);
  max-height: 85dvh;
}
dialog::backdrop {
  background: #1d382d77;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 32px;
  padding-right: 23px;
}
dialog p {
  font-size: 14px;
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 35px;
  height: 35px;
}
.loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font-family: var(--round);
  font-size: 35px;
}
.not-found {
  text-align: center;
  padding-bottom: 80px;
}
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 95;
}
.confetti i {
  position: absolute;
  left: var(--x);
  top: -20px;
  width: 9px;
  height: 13px;
  border-radius: 3px;
  animation: confetti 1.6s var(--d) ease-in forwards;
}
.wiggle {
  animation: wiggle 0.4s;
}
.color-character .body-rig {
  transition: filter 0.8s;
}
@keyframes confetti {
  to {
    transform: translateY(100vh) rotate(var(--r));
    opacity: 0;
  }
}
@keyframes wiggle {
  25% {
    transform: rotate(-7deg);
  }
  75% {
    transform: rotate(7deg);
  }
}
@keyframes sleep-breathe {
  50% {
    transform: translateY(4px);
  }
}
@keyframes zz {
  50% {
    transform: translateY(-12px);
    opacity: 0.2;
  }
}
@media (min-width: 1500px) {
  .hero {
    gap: 70px;
    min-height: 660px;
  }
  .hero-art {
    padding-top: 10px;
  }
  .hero-copy h1 {
    font-size: 80px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    padding: 14px 22px;
    gap: 14px;
  }
  .main-nav a {
    font-size: 11px;
    padding: 8px 9px;
  }
  .brand strong {
    font-size: 27px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-tools {
    gap: 6px;
  }
  .hero {
    gap: 25px;
    min-height: 560px;
    padding-top: 55px;
    padding-bottom: 50px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 12px 15px;
  }
  .family-section {
    gap: 40px;
    padding-left: 0;
    padding-right: 0;
  }
  .family-copy h2 {
    font-size: 34px;
  }
  .trail {
    padding: 25px 22px;
  }
  .trail h3 {
    font-size: 25px;
  }
  .trail-art {
    width: 74px;
    opacity: 0.4;
  }
  .section-row > .text-link {
    font-size: 12px;
  }
  .game-card {
    padding: 18px;
  }
  .game-card h2 {
    font-size: 26px;
  }
  .book-text {
    padding: 28px;
  }
  .book-paragraphs p {
    font-size: 14px;
  }
  .scene-choice {
    font-size: 10px;
  }
  .footer-inner {
    width: calc(100% - 48px);
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid #d9dfcd;
    padding: 14px 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    box-shadow: 0 8px 20px #324e3e0a;
  }
  .menu-open .main-nav {
    display: grid;
  }
  .main-nav a {
    text-align: center;
    font-size: 13px;
    padding: 12px 6px;
  }
  .menu-button {
    display: flex;
    width: 37px;
    height: 37px;
  }
  .header-inner {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .header-tools {
    gap: 13px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero {
    min-height: 500px;
    padding-top: 45px;
    gap: 15px;
  }
  .hero-bubble {
    font-size: 10px;
    padding: 9px 12px;
    left: 0;
    top: -4px;
  }
  .hero-art {
    padding-top: 12px;
  }
  .hero-actions {
    gap: 11px;
  }
  .hero-note {
    font-size: 10px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 11px 13px;
    min-height: 46px;
    gap: 7px;
  }
  .hero-actions .icon {
    width: 19px;
  }
  .trail-grid {
    gap: 14px;
  }
  .trail {
    padding: 22px 17px;
    min-height: 275px;
  }
  .trail h3 {
    font-size: 23px;
  }
  .trail p {
    font-size: 12px;
  }
  .trail-link {
    font-size: 11px;
  }
  .trail-art {
    display: none;
  }
  .family-section {
    gap: 30px;
    padding-top: 0;
    padding-bottom: 65px;
  }
  .family-copy h2 {
    font-size: 30px;
  }
  .family-copy p {
    font-size: 13px;
  }
  .family-copy .eyebrow {
    font-size: 9px;
  }
  .family-copy .text-link {
    font-size: 12px;
  }
  .section-row {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .mini-scenes {
    gap: 15px;
  }
  .mini-scene h3 {
    font-size: 19px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }
  .footer-brand {
    justify-content: center;
  }
  .creator h2 {
    font-size: 23px;
  }
  .creator {
    padding: 23px;
  }
  .creator .eyebrow {
    font-size: 9px;
  }
  .game-grid {
    gap: 15px;
  }
  .game-card {
    padding: 16px;
  }
  .game-card h2 {
    font-size: 23px;
  }
  .game-card p {
    font-size: 12px;
  }
  .game-illustration {
    height: 155px;
  }
  .sample-card {
    width: 57px;
    height: 87px;
    padding: 12px 4px;
    left: 20%;
  }
  .sample-card.second {
    left: 45%;
  }
  .fruit-art img {
    width: 54px;
  }
  .color-art {
    width: 125px;
  }
  .color-art span {
    width: 31px;
    height: 31px;
  }
  .game-card .button {
    font-size: 12px;
    min-height: 44px;
    padding: 11px 15px;
  }
  .book {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 400px;
  }
  .book-picture {
    padding: 13px;
  }
  .book-text {
    padding: 25px;
  }
  .book-text h2 {
    font-size: 27px;
  }
  .book-paragraphs p {
    font-size: 13px;
    line-height: 1.7;
  }
  .book-dots {
    gap: 0;
    max-width: 280px;
  }
  .book-dots button {
    width: 20px;
    padding: 6px;
  }
  .book-navigation .button {
    min-width: 110px;
    font-size: 12px;
    padding: 12px 16px;
  }
  .bedtime-layout {
    gap: 25px;
  }
  .night-story {
    padding: 0;
  }
  .night-story p {
    font-size: 12px;
  }
  .night-story h2 {
    font-size: 29px;
  }
  .night-room {
    aspect-ratio: 0.9;
  }
  .sleeping-character {
    bottom: 65px;
    padding: 0 5px;
  }
  .leaf-bed {
    bottom: 66px;
  }
  .night-status {
    bottom: 18px;
    font-size: 10px;
  }
  .contact-about {
    gap: 30px;
  }
  .contact-about h2 {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    padding: 10px 16px;
  }
  .brand img {
    width: 33px;
    height: 43px;
  }
  .brand strong {
    font-size: 27px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-tools {
    gap: 9px;
  }
  .language-symbol {
    display: none;
  }
  .language-control select {
    font-size: 11px;
    width: 44px;
  }
  .sound-button {
    width: 33px;
    height: 33px;
  }
  .menu-button {
    width: 34px;
    height: 34px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 37px;
    padding-bottom: 38px;
    gap: 30px;
    align-items: stretch;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow {
    justify-content: center;
    font-size: 9px;
    margin-bottom: 15px;
  }
  .hero h1 {
    font-size: 53px;
    line-height: 1.02;
    margin-bottom: 17px;
  }
  .hero-copy > p {
    max-width: 340px;
    margin: 0 auto 23px;
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-actions {
    justify-content: center;
    margin-bottom: 18px;
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 48px;
    padding: 12px 16px;
  }
  .hero-note {
    justify-content: center;
    font-size: 9px;
  }
  .hero-art {
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
    padding: 14px 9px 0;
  }
  .hero-scene {
    aspect-ratio: 1.55;
    box-shadow: 12px 12px 0 -3px #e7e6d4;
  }
  .hero-bubble {
    font-size: 10px;
    left: 25px;
    top: -6px;
    padding: 8px 12px;
  }
  .spark-one {
    font-size: 35px;
    right: 1px;
    top: 1px;
  }
  .spark-two {
    font-size: 25px;
    left: 4px;
    bottom: -7px;
  }
  .explore-section {
    padding-top: 22px;
    padding-bottom: 52px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .trail-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .trail {
    min-height: 0;
    padding: 25px 24px 23px;
    display: grid;
    grid-template-columns: 45px 1fr;
    column-gap: 15px;
    border-radius: 21px;
  }
  .trail-icon {
    grid-row: 1/4;
    align-self: start;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .trail h3 {
    font-size: 26px;
    margin: 0 0 7px;
  }
  .trail p {
    max-width: 280px;
    font-size: 12px;
    margin-bottom: 9px;
    padding-right: 40px;
  }
  .trail-link {
    font-size: 11px;
  }
  .trail-art {
    display: block;
    width: 68px;
    right: 3px;
    bottom: 18px;
    opacity: 0.3;
  }
  .trail-1 .trail-art,
  .trail-2 .trail-art {
    width: 64px;
    right: 6px;
    bottom: 15px;
  }
  .family-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 60px;
  }
  .family-picture {
    max-width: 330px;
    width: 92%;
    border-width: 10px;
  }
  .family-copy {
    text-align: center;
  }
  .family-copy .eyebrow {
    justify-content: center;
    font-size: 9px;
  }
  .family-copy h2 {
    font-size: 34px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .family-copy p {
    max-width: 360px;
    font-size: 13px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-watch {
    padding-top: 0;
    padding-bottom: 65px;
  }
  .section-row {
    margin-bottom: 22px;
    gap: 9px;
  }
  .section-row h2 {
    font-size: 32px;
  }
  .section-row p {
    font-size: 12px;
  }
  .mini-scenes {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .mini-scene > div {
    aspect-ratio: 1.8;
  }
  .mini-scene img {
    height: 100%;
    object-fit: cover;
  }
  .mini-scene h3 {
    font-size: 24px;
    margin-top: 12px;
  }
  .play-circle {
    width: 39px;
    height: 39px;
    bottom: 12px;
    right: 12px;
  }
  .footer-inner {
    width: calc(100% - 40px);
    padding-top: 35px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-inner p {
    font-size: 13px;
  }
  .footer-inner small {
    font-size: 10px;
  }
  .footer-links {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 17px;
    font-size: 11px;
  }
  .footer-links button {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 9px;
    line-height: 1.5;
  }
  .page-heading {
    padding-top: 34px;
    margin-bottom: 27px;
  }
  .page-heading h1 {
    font-size: 39px;
    line-height: 1.1;
  }
  .page-heading > p {
    font-size: 13px;
    max-width: 340px;
  }
  .book {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    min-height: 0;
  }
  .book-picture {
    padding: 16px;
    min-height: 0;
  }
  .book-picture img {
    max-height: 340px;
    object-fit: contain;
  }
  .book-page-counter {
    left: 25px;
    bottom: 22px;
    font-size: 10px;
  }
  .book-text {
    padding: 27px 24px;
    align-self: stretch;
  }
  .book-text h2 {
    font-size: 30px;
    margin-bottom: 17px;
  }
  .book-paragraphs p {
    font-size: 15px;
    line-height: 1.85;
  }
  .book-text .eyebrow {
    font-size: 10px;
  }
  .listen-button {
    font-size: 12px;
    margin-top: 5px;
  }
  .book-navigation {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
  }
  .book-navigation .button {
    min-width: 125px;
  }
  .book-dots {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin: 2px auto 0;
  }
  .book-dots button {
    width: 23px;
  }
  .book-download small {
    font-size: 8px;
    text-align: center;
  }
  .book-download .text-link {
    font-size: 13px;
  }
  .book-download {
    margin-bottom: 55px;
  }
  .story-reflection h3 {
    font-size: 25px;
  }
  .story-reflection p {
    font-size: 12px;
  }
  .animation-caption {
    padding: 17px 19px;
    gap: 15px;
  }
  .animation-caption h2 {
    font-size: 24px;
  }
  .animation-caption p {
    font-size: 11px;
  }
  .animation-caption .button {
    padding: 10px 12px;
    min-width: 94px;
    min-height: 44px;
    font-size: 12px;
    gap: 6px;
  }
  .animation-caption .button .icon {
    width: 17px;
  }
  .animation-screen > img {
    aspect-ratio: 1.5;
    object-fit: cover;
  }
  .scene-picker {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 17px;
  }
  .scene-choice {
    font-size: 10px;
    padding: 5px 5px 7px;
  }
  .scene-download {
    font-size: 11px;
  }
  .animation-section {
    padding-bottom: 55px;
  }
  .videos-heading {
    margin-top: 48px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-grid h3 {
    font-size: 22px;
    margin-top: 12px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-bottom: 60px;
  }
  .game-card {
    padding: 20px;
    border-radius: 23px;
  }
  .game-illustration {
    height: 180px;
    margin-bottom: 20px;
  }
  .game-card h2 {
    font-size: 31px;
    margin: 9px 0;
  }
  .game-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .game-card .button {
    font-size: 13px;
    padding: 12px 20px;
    min-height: 48px;
  }
  .sample-card {
    width: 77px;
    height: 105px;
    left: 27%;
    top: 30px;
    padding: 15px 5px;
  }
  .sample-card.second {
    left: 48%;
    top: 44px;
  }
  .sample-card img {
    width: 65px;
  }
  .color-art {
    width: 165px;
  }
  .color-art span {
    width: 41px;
    height: 41px;
  }
  .fruit-art img {
    width: 78px;
  }
  .active-game {
    padding-top: 20px;
    padding-bottom: 60px;
  }
  .active-game .page-heading h1 {
    font-size: 35px;
  }
  .memory-stats {
    gap: 11px;
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .memory-stats > span {
    padding: 7px 11px;
  }
  .memory-stats .text-link {
    font-size: 11px;
    min-height: 35px;
  }
  .memory-board {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .memory-card {
    aspect-ratio: 1;
    border-radius: 14px;
  }
  .card-front img {
    width: 55px;
    height: 55px;
  }
  .game-feedback {
    font-size: 16px;
    margin-top: 22px;
  }
  .color-game {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }
  .color-character {
    max-width: 290px;
    margin: auto;
  }
  .color-controls h2 {
    font-size: 27px;
  }
  .color-controls h2 strong {
    font-size: 34px;
  }
  .color-palette {
    max-width: 260px;
  }
  .color-leaf {
    min-height: 64px;
    padding: 9px;
  }
  .picnic-game {
    padding: 22px 15px;
  }
  .picnic-top h2 {
    font-size: 27px;
  }
  .fruit-field {
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 22px;
  }
  .pick-fruit {
    min-width: 0;
    min-height: 0;
  }
  .pick-fruit img {
    width: 73px;
  }
  .picnic-actions {
    gap: 15px;
  }
  .bedtime-section {
    padding-bottom: 55px;
  }
  .bedtime-section .page-heading {
    padding-top: 34px;
  }
  .bedtime-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .night-room {
    aspect-ratio: 1.15;
  }
  .sleeping-character {
    bottom: 53px;
    padding: 0 5px;
  }
  .leaf-bed {
    bottom: 52px;
  }
  .night-status {
    font-size: 11px;
  }
  .night-story {
    padding: 0 6px;
  }
  .night-story h2 {
    font-size: 33px;
  }
  .night-story p {
    font-size: 14px;
    line-height: 1.9;
  }
  .night-story small {
    font-size: 11px;
  }
  .bedtime-controls {
    margin-top: 27px;
  }
  .bedtime-buttons {
    gap: 13px;
  }
  .bedtime-buttons .button {
    font-size: 13px;
  }
  .mic-note {
    font-size: 10px;
  }
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .creator {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
    padding: 24px;
  }
  .creator-icon {
    grid-row: 1/3;
    width: 47px;
    height: 47px;
    margin-bottom: 0;
    align-self: center;
  }
  .creator .eyebrow {
    font-size: 9px;
    min-height: 0;
  }
  .creator h2 {
    font-size: 25px;
    margin-top: 7px;
  }
  .contact-about {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  .contact-about h2 {
    font-size: 33px;
  }
  .contact-about p {
    font-size: 13px;
  }
  .contact-panel {
    margin-top: 40px;
    padding: 30px 20px;
  }
  .contact-panel h2 {
    font-size: 30px;
  }
  .contact-panel p {
    font-size: 12px;
  }
  .contact-email {
    font-size: 18px;
  }
  .contact-panel small {
    font-size: 11px;
  }
  .contact-section {
    padding-bottom: 55px;
  }
  .toast {
    font-size: 12px;
    padding: 13px 18px;
    bottom: 20px;
  }
  dialog {
    padding: 35px 25px;
  }
  dialog h2 {
    font-size: 30px;
  }
  dialog p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.color-controls h2 strong {
  color: var(--ink) !important;
  filter: none;
}
.color-controls h2 strong:after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--target-color);
  margin-left: 9px;
  border: 1px solid #64755733;
}

.language-control {
  position: relative;
  min-width: 67px;
  height: 40px;
}
.language-code {
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.language-code > span {
  margin-left: 5px;
}
.language-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
@media (max-width: 600px) {
  .language-control {
    min-width: 39px;
  }
}

@media (max-width: 600px) {
  .sleeping-character {
    padding: 0 22px;
  }
}

.video-wrapper {
  position: relative;
}
.video-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid #ffffffa0;
  background: #fffdf1ef;
  box-shadow: 0 5px 25px #29453419;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-start .icon {
  width: 28px;
  height: 28px;
  fill: var(--green);
  stroke: none;
}
.video-start:hover {
  background: #fff;
}

.story-narration { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.25rem; }
.story-narration audio { width: 100%; max-width: 24rem; height: 42px; }
.story-narration small { color: var(--muted); font-size: .78rem; }
