:root {
  --cream: #fff6ec;
  --paper: #fffaf4;
  --peach: #ffd5c2;
  --peach-deep: #f3a78c;
  --mint: #c8f0dc;
  --mint-deep: #6fc9ae;
  --sky: #cde8ff;
  --sky-deep: #7eb6e6;
  --butter: #ffe9a8;
  --lavender: #ead7ff;
  --coral: #ff9b8a;
  --ink: #5c463c;
  --muted: #8d7368;
  --line: #f0ddd0;
  --white: #fffcfa;
  --shadow: 0 14px 36px rgba(196, 140, 110, 0.16);
  --radius: 1.75rem;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei",
    "Songti SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.75rem;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 12% -10%, #ffe4d4 0%, transparent 55%),
    radial-gradient(900px 420px at 110% 8%, #d8f3ff 0%, transparent 50%),
    radial-gradient(700px 360px at 50% 120%, #e4ffe8 0%, transparent 46%),
    var(--cream);
  font-family: var(--font);
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0.65rem;
  z-index: 10;
  width: min(1120px, calc(100% - 2rem));
  margin: 0.65rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  animation: bob 3.4s ease-in-out infinite;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--peach);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 2.2rem 0 1rem;
  position: relative;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--butter);
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a6a28;
}

.lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  background: linear-gradient(180deg, #ffd7c4, #ffb89a);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  font-weight: 700;
  box-shadow: 0 7px 0 #e89a7a, 0 12px 22px rgba(232, 154, 122, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn:active {
  transform: translateY(6px);
  box-shadow: 0 1px 0 #e89a7a;
}

.btn-ghost {
  background: var(--white);
  box-shadow: 0 7px 0 #ecd3c4, 0 12px 22px rgba(196, 140, 110, 0.12);
}

.btn-ghost:active {
  box-shadow: 0 1px 0 #ecd3c4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.playroom {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 2rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  background:
    linear-gradient(#b9e4ff 0 42%, transparent 42%),
    linear-gradient(180deg, #fff6ec 42%, #ffe7c4 100%);
}

.sky-deco,
.ground-toys,
.mascots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.92;
  animation: drift 16s ease-in-out infinite;
}

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

.cloud--a {
  width: 86px;
  height: 28px;
  top: 14%;
  left: 8%;
}

.cloud--a::before {
  width: 34px;
  height: 34px;
  left: 14px;
  top: -18px;
}

.cloud--a::after {
  width: 46px;
  height: 40px;
  right: 12px;
  top: -22px;
}

.cloud--b {
  width: 64px;
  height: 22px;
  top: 8%;
  right: 12%;
  animation-duration: 13s;
  animation-delay: -4s;
}

.cloud--b::before {
  width: 26px;
  height: 26px;
  left: 10px;
  top: -14px;
}

.cloud--b::after {
  width: 34px;
  height: 30px;
  right: 8px;
  top: -16px;
}

.sun {
  position: absolute;
  top: 10%;
  right: 18%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6c8, #ffd36a);
  box-shadow: 0 0 0 10px rgba(255, 227, 130, 0.28);
  animation: glow 4.5s ease-in-out infinite;
}

.hill {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 58%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #c8f0c4, #a8e0b0);
}

.hill-front {
  left: 18%;
  right: -20%;
  bottom: -28%;
  height: 52%;
  background: linear-gradient(180deg, #9fd99a, #86c98c);
}

.mascot {
  position: absolute;
  bottom: 9%;
  width: 42%;
  max-width: 190px;
  animation: bob 3.6s ease-in-out infinite;
}

.mascot--bunny {
  left: 8%;
  animation-delay: -0.6s;
}

.mascot--bear {
  right: 8%;
  width: 46%;
  animation-duration: 4.1s;
}

.mascot .ear-l {
  transform-origin: 48px 70px;
  animation: ear-wiggle 3.2s ease-in-out infinite;
}

.mascot .ear-r {
  transform-origin: 112px 70px;
  animation: ear-wiggle 3.2s ease-in-out infinite reverse;
}

.toy {
  position: absolute;
  animation: bob 4s ease-in-out infinite;
}

.toy--book {
  width: 74px;
  left: 42%;
  bottom: 11%;
  animation-delay: -1.4s;
}

.toy--crayon {
  width: 48px;
  left: 36%;
  bottom: 8%;
  animation-duration: 3.2s;
}

.balloons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.balloon {
  position: absolute;
  width: 36px;
  height: 46px;
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  animation: balloon-float 7.5s ease-in-out infinite;
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1.5px;
  height: 42px;
  background: #d8b8a8;
  transform: translateX(-50%);
}

.balloon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: inherit;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  transform: translateX(-50%);
}

.balloon--peach {
  background: #ffb3a8;
  left: 6%;
  top: 18%;
}

.balloon--mint {
  background: #8fe0c6;
  left: 72%;
  top: 8%;
  width: 30px;
  height: 40px;
  animation-duration: 9s;
  animation-delay: -2s;
}

.balloon--sky {
  background: #9fd0ff;
  left: 48%;
  top: 4%;
  width: 28px;
  height: 36px;
  animation-duration: 8.2s;
  animation-delay: -3.4s;
}

.balloon--butter {
  background: #ffd56a;
  right: 8%;
  top: 28%;
  width: 24px;
  height: 32px;
  animation-duration: 6.8s;
  animation-delay: -1s;
}

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff4b0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite;
}

