:root {
  --text: #1A1F2B;
  --sub: #5B6475;
  --muted: #8A93A3;
  --brand: #0B4FB3;
  --brand-dark: #083E8C;
  --brand-soft: #EAF1FB;
  --bg: #FFFFFF;
  --section: #F5F8FC;
  --line: #E3E8F0;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header img { height: 30px; width: auto; display: block; }
.header-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
  text-decoration: none;
}
.header-link:hover { color: var(--brand); }

/* Header contact */
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
  color: var(--sub);
  text-align: right;
}
.contact .item { display: inline-flex; align-items: center; gap: 7px; }
.contact .sym { font-size: 1.2em; line-height: 1; font-weight: 400; color: var(--brand); }
.contact i { display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: #C9D0DB; vertical-align: -1px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--section) 0%, #fff 100%);
  padding: 28px 0 20px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero h1 {
  margin: 10px 0 4px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead {
  margin: 0;
  font-size: 16px;
  color: var(--sub);
}

/* Sections */
section { padding: 0; }
.benefits-section { padding: 4px 0 12px; }
.steps-section { padding: 0 0 24px; }

.section-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.benefits-section .section-title { margin-top: 8px; }

/* Benefit cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  align-items: start;
  align-content: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.card .icon {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card .icon svg { width: 18px; height: 18px; }
.card h3 {
  margin: 0 0 2px;
  padding-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.02em;
}
.card h3 strong { color: var(--brand); }
.card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--sub); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 10px 14px 10px 46px;
  border-radius: 12px;
  background: var(--section);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.steps strong { display: block; font-size: 14px; line-height: 1.5; letter-spacing: -.02em; }
.steps span { display: block; font-size: 12px; line-height: 1.5; color: var(--sub); }

/* Form */
.form-section { background: var(--section); padding: 24px 0 64px; }
.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 36px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.form-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.form-card iframe { display: block; width: 100%; border: 0; min-height: 600px; }
.form-fallback {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Tally 폼은 다른 도메인이라 내부 글자 크기를 직접 바꿀 수 없어 폼을 통째로 축소 (데스크톱만).
   축소 후 남는 아래 여백은 페이지 하단 스크립트가 .tally-wrap 높이를 맞춰 없앤다. */
.tally-wrap { overflow: hidden; }
@media (min-width: 721px) {
  .tally-wrap iframe {
    width: calc(100% / .85) !important;
    transform: scale(.85);
    transform-origin: 0 0;
  }
}

/* Cross link */
.cross {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.cross p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--sub); }
.cross p strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 15px; letter-spacing: -.02em; }
.cross a {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cross a:hover { background: var(--brand-soft); }

/* Footer */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* Mobile */
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .site-header .container { height: auto; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .site-header img { height: 22px; }
  .contact { align-items: flex-start; text-align: left; font-size: 11.5px; }
  .hero { padding: 20px 0 14px; }
  .hero h1 { font-size: 23px; }
  .hero p.lead { font-size: 14px; }
  .cards, .steps { grid-template-columns: 1fr; gap: 8px; }
  .card { padding: 12px 14px; }
  .card p { display: none; }
  .section-title { font-size: 15px; margin-bottom: 8px; }
  .card { grid-template-columns: 28px 1fr; }
  .card .icon { width: 28px; height: 28px; border-radius: 8px; grid-row: auto; }
  .card .icon svg { width: 16px; height: 16px; }
  .card { align-items: center; }
  .card h3 { margin: 0; padding-top: 0; }
  .card { grid-template-rows: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .steps li { padding: 10px 8px; text-align: center; }
  .steps li::before { position: static; margin: 0 auto 4px; }
  .steps span { display: none; }
  .steps strong { font-size: 12px; }
  .form-section { padding: 16px 0 48px; }
  .form-card { padding: 22px 18px 14px; border-radius: 16px; }
  .form-card h2 { font-size: 20px; }
  .cross { flex-direction: column; align-items: stretch; text-align: left; }
  .cross a { text-align: center; }
}
