:root {
  --black: #000000;
  --near-black: #0b0b0d;
  --surface: #111114;
  --gesso: #faf9fe;
  --smoke: #e5e5e5;
  --muted: #8d9098;
  --navy: #091c2e;
  --blue: #2f45ad;
  --blue-soft: #4058c8;
  --yellow: #fffca2;
  --danger: #ff6d63;
  --line: rgba(250, 249, 254, 0.18);
  --line-strong: rgba(250, 249, 254, 0.46);
  --page-width: 560px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --display: Impact, "Arial Narrow", sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); color-scheme: dark; }
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--gesso);
  background: var(--black);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
body::after {
  content: "";
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
button, input, textarea { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 2000; left: 12px; top: 12px; padding: 10px 12px; color: var(--gesso); background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.app-shell { position: relative; width: min(100%, var(--page-width)); min-height: 100dvh; margin: 0 auto; overflow-x: clip; border-inline: 1px solid rgba(250,249,254,.08); }
.topbar { min-height: 70px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.brand { min-width: 0; display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { position: relative; width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; font-family: Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1; }
.brand-mark::after { content: ""; position: absolute; right: -1px; bottom: 2px; width: 14px; height: 1px; background: currentColor; transform: rotate(42deg); transform-origin: right center; }
.brand-lockup { font-size: 11px; white-space: nowrap; }
.brand-lockup strong { margin-left: 4px; font-size: 17px; font-weight: 660; letter-spacing: .07em; }
.topbar-label,
.eyebrow { width: fit-content; padding: 6px 8px 5px; color: var(--gesso); background: var(--blue); font-family: var(--display); font-size: 10px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.eyebrow.warning { color: var(--navy); background: var(--yellow); }

.ticker { height: 34px; overflow: hidden; display: flex; align-items: center; background: var(--blue); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ticker-track { min-width: max-content; font-family: var(--display); font-size: 12px; line-height: 1; letter-spacing: .14em; animation: ticker 20s linear infinite; }
@keyframes ticker { to { transform: translateX(-46%); } }
.progress-region { min-height: 31px; padding: 0 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.progress { height: 4px; overflow: hidden; background: rgba(250,249,254,.11); }
.progress i { display: block; width: 20%; height: 100%; background: var(--blue); transition: width 180ms ease; }
.progress-label { margin: 0; font-family: var(--display); font-size: 10px; letter-spacing: .1em; }
.preview-badge { margin: 0; padding: 8px 12px; color: var(--navy); background: var(--yellow); font-size: 10px; font-weight: 800; text-align: center; }

.screen { min-height: calc(100dvh - 135px); padding: 30px 22px calc(116px + var(--safe-bottom)); }
.intro-screen { position: relative; min-height: calc(100dvh - 196px); display: flex; flex-direction: column; overflow: hidden; }
.intro-index,
.question-index { position: absolute; right: -2px; top: 8px; color: transparent; -webkit-text-stroke: 1px rgba(47,69,173,.52); font-family: var(--display); font-size: 176px; line-height: .82; letter-spacing: -.04em; pointer-events: none; }
.intro-title { position: relative; margin: 56px 0 0; max-width: 440px; font-size: clamp(40px, 11vw, 52px); line-height: 1.08; letter-spacing: -.058em; font-weight: 850; }
.intro-manifesto { margin: 27px 0 0; padding: 4px 0 4px 16px; color: var(--muted); border-left: 3px solid var(--blue); font-size: 15px; line-height: 1.65; }
.intro-manifesto strong { color: var(--gesso); }
.intro-facts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.intro-facts span { padding: 13px 7px; color: var(--muted); border-right: 1px solid var(--line); font-family: var(--display); font-size: 9px; letter-spacing: .1em; text-align: center; }
.intro-facts span:last-child { border-right: 0; }
.intro-facts b { display: block; margin-bottom: 4px; color: var(--gesso); font-size: 18px; font-weight: 400; }
.intro-copy,
.privacy-copy { color: var(--muted); font-size: 12px; line-height: 1.62; }
.intro-copy { margin: 18px 0 0; }
.privacy-copy { margin: 12px 0 0; }
.intro-start { width: 100%; min-height: 58px; margin-top: 22px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; color: var(--gesso); background: var(--blue); border: 0; border-top: 2px solid var(--yellow); box-shadow: 7px 7px 0 rgba(250,249,254,.16); font-size: 16px; font-weight: 850; }
.intro-foot { margin: auto 0 0; padding-top: 24px; color: rgba(250,249,254,.36); font-family: var(--display); font-size: 9px; letter-spacing: .16em; text-align: center; }

.question-screen { position: relative; }
.section-label { position: relative; margin: 14px 0 0; color: var(--muted); font-family: var(--display); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.question-title { position: relative; max-width: 440px; margin: 54px 0 0; font-size: clamp(34px, 9vw, 42px); line-height: 1.17; letter-spacing: -.052em; font-weight: 780; }
.question-help { position: relative; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.answer-area { position: relative; margin-top: 25px; }
.field-label { display: block; margin: 18px 0 8px; font-size: 12px; font-weight: 780; }
input[type="text"],
input[type="number"],
textarea { width: 100%; color: var(--gesso); background: var(--near-black); border: 1px solid var(--line-strong); border-radius: 0; appearance: none; }
input[type="text"],
input[type="number"] { min-height: 56px; padding: 13px 14px; }
textarea { min-height: 132px; padding: 14px; resize: vertical; line-height: 1.58; }
input::placeholder,
textarea::placeholder { color: rgba(250,249,254,.34); }
input:focus,
textarea:focus { border-color: var(--blue-soft); outline: 1px solid var(--blue-soft); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-meta { margin-top: 7px; display: flex; justify-content: flex-end; gap: 14px; color: var(--muted); font-size: 10px; }
.field-error { margin: 9px 0 0; color: var(--danger); font-size: 12px; line-height: 1.45; }
.selection-count { margin: 24px 0 17px; padding: 11px 13px; display: flex; justify-content: space-between; gap: 12px; background: var(--near-black); border: 1px solid var(--blue); border-left: 7px solid var(--blue); font-size: 11px; font-weight: 760; }
.selection-count b { color: var(--yellow); font-size: 13px; }
.option-list { min-width: 0; margin: 0; padding: 0; display: grid; border: 0; border-top: 1px solid var(--line-strong); }
.option { position: relative; width: 100%; min-height: 62px; padding: 12px 7px; display: grid; grid-template-columns: 31px 1fr 26px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); cursor: pointer; }
.option input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.option:focus-within { outline: 2px solid var(--yellow); outline-offset: -3px; }
.option-index { font-family: var(--display); font-size: 10px; letter-spacing: .05em; }
.option-label { font-size: 14px; font-weight: 670; line-height: 1.42; }
.option-check { width: 24px; height: 24px; display: grid; place-items: center; color: transparent; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 900; }
.option.selected { margin-inline: -8px; width: calc(100% + 16px); padding-inline: 15px; background: var(--blue); border-bottom-color: var(--blue); box-shadow: 4px 4px 0 rgba(250,249,254,.2); }
.option.selected .option-check { color: var(--blue); background: var(--gesso); border-color: var(--gesso); }
.option.is-locked { opacity: .55; cursor: not-allowed; }
.other-field { margin-top: 15px; }
.char-count { margin: 7px 0 0; color: var(--muted); font-size: 10px; text-align: right; }
.experience-group + .experience-group { margin-top: 24px; }
.group-heading { margin-bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.group-heading h2 { margin: 0; font-size: 14px; line-height: 1.4; }
.group-heading span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.compact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compact-options .option { min-height: 54px; padding: 9px 10px; grid-template-columns: 1fr 24px; gap: 8px; background: var(--black); border: 0; }
.compact-options .option-index { display: none; }
.compact-options .option.selected { width: 100%; margin: 0; padding: 9px 10px; box-shadow: none; background: var(--blue); }
.compact-other { margin-top: 12px; }
.compact-other .field-label { margin-top: 0; }
.task-group { padding-top: 20px; border-top: 1px solid var(--line); }

.review-screen h1,
.status-card h1 { margin: 40px 0 0; font-size: clamp(36px, 10vw, 46px); line-height: 1.12; letter-spacing: -.05em; }
.review-intro { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.review-list { margin-top: 26px; border-top: 1px solid var(--line-strong); }
.review-item { padding: 15px 2px; display: grid; grid-template-columns: 1fr auto; gap: 9px 13px; border-bottom: 1px solid var(--line); }
.review-heading { grid-column: 1 / -1; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.review-heading span { color: var(--blue-soft); font-family: var(--display); font-size: 11px; }
.review-heading h2 { margin: 0; font-size: 13px; line-height: 1.45; }
.review-item > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; white-space: pre-line; }
.text-button { width: fit-content; padding: 7px 0; color: var(--gesso); background: transparent; border: 0; border-bottom: 1px solid var(--blue); font-size: 11px; }
.consent-box { margin-top: 22px; padding: 16px; background: var(--near-black); border: 1px solid var(--line); border-left: 5px solid var(--blue); }
.consent-label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 13px; line-height: 1.55; }
.consent-label input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.privacy-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.58; }
.status-symbol { width: 84px; height: 84px; margin-top: 34px; display: grid; place-items: center; color: var(--gesso); background: var(--blue); font-family: var(--display); font-size: 36px; box-shadow: 7px 7px 0 rgba(250,249,254,.18); }
.status-card.error .status-symbol,
.status-card.preview .status-symbol { color: var(--navy); background: var(--yellow); }
.status-note { margin: 18px 0 0; padding: 13px 14px; color: var(--muted); background: var(--near-black); border-left: 4px solid var(--blue); font-size: 12px; line-height: 1.58; }

.actions { position: fixed; z-index: 50; left: 50%; bottom: 0; width: min(100%, var(--page-width)); padding: 14px 22px calc(16px + var(--safe-bottom)); display: grid; grid-template-columns: minmax(86px,.34fr) 1fr; gap: 10px; transform: translateX(-50%); background: rgba(0,0,0,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.actions button,
.button { min-height: 52px; padding: 12px 17px; color: var(--gesso); background: transparent; border: 1px solid var(--line-strong); border-radius: 0; font-size: 14px; font-weight: 780; }
.actions button:active,
.button:active { transform: translate(2px,2px); }
.actions.one { grid-template-columns: 1fr; }
.actions .primary { color: var(--gesso); background: var(--blue); border-color: var(--blue); box-shadow: 5px 5px 0 rgba(250,249,254,.17); }
.actions button:disabled,
.button:disabled { cursor: not-allowed; opacity: .44; }
.actions .primary,
.button.primary { background: var(--blue); border-color: var(--blue); box-shadow: 5px 5px 0 rgba(250,249,254,.17); }
.actions.one { grid-template-columns: 1fr; }

.status-card { position: relative; padding-top: 12px; }
.status-symbol { width: 84px; height: 84px; margin-top: 34px; display: grid; place-items: center; background: var(--blue); font-family: var(--display); font-size: 36px; box-shadow: 7px 7px 0 rgba(250,249,254,.18); }
.status-card.error .status-symbol,
.status-card.preview .status-symbol { color: var(--navy); background: var(--yellow); }
.status-note { margin: 18px 0 0; padding: 13px 14px; color: var(--muted); background: var(--near-black); border-left: 4px solid var(--blue); font-size: 12px; line-height: 1.58; }
.status-card.preview .status-note { border-left-color: var(--yellow); }
.status-card.preview h1 { margin-top: 30px; }
.noscript-message { max-width: var(--page-width); margin: 30px auto; padding: 18px; color: var(--navy); background: var(--yellow); }

@media (max-width: 420px) {
  .topbar { padding-inline: 16px; }
  .topbar-label { max-width: 142px; overflow: hidden; text-overflow: ellipsis; }
  .screen { padding-inline: 18px; }
  .actions { padding-inline: 18px; }
  .intro-index,
  .question-index { font-size: 146px; }
  .intro-title { font-size: 40px; }
  .question-title { font-size: 34px; }
  .intro-facts span { font-size: 8px; }
  .intro-facts b { font-size: 16px; }
  .compact-options { grid-template-columns: 1fr; }
  .compact-options .option { min-height: 50px; }
  .is-ai-step .ticker { display: none; }
  .is-ai-step .screen { padding-top: 14px; padding-bottom: calc(138px + var(--safe-bottom)); }
  .question-screen--ai { padding-bottom: 28px; }
  .question-screen--ai .question-index { display: none; }
  .question-screen--ai .section-label { margin-top: 8px; }
  .question-screen--ai .question-title { margin-top: 16px; font-size: 29px; line-height: 1.16; letter-spacing: -.04em; }
  .question-screen--ai .question-help { margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .question-screen--ai .answer-area { margin-top: 14px; }
  .question-screen--ai .experience-group + .experience-group { margin-top: 14px; }
  .question-screen--ai .task-group { padding-top: 13px; }
  .question-screen--ai .group-heading { margin-bottom: 7px; }
  .question-screen--ai .group-heading h2 { font-size: 14px; }
  .question-screen--ai .compact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .question-screen--ai .compact-options .option,
  .question-screen--ai .compact-options .option.selected { min-height: 44px; padding: 6px 8px; gap: 6px; }
  .question-screen--ai .option-label { font-size: 14px; line-height: 1.25; }
  .question-screen--ai .option-check { width: 22px; height: 22px; }
  .question-screen--ai .compact-other { margin-top: 9px; }
  .question-screen--ai .compact-other input { min-height: 44px; padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .progress i { transition: none; }
}

@media (max-width: 420px) {
  .topbar { padding-inline: 14px; gap: 8px; }
  .brand-lockup { font-size: 0; }
  .brand-lockup strong { margin-left: 0; font-size: 15px; }
  .topbar-label { padding-inline: 6px; font-size: 8px; }
}
.bot-field { position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden; }
.session-options .option-label { font-size:clamp(20px,3vw,32px);line-height:1.45; }
