:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;

  --primary: #1e40af;
  --primaryHover: #1d4ed8;

  --radius: 12px;
  --radiusSm: 10px;

  --shadow: 0 1px 2px rgba(0,0,0,.05);
  --shadow2: 0 10px 20px rgba(17,24,39,.06);
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
.container{
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.siteHeader{
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.headerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
}

.logoGroup{
  display:flex;
  align-items:center;
  gap: 10px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.logoMark{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1e40af, #0f172a);
}
.logoText{ display:flex; flex-direction:column; line-height:1.1; }
.logoLine1{ font-weight: 900; letter-spacing: -0.02em; font-size: 13px; }
.logoLine2{ font-weight: 800; color: #374151; font-size: 12px; margin-top: 2px; }

.brandText{
  min-width:0;
}
.brandTop{
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brandSub{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.navLink{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}
.navLink:hover{
  border-color: #cbd5e1;
}

/* Header banner line */
.headerBanner{
  padding: 10px 0 14px;
}
.bannerText{
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-block;
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero{
  margin-top: 18px;
  box-shadow: var(--shadow2);
}
.kicker{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.heroTitle{
  font-size: clamp(22px, 3.2vw, 34px);
  margin: 6px 0 8px;
  letter-spacing: -0.03em;
}
.heroDesc{
  margin: 0 0 14px;
  color: #374151;
}
.metaRow{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.badge{
  font-size: 12px;
  color: #1f2937;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
}
.badge.strong{
  background: #eef2ff;
  border-color: #dbeafe;
  color: #0f172a;
  font-weight: 800;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  user-select:none;
}
.btn.primary{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn.primary:hover{
  background: var(--primaryHover);
  border-color: var(--primaryHover);
}
.btn.ghost{
  background: #fff;
  border-color: var(--line);
  color: #111827;
}
.btn.ghost:hover{
  border-color: #cbd5e1;
}
.arrow{ font-weight: 900; }

.ctaRow{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
}

.note{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radiusSm);
  background: #f9fafb;
  border: 1px solid var(--line);
}
.noteTitle{
  font-weight: 900;
  margin-bottom: 6px;
}
.noteList{
  margin: 0;
  padding-left: 18px;
  color: #374151;
}

.grid2{
  margin-top: 14px;
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px){
  .grid2{ grid-template-columns: 1fr; }
  .logoGroup{ border-right:none; padding-right:0; }
}

.cardTitle{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.muted{ color: var(--muted); }
.mini{ font-size: 12px; }

.pageTitle{
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.rowBetween{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.progressWrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 6px;
}
.progress{
  width: 180px;
  height: 10px;
  background: #eef2ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  overflow:hidden;
}
.bar{
  height: 100%;
  background: var(--primary);
  width: 0%;
}

.divider{
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

.formCard{
  margin-top: 14px;
}

.q{
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.q:last-child{ border-bottom: none; }
.qTitle{
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.req{
  font-size: 12px;
  color: #991b1b;
  margin-left: 6px;
}

.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin: 10px 0;
}
.label{
  font-size: 13px;
  color: #374151;
  font-weight: 800;
}
input, select, textarea{
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}
input:focus, select:focus, textarea:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.chip{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}
.chip input{ margin: 0; }

.radios{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.radio{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.radio input{ margin: 0; }

.actions{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* Receipt (응답번호) */
.receipt{
  margin: 0;
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  display: none;
}
.receipt.show{ display: inline-block; }

.siteFooter{
  margin: 18px 0 28px;
}
.footerBox{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
}
.footerTitle{
  font-weight: 900;
  margin-bottom: 10px;
}
.footerGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 760px){
  .footerGrid{ grid-template-columns: 1fr; }
}
.footerLabel{
  font-size: 12px;
  color: var(--muted);
}
.footerValue{
  font-weight: 800;
  color: #111827;
}
.footerCopy{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
