:root {
  --ink: #5f4367;
  --ink-soft: #7e6590;
  --white-soft: rgba(255, 255, 255, 0.82);
  --white-strong: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 60px rgba(193, 102, 161, 0.18);
  --line: rgba(255, 255, 255, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Comic Sans MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.68), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.46), transparent 24%),
    linear-gradient(180deg, #fff8d7 0%, #ffe8bc 20%, #ffd8ea 56%, #dff4ff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 12s ease-in-out infinite;
}

body::before {
  top: -8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(255, 150, 184, 0.75), transparent 68%);
}

body::after {
  right: -10rem;
  bottom: -7rem;
  background: radial-gradient(circle, rgba(125, 229, 255, 0.72), transparent 68%);
  animation-delay: -5s;
}

.page-glow {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: 18%;
  left: -12rem;
  background: radial-gradient(circle, rgba(255, 118, 178, 0.72), transparent 68%);
}

.page-glow-right {
  right: -10rem;
  bottom: 14%;
  background: radial-gradient(circle, rgba(126, 214, 255, 0.78), transparent 68%);
}

.effects-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.hero,
.layout {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
  gap: 2rem;
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.95;
  color: #f2618e;
  text-shadow: 0 12px 24px rgba(255, 255, 255, 0.48);
}

.hero-text {
  max-width: 35rem;
  margin: 1rem 0 1.4rem;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions,
.feature-chips,
.card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pill-button,
.mini-button,
.scene-tile,
.animal-button,
.bubble,
.speech-button,
.rhythm-button {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff6ca7, #ffab64);
  box-shadow: 0 16px 34px rgba(255, 118, 178, 0.28);
}

.pill-button-soft,
.mini-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(114, 90, 133, 0.12);
}

.mini-button {
  min-height: 3rem;
  padding: 0.8rem 1.05rem;
  border-radius: 1.15rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.pill-button:hover,
.pill-button:focus-visible,
.mini-button:hover,
.mini-button:focus-visible,
.scene-tile:hover,
.scene-tile:focus-visible,
.animal-button:hover,
.animal-button:focus-visible,
.bubble:hover,
.bubble:focus-visible,
.speech-button:hover,
.speech-button:focus-visible,
.rhythm-button:hover,
.rhythm-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(101, 74, 123, 0.18);
}

.pill-button:focus-visible,
.mini-button:focus-visible,
.scene-tile:focus-visible,
.animal-button:focus-visible,
.bubble:focus-visible,
.speech-button:focus-visible,
.rhythm-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.96);
  outline-offset: 2px;
}

.feature-chips {
  margin-top: 1.2rem;
}

.feature-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(114, 90, 133, 0.1);
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.now-playing {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 226, 0.92));
  box-shadow: 0 16px 32px rgba(122, 94, 142, 0.12);
  backdrop-filter: blur(12px);
}

.now-playing-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.now-playing strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

