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

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

.stage {
  position: relative;
}

.mk {
  width: min(100%, 400px);
}

.mk__table {
  border-collapse: collapse;
}

.mk__wrap {
  padding: 0;
}

.mk__card {
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  border: 1px solid rgba(23, 20, 26, 0.1);
  overflow: hidden;
}

.mk__card td {
  padding: 4px 20px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  -webkit-text-size-adjust: 100%;
  line-height: 1;
}

.mk__brand {
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  color: rgba(23, 20, 26, 0.62);
  letter-spacing: 0.02em;
  padding-top: 8px !important;
}

.mk__hero {
  padding-top: 4px !important;
  padding-bottom: 0 !important;
}

.mk__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 8vw, 34px);
  height: clamp(26px, 8vw, 34px);
  border-radius: 8px;
  background: #0a4fe8;
  color: #fff7e6;
}

.mk__ico {
  width: 62%;
  height: 62%;
}

.mk__title {
  font-weight: 800;
  font-size: clamp(12px, 3.6vw, 14px);
  line-height: 1.25;
  color: #17141a;
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.mk__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(47, 109, 246, 0.06);
  border-radius: 8px;
  padding: 8px 4px;
}

.mk__num {
  font-weight: 800;
  font-size: clamp(14px, 4.6vw, 19px);
  line-height: 1;
  color: #2f6df6;
  font-variant-numeric: tabular-nums;
}

.mk__statlabel {
  font-weight: 600;
  font-size: 8px;
  line-height: 1.3;
  color: rgba(23, 20, 26, 0.62);
  text-align: center;
}

.mk__ctawrap {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.mk__cta {
  display: inline-block;
  padding: 4px 24px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  font-family: inherit;
  color: #fff7e6;
  text-decoration: none;
  border-radius: 12px;
  background: #7c90be;
}

.mk__footer {
  font-weight: 500;
  font-size: 8px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.mk__footer a {
  color: inherit;
}

@media (prefers-color-scheme: dark) {
  .mk__card {
    background: #17141a;
    border-color: rgba(255, 247, 230, 0.14);
  }
  .mk__brand {
    color: rgba(255, 247, 230, 0.7);
  }
  .mk__title {
    color: #fff7e6;
  }
  .mk__stat {
    background: rgba(255, 247, 230, 0.08);
  }
  .mk__num {
    color: #6ec8ff;
  }
  .mk__statlabel {
    color: rgba(255, 247, 230, 0.55);
  }
  .mk__footer {
    color: rgba(255, 247, 230, 0.4);
  }
}
.mk.is-demo .mk__stat {
  animation-name: rgRise;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.mk.is-demo .mk__stat:nth-child(2) {
  animation-delay: 100ms;
}

.mk.is-demo .mk__stat:nth-child(3) {
  animation-delay: 200ms;
}

.mk.is-demo .mk__cta {
  animation-name: rgBreath;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes rgRise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  26% {
    opacity: 1;
    transform: translateY(0);
  }
  82% {
    opacity: 1;
    transform: translateY(0);
  }
  86% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes rgBreath {
  0%, 12% {
    opacity: 0.3;
    transform: translateY(8px);
  }
  44% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    transform: translateY(0) scale(1.03);
  }
  76% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  84%, 100% {
    opacity: 0.3;
    transform: translateY(8px) scale(1);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .mk__card td {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mk__brand {
    padding-top: 0 !important;
    font-size: 9px !important;
  }
  .mk__badge {
    width: 22px;
    height: 22px;
  }
  .mk__title {
    font-size: 11px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }
  .mk__num {
    font-size: 13px !important;
  }
  .mk__statlabel {
    font-size: 7px !important;
  }
  .mk__stat {
    padding: 4px 0 !important;
  }
  .mk__cta {
    padding: 0 20px !important;
    font-size: 10px !important;
  }
  .mk__footer {
    font-size: 7px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk.is-demo .mk__stat,
  .mk.is-demo .mk__cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
