body {
  background: #f8f7ff;
  color: #3d2b6b;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif
}

.hex-wrap {
  max-width: 680px;
  margin: 0 auto
}

.hex-card {
  background: #fff;
  border: 1.5px solid #ede9fe;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(90, 60, 160, .1)
}

.hex-hero {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  border-radius: 14px;
  padding: 38px 30px;
  color: #fff
}

.hex-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  opacity: .74
}

.hex-title {
  font-weight: 900;
  line-height: 1.25
}

.hex-muted {
  color: #7c5cbf
}

.hex-btn {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 13px 22px
}

.hex-btn:hover,
.hex-btn:focus {
  background: #5b21b6;
  border-color: #5b21b6;
  color: #fff
}

.factor-card {
  height: 100%;
  min-height: 118px;
  background: #fff;
  border: 1.5px solid #ede9fe;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px
}

.factor-letter {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 900
}

.score-bar {
  height: 9px;
  background: #ede9fe;
  border-radius: 9px;
  overflow: hidden
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 9px
}

.question {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
  margin: 0 0 20px
}

.answer-row {
  display: flex;
  gap: 8px
}

.answer-btn {
  flex: 1;
  min-height: 60px;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 7px 3px
}

.answer-btn:nth-child(1) {
  background: #e0f2fe;
  color: #0369a1
}

.answer-btn:nth-child(2) {
  background: #dbeafe;
  color: #1d4ed8
}

.answer-btn:nth-child(3) {
  background: #ede9fe;
  color: #5b21b6
}

.answer-btn:nth-child(4) {
  background: #c4b5fd;
  color: #3d2b6b
}

.answer-btn:nth-child(5) {
  background: #7c3aed;
  color: #fff
}

.answer-btn:disabled {
  opacity: .55
}

.facet {
  border-bottom: 1px solid #f1edff;
  padding: 10px 0
}

.navbar-brand img {
  height: 30px
}

.modal-purple {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  padding: 22px 24px;
  color: #fff
}

.info-choice {
  border: 2px solid #e9d5ff;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  color: #5b5073;
  cursor: pointer
}

.info-choice.active {
  border-color: #7c3aed;
  background: #f5f3ff;
  color: #5b21b6
}

.legal-note {
  font-size: 12px;
  color: #8b83a1;
  line-height: 1.7
}

.progress {
  height: 10px;
  background: #ede9fe;
  border-radius: 8px
}

.progress-bar {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 8px
}

.report-locked {
  background: #fff;
  border: 2px solid #c4b5fd;
  border-radius: 14px;
  overflow: hidden
}

.section-space {
  margin-bottom: 18px
}

.hex-content {
  color: #5b5073;
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all
}

.hex-content h2 {
  color: #3d2b6b;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  margin: 28px 0 12px
}

.hex-content h3 {
  color: #4c3578;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  margin: 19px 0 7px
}

.hex-content p {
  margin-bottom: 12px
}

.hex-content a:not(.btn) {
  color: #6d28d9;
  text-decoration: underline;
  text-underline-offset: 2px
}

.answer-summary {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-left: 4px solid #7c3aed;
  border-radius: 10px;
  color: #4c3578;
  line-height: 1.8;
  margin: 18px 0 22px;
  padding: 16px 18px
}

.answer-summary strong {
  color: #4c1d95
}

.factor-guide {
  border-top: 1px solid #ede9fe;
  margin-top: 12px
}

.factor-guide-item {
  border-bottom: 1px solid #ede9fe;
  padding: 15px 0
}

.factor-guide-item h3 {
  margin: 0 0 5px
}

.factor-guide-item p {
  margin: 0
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px
}

.quick-fact {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px
}

.hex-steps {
  counter-reset: hex-step;
  list-style: none;
  margin: 14px 0;
  padding: 0
}

.hex-steps li {
  counter-increment: hex-step;
  margin-bottom: 14px;
  min-height: 34px;
  padding-left: 44px;
  position: relative
}

.hex-steps li:before {
  align-items: center;
  background: #7c3aed;
  border-radius: 9px;
  color: #fff;
  content: counter(hex-step);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 1px;
  width: 32px
}

.hex-cheer {
  animation: hexCheerPop .45s cubic-bezier(.34, 1.56, .64, 1)
}

.hex-cheer i {
  display: inline-block;
  animation: hexCheerBounce .9s ease .2s
}

@keyframes hexCheerPop {
  from {
    opacity: 0;
    transform: scale(.86)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes hexCheerBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  35% {
    transform: translateY(-9px)
  }

  60% {
    transform: translateY(2px)
  }
}

@media(max-width:480px) {
  .hex-hero {
    padding: 30px 22px
  }

  .question {
    font-size: 16px
  }

  .answer-row {
    gap: 5px
  }

  .answer-btn {
    min-height: 56px;
    font-size: 10.5px
  }

  .factor-card {
    min-height: 0
  }
}
