:root {
  color-scheme: light;
  --paper: #fff8ef;
  --ink: #49382f;
  --muted: #756458;
  --accent: #a64627;
  --peach: #f2b998;
  --line: #e6d8c9;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1:focus, h2:focus, legend:focus { outline: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { word-break: keep-all; overflow-wrap: anywhere; }
.page-shell { width: min(1080px, calc(100% - 64px)); margin: auto; }
.site-header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.site-header a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; letter-spacing: -.5px; }
.brand-dot { width: 18px; height: 18px; border-radius: 50% 50% 40% 40%; background: var(--peach); box-shadow: inset -5px -2px 0 #df9976; }
main { min-height: 65vh; padding: 58px 0 44px; }
.eyebrow { margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 42px; align-items: center; }
h1 { font-size: clamp(34px, 4.5vw, 53px); font-weight: 700; line-height: 1.33; letter-spacing: -2px; margin-bottom: 16px; }
h1 em { font-style: normal; color: var(--accent); position: relative; }
.subtitle { display: inline-block; margin-bottom: 18px; border-bottom: 1px solid #c77d5b; font-size: 15px; font-weight: 700; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.9; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0; }
.pills span { font-size: 11px; border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.5; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: #fffaf5; background: var(--accent); }
.primary:hover { background: #89391f; }
.secondary { color: var(--ink); background: #fffcf7; border-color: var(--line); }
.secondary:hover { background: #f4eadf; }
.text-button { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 5px; color: var(--muted); padding: 14px 4px; min-height: 48px; font-size: 13px; }
.nursery-art { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 400px; justify-self: end; border-radius: 48% 48% 10px 10px; background: #f6e8d5; overflow: hidden; }
.art-orbit { position: absolute; width: 83%; height: 83%; top: 12%; left: 9%; border: 1px solid #d7bfa5; border-radius: 50%; }
.art-sun { position: absolute; width: 23%; height: 23%; top: 17%; right: 21%; border-radius: 50%; background: #e7a765; }
.art-cloud { position: absolute; top: 33%; left: 17%; width: 36%; height: 12%; border-radius: 70px; background: #fff9ef; transform: rotate(-10deg); }
.art-cloud::before { content: ""; position: absolute; width: 45%; height: 145%; background: inherit; border-radius: 50%; bottom: 10%; left: 22%; }
.art-ground { position: absolute; bottom: 18%; left: 12%; width: 76%; height: 6%; border-radius: 50%; background: #ddc9b2; }
.toy { position: absolute; z-index: 1; bottom: 21%; }
.toy-one { width: 26%; height: 24%; left: 18%; border-radius: 12px; background: #d49476; transform: rotate(-9deg); box-shadow: inset -12px -5px 0 #c28165; }
.toy-two { width: 26%; height: 37%; left: 42%; background: #bdc39b; border-radius: 50% 50% 10px 10px; box-shadow: inset -10px 0 0 #a6af84; }
.toy-two::after { content: ""; width: 38%; height: 62%; background: #f6e8d5; position: absolute; bottom: 0; left: 31%; border-radius: 50px 50px 0 0; }
.toy-three { width: 20%; height: 20%; right: 15%; border-radius: 50%; background: #f2ca82; box-shadow: inset -9px -7px 0 #deb469; }
.nursery-art p { position: absolute; bottom: 5%; left: 10%; font-size: 9px; letter-spacing: 2px; line-height: 1.6; margin: 0; color: #796348; }
.intro-note { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px 42px; padding-top: 35px; margin-top: 18px; border-top: 1px solid var(--line); }
.note-label { color: var(--accent); font-size: 12px; font-weight: 700; grid-column: 1; }
.intro-note h2 { grid-column: 1; grid-row: 2 / 5; font-size: 22px; letter-spacing: -.5px; line-height: 1.6; }
.intro-note p { grid-column: 2; font-size: 13px; color: var(--muted); margin-bottom: 0; }
.intro-note p:first-of-type { grid-row: 1 / 3; }
.card { background: #fffcf7; border: 1px solid var(--line); border-radius: 22px; padding: 34px; }
.quiz-panel, .pause-panel { max-width: 720px; margin: 0 auto; box-shadow: 0 16px 50px #6f442609; }
.quiz-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.small-label { color: var(--muted); font-size: 12px; }
progress { width: 100%; height: 6px; display: block; border: 0; border-radius: 10px; background: #efe4d7; accent-color: var(--accent); margin-bottom: 34px; overflow: hidden; }
progress::-webkit-progress-bar { background: #efe4d7; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--accent); }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { width: 100%; padding: 0; font-size: clamp(23px, 3.5vw, 30px); font-weight: 700; line-height: 1.5; letter-spacing: -.8px; word-break: keep-all; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 13px; margin: 16px 0 26px; }
.answer-options { display: grid; gap: 12px; }
.answer-option { display: flex; gap: 15px; align-items: center; padding: 22px; min-height: 90px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 15px; background: #fffefa; }
.answer-option:hover { border-color: #bc876b; }
.answer-option:has(input:checked) { border-color: var(--accent); background: #fcf0e4; box-shadow: inset 0 0 0 1px var(--accent); }
.answer-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.answer-option span { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.form-message { min-height: 24px; font-size: 13px; color: #9d301e; margin: 16px 0; }
.quiz-actions { display: flex; gap: 12px; justify-content: space-between; }
.quiz-actions .primary { flex: 1; max-width: 340px; }
#pause-button { display: block; margin: 20px auto 0; }
.quiet-note { font-size: 11px; color: var(--muted); text-align: center; margin: 3px 0 0; }
.pause-panel h2 { font-size: 30px; letter-spacing: -1px; }
.pause-panel p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.pause-panel .button { margin-top: 12px; }
#pause-restart-button { display: block; margin-top: 10px; }
#result-panel { max-width: 840px; margin: auto; }
.result-hero { background: #f8e8d7; text-align: center; padding: 44px 36px; position: relative; }
.result-kicker { font-size: 13px; margin-bottom: 8px; color: var(--muted); }
#result-title { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.5px; line-height: 1.4; margin-bottom: 20px; }
.result-hero .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.profile-code { font-size: 12px; line-height: 2; color: var(--accent); }
.result-disclaimer { border-top: 1px solid #ddc6af; padding-top: 20px; margin: 24px auto 0; max-width: 590px; font-size: 12px; color: #705747; }
.section-heading { margin: 42px 0 22px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h3 { font-size: 24px; letter-spacing: -.7px; margin-bottom: 10px; }
.section-heading > p:last-child { color: var(--muted); font-size: 13px; }
.axis-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.axis-card { padding: 26px; }
.axis-card .eyebrow { letter-spacing: 1px; font-size: 10px; margin-bottom: 10px; }
.axis-card h4 { font-size: 21px; margin-bottom: 12px; letter-spacing: -.5px; }
.axis-card p { font-size: 13px; color: var(--muted); }
.axis-card .axis-tally { font-size: 11px; background: #f3ebdf; padding: 8px 10px; border-radius: 8px; }
.play-tip { padding-top: 16px; margin: 18px 0 0; border-top: 1px solid var(--line); }
.play-tip strong { display: block; color: var(--accent); font-size: 11px; margin-bottom: 7px; }
.care-note { margin: 20px 0 28px; background: #f0f1e5; border-color: #d9dfc7; }
.care-note h3 { font-size: 19px; }
.care-note p { color: #58604d; font-size: 13px; }
.care-note p:last-child { margin-bottom: 0; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
#restart-button { flex-basis: 100%; }
#share-status { text-align: center; font-size: 13px; color: var(--muted); min-height: 24px; margin: 12px 0; }
#copy-fallback label { font-size: 13px; display: block; margin-bottom: 12px; }
#result-text { display: block; width: 100%; resize: vertical; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; }
.related-link { display: flex; flex-direction: column; align-items: flex-start; margin-top: 28px; padding: 24px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; gap: 5px; }
.related-link span { font-size: 12px; color: var(--muted); }
.related-link strong { font-size: 20px; }
.related-link:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { padding: 28px 0 35px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { font-size: 13px; margin-bottom: 13px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; margin-bottom: 16px; }
.site-footer small { font-size: 11px; }
.privacy-content { max-width: 760px; margin: auto; }
.privacy-content h1 { font-size: 36px; }
.privacy-content section { margin-top: 28px; }
.privacy-content h2 { font-size: 21px; }
.privacy-content p { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { min-height: 76px; gap: 12px; font-size: 11px; }
  .brand { font-size: 14px; gap: 6px; }
  main { padding-top: 36px; }
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { position: relative; z-index: 1; }
  .intro .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  h1 { font-size: 37px; letter-spacing: -1.8px; }
  .lead { font-size: 14px; }
  .intro-copy .button { width: 100%; }
  .nursery-art { justify-self: center; max-width: 310px; aspect-ratio: 1.2 / 1; }
  .intro-note { display: block; margin-top: 0; padding-top: 26px; }
  .note-label { display: block; margin-bottom: 12px; }
  .intro-note h2 { font-size: 21px; margin-bottom: 18px; }
  .intro-note p { margin-bottom: 14px; }
  .card { padding: 24px 20px; border-radius: 18px; }
  .quiz-top { gap: 8px; }
  .quiz-top .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .small-label { font-size: 11px; }
  .answer-option { padding: 18px 15px; gap: 12px; font-size: 14px; }
  .quiz-actions { gap: 8px; }
  .quiz-actions .button { padding: 13px 17px; font-size: 13px; }
  .axis-results { grid-template-columns: 1fr; gap: 14px; }
  .result-hero { padding: 34px 22px; }
  .result-actions > .button { flex: 1 1 42%; padding: 13px 16px; }
  .result-actions #review-button { flex-basis: 100%; }
  .section-heading { margin-top: 32px; }
  h3 { font-size: 22px; }
  .related-link { padding: 22px 10px; }
  .site-footer nav { gap: 14px; }
  .privacy-content h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
