@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Fredoka:wght@600;700&display=swap');

:root {
  --ink: #553a64;
  --paper: #fffaf0;
  --cream: #fff3d4;
  --sun: #f7b742;
  --coral: #e96c55;
  --mint: #63c4b2;
  --blue: #8bb7e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(247,183,66,.25), transparent 27rem),
    radial-gradient(circle at 8% 75%, rgba(99,196,178,.2), transparent 24rem),
    var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif;
}

a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 99; background: var(--ink); color: white; padding: .75rem 1rem; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }

.site-header, footer, .hero {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}
.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  width: 47px; height: 47px; display: grid; place-items: center;
  border: 3px solid var(--ink); border-radius: 15px 15px 15px 5px;
  background: var(--sun); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 1.6rem/1 'Fredoka', sans-serif;
  transform: rotate(-3deg);
}
.brand-name { font: 600 clamp(1.1rem, 2vw, 1.35rem)/1.1 'Fredoka', sans-serif; letter-spacing: -.02em; }
.brand-name strong { color: var(--coral); }
.status {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 2px solid rgba(85,58,100,.16); border-radius: 99px;
  background: rgba(255,255,255,.58); padding: .6rem .9rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(99,196,178,.19); }

.hero {
  min-height: calc(100vh - 210px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 3.25rem 0 5rem;
}
.copy { position: relative; z-index: 2; }
.eyebrow { color: var(--coral); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.eyebrow span { color: var(--sun); font-size: 1rem; margin-right: .35rem; }
h1 { margin: .6rem 0 1.4rem; max-width: 650px; font: 700 clamp(3.35rem, 7vw, 6.5rem)/.92 'Fredoka', sans-serif; letter-spacing: -.055em; }
h1 em { display: block; color: var(--coral); font-style: normal; }
.intro { max-width: 590px; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; color: #6f5a79; }
.launch-note {
  margin-top: 2rem; width: fit-content; max-width: 100%;
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1rem .85rem .85rem; border: 2px solid rgba(85,58,100,.13); border-radius: 18px;
  background: rgba(255,255,255,.72); box-shadow: 0 12px 35px rgba(85,58,100,.08);
}
.launch-note .spark { flex: 0 0 auto; display: grid; place-items: center; width: 45px; height: 45px; background: var(--sun); border: 2px solid var(--ink); border-radius: 13px; }
.launch-note strong, .launch-note span { display: block; }
.launch-note strong { font-family: 'Fredoka', sans-serif; font-size: .98rem; }
.launch-note div > span { margin-top: .13rem; color: #806f88; font-size: .86rem; }

.toy-stage { position: relative; }
.toy-stage::before {
  content: ''; position: absolute; z-index: -1; inset: 13% 3% 6% 8%;
  border-radius: 50% 46% 52% 48%; background: #ffe9b5; transform: rotate(-5deg);
}
.toy-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.star-one { transform-origin: 105px 135px; animation: twinkle 4s ease-in-out infinite; }
.star-two { transform-origin: 473px 106px; animation: twinkle 4s 1s ease-in-out infinite; }
.cloud { animation: drift 5s ease-in-out infinite; }
.block-q { animation: bob 5s ease-in-out infinite; }
.block-t { animation: bob 5s .5s ease-in-out infinite; }
.train { animation: bob 5s 1s ease-in-out infinite; }

.confetti span { position: fixed; z-index: -2; display: block; opacity: .55; }
.confetti span:nth-child(1) { width: 15px; height: 15px; border: 4px solid var(--coral); border-radius: 50%; left: 4%; top: 23%; }
.confetti span:nth-child(2) { width: 12px; height: 28px; background: var(--mint); border-radius: 8px; right: 6%; top: 30%; transform: rotate(28deg); }
.confetti span:nth-child(3) { width: 20px; height: 7px; background: var(--sun); left: 13%; bottom: 13%; transform: rotate(-33deg); }
.confetti span:nth-child(4) { width: 12px; height: 12px; border: 3px solid var(--blue); right: 4%; bottom: 17%; transform: rotate(30deg); }
.confetti span:nth-child(5) { width: 8px; height: 8px; background: var(--coral); left: 47%; top: 14%; transform: rotate(45deg); }
.confetti span:nth-child(6) { width: 17px; height: 6px; background: var(--blue); left: 43%; bottom: 8%; transform: rotate(16deg); }

footer {
  min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 2px solid rgba(85,58,100,.09); color: #806f88; font-size: .84rem;
}
.footer-brand { font-family: 'Fredoka', sans-serif; color: var(--ink); }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(.4deg); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.09) rotate(8deg); } }
@keyframes drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

@media (max-width: 850px) {
  .site-header { min-height: 90px; }
  .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: 3rem; }
  .copy { text-align: center; }
  .intro, h1 { margin-inline: auto; }
  .launch-note { margin-inline: auto; text-align: left; }
  .toy-stage { width: min(600px, 100%); margin: -1rem auto 0; }
}
@media (max-width: 540px) {
  .site-header, footer, .hero { width: min(100% - 2rem, 1180px); }
  .brand-name { max-width: 120px; }
  .status { padding: .5rem .7rem; font-size: .68rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .hero { padding-top: 2rem; }
  .intro { line-height: 1.58; }
  .launch-note { align-items: flex-start; }
  footer { flex-direction: column; justify-content: center; text-align: center; padding: 1.4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
