:root {
  --blue: #1976ef;
  --blue-dark: #0759c8;
  --sky: #79c8ff;
  --mint: #4fd7bd;
  --ink: #17324d;
  --muted: #607890;
  --line: #dbeaf7;
  --card: rgba(255,255,255,.94);
  --shadow: 0 24px 70px rgba(21,91,155,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; background: #eaf7ff; line-height: 1.65; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
.page-bg { position: fixed; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(225,246,255,.25), #f7fcff 48%, #eef9ff), url("apartment.png") center top / cover no-repeat; }
.page-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(25,118,239,.42), rgba(102,207,255,.16) 44%, rgba(255,255,255,.94) 78%); }
.hero { min-height: 520px; display: flex; align-items: center; padding: 70px 24px 110px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); background: rgba(255,255,255,.23); }
.hero::before { width: 320px; height: 320px; right: -80px; top: 25px; }
.hero::after { width: 130px; height: 130px; left: 7%; bottom: 35px; }
.hero__inner { width: min(1060px,100%); margin: auto; color: #fff; text-shadow: 0 2px 15px rgba(4,58,113,.2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-shadow: none; }
.hero h1 { margin: 22px 0 16px; font-size: clamp(44px, 7vw, 76px); line-height: 1.1; letter-spacing: -.055em; }
.hero h1 em { font-style: normal; color: #e8fbff; }
.hero p { max-width: 560px; margin: 0; font-size: clamp(17px,2.4vw,21px); font-weight: 600; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero__meta span { padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; }
.shell { width: min(880px, calc(100% - 28px)); margin: -64px auto 70px; position: relative; z-index: 2; }
.intro-card, .form-card, .progress-wrap { background: var(--card); border: 1px solid rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.intro-card { display: flex; gap: 22px; padding: 30px; border-radius: 28px; margin-bottom: 18px; }
.intro-card__icon { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg,#dff4ff,#fff); font-size: 28px; box-shadow: inset 0 0 0 1px #d7edff; }
.intro-card h2 { margin: 1px 0 8px; font-size: 25px; letter-spacing: -.035em; }
.intro-card p { margin: 0; color: var(--muted); }
.reward-note { margin-top: 14px !important; padding: 13px 16px; border-radius: 14px; background: #edf8ff; color: var(--blue-dark) !important; }
.reward-note small { color: #52728e; }
.progress-wrap { position: sticky; top: 10px; z-index: 5; padding: 14px 18px; border-radius: 18px; margin-bottom: 18px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 13px; color: var(--muted); font-weight: 700; }
.progress-label strong { color: var(--blue); }
.progress-track { height: 7px; background: #e3f1fb; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg,var(--blue),#56c9ee,var(--mint)); transition: width .35s ease; }
.survey-form { display: grid; gap: 18px; }
.form-card { padding: 30px; border-radius: 26px; }
.section-heading { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 23px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.section-heading > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg,var(--blue),#53bfff); color: #fff; font-weight: 900; box-shadow: 0 8px 20px rgba(25,118,239,.25); }
.section-heading h3 { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.03em; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section-heading b, .field > span b { color: #ff5670; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--wide { grid-column: 1 / -1; }
.field { display: block; position: relative; }
.field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.field small { color: var(--muted); font-weight: 500; }
input[type="text"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 52px; border: 1px solid #cfdfed; border-radius: 14px; background: #fbfdff; padding: 13px 15px; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s, background .2s; }
textarea { resize: vertical; min-height: 145px; padding-bottom: 32px; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(79,180,255,.13); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #ff6a7e; box-shadow: 0 0 0 4px rgba(255,80,103,.1); }
.unit-fields, .date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unit-fields label, .date-fields label { position: relative; }
.unit-fields i, .date-fields i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-style: normal; font-weight: 700; pointer-events: none; }
.unit-fields input, .date-fields input, .date-fields select { padding-right: 42px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.choice-grid--two { max-width: 520px; }
.stacked-choices { display: grid; gap: 11px; }
.choice { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #d8e6f2; border-radius: 15px; background: #fbfdff; cursor: pointer; transition: transform .16s, border .16s, background .16s, box-shadow .16s; }
.choice:hover { transform: translateY(-1px); border-color: #9ed1fa; background: #f5fbff; }
.choice:has(input[type="checkbox"]:checked), .choice:has(input[type="radio"]:checked) { border-color: #6fbdf8; background: #eaf7ff; box-shadow: inset 0 0 0 1px rgba(25,118,239,.1); }
.choice input[type="checkbox"], .choice input[type="radio"] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--blue); }
.choice span { font-weight: 650; line-height: 1.45; }
.choice--other { flex-wrap: wrap; }
.choice--other > input[type="text"] { flex: 1 1 160px; min-height: 40px; padding: 8px 11px; background: #fff; }
.choice--none { color: #63788d; }
.consent-box { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(145deg,#eff9ff,#f9fffd); }
.consent-box .choice { background: #fff; align-items: flex-start; }
.group-error, .form-message { display: none; margin: 10px 0 0; color: #db3751; font-size: 13px; font-weight: 700; }
.group-error.is-visible, .form-message.is-visible { display: block; }
.form-message { padding: 14px 16px; border-radius: 14px; background: #fff0f3; text-align: center; }
.char-count { position: absolute; right: 13px; bottom: 9px; margin: 0 !important; color: #8ba0b2; font-size: 12px !important; font-weight: 500 !important; }
.submit-button { width: 100%; min-height: 68px; border: 0; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(110deg,var(--blue-dark),var(--blue) 48%,#38b9e5); color: #fff; font-size: 19px; font-weight: 900; box-shadow: 0 16px 34px rgba(25,118,239,.28); cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(25,118,239,.34); }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.submit-button i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-style: normal; }
.privacy-footnote { margin: -4px 0 0; text-align: center; color: #547087; font-size: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
footer { padding: 0 20px 45px; text-align: center; color: #6c8295; font-size: 13px; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12,43,72,.58); backdrop-filter: blur(9px); }
.modal__panel { position: relative; width: min(620px,100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border-radius: 28px; background: rgba(255,255,255,.98); box-shadow: 0 28px 100px rgba(3,40,76,.32); animation: modal-in .3s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal__mark { width: 58px; height: 58px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(145deg,var(--blue),#65ccf0); color: #fff; font-weight: 900; box-shadow: 0 11px 25px rgba(25,118,239,.25); }
.modal h2 { margin: 17px 0 14px; font-size: 28px; letter-spacing: -.04em; }
.modal__copy { color: #526b80; font-size: 15px; }
.modal__copy p { margin: 0 0 14px; }
.modal__copy strong { color: #244f77; }
.modal__assurance { margin-top: 18px !important; padding: 14px 16px; border: 1px solid #cbe9fb; border-radius: 15px; background: linear-gradient(135deg,#edf9ff,#f1fffb); color: var(--blue-dark) !important; text-align: center; }
.modal__assurance strong { color: var(--blue-dark); }
.modal__button { width: 100%; min-height: 56px; border: 0; border-radius: 16px; margin-top: 12px; background: linear-gradient(110deg,var(--blue-dark),var(--blue)); color: #fff; font-weight: 900; cursor: pointer; }
.modal__panel--success { text-align: center; }
.success-check { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: linear-gradient(145deg,#3bd1b1,#21aee9); color: #fff; font-size: 38px; box-shadow: 0 12px 30px rgba(45,190,177,.28); }
.success-lead { color: var(--muted); }
.success-steps { display: grid; gap: 11px; margin: 24px 0; padding: 0; list-style: none; text-align: left; }
.success-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border-radius: 15px; background: #f0f9ff; }
.success-steps li > span { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; }
.success-steps p { margin: 0; }
@media (max-width: 640px) {
  .hero { min-height: 450px; padding: 54px 20px 100px; align-items: flex-start; }
  .hero h1 { margin-top: 18px; font-size: 44px; }
  .hero p { font-size: 16px; }
  .shell { margin-top: -72px; width: min(100% - 20px,880px); }
  .intro-card { padding: 22px; gap: 13px; border-radius: 22px; }
  .intro-card__icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; font-size: 22px; }
  .intro-card h2 { font-size: 20px; }
  .form-card { padding: 22px 18px; border-radius: 22px; }
  .section-heading { gap: 11px; }
  .section-heading > span { width: 38px; height: 38px; flex-basis: 38px; }
  .section-heading h3 { font-size: 19px; }
  .field-grid, .choice-grid { grid-template-columns: 1fr; }
  .choice-grid--two { grid-template-columns: 1fr 1fr; }
  .modal { padding: 12px; }
  .modal__panel { padding: 25px 20px; border-radius: 23px; max-height: calc(100vh - 24px); }
  .modal h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
