:root {
  --lime: #58cc02;
  --lime-dark: #4aa802;
  --ink: #2b2b3a;
  --muted: #6b6b7b;
  --cream: #fffdf7;
  --tile: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  background: radial-gradient(120% 90% at 50% -10%, #f3ffe4 0%, var(--cream) 55%);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bee {
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1;
  animation: float 3s ease-in-out infinite;
}

.tiles {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: min(0.7rem, 1.4vw);
  max-width: 36rem;
}

.tile {
  --size: min(4.1rem, 9vw);
  flex: 0 0 auto;
  width: var(--size);
  height: var(--size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--size) * 0.5);
  font-weight: 800;
  color: var(--lime-dark);
  background: var(--tile);
  border-radius: 1rem;
  border-bottom: 5px solid #e7e7ef;
  box-shadow: 0 6px 16px rgba(43, 43, 58, 0.08);
  animation: pop 2.6s ease-in-out infinite;
}

.tile:nth-child(2) { animation-delay: 0.08s; }
.tile:nth-child(3) { animation-delay: 0.16s; }
.tile:nth-child(4) { animation-delay: 0.24s; }
.tile:nth-child(5) { animation-delay: 0.32s; }
.tile:nth-child(6) { animation-delay: 0.40s; }
.tile:nth-child(7) { animation-delay: 0.48s; }
.tile:nth-child(8) { animation-delay: 0.56s; }

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dot {
  color: var(--lime);
}

p {
  margin: 0;
  max-width: 30rem;
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--lime);
  border-radius: 999px;
  border-bottom: 4px solid var(--lime-dark);
}

footer {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #a6a6b5;
}

@keyframes pop {
  0%,
  70%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-10%) scale(1.04);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .tile,
  .bee {
    animation: none;
  }
}
