html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fbf6ec;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.heropaper {
  position: relative;
  width: clamp(216px, 74vw, 328px);
  isolation: isolate;
}

.heropaper__scrap {
  position: absolute;
  z-index: 0;
  animation: scrapDrift 2s ease-out infinite;
}

.heropaper__scrap--coral {
  left: -20px;
  top: 4px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #b97b71;
}

.heropaper__scrap--butter {
  right: -16px;
  top: -20px;
  width: 92px;
  height: 48px;
  border-radius: 16px;
  background: #d6c9ab;
  transform: rotate(-8deg);
  animation-delay: -0.66s;
}

.heropaper__scrap--leaf {
  right: 8px;
  bottom: -24px;
  width: 64px;
  height: 40px;
  border-radius: 999px;
  background: #2b7d5a;
  animation-delay: -1.33s;
}

.heropaper__sheet {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(42, 35, 32, 0.14);
  animation: sheetLift 2s ease-out infinite;
}

.heropaper__badge {
  position: absolute;
  top: -14px;
  right: 16px;
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #b97b71;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(42, 35, 32, 0.18);
}

.heropaper__eyebrow {
  margin: 0;
  color: #b97b71;
  font-weight: 700;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.heropaper__title {
  margin: 0;
  color: #2a2320;
  font-weight: 800;
  font-size: clamp(18px, 4.6vw, 26px);
  line-height: 1.2;
  font-family: inherit;
}

.heropaper__desc {
  margin: 0;
  color: #5c5048;
  font-weight: 500;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1.4;
  font-family: inherit;
}

.heropaper__cta {
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: #b97b71;
  color: #ffffff;
  padding: 8px 20px;
  font-weight: 700;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1;
  font-family: inherit;
  box-shadow: 0 4px 0 rgba(42, 35, 32, 0.2);
}

.heropaper__cta:focus-visible {
  outline: 3px solid #6a8db5;
  outline-offset: 2px;
}

@keyframes sheetLift {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(42, 35, 32, 0.14);
  }
  50% {
    transform: translateY(-12px);
    box-shadow: 0 22px 28px rgba(42, 35, 32, 0.1);
  }
}
@keyframes scrapDrift {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(8px) rotate(3deg);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .heropaper {
    width: 200px;
  }
  .heropaper__sheet {
    padding: 12px 16px;
    gap: 4px;
  }
  .heropaper__eyebrow {
    display: none;
  }
  .heropaper__title {
    font-size: 16px;
    line-height: 1.15;
  }
  .heropaper__desc {
    display: none;
  }
  .heropaper__cta {
    padding: 4px 16px;
    margin-top: 0;
  }
  .heropaper__badge {
    width: 24px;
    font-size: 13px;
    top: -10px;
    right: 8px;
  }
  .heropaper__scrap--coral {
    width: 48px;
    height: 48px;
    left: -12px;
  }
  .heropaper__scrap--butter {
    width: 56px;
    height: 32px;
    right: -8px;
    top: -12px;
  }
  .heropaper__scrap--leaf {
    width: 44px;
    height: 26px;
    bottom: -14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .heropaper__sheet, .heropaper__scrap {
    animation: none !important;
    transform: none;
  }
}