.now-playing span:last-child {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero-stage {
  min-width: 0;
}

.stage {
  position: relative;
  min-height: 35rem;
  border-radius: 2.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #c8efff 0%, #fff0a8 52%, #ffe3bc 100%);
  box-shadow: var(--shadow);
}

.stage[data-scene="ocean"] {
  background: linear-gradient(180deg, #9de7ff 0%, #68c4ff 45%, #2f79d5 100%);
}

.stage[data-scene="garden"] {
  background: linear-gradient(180deg, #fff0b3 0%, #ffd99a 34%, #96eeb8 100%);
}

.stage[data-scene="rainbow"] {
  background: linear-gradient(180deg, #ffd7f0 0%, #ffe9a8 36%, #a6f3ff 100%);
}

.stage[data-scene="moon"] {
  background: linear-gradient(180deg, #23346d 0%, #3d4284 38%, #7757be 100%);
}

.stage-halo,
.stage-floor,
.stage-rainbow,
.stage-sun,
.stage-moon,
.stage-cloud,
.stage-wave,
.stage-icon,
.stage-stars span {
  position: absolute;
}

.stage-halo {
  inset: auto auto -20% -18%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 62%);
  animation: haloPulse 8s ease-in-out infinite;
}

.stage-sun,
.stage-moon {
  top: 1.4rem;
  right: 1.8rem;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 240ms ease, transform 240ms ease;
}

.stage-sun {
  background: radial-gradient(circle at 35% 35%, #fffbd2 0%, #ffe372 52%, #ffbf4c 100%);
  box-shadow: 0 0 0 0.8rem rgba(255, 232, 119, 0.22);
  animation: pulseSun 4s ease-in-out infinite;
}

.stage-moon {
  background: radial-gradient(circle at 35% 35%, #fffef7 0%, #ede5ff 54%, #c3b2ff 100%);
  box-shadow: 0 0 0 0.8rem rgba(233, 227, 255, 0.12);
}

.stage[data-scene="sunny"] .stage-sun,
.stage[data-scene="garden"] .stage-sun,
.stage[data-scene="rainbow"] .stage-sun {
  opacity: 1;
}

.stage[data-scene="moon"] .stage-moon {
  opacity: 1;
}

.stage-cloud {
  top: 3.2rem;
  width: 7.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  filter: blur(0.2px);
}

.stage-cloud::before,
.stage-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.stage-cloud::before {
  width: 2.5rem;
  height: 2.5rem;
  left: 0.9rem;
  top: -1rem;
}

.stage-cloud::after {
  width: 3rem;
  height: 3rem;
  right: 0.8rem;
  top: -1.15rem;
}

.stage-cloud-left {
  left: 1.5rem;
  animation: driftCloud 14s linear infinite;
}

.stage-cloud-right {
  right: 10rem;
  top: 5.2rem;
  animation: driftCloud 18s linear infinite reverse;
}

.stage-wave {
  left: -8%;
  right: -8%;
  height: 9rem;
  border-radius: 48% 52% 0 0 / 46% 54% 0 0;
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 240ms ease, transform 240ms ease;
}

.stage-wave-back {
  bottom: 2rem;
  background: rgba(255, 255, 255, 0.18);
  animation: waveDrift 7s ease-in-out infinite;
}

.stage-wave-front {
  bottom: -1rem;
  background: rgba(255, 255, 255, 0.34);
  animation: waveDrift 5.8s ease-in-out infinite reverse;
}

.stage[data-scene="ocean"] .stage-wave {
  opacity: 1;
  transform: translateY(0);
}

.stage-rainbow {
  left: 50%;
  top: 6.2rem;
  width: 15rem;
  height: 7.2rem;
  transform: translateX(-50%);
  border-radius: 15rem 15rem 0 0;
  background:
    linear-gradient(180deg, transparent 0 18%, #ff7fb1 18% 30%, #ffb56a 30% 42%, #ffea78 42% 54%, #9ff1af 54% 66%, #8cd6ff 66% 78%, #b79cff 78% 90%, transparent 90%);
  opacity: 0;
  filter: drop-shadow(0 10px 14px rgba(255, 151, 186, 0.22));
  transition: opacity 240ms ease;
}

.stage[data-scene="rainbow"] .stage-rainbow {
  opacity: 1;
  animation: rainbowPulse 4s ease-in-out infinite;
}

.stage-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 240ms ease;
}

.stage-stars span {
  font-size: 1.4rem;
  animation: twinkle 3s ease-in-out infinite;
}

.stage-stars span::before {
  content: "✨";
}

.stage-stars span:nth-child(1) {
  top: 2rem;
  left: 3rem;
}

.stage-stars span:nth-child(2) {
  top: 4rem;
  right: 8rem;
  animation-delay: -0.5s;
}

.stage-stars span:nth-child(3) {
  top: 7rem;
  left: 9rem;
  animation-delay: -1.2s;
}

.stage-stars span:nth-child(4) {
  top: 10rem;
  right: 4rem;
  animation-delay: -1.8s;
}

.stage-stars span:nth-child(5) {
  top: 12.5rem;
  left: 5rem;
  animation-delay: -2.2s;
}

.stage-stars span:nth-child(6) {
  top: 6rem;
  right: 15rem;
  animation-delay: -2.8s;
}

.stage[data-scene="moon"] .stage-stars {
  opacity: 1;
}

.stage-dots {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.stage-dots span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 180ms ease, background 180ms ease;
}

.stage-dots span.is-active {
  width: 1.8rem;
  background: rgba(255, 255, 255, 0.96);
}

.stage-icon {
  font-size: 2.8rem;
  line-height: 1;
  animation: floatIcon 5.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.24));
}

.stage-icon-a {
  top: 8.4rem;
  left: 1.8rem;
}

.stage-icon-b {
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -1.2s;
}

.stage-icon-c {
  top: 9rem;
  right: 2.6rem;
  animation-delay: -2.1s;
}

.stage-floor {
  inset: auto -10% -6rem;
  height: 12rem;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 34%), rgba(255, 255, 255, 0.08);
}

.stage-copy {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  max-width: 22rem;
  padding: 1.2rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px rgba(90, 70, 110, 0.14);
  backdrop-filter: blur(10px);
}

.stage[data-scene="moon"] .stage-copy {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.stage-emoji {
  font-size: 4.4rem;
  line-height: 1;
  animation: bob 3s ease-in-out infinite;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin-top: 0.55rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.stage[data-scene="moon"] .stage-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.stage-copy h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.stage-copy p {
  margin: 0.55rem 0 0;
  line-height: 1.58;
}

.layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.section-grid,
.section-block {
  margin-top: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  border-radius: 2rem;
  background: var(--white-soft);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.card-head {
  align-items: center;
  justify-content: space-between;
}

.card h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.card-text,
.control-dock-text,
.peekaboo-copy p,
.animal-copy p,
.speech-preview p,
.practice-item p {
  color: var(--ink-soft);
  line-height: 1.58;
}

.control-dock {
  background: linear-gradient(135deg, rgba(255, 250, 216, 0.92), rgba(255, 255, 255, 0.78));
}

.control-dock-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.control-dock-text {
  max-width: 28rem;
  margin: 0;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.scene-tile {
  min-height: 7.2rem;
  padding: 1rem 0.8rem;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(117, 95, 137, 0.12);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}

.scene-tile span {
  font-size: 2rem;
  line-height: 1;
}

.scene-tile.is-active {
  background: linear-gradient(135deg, rgba(255, 140, 176, 0.92), rgba(255, 204, 116, 0.92));
  color: #fff;
}

.speech-card {
  background: linear-gradient(135deg, rgba(255, 236, 245, 0.92), rgba(255, 248, 214, 0.82));
}

.speech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.speech-button {
  min-height: 6.8rem;
  padding: 1rem 0.8rem;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(112, 88, 130, 0.12);
  color: var(--ink);
  text-align: center;
}

.speech-button strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.speech-button span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.speech-preview {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 222, 0.86));
}

.speech-preview strong {
  display: block;
  font-size: 1.5rem;
}

.guide-card {
  background: linear-gradient(135deg, rgba(255, 251, 230, 0.92), rgba(230, 246, 255, 0.8));
}

.guide-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.guide-list li {
  margin-top: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.guide-list strong {
  color: var(--ink);
}

.bubble-card {
  background: linear-gradient(135deg, rgba(224, 250, 255, 0.9), rgba(255, 240, 201, 0.78));
}

.bubble-field {
  position: relative;
  min-height: 22rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.74), transparent 16%),
    linear-gradient(180deg, rgba(147, 234, 255, 0.86) 0%, rgba(200, 245, 255, 0.82) 36%, rgba(255, 236, 178, 0.86) 100%);
}

.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.52) 32%, rgba(255, 255, 255, 0.12) 74%),
    var(--bubble-color, rgba(255, 255, 255, 0.3));
  box-shadow:
    inset -12px -12px 24px rgba(255, 255, 255, 0.16),
    0 14px 28px rgba(68, 132, 190, 0.18);
  color: #fff;
  font-size: 1.25rem;
  animation: bubbleFloat var(--bubble-speed, 7s) linear forwards;
}

.bubble-pop {
  position: absolute;
  font-size: 1.5rem;
  pointer-events: none;
  animation: sparklePop 700ms ease-out forwards;
}

.peekaboo-card {
  background: linear-gradient(135deg, rgba(255, 252, 230, 0.92), rgba(255, 225, 242, 0.8));
}

.peekaboo-window {
  position: relative;
  min-height: 15rem;
  margin-top: 1rem;
  border-radius: 1.8rem;
  overflow: hidden;
  background: linear-gradient(180deg, #bdeeff 0%, #fff2a9 48%, #ffdeaf 100%);
  display: grid;
  place-items: center;
}

.peekaboo-glow {
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), transparent 66%);
  animation: haloPulse 5s ease-in-out infinite;
}

