:root { --ink: #17212b; --muted: #607080; --paper: #f7f8f5; --line: #dce2dc; --accent: #167a61; --accent-soft: #dff3e9; --danger: #a43b3b; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header, main, footer { max-width: 1060px; margin: auto; padding-left: 24px; padding-right: 24px; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; letter-spacing: .08em; }
.site-header nav a { color: var(--muted); font-size: .92rem; }
.hero { padding: 84px 0 70px; max-width: 720px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .87rem; letter-spacing: .05em; margin: 0 0 8px; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); letter-spacing: -.06em; line-height: 1.13; margin: 0 0 22px; }
h2 { letter-spacing: -.04em; }
.hero > p:not(.eyebrow), .quiz-intro > p:not(.eyebrow), .result-summary > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.button { display: inline-block; border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 700; padding: 13px 20px; margin: 12px 8px 0 0; }
.primary { background: var(--accent); color: white; }
.secondary { background: #e7ece9; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; }
.section-heading span { color: var(--muted); font-size: .9rem; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 72px; }
.category-card { position: relative; min-height: 155px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 12px; transition: transform .15s; }
.category-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.category-card h3 { font-size: 1.25rem; margin: 12px 0 0; }
.count { color: var(--muted); font-size: .84rem; }.arrow { position: absolute; right: 22px; bottom: 18px; color: var(--accent); font-size: 1.5rem; }
.quiz-intro, .result-summary { padding: 44px 0 28px; }.back { color: var(--muted); font-size: .9rem; display: inline-block; margin-bottom: 24px; }
.quiz-form { padding-bottom: 64px; }.question-card, .answer-card, .builder-form { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 26px; margin: 0 0 18px; }.question-card { min-width: 0; }
.question-card legend { float: left; width: 100%; font-size: 1.16rem; font-weight: 700; padding: 0; margin: 0 0 20px; }.question-card legend span { color: var(--accent); margin-right: 10px; }
.choices { clear: both; display: grid; gap: 10px; }.choices label { border: 1px solid var(--line); border-radius: 7px; padding: 12px; cursor: pointer; }.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.result-list { padding: 12px 0 64px; }.answer-card { border-left: 5px solid var(--danger); }.answer-card.correct { border-left-color: var(--accent); }.status { color: var(--danger); font-weight: 800; margin: 0; }.correct .status { color: var(--accent); }.answer-card h2 { font-size: 1.15rem; }.explanation { padding: 14px; background: #f0f4f1; border-radius: 7px; }
.builder-form { display: grid; gap: 16px; margin-bottom: 64px; }.builder-form label { display: grid; gap: 7px; font-weight: 700; }.builder-form input, .builder-form select, .builder-form textarea { width: 100%; font: inherit; font-weight: 400; border: 1px solid #bfc9c1; border-radius: 6px; padding: 10px; }.builder-form textarea { min-height: 100px; resize: vertical; } code { background: #e9eeea; padding: 2px 5px; border-radius: 4px; }
footer { color: var(--muted); font-size: .8rem; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .category-grid { grid-template-columns: 1fr; }.site-header, main, footer { padding-left: 18px; padding-right: 18px; }.hero { padding-top: 54px; } }