.sparkle:nth-child(1) { left: 18%; top: 22%; animation-delay: 0s; }
.sparkle:nth-child(2) { left: 78%; top: 16%; animation-delay: 0.6s; }
.sparkle:nth-child(3) { left: 58%; top: 32%; animation-delay: 1.1s; }
.sparkle:nth-child(4) { left: 28%; top: 38%; width: 7px; height: 7px; animation-delay: 1.7s; }
.sparkle:nth-child(5) { right: 16%; top: 42%; animation-delay: 0.3s; }

.float-layer {
  will-change: transform;
}

.features {
  padding: 2.4rem 0 1rem;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.6rem;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon-blob {
  width: 64px;
  height: 64px;
  border-radius: 1.35rem;
  display: grid;
  place-items: center;
}

.icon-blob svg {
  width: 42px;
  height: 42px;
}

.icon-blob--peach { background: #ffe1d4; }
.icon-blob--mint { background: #d4f6e8; }
.icon-blob--sky { background: #d8eeff; }

.journey {
  padding: 1.5rem 0 1rem;
}

.journey-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  background: rgba(255, 250, 244, 0.72);
  border-radius: 1.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid #fff;
}

.badge {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.badge--peach { background: var(--peach); }
.badge--mint { background: var(--mint); }
.badge--sky { background: var(--sky); }

.journey-item h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

.journey-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.friends {
  padding: 1.6rem 0 2rem;
}

.friend-grid {
  display: grid;
  gap: 1rem;
}

.friend {
  text-align: center;
  padding: 1.1rem 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.friend svg {
  width: 120px;
  height: 150px;
  margin: 0 auto 0.4rem;
  animation: bob 3.8s ease-in-out infinite;
}

.friend:nth-child(2) svg { animation-delay: -1.2s; }
.friend:nth-child(3) svg { animation-delay: -2.1s; }

.friend h3 {
  margin: 0.2rem 0 0.25rem;
}

.friend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta {
  margin: 0.5rem auto 2.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent),
    linear-gradient(135deg, #ffe4d2, #d9f3ff 48%, #e4ffe8);
  border-radius: 2rem;
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
}

.cta p {
  margin: 0 auto 1.15rem;
  max-width: 32rem;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head h2,
.cta h2 {
  text-wrap: balance;
}

.site-footer {
  padding: 1.5rem 1rem calc(1.7rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.65);
}

.site-footer .foot-brand {
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.site-footer .foot-note {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--sky-deep);
  text-decoration: underline;
  outline: none;
}

.reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

@keyframes balloon-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(16px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

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

@keyframes ear-wiggle {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(-8deg); }
  70% { transform: rotate(6deg); }
}

@media (min-width: 720px) {
  .feature-grid,
  .friend-grid,
  .journey-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 3rem;
  }
}

@media (max-width: 719px) {
  .site-header {
    border-radius: 1.4rem;
    top: 0.45rem;
    padding: 0.48rem 0.6rem 0.48rem 0.7rem;
    gap: 0.35rem;
  }

  .brand-name span {
    display: none;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .nav a {
    padding: 0.32rem 0.62rem;
    font-size: 0.82rem;
  }

  .mascot {
    width: 38%;
  }

  [id] {
    scroll-margin-top: 6.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-motion .reveal,
  .js-motion .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