.peekaboo-face {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  line-height: 1;
  animation: bob 2.5s ease-in-out infinite;
}

.peekaboo-door {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(135deg, #ff90bf, #ffbf72);
  border: 0.45rem solid rgba(255, 255, 255, 0.68);
  border-radius: 1.8rem;
  transform: translateY(0);
  transition: transform 360ms ease;
}

.peekaboo-door::before,
.peekaboo-door::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%);
}

.peekaboo-door::before {
  left: 1.2rem;
}

.peekaboo-door::after {
  right: 1.2rem;
}

.peekaboo-window[data-open="true"] .peekaboo-door {
  transform: translateY(-78%);
}

.peekaboo-copy {
  margin-top: 1rem;
}

.peekaboo-copy h3 {
  font-size: 1.45rem;
}

.animals-card {
  background: linear-gradient(135deg, rgba(255, 248, 217, 0.92), rgba(255, 231, 241, 0.8));
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.animal-button {
  min-height: 7rem;
  padding: 0.95rem 0.6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 26px rgba(115, 93, 136, 0.12);
  color: var(--ink);
}

.animal-button.is-active {
  background: linear-gradient(135deg, rgba(255, 140, 176, 0.92), rgba(255, 204, 116, 0.92));
  color: #fff;
}

.animal-button span {
  display: block;
}

.animal-icon {
  font-size: 2rem;
  line-height: 1;
}

.animal-label {
  margin-top: 0.5rem;
  font-weight: 700;
}

.animal-spotlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(255, 253, 233, 0.9), rgba(255, 255, 255, 0.82));
}

