:root {
  --paper: #f4f3ee;
  --surface: #fbfaf7;
  --ink: #15191e;
  --muted: #676b70;
  --line: #d8d7d1;
  --blue: #4d63ed;
  --blue-dark: #3447c7;
  --lime: #c6f06f;
  --red: #b23b46;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 88% 5%, rgba(77, 99, 237, .12), transparent 28rem), var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 9px 13px; transform: translateY(-150%); border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }
header { height: 86px; display: flex; align-items: center; }
.nav { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.brand-name { font-size: 18px; }
.back-link { color: #55595f; font-size: 14px; text-underline-offset: 4px; }
.intro { padding: 88px 0 58px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; color: #40444a; font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.eyebrow::before { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(198, 240, 111, .25); content: ""; }
h1 { margin: 0; font-size: clamp(50px, 7vw, 82px); font-weight: 820; line-height: 1.03; letter-spacing: -.07em; }
h1 em { color: var(--blue); font-style: normal; }
.intro-copy { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 16px; align-items: start; padding-bottom: 96px; }
.form-card, .process-card { border-radius: 25px; }
.form-card { padding: 42px; border: 1px solid var(--line); background: rgba(251, 250, 247, .88); }
.process-card { position: sticky; top: 24px; padding: 38px; background: var(--ink); color: #fff; }
.card-head { display: flex; gap: 17px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.card-head > span { padding-top: 5px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.card-head h2 { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -.045em; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.card-head.light { border-color: #3c4148; }
.card-head.light > span { color: var(--lime); }
.card-head.light p { color: #aeb3ba; }
form { display: grid; gap: 23px; padding-top: 31px; }
form[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cac9c4; border-radius: 12px; outline: none; background: #fff; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease; }
.field input, .field select { height: 52px; padding: 0 15px; }
.field textarea { min-height: 190px; padding: 14px 15px; resize: vertical; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77, 99, 237, .12); }
.field small { justify-self: end; color: #8a8d91; font-size: 12px; }
.field small b { font-weight: 700; }
.field-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; color: #4d5156; font-size: 13px; cursor: pointer; }
.privacy-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.privacy-detail { margin-top: -14px; color: var(--muted); font-size: 12px; }
.privacy-detail summary { width: max-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.privacy-detail p { margin: 9px 0 0; padding: 13px 15px; border-radius: 9px; background: #eeede8; }
.form-status { display: none; padding: 12px 14px; border-radius: 9px; font-size: 14px; }
.form-status.show { display: block; }
.form-status.success { background: #e6f1d2; color: #365614; }
.form-status.error { background: #f6e3e5; color: var(--red); }
.form-success { position: relative; min-height: 540px; display: flex; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; padding: 54px 20px 28px; text-align: center; animation: success-reveal .55s cubic-bezier(.22, 1, .36, 1) both; }
.form-success[hidden] { display: none; }
.form-success::before, .form-success::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.form-success::before { top: 58px; right: 11%; width: 12px; height: 12px; background: var(--lime); box-shadow: -310px 92px 0 -3px rgba(77, 99, 237, .3), -275px 315px 0 -4px var(--blue), 8px 310px 0 -3px rgba(198, 240, 111, .75); animation: success-dots .7s .2s ease-out both; }
.form-success::after { top: 92px; left: 50%; width: 310px; height: 310px; transform: translateX(-50%); border: 1px solid rgba(77, 99, 237, .1); background: radial-gradient(circle, rgba(77, 99, 237, .08), transparent 68%); }
.success-mark { position: relative; z-index: 1; width: 94px; height: 94px; margin-bottom: 24px; }
.success-mark svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-8deg); }
.success-mark circle { fill: var(--ink); stroke: var(--ink); stroke-width: 3; transform-origin: center; animation: success-pop .55s cubic-bezier(.2, .9, .25, 1.35) both; }
.success-mark path { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; animation: success-check .45s .35s ease-out forwards; }
.success-eyebrow { position: relative; z-index: 1; margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.form-success h3 { position: relative; z-index: 1; margin: 0; font-size: clamp(29px, 4vw, 39px); line-height: 1.2; letter-spacing: -.055em; }
.success-copy { position: relative; z-index: 1; max-width: 430px; margin: 15px 0 0; color: var(--muted); font-size: 15px; }
.success-notice { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 25px 0 0; padding: 10px 14px; border: 1px solid #d9e4c1; border-radius: 999px; background: #f0f7e1; color: #486321; font-size: 12px; font-weight: 700; }
.success-notice i { width: 7px; height: 7px; border-radius: 50%; background: #77a42d; box-shadow: 0 0 0 4px rgba(119, 164, 45, .12); }
.success-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.success-actions a, .success-actions button { min-height: 48px; padding: 0 19px; border-radius: 999px; font-size: 13px; font-weight: 750; cursor: pointer; }
.success-actions a { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.success-actions button { border: 0; background: var(--ink); color: #fff; }
.success-actions a:hover, .success-actions button:hover { transform: translateY(-2px); }
.submit-button { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.submit-button:hover { transform: translateY(-2px); background: var(--blue-dark); }
.submit-button:disabled { transform: none; opacity: .55; cursor: wait; }
.submit-button i { font-style: normal; }
.noscript { margin: 0; padding: 12px; border-radius: 8px; background: #f6e3e5; color: var(--red); font-size: 13px; }
.process-card ol { margin: 34px 0 52px; padding: 0; list-style: none; counter-reset: steps; }
.process-card li { position: relative; display: grid; gap: 4px; padding: 0 0 29px 43px; counter-increment: steps; }
.process-card li:not(:last-child)::after { position: absolute; top: 28px; bottom: 7px; left: 13px; width: 1px; background: #3c4148; content: ""; }
.process-card li::before { position: absolute; top: 0; left: 0; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #50565e; border-radius: 50%; color: var(--lime); font-size: 11px; content: counter(steps); }
.process-card li b { font-size: 16px; }
.process-card li span { color: #aeb3ba; font-size: 13px; line-height: 1.55; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 35px 0 44px; border-top: 1px solid var(--line); color: #73777c; font-size: 13px; }
footer a { text-underline-offset: 3px; }

@keyframes success-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes success-pop {
  from { opacity: 0; transform: scale(.55); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes success-check { to { stroke-dashoffset: 0; } }
@keyframes success-dots {
  from { opacity: 0; transform: scale(.4) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 840px) {
  .contact-layout { grid-template-columns: 1fr; }
  .process-card { position: static; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 30px, 1120px); }
  header { height: 72px; }
  .intro { padding: 64px 0 40px; }
  h1 { font-size: clamp(38px, 10.5vw, 46px); line-height: 1.08; letter-spacing: -.055em; }
  .intro-copy { font-size: 16px; }
  .form-card, .process-card { padding: 28px 22px; border-radius: 20px; }
  .form-success { min-height: 480px; padding: 42px 0 18px; }
  .success-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .success-actions a, .success-actions button { justify-content: center; width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
