/* Fixed light theme matching the client's sample landing (no prefers-color-scheme switch). */
:root {
  --bg: #f3f3f3; --surface: #f6f7f9; --card: #ffffff; --fg: #2f3745; --muted: #6b7686; --line: #dbe2ec;
  --accent: #1265e8; --accent-fg: #ffffff; --disabled: #cbd5e1; --error: #c0392b; --focus: #1265e8;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", Arial, sans-serif; }
.hero { max-width: 520px; margin: 0 auto; background: var(--card); }
.hero img { display: block; width: 100%; height: auto; }
.cta { display: block; width: 100%; padding: 0; min-height: 0; border: 0; background: transparent; cursor: pointer; }
.wrap { max-width: 520px; margin: 0 auto; padding: 0 20px 60px; background: var(--surface); min-height: 100vh; }
.wrap > header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* kept for screen readers */
.progress { height: 4px; margin: 0 -20px; background: var(--line); }
.progress-bar { height: 100%; width: 17%; background: var(--accent); transition: width .2s; }
.progress-label { margin: 8px 0 0; font-size: .8125rem; color: var(--muted); text-align: right; }
h2 { font-size: 1.5rem; line-height: 1.4; font-weight: 700; margin: 48px 0 24px; text-align: center; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { display: block; width: 100%; padding: 0; margin: 48px 0 24px; font-size: 1.5rem; line-height: 1.4; font-weight: 700; text-align: center; }
.choice { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 16px; margin-bottom: 10px; background: var(--card); color: #000; border: 1px solid var(--line); border-radius: 8px; font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice:has(input:disabled) { opacity: .5; cursor: default; }
.symptom-options { margin-top: 12px; }
.hint { color: var(--muted); font-size: .875rem; margin: 8px 0 0; text-align: center; }
.field { display: block; margin-bottom: 16px; font-weight: 700; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 14px 12px; font: inherit; color: #000; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.consents { margin: 20px 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; margin-bottom: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.consent label { font-weight: 700; }
.consent-detail { grid-column: 2; margin: 4px 0 0; font-size: .8125rem; color: var(--muted); }
.error { color: var(--error); margin: 0 0 12px; font-weight: 700; text-align: center; }
.actions { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
button { font: inherit; font-weight: 700; cursor: pointer; }
.actions button { height: 52px; padding: 0 28px; border-radius: 26px; border: 1px solid transparent; }
button:disabled { opacity: .6; cursor: default; }
.primary { width: 240px; max-width: 100%; background: var(--disabled); color: #fff; }
.primary.ready { background: var(--accent); }
.secondary { background: transparent; color: var(--muted); border-color: var(--line); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.done { padding: 48px 0; text-align: center; }
.done:focus { outline: none; }
.done-warn { margin: 24px auto 0; max-width: 440px; padding: 18px 16px; border: 2px solid #d9480f; border-radius: 10px; background: #fff0e0; color: #7a2e00; font-size: 17px; line-height: 1.6; text-align: left; }
.done-warn-title { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.choice { display: block; width: 100%; margin-top: 10px; padding: 14px 12px; border: 1px solid #d9480f; border-radius: 8px; background: #fff; color: #7a2e00; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.choice:active { background: #ffe8cc; }
[hidden] { display: none !important; }
.hp { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.modal { position:fixed; inset:0; z-index:50; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.55); }
.modal-box { width:100%; max-width:380px; padding:24px; background:#fff; border-radius:12px; text-align:center; }
.modal-box h2 { margin:0 0 12px; font-size:1.25rem; }
.modal-box p { margin:0 0 12px; }
.modal-box .note { color:var(--muted); font-size:.875rem; }
.modal-box button { width:100%; height:48px; border:0; border-radius:24px; background:var(--accent); color:#fff; font-weight:700; cursor:pointer; }
