* {
  box-sizing: border-box;
}

button {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
  background: #ece6dc;
  padding: 24px 12px;
  color: #2b2b2b;
  line-height: 1.6;
}

.app {
  max-width: 420px;
  width: 100%;
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border: 2px solid #5a4632;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(90, 70, 50, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand,
.result-label,
.progress-text {
  margin: 0;
  font-size: 14px;
  color: #7a6a58;
}

h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.intro,
.result-desc {
  margin: 0;
  color: #555;
}

.primary-button {
  margin-top: 8px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #5a4632;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}

.primary-button:hover {
  background: #46361f;
}

.progress-bar {
  height: 8px;
  margin-top: 8px;
  background: #e3ddd3;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: #5a4632;
  transition: width 0.3s;
}

.question {
  margin: 12px 0 4px;
  font-size: 22px;
  line-height: 1.4;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-button {
  padding: 16px;
  border: 2px solid #d6cbbb;
  border-radius: 8px;
  background: #fff;
  color: #2b2b2b;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  word-break: keep-all;
}

.choice-button:hover {
  border-color: #5a4632;
}

.recommend {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3ddd3;
}

.recommend p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #7a6a58;
}

.recommend strong {
  font-size: 20px;
}

@media (min-width: 600px) {
  h1 {
    font-size: 30px;
  }
}
