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

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

.minipage {
  display: flex;
  align-items: center;
  gap: 16px;
}

.minipage__frame {
  position: relative;
  width: clamp(184px, 58vw, 224px);
  height: clamp(208px, 64vh, 252px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.minipage__track {
  display: flex;
  flex-direction: column;
  height: 200%;
  animation: pageScroll 2s ease-out infinite;
}

.minipage__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  height: 12.5%;
  padding: 0 12px;
  background: repeating-linear-gradient(90deg, #b57e46 0 10px, #a96f38 10px 13px, #c08a4e 13px 24px, #96622e 24px 27px);
  border-bottom: 2px solid rgba(45, 25, 6, 0.55);
}

.minipage__navdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2d1c0d;
}

.minipage__navlink {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(45, 25, 6, 0.5);
}

.minipage__hero {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 17%;
  padding: 12px 16px 0;
  background: #f7f5f0;
}

.minipage__hero-eyebrow {
  margin: 0;
  color: #2a2732;
  font-weight: 800;
  font-size: clamp(13px, 3.4vw, 16px);
  line-height: 1;
  font-family: inherit;
}

.minipage__hero-bar {
  width: 76%;
  height: 7px;
  border-radius: 999px;
  background: #d8d4c9;
}

.minipage__hero-bar--short {
  width: 48%;
}

.minipage__hero-btn {
  margin-top: 4px;
  border-radius: 999px;
  padding: 4px 12px;
  background: #2f6df6;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1;
  font-family: inherit;
}

.minipage__features {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 14.5%;
  padding: 8px 16px;
  background: #f7f5f0;
}

.minipage__fcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, rgba(122, 105, 78, 0.07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(122, 105, 78, 0.05) 0 1px, transparent 1px 4px), #fff7e6;
  box-shadow: 0 2px 4px rgba(23, 20, 26, 0.22);
}

.minipage__fdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f6df6;
}

.minipage__fdot--b {
  background: #4cd4a6;
}

.minipage__fdot--c {
  background: #ff9ebb;
}

.minipage__fline {
  width: 80%;
  height: 5px;
  border-radius: 999px;
  background: rgba(87, 74, 56, 0.22);
}

.minipage__cta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 14.5%;
  padding: 8px 16px;
  background: #eceae3;
}

.minipage__dial {
  position: relative;
  width: clamp(40px, 12vw, 48px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f4f5f8 0deg, #6f7481 70deg, #aab0bc 120deg, #f4f5f8 180deg, #4b4f59 250deg, #aab0bc 300deg, #f4f5f8 360deg);
  box-shadow: 0 3px 5px rgba(23, 20, 26, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  flex: 0 0 auto;
}

.minipage__dial::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 30%;
  right: 30%;
  bottom: 30%;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 32% 28%, #c4cde2, #2f6df6 55%, #5d74af);
}

.minipage__cta-btn {
  border-radius: 999px;
  padding: 4px 12px;
  background: #17141a;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1;
  font-family: inherit;
}

.minipage__pricing {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 14.5%;
  padding: 8px 16px;
  background: repeating-linear-gradient(34deg, rgba(94, 53, 23, 0.4) 0 2px, transparent 2px 5px), #7a4a2b;
}

.minipage__plan {
  margin: 0;
  color: #f6e7cf;
  font-weight: 700;
  font-size: clamp(8px, 2.2vw, 10px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.12em;
}

.minipage__price {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(12px, 3.2vw, 15px);
  line-height: 1;
  font-family: inherit;
}

.minipage__stitch {
  position: absolute;
  top: 4px;
  left: 8px;
  right: 8px;
  bottom: 4px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #f3e2c8 0 6px, transparent 6px 12px) top/100% 2px no-repeat, repeating-linear-gradient(90deg, #f3e2c8 0 6px, transparent 6px 12px) bottom/100% 2px no-repeat, repeating-linear-gradient(0deg, #f3e2c8 0 6px, transparent 6px 12px) left/2px 100% no-repeat, repeating-linear-gradient(0deg, #f3e2c8 0 6px, transparent 6px 12px) right/2px 100% no-repeat;
}

.minipage__quote {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 11.5%;
  padding: 8px 16px;
  background: #f7f5f0;
}

.minipage__avatar {
  order: -1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4cd4a6;
}

.minipage__qline {
  width: 88%;
  height: 5px;
  border-radius: 999px;
  background: #d8d4c9;
}

.minipage__qline--short {
  width: 60%;
}

.minipage__faq {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 10%;
  padding: 8px 16px;
  background: #eceae3;
}

.minipage__qrow {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 14px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(23, 20, 26, 0.16);
  padding: 0 8px;
}

.minipage__qrow::before {
  content: "";
  width: 44%;
  height: 4px;
  border-radius: 999px;
  background: #d8d4c9;
}

.minipage__qrow--open {
  height: 26px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border: 2px solid #2f6df6;
}

.minipage__qbody {
  width: 78%;
  height: 4px;
  border-radius: 999px;
  background: #d8d4c9;
}

.minipage__foot {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 5.5%;
  padding: 0 16px;
  background: #17141a;
}

.minipage__footdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.minipage__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 152px;
}

.minipage__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
  font-family: inherit;
}

.minipage__note--tex {
  color: #ffd23f;
  font-weight: 700;
}

@keyframes pageScroll {
  0%, 10% {
    transform: translateY(0);
  }
  44%, 54% {
    transform: translateY(-50%);
  }
  88%, 100% {
    transform: translateY(0);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .minipage__notes {
    display: none;
  }
  .minipage__frame {
    width: 188px;
    height: 164px;
  }
  .minipage__hero {
    padding-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .minipage__track {
    animation: none !important;
    transform: none;
  }
}
