:root {
  --adobe-red: #1559e8;
  --hot-red: #0c9df2;
  --orange: #22d2f2;
  --pink: #9a35ed;
  --purple: #6421d8;
  --ink: #102350;
  --muted: #617098;
  --line: #dce5f7;
  --soft: #f4f8ff;
  --white: #fff;
  --shadow: 0 18px 50px rgba(20, 65, 155, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 15%, rgba(34, 210, 242, .14), transparent 28rem),
    radial-gradient(circle at 100% 42%, rgba(154, 53, 237, .10), transparent 28rem),
    #f3f7ff;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.55;
  word-break: keep-all;
}

button, input, textarea { font: inherit; }
button, label, input[type="checkbox"] { cursor: pointer; }

.hero { width: min(930px, 100%); margin: 0 auto; background: linear-gradient(120deg, #0639bd, var(--adobe-red) 52%, #16b8f0); }
.hero picture, .hero img { display: block; width: 100%; }
.hero img { height: auto; }

.page-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 80px; }
.intro { padding: 6px 4px 24px; }
.eyebrow { margin: 0 0 8px; color: var(--adobe-red); font-size: 13px; font-weight: 900; letter-spacing: .13em; }
.intro h1 { margin: 0; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; letter-spacing: -.045em; }
.intro > p:not(.eyebrow):not(.required-note) { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.required-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.required-note span, .field b, .question-title b { color: var(--adobe-red); }

.survey-form { display: grid; gap: 20px; }
.form-card {
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(232, 227, 233, .9);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.section-heading > span, .question-title > span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--adobe-red), var(--orange));
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(21, 89, 232, .22);
}
.section-heading h2, .question-title h2 { margin: 0; font-size: 22px; line-height: 1.32; letter-spacing: -.025em; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.compact-heading { margin-bottom: 20px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 800; }
.field input, textarea, .other-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input { height: 50px; padding: 0 15px; }
textarea { min-height: 132px; padding: 15px; resize: vertical; }
.field input:focus, textarea:focus, .other-input:focus {
  border-color: var(--adobe-red);
  box-shadow: 0 0 0 4px rgba(21, 89, 232, .10);
}

.question-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.question-title small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 600; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-grid.tools { grid-template-columns: repeat(4, 1fr); }
.choice {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .16s, border-color .16s, background .16s, box-shadow .16s;
}
.choice:hover { transform: translateY(-1px); border-color: #8ac7ff; box-shadow: 0 8px 20px rgba(24, 79, 165, .08); }
.choice:has(input:checked) { border-color: var(--hot-red); background: #eff8ff; box-shadow: inset 0 0 0 1px rgba(21, 89, 232, .08); }
.choice input[type="checkbox"], .choice input[type="radio"], .consent-check input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--adobe-red);
}
.choice > span { font-size: 15px; font-weight: 750; line-height: 1.4; }
.choice > span small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.choice.compact { min-height: 48px; justify-content: flex-start; padding: 10px 12px; }
.choice.compact > span { font-size: 14px; }
.choice-other { flex-wrap: wrap; }
.choice-other.is-open { grid-column: 1 / -1; }
.choice-other .other-input { display: none; width: 100%; flex: 1 0 100%; height: 44px; margin-top: 4px; padding: 0 12px; cursor: text; }
.choice-other.is-open .other-input { display: block; }

.matrix-block + .matrix-block { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.matrix-block h3 { margin: 0 0 10px; font-size: 15px; }
.char-count { margin-top: 5px; color: var(--muted); text-align: right; font-size: 12px; }

.consent-card { background: linear-gradient(180deg, #fff, #f6f9ff); }
.consent-item { padding: 18px 0; border-top: 1px solid var(--line); }
.consent-item:first-of-type { border-top: 0; }
.consent-item h3 { margin: 0 0 9px; font-size: 15px; }
.consent-item p { margin: 5px 0; color: var(--muted); font-size: 13px; }
.consent-item.notice { background: #f7f5f7; margin: 4px -12px; padding: 18px 12px; border-radius: 12px; }
.consent-check { display: flex; align-items: center; gap: 9px; margin-top: 13px; font-weight: 800; }

.submit-button {
  min-height: 62px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(100deg, var(--adobe-red), var(--hot-red) 52%, var(--orange));
  box-shadow: 0 16px 30px rgba(21, 89, 232, .25);
  font-size: 18px;
  font-weight: 900;
  transition: transform .16s, filter .16s;
}
.submit-button:hover { transform: translateY(-2px); filter: saturate(1.08); }
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.submit-help { margin: -8px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.form-error { padding: 14px 16px; border: 1px solid #ffb8b0; border-radius: 12px; color: #9a1308; background: #fff2f0; font-weight: 750; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.complete-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(46, 219, 255, .72), transparent 23rem),
    radial-gradient(circle at 88% 78%, rgba(166, 58, 245, .65), transparent 28rem),
    linear-gradient(145deg, #0638ba 0%, #1158e9 48%, #5019b8 100%);
}
.complete-card { width: min(560px, 100%); text-align: center; }
.complete-card h1 { margin: 0; font-size: clamp(38px, 8vw, 44px); line-height: 1.03; letter-spacing: -.05em; }
.complete-card h1 strong { color: #fff; }
.complete-card > p { margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: 18px; font-weight: 700; }
.complete-confirm-form { margin: 34px 0 0; }
.complete-confirm-button { display: grid; width: min(320px, 100%); min-height: 58px; margin: 0 auto; place-items: center; border: 0; border-radius: 16px; color: var(--adobe-red); background: #fff; box-shadow: 0 18px 40px rgba(76,0,25,.24); font-size: 18px; font-weight: 900; cursor: pointer; }
.consent-links { margin: 10px 0 0 31px; padding-left: 16px; color: var(--muted); font-size: 13px; }
.consent-links a { color: var(--adobe-red); font-weight: 700; }
.consent .err { display: none; margin: 8px 0 0 31px; color: #c22335; font-size: 13px; }
.consent.is-invalid .err { display: block; }
.complete-kicker { margin: 0 0 14px !important; color: #74e9ff !important; font-size: 13px !important; letter-spacing: .2em; }
.complete-download-button { display: grid; width: min(430px, 100%); min-height: 58px; margin: 30px auto 0; place-items: center; padding: 12px 20px; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; color: #fff; background: rgba(255,255,255,.12); text-decoration: none; font-weight: 900; backdrop-filter: blur(10px); }
.complete-confirm-form { margin-top: 14px; }
.complete-confirm-button { color: #fff; background: transparent; border: 0; box-shadow: none; font-size: 14px; text-decoration: underline; }
.download-frame { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .page-shell { width: min(100% - 22px, 620px); padding: 28px 0 58px; }
  .intro { padding: 4px 5px 18px; }
  .intro > p:not(.eyebrow):not(.required-note) { font-size: 15px; }
  .form-card { padding: 22px 18px; border-radius: 19px; }
  .field-grid, .choice-grid.two { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .choice-grid.tools { grid-template-columns: 1fr 1fr; }
  .section-heading h2, .question-title h2 { font-size: 19px; }
  .section-heading > span, .question-title > span { width: 36px; height: 36px; border-radius: 12px; }
  .choice { min-height: 54px; padding: 12px 13px; }
  .complete-page { padding: 18px; }
  .choice-other.is-open { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
