:root {
  --blue: #2457e6;
  --yellow: #ffe45c;
  --red: #ff6655;
  --green: #62dda0;
  --pink: #ff9ed2;
  --paper: #fff8e8;
  --ink: #292a36;
  --sky: color-mix(in srgb, var(--blue) 62%, #fff);
  --sky-2: color-mix(in srgb, var(--blue) 52%, #fff);
  --wonk: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Schoolbell", "Comic Sans MS", cursive;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
body > :not(svg) { width: 100%; }
body > .footer { margin-top: auto; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: var(--grain);
  opacity: .14;
  mix-blend-mode: multiply;
}

h1, h2, h3, .logo, .btn, .tag {
  font-family: "Gochi Hand", "Comic Sans MS", cursive;
  font-weight: 400;
}

a { color: inherit; }

.kid {
  position: relative;
  isolation: isolate;
}
.kid::before,
.kid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--wonk);
  pointer-events: none;
}
.kid::before {
  z-index: -2;
  background: var(--fill, #fff);
  translate: 5px 4px;
  rotate: .8deg;
  filter: url(#wobble-b);
}
.kid::after {
  z-index: -1;
  border: 4px solid var(--ink);
  filter: url(#wobble);
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 110px 14px 20px;
  background: repeating-linear-gradient(-30deg, var(--blue) 0 7px, #3a68ea 7px 10px);
  border-bottom: 6px solid var(--yellow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-clap { width: 52px; height: 52px; overflow: visible; filter: url(#boil); }
.clap-arm {
  transform: rotate(-18deg);
  transform-box: view-box;
  transform-origin: 4px 16px;
}
.logo:hover .clap-arm { animation: clap .45s ease-in; }
.logo-word { font-size: 2.1rem; filter: url(#wobble); }
.logo-word span {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.logo-word span:nth-child(odd) { rotate: -6deg; }
.logo-word span:nth-child(even) { rotate: 5deg; translate: 0 2px; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  isolation: isolate;
  padding: 2px 16px;
  font-family: "Gochi Hand", cursive;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  transition: transform .2s;
}
.nav-links a:hover { transform: rotate(-5deg) scale(1.1); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: var(--wonk);
  filter: url(#wobble);
}

.socials { display: flex; flex-wrap: wrap; gap: 14px; }
.social {
  --fill: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 14px 2px 8px;
  font-family: "Gochi Hand", cursive;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  rotate: 3deg;
  transition: transform .15s;
}
.social:hover { transform: rotate(-5deg) scale(1.1); }
.social-yt { --fill: var(--yellow); rotate: -3deg; }
.social-mail { --fill: var(--green); rotate: 2deg; }
.social svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#boil);
}

.view-all {
  margin-left: auto;
  font-family: "Gochi Hand", cursive;
  font-size: 1.2rem;
  color: var(--blue);
  rotate: -2deg;
}

.sun {
  position: absolute;
  top: -6px;
  right: 10px;
  width: 92px;
  filter: url(#boil);
  animation: spin 20s linear infinite;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 38% 46% at 26% 40%, rgba(255, 255, 255, .78), transparent 70%),
    repeating-linear-gradient(-28deg, var(--sky) 0 6px, var(--sky-2) 6px 9px);
}

.scene { position: absolute; pointer-events: none; }
.scene, .hills { filter: url(#boil); }

.cloud { width: 120px; height: 66px; animation: drift-x 14s ease-in-out infinite; }
.c1 { top: 30px; left: 3%; }
.c2 { top: 70px; left: 46%; width: 90px; animation-delay: -4s; }
.c3 { top: 200px; left: 58%; width: 140px; animation-delay: -8s; }
.c4 { top: 150px; right: 2%; width: 110px; animation-delay: -2s; }

.twinkle { width: 30px; height: 30px; animation: twinkle 2.4s ease-in-out infinite; }
.t1 { top: 40px; left: 36%; }
.t2 { top: 250px; left: 4%; animation-delay: -.8s; }
.t3 { top: 30px; right: 36%; width: 22px; animation-delay: -1.6s; }

.rocket {
  top: 40px;
  left: 54%;
  width: 56px;
  rotate: 35deg;
  animation: zoom 3s ease-in-out infinite;
}

.window {
  --fill: var(--paper);
  --wonk: 10px 14px 8px 12px;
  position: absolute;
  top: 34px;
  right: 4%;
  width: 230px;
  padding: 0 16px 14px;
  rotate: 2deg;
  z-index: 2;
}
.window-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px -12px 0;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 1rem;
}
.window p { margin: 8px 0; font-size: 1.25rem; line-height: 1.2; }
.loading {
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.loading-fill {
  height: 100%;
  width: 70%;
  background: repeating-linear-gradient(-45deg, var(--green) 0 6px, #3fbf80 6px 10px);
  animation: load 4s ease-in-out infinite;
}

.castle { left: 1%; bottom: 150px; width: 130px; }

.hero-text {
  position: relative;
  z-index: 3;
  max-width: min(580px, 54vw);
  padding: 50px 16px 250px 7vw;
}

.title {
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  line-height: 1;
  white-space: nowrap;
  filter: url(#wobble);
}
.title span {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 5px 0 var(--ink);
  animation: bob 2.4s ease-in-out infinite;
}
.title span:nth-child(1) { rotate: -9deg; translate: 0 6px; font-size: 1.1em; }
.title span:nth-child(2) { rotate: 6deg; translate: 0 -4px; }
.title span:nth-child(3) { rotate: -3deg; translate: 0 8px; font-size: .9em; }
.title span:nth-child(4) { rotate: 11deg; translate: 0 -2px; }
.title span:nth-child(5) { rotate: -12deg; translate: 0 8px; font-size: .9em; }
.title span:nth-child(6) { rotate: 4deg; translate: 0 -8px; font-size: 1.1em; }
.title span:nth-child(7) { rotate: -7deg; translate: 0 2px; }
.title span:nth-child(8) { rotate: 9deg; translate: 0 6px; font-size: .95em; }
.title span:nth-child(9) { rotate: -4deg; translate: 0 -6px; font-size: 1.15em; }
.title span:nth-child(2n) { animation-delay: -.3s; }
.title span:nth-child(3n) { animation-delay: -.6s; }
.title span:hover { animation: boing .5s; }

.lead {
  margin: 14px 0 8px 30px;
  font-family: "Gochi Hand", cursive;
  font-size: 2rem;
  line-height: 1.1;
  rotate: -3deg;
}
.welcome { margin: 0 0 22px 20px; line-height: 1.4; rotate: -2deg; }

.btn {
  display: inline-block;
  padding: 8px 26px;
  font-size: 1.45rem;
  text-decoration: none;
  transition: transform .15s;
  cursor: pointer;
}
.btn:hover { transform: rotate(-4deg) scale(1.08); }
.btn:active { transform: scale(.92) rotate(3deg); }
.btn-yellow { --fill: var(--yellow); rotate: -2deg; }
.hero-text .btn { margin-left: 30px; }

.hills {
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -4px;
  width: calc(100% + 20px);
  height: 250px;
}

.tree { right: 0; bottom: 150px; width: 140px; }

.signpost { right: 9%; bottom: 60px; width: 170px; }
.signpost svg { position: absolute; left: 0; bottom: 0; width: 100%; }
.sign-board {
  --fill: var(--yellow);
  --wonk: 8px 14px 6px 12px;
  position: relative;
  margin: 0 0 90px;
  padding: 10px 14px;
  font-family: "Gochi Hand", cursive;
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: center;
  rotate: -5deg;
}

.flower { width: 34px; height: 52px; animation: sway 3s ease-in-out infinite; transform-origin: bottom center; }
.f1 { left: 16%; bottom: 40px; }
.f2 { left: 27%; bottom: 70px; animation-delay: -.6s; }
.f3 { left: 40%; bottom: 30px; animation-delay: -1.2s; }
.f4 { left: 6%; bottom: 20px; animation-delay: -1.8s; }
.f5 { right: 30%; bottom: 20px; animation-delay: -2.2s; }
.f6 { right: 3%; bottom: 40px; animation-delay: -.3s; }

.bunny { right: 44%; bottom: 50px; width: 80px; z-index: 2; animation: hop 2.2s ease-in-out infinite; }

.mascot-wrap {
  position: absolute;
  right: 21%;
  bottom: 40px;
  z-index: 2;
  width: 290px;
}
.mascot {
  display: block;
  width: 100%;
  cursor: pointer;
  filter: url(#boil);
}
.mascot-body { animation: float 3s ease-in-out infinite; transform-origin: 110px 200px; }
.mascot.squish .mascot-body { animation: squish .45s; }
.clamp-arm {
  transform: rotate(-16deg);
  transform-box: view-box;
  transform-origin: 36px 70px;
}
.mascot.squish .clamp-arm { animation: clap .45s ease-in; }
.speech {
  position: absolute;
  top: -30px;
  left: -60px;
  margin: 0;
  padding: 8px 16px;
  max-width: 200px;
  rotate: -5deg;
  z-index: 1;
}

.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px 30px;
}

.panel {
  --fill: #fffdf6;
  --wonk: 18px 26px 14px 30px;
  padding: 22px 22px 28px;
  scroll-margin-top: 20px;
}
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-size: 2.1rem; rotate: -1deg; }
.panel-icon { width: 40px; height: 40px; filter: url(#boil); }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.tile {
  --wonk: 12px 18px 10px 20px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  transition: transform .25s cubic-bezier(.3, 1.8, .5, 1);
}
.tile:nth-child(1) { rotate: -1.5deg; }
.tile:nth-child(2) { rotate: 1deg; }
.tile:nth-child(3) { rotate: -.5deg; }
.tile:hover { transform: scale(1.05) rotate(1deg); }
.tile h3 { margin: 10px 0 2px; font-size: 1.5rem; line-height: 1.1; }
.tile p { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.25; }
.tile .btn { margin-top: auto; text-align: center; font-size: 1.2rem; padding: 4px 12px; }

.thumb, .app-icon {
  --fill: repeating-linear-gradient(-35deg, var(--bg) 0 5px, color-mix(in srgb, var(--bg) 55%, #fff) 5px 8px);
  display: grid;
  place-items: center;
}
.thumb { --wonk: 14px 30px 12px 34px / 30px 12px 34px 14px; height: 100px; }
.app-icon { --wonk: 22px 28px 20px 30px; width: 92px; height: 92px; margin: 4px auto; }
.thumb svg, .app-icon svg {
  width: 70%;
  fill: none;
  stroke: var(--fg, var(--ink));
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#boil);
}

.app-icon svg.drawn { width: 86%; stroke: none; }
.icon-checker { --fill: repeating-conic-gradient(#fff 0 25%, #e4e5ee 0 50%) 0 0 / 14px 14px; }
.tile:nth-child(odd) .app-icon { rotate: -3deg; }
.tile:nth-child(even) .app-icon { rotate: 3deg; }

.status { display: flex; align-items: center; gap: 6px; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--d);
  border: 2px solid var(--ink);
}

.btn-blue { --fill: var(--blue); color: #fff; }
.btn-green { --fill: var(--green); }
.btn-soon { --fill: #fff; color: color-mix(in srgb, var(--ink) 60%, #fff); cursor: default; }
.btn-soon:hover, .btn-soon:active { transform: none; }

.wimzy {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 16px 50px;
  text-align: center;
}
.tag {
  --fill: var(--yellow);
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 16px;
  font-size: 1.2rem;
  rotate: -4deg;
}
.section-title {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  color: var(--yellow);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 4px 0 var(--ink);
  rotate: -1.5deg;
  filter: url(#wobble);
}
.wimzy-intro { max-width: 640px; margin: 0 auto 40px; line-height: 1.45; }

.tools { max-width: 820px; margin: 30px auto 0; }
.tool-for {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0 12px;
  font-family: "Gochi Hand", cursive;
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: var(--wonk);
  rotate: -4deg;
}
.tool-apps { background: var(--yellow); }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
}
.pillar { padding: 20px; rotate: var(--tilt); }
.pillar:hover { animation: wiggle .5s; }
.pillar h3 { margin: 8px 0 2px; font-size: 1.6rem; }
.pillar p { margin: 0; line-height: 1.3; }
.pillar-icon {
  --fill: repeating-linear-gradient(40deg, var(--c) 0 5px, color-mix(in srgb, var(--c) 55%, #fff) 5px 8px);
  --wonk: 48% 52% 45% 55% / 55% 45% 52% 48%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.pillar-icon svg {
  width: 48px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#boil);
}

.about { padding: 20px 16px 70px; }
.note {
  --fill: #fff3a8;
  --wonk: 6px 12px 4px 10px;
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 30px 20px;
  rotate: -2deg;
}
.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 110px;
  height: 30px;
  margin-left: -55px;
  background: rgba(255, 158, 210, .75);
  border: 2px dashed var(--ink);
  rotate: 4deg;
  filter: url(#wobble);
}
.note h2 { margin: 0 0 8px; font-size: 2.3rem; }
.note p { line-height: 1.45; }
.policy-head { max-width: 760px; margin: 40px auto 0; padding: 0 16px; text-align: center; }
.policy-sub { margin: 4px 0 0; font-size: 1.4rem; rotate: -1deg; }
.policy {
  --fill: #fffdf6;
  --wonk: 18px 26px 14px 30px;
  display: block;
  max-width: 760px;
  margin: 30px auto 50px;
  padding: 30px clamp(18px, 5vw, 44px) 36px;
  line-height: 1.5;
}
.policy-title { margin: 0; font-size: 2.2rem; color: var(--ink); rotate: -1deg; }
.policy h3 { margin: 26px 0 4px; font-family: "Gochi Hand", cursive; font-size: 1.7rem; color: var(--blue); }
.policy h4 { margin: 16px 0 2px; font-family: "Gochi Hand", cursive; font-size: 1.35rem; font-weight: 400; }
.policy-callout {
  display: inline-block;
  padding: 4px 16px;
  font-family: "Gochi Hand", cursive;
  font-size: 1.5rem;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: var(--wonk);
  rotate: -2deg;
}
.policy-head h1 {
  margin: 4px 0 0;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  color: var(--yellow);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 4px 0 var(--ink);
  rotate: -1.5deg;
  filter: url(#wobble);
}
.policy-date { margin-top: 0; color: color-mix(in srgb, var(--ink) 65%, #fff); }
.policy li { margin-bottom: 8px; }
.policy a { color: var(--blue); }
.lost {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 16px 70px;
  text-align: center;
}
.lost-title { font-size: clamp(5rem, 22vw, 9rem); }
.lost-clampy { width: min(260px, 70vw); margin: -10px auto 0; cursor: default; }
.lost-clampy .clamp-arm { animation: clap 1.8s ease-in infinite; }
.lost-lead { margin: 10px 0 4px; font-family: "Gochi Hand", cursive; font-size: 2.2rem; rotate: -2deg; }
.lost-text { margin: 0 0 26px; line-height: 1.45; }
.footer-legal { font-size: 1rem; }
.footer-legal a { color: #fff; }
.sign { text-align: right; font-size: 1.5rem; margin-bottom: 0; rotate: -3deg; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: #fff;
  background: repeating-linear-gradient(-30deg, var(--blue) 0 7px, #3a68ea 7px 10px);
  border-top: 6px solid var(--yellow);
}
.footer p { margin: 0; }
.footer .nav-links { margin: 0; }
.footer-made { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.planet { width: 54px; filter: url(#boil); }
.heart { color: var(--pink); }
.stay {
  font-family: "Gochi Hand", cursive;
  font-size: 1.8rem;
  color: var(--yellow);
  rotate: -6deg;
}

.sparkle {
  position: fixed;
  z-index: 100;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-radius: var(--wonk);
  animation: burst .7s ease-out forwards;
}

@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes boing {
  30% { transform: scale(1.3, .7); }
  60% { transform: scale(.85, 1.2) translateY(-14px); }
}
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes squish {
  30% { transform: scale(1.15, .8); }
  60% { transform: scale(.9, 1.12); }
}
@keyframes wiggle {
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}
@keyframes drift-x { 50% { transform: translateX(24px); } }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); } }
@keyframes zoom { 50% { transform: translate(8px, -12px); } }
@keyframes sway { 50% { transform: rotate(8deg); } }
@keyframes hop {
  0%, 60%, 100% { transform: translateY(0); }
  75% { transform: translateY(-18px); }
}
@keyframes clap {
  40% { transform: rotate(0deg); }
  60% { transform: rotate(-4deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load {
  0% { width: 8%; }
  80%, 100% { width: 96%; }
}
@keyframes burst {
  to { transform: translate(var(--dx), var(--dy)) rotate(200deg) scale(0); opacity: 0; }
}

@media (max-width: 1100px) {
  .signpost, .window, .bunny, .c3 { display: none; }
  .mascot-wrap { right: 3%; width: 250px; }
  .featured { grid-template-columns: 1fr; max-width: 760px; }
}

@media (max-width: 760px) {
  .topbar { flex-direction: column; padding: 10px 16px 14px; }
  .sun { width: 64px; top: -4px; right: 4px; }
  .hero { min-height: 0; }
  .hero-text { max-width: none; padding: 36px 16px 0; text-align: center; }
  .lead, .welcome, .hero-text .btn { margin-left: 0; }
  .castle, .tree, .rocket, .f2, .f5 { display: none; }
  .mascot-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 220px;
    margin: 50px auto 0;
    padding-bottom: 110px;
  }
  .speech { left: -40px; top: -40px; }
  .hills { height: 160px; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
