* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  color: #172033;
  background: #f5f7fb;
  line-height: 1.6;
}
.container { width: min(1080px, 92%); margin: 0 auto; }
.hero {
  background: linear-gradient(135deg, #102a63, #1f6feb);
  color: white;
  padding: 76px 0 92px;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.16; margin: 0 0 18px; }
.hero p { max-width: 720px; font-size: 18px; opacity: .94; margin-bottom: 32px; }
.cta, .primary, .secondary {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 15px 22px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: .2s;
}
.cta, .primary { background: #ffcf33; color: #172033; }
.cta:hover, .primary:hover { transform: translateY(-1px); filter: brightness(.98); }
.secondary { background: #e9eef8; color: #172033; margin-left: 8px; }
.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -44px;
}
.card, .question, .resultBox {
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(16, 42, 99, .08);
  border-radius: 18px;
}
.card { padding: 24px; }
.card h3 { margin-top: 0; }
.diagnosis { padding: 58px 0 40px; }
.diagnosis h2 { font-size: 34px; margin-bottom: 8px; }
.notice {
  background: #fff8df;
  border: 1px solid #f0d98d;
  padding: 16px;
  border-radius: 12px;
  color: #5a4611;
}
.question { padding: 22px; margin: 16px 0; }
.question h3 { margin: 0 0 14px; font-size: 18px; }
.options { display: grid; gap: 10px; }
.option {
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 13px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.option:hover { background: #f8fbff; border-color: #8bb5ff; }
.option input { margin-top: 6px; }
.primary { margin-top: 18px; font-size: 16px; }
.result { padding: 24px 0 80px; }
.hidden { display: none; }
.resultBox { padding: 32px; }
.label { color: #1f6feb; font-weight: 800; margin: 0; }
#scoreTitle { font-size: 44px; margin: 6px 0 10px; }
.progress { height: 16px; background: #e8eef8; border-radius: 999px; overflow: hidden; }
#bar { height: 100%; width: 0; background: linear-gradient(90deg, #ffcf33, #1f6feb); transition: .4s; }
.resultGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.resultGrid > div {
  background: #f8fbff;
  border: 1px solid #e0e9f8;
  border-radius: 14px;
  padding: 18px;
}
.consult {
  margin-top: 24px;
  padding: 22px;
  border-radius: 16px;
  background: #172033;
  color: white;
}
.consult p { opacity: .9; }
footer { background: #101827; color: #cbd5e1; padding: 24px 0; font-size: 14px; }
@media (max-width: 760px) {
  .summary, .resultGrid { grid-template-columns: 1fr; }
  .secondary { margin-left: 0; margin-top: 10px; }
}
