:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --ink: #1f1f1f;
  --muted: #5b5b5b;
  --accent: #c56b3d;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff7e8, #f4f1ea 40%, #efe8dc 100%);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  gap: 24px;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 24px;
  width: 100%;
}

.frog-stage {
  width: min(92vw, 720px);
  aspect-ratio: 1 / 1;
  position: relative;
}

.frog-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease;
  border-radius: 24px;
  border: 2px solid #e7dfd2;
  box-shadow: 0 24px 60px rgba(60, 40, 20, 0.2);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #efe8dc;
  will-change: opacity;
}

.frog-slide.is-active {
  opacity: 1;
}

.frog {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .frog-slide {
    transition: none;
  }
}

.library-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #e1d6c6;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(60, 40, 20, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.library-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(60, 40, 20, 0.16);
}

.github-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.github-link:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .page {
    padding: 32px 16px;
  }
}
