@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* ================================================================
   발품노 랜딩 · 디자인 토큰
   브랜드 : 네이비 #1C395D / 오렌지 #F39907 (로고 추출값)
   ================================================================ */
:root {
  --navy-900: #0f2237;
  --navy-800: #16304d;
  --navy: #1c395d;
  --navy-600: #2a4f7c;
  --navy-400: #6c7c90;
  --navy-200: #c3ced9;
  --navy-50: #eef3f8;

  --orange: #f39907;
  --orange-600: #d98505;
  --orange-50: #fff6e6;

  --ink: #1a2230;
  --ink-2: #4a5568;
  --ink-3: #7a8699;
  --line: #e3e8ef;
  --bg: #f5f7fa;
  --white: #fff;

  --ok: #12805c;
  --ok-bg: #e6f6f0;
  --warn: #b45309;
  --warn-bg: #fff7e6;
  --err: #c92a2a;
  --err-bg: #fdecec;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 2px 8px rgba(28, 57, 93, .06);
  --shadow-lg: 0 12px 32px rgba(28, 57, 93, .12);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
/* .row-2 등 display 를 지정한 클래스가 UA 의 [hidden] 규칙을 덮어쓰지 않도록 한다 */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.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;
}

/* ------------------------------------------------------------ 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-sub {
  font-size: 12px; color: var(--navy-400); letter-spacing: -.2px;
  padding-left: 10px; border-left: 1px solid var(--line);
}
.header-nav { display: flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------ 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: -.3px;
  cursor: pointer; text-decoration: none; transition: .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(243, 153, 7, .28); }
.btn-primary:hover { background: var(--orange-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy-200); }
.btn-ghost:hover { background: var(--navy-50); }
.btn-text { background: none; color: var(--navy-400); padding: 8px 10px; font-weight: 600; font-size: 14px; }
.btn-text:hover { color: var(--navy); }
.btn-lg { padding: 17px 28px; font-size: 17px; border-radius: 14px; width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ------------------------------------------------------------ 히어로 */
.hero {
  background:
    radial-gradient(1100px 420px at 15% -10%, rgba(243, 153, 7, .22), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff; padding: 68px 0 76px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; bottom: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  color: #ffd89a; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(28px, 5.4vw, 46px); line-height: 1.28;
  letter-spacing: -1.2px; font-weight: 800;
}
.hero h1 .hl { color: var(--orange); }
.hero p.lead {
  margin: 0 0 30px; font-size: clamp(15px, 2.3vw, 18px);
  color: rgba(255, 255, 255, .82); max-width: 640px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.hero-cta .btn { flex: 1 1 200px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 40px; max-width: 620px;
}
.hero-stat {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r); padding: 16px;
}
.hero-stat b { display: block; font-size: 24px; color: var(--orange); letter-spacing: -.6px; }
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ------------------------------------------------------------ 섹션 */
.section { padding: 62px 0; }
.section.alt { background: #fff; }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow {
  color: var(--orange); font-weight: 800; font-size: 13px;
  letter-spacing: .6px; margin-bottom: 8px;
}
.section-head h2 {
  margin: 0 0 8px; font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: -.8px; font-weight: 800; color: var(--navy-900);
}
.section-head p { margin: 0; color: var(--ink-2); font-size: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy); margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.4px; color: var(--navy-900); }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* 절차 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; counter-reset: st; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; position: relative;
}
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; font-size: 15px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy-900); }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* 취급 유형 */
.type-list { display: flex; flex-wrap: wrap; gap: 10px; }
.type-chip {
  background: #fff; border: 1px solid var(--navy-200); color: var(--navy);
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14.5px;
}

/* 안내 박스 */
.notice {
  border-radius: var(--r-lg); padding: 24px 26px;
  background: var(--warn-bg); border: 1px solid #f3dcae;
}
.notice h3 { margin: 0 0 12px; font-size: 17px; color: #8a5a00; display: flex; align-items: center; gap: 8px; }
.notice ul { margin: 0; padding-left: 18px; color: #6d4b12; font-size: 14.5px; }
.notice ul li + li { margin-top: 8px; }

/* ------------------------------------------------------------ 폼 */
.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.form-panel > header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #fff; padding: 26px 28px;
}
.form-panel > header h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.6px; }
.form-panel > header p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.form-body { padding: 28px; }

.progress { display: flex; gap: 6px; padding: 16px 28px 0; }
.progress i {
  flex: 1; height: 4px; border-radius: 3px; background: var(--line); transition: .25s;
}
.progress i.on { background: var(--orange); }

.fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.fieldset > legend {
  padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 15px; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.fieldset > legend .stepno {
  background: var(--navy-50); color: var(--navy); border-radius: 6px;
  padding: 3px 9px; font-size: 12px; font-weight: 800;
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--err); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--navy-200);
  border-radius: var(--r); background: #fff; outline: none; transition: .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(42, 79, 124, .12);
}
.input.err, .select.err { border-color: var(--err); background: #fffafa; }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%236c7c90' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 선택 칩(라디오) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border: 1px solid var(--navy-200); border-radius: 10px;
  background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 600;
  margin: 0; transition: .15s; user-select: none;
}
.chips label:hover { border-color: var(--navy-600); }
.chips input:checked + label {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.chips.orange input:checked + label { background: var(--orange); border-color: var(--orange); }

/* 오류 안내 */
.error-box {
  background: var(--err-bg); border: 1px solid #f5c2c2; border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 22px;
}
.error-box h3 { margin: 0 0 10px; color: var(--err); font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.error-box ul { margin: 0; padding-left: 18px; color: #9b2c2c; font-size: 14px; }
.error-box li + li { margin-top: 5px; }

/* 동의 */
.consent-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; }
.consent-card > h3 {
  margin: 0; padding: 15px 20px; background: var(--navy-50); color: var(--navy);
  font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.consent-card > h3 .tag {
  background: var(--err); color: #fff; font-size: 11.5px; border-radius: 5px;
  padding: 3px 8px; font-weight: 800;
}
.consent-body { padding: 18px 20px; }
.dl { margin: 0; font-size: 14px; }
.dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.dl > div:last-child { border-bottom: 0; }
.dl dt { color: var(--ink-3); font-weight: 700; margin: 0; }
.dl dd { margin: 0; color: var(--ink); }
.consent-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: #fcfdfe; flex-wrap: wrap;
}
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); cursor: pointer; }

/* 요약 테이블 */
.summary { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.summary > h3 {
  margin: 0; padding: 14px 20px; background: var(--navy-50);
  font-size: 15px; color: var(--navy);
}
.summary .dl { padding: 8px 20px 14px; }
.summary .dl > div { grid-template-columns: 120px 1fr; }

/* 완료 */
.done-hero { text-align: center; padding: 34px 20px 8px; }
.done-hero .mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--ok-bg); color: var(--ok); display: grid; place-items: center;
}
.done-hero h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.7px; color: var(--navy-900); }
.done-hero p { margin: 0; color: var(--ink-2); font-size: 15px; }
.code-pill {
  display: inline-block; margin-top: 14px; background: var(--navy-50); color: var(--navy);
  border-radius: 999px; padding: 8px 18px; font-weight: 800; letter-spacing: .4px;
}

/* ------------------------------------------------------------ 모달 */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(15, 34, 55, .55); }
.modal .sheet {
  position: relative; margin: 5vh auto; width: min(680px, calc(100% - 32px));
  max-height: 90vh; background: #fff; border-radius: var(--r-lg);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg);
}
.modal .sheet > header {
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal .sheet > header h3 { margin: 0; font-size: 18px; color: var(--navy-900); }
.modal .sheet > .content { padding: 22px; overflow: auto; }
.modal .sheet > footer {
  padding: 16px 22px; border-top: 1px solid var(--line); background: #fbfcfe;
  display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
}
.x-btn { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 4px 8px; }

.legal h4 { margin: 22px 0 8px; font-size: 15.5px; color: var(--navy); }
.legal h4:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }
.legal ul { margin: 0 0 10px; padding-left: 18px; }

/* ------------------------------------------------------------ 푸터 */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .68); padding: 38px 0 46px; margin-top: 10px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.site-footer h4 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.site-footer p { margin: 0 0 4px; font-size: 13.5px; }
.site-footer a { color: #ffd89a; text-decoration: none; font-size: 13.5px; }
.site-footer a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* 고정 CTA (모바일) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -4px 20px rgba(28, 57, 93, .08);
}
.sticky-cta .btn { width: 100%; }

@media (max-width: 720px) {
  .hero { padding: 46px 0 52px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .form-body, .form-panel > header { padding: 20px; }
  .progress { padding: 14px 20px 0; }
  .row-2 { grid-template-columns: 1fr; }
  .dl > div, .summary .dl > div { grid-template-columns: 1fr !important; gap: 2px; }
  .brand-sub { display: none; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 76px; }
}