.animal-emoji {
  font-size: 4rem;
  line-height: 1;
  animation: bob 2.8s ease-in-out infinite;
}

.rhythm-card {
  background: linear-gradient(135deg, rgba(255, 242, 213, 0.92), rgba(233, 247, 255, 0.82));
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.rhythm-button {
  min-height: 8.4rem;
  padding: 1rem;
  border-radius: 1.7rem;
  color: #fff;
  box-shadow: 0 16px 30px rgba(118, 100, 140, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

.rhythm-button strong {
  font-size: 1.2rem;
}

.rhythm-button span {
  font-size: 2rem;
  line-height: 1;
}

.rhythm-button small {
  font-size: 0.9rem;
  opacity: 0.9;
}

.practice-card {
  background: linear-gradient(135deg, rgba(255, 253, 243, 0.92), rgba(239, 250, 255, 0.82));
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.practice-item {
  padding: 1rem;
  border-radius: 1.6rem;
  background: var(--white-strong);
  box-shadow: 0 14px 30px rgba(118, 96, 140, 0.1);
}

.practice-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.practice-item h3 {
  margin-top: 0.9rem;
}

.practice-item p {
  margin: 0.45rem 0 0.85rem;
}

.note-card {
  background: linear-gradient(135deg, rgba(255, 244, 228, 0.92), rgba(255, 255, 255, 0.82));
}

.trail-spark {
  position: fixed;
  left: 0;
  top: 0;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
  animation: burstOut 820ms ease-out forwards;
}

@media (max-width: 1080px) {
  .hero,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .scene-grid,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .speech-grid,
  .animal-grid,
  .rhythm-grid,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-dock-head {
    display: block;
  }

  .control-dock-text {
    margin-top: 0.75rem;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 1.25rem;
  }

  .stage {
    min-height: 29rem;
  }

  .stage-copy {
    max-width: none;
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bubble-field {
    min-height: 18rem;
  }
}

@media (max-width: 560px) {
  .scene-grid,
  .speech-grid,
  .animal-grid,
  .rhythm-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 26rem;
  }

  .stage-icon {
    font-size: 2.3rem;
  }

  .stage-icon-b {
    top: 5rem;
  }

  .stage-sun,
  .stage-moon {
    width: 6rem;
    height: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-1.2rem) scale(1.05);
  }
}

@keyframes haloPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.35rem);
  }
}

@keyframes pulseSun {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes driftCloud {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(1rem);
  }
}

@keyframes waveDrift {
  0%,
  100% {
    transform: translateX(-1rem);
  }
  50% {
    transform: translateX(1rem);
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.8rem);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes rainbowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes bubbleFloat {
  0% {
    transform: translateY(0) scale(0.88);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  100% {
    transform: translateY(-21rem) scale(1.05);
    opacity: 0;
  }
}

@keyframes sparklePop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1.4rem) scale(1.4);
    opacity: 0;
  }
}

@keyframes burstOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.65);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1.35);
  }
}
