/* biz 시안 — 밝은 톤, 큰 글씨, 모바일 우선 */
:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --band: #eef3ef;
  --ink: #17201c;
  --text: #3a4540;
  --muted: #6b7670;
  --line: #dfe6e1;
  --accent: #0f766e;
  --accent-dark: #0b5953;
  --accent-soft: #d8f3ea;
  --warn: #b45309;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.75 "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { color: var(--ink); font-weight: 700; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 700; }

.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 15px; font-weight: 700; }
.small { margin: 18px 0 0; color: var(--muted); font-size: 15px; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); background: var(--paper); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.light { background: #fff; border-color: #fff; color: var(--accent-dark); }
.btn.light:hover { background: var(--accent-soft); }
.btn.ghost { border-color: rgba(255,255,255,.5); color: #fff; opacity: .75; cursor: default; }
.btn.ghost:hover { transform: none; background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions.center { justify-content: center; }

/* ===== 태그 ===== */
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: #fff4e5; color: var(--warn); font-size: 13px; font-weight: 700;
}
.tag.inline { margin-left: 6px; vertical-align: 2px; }

/* ===== 상단 바 ===== */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247,248,245,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #12201b; }
.mark img { width: 24px; height: 24px; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 600; }
.top nav a:hover { color: var(--accent); }

/* ===== 첫 화면 ===== */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { margin: 22px 0 0; font-size: 19px; max-width: 34em; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.assure li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.flow {
  position: relative;
  padding: 52px 28px 28px; border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(15, 50, 40, .35);
}
.flow > .tag { position: absolute; top: 16px; right: 16px; }
.files { display: grid; gap: 8px; }
.file {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--bg); border: 1px dashed #c9d3cd;
  font-size: 14px; font-family: Consolas, "D2Coding", monospace; color: var(--text);
}
.file::before { content: ""; width: 18px; height: 20px; border-radius: 3px; background: #1d7a46; flex: none; }
.files.out .file { background: var(--accent-soft); border: 1px solid #a7e3cf; color: var(--ink); font-weight: 600; }
.arrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0; color: var(--accent); font-weight: 700; font-size: 14px; }
.arrow::before, .arrow::after { content: ""; height: 1.5px; flex: 1; background: linear-gradient(90deg, transparent, var(--accent)); }
.arrow::after { background: linear-gradient(90deg, var(--accent), transparent); }
.arrow span { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.time { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.time small { display: block; color: var(--muted); font-size: 13px; }
.time b { font-size: 30px; color: var(--accent); }
.time b.before { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }

/* ===== 섹션 공통 ===== */
section { padding: 88px 0; }
.band { background: var(--band); }
.hero + .band { padding-top: 72px; }

/* 공감 체크 */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li {
  position: relative; padding: 18px 20px 18px 54px;
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
}
.checks li::before {
  content: "✓"; position: absolute; left: 18px; top: 18px;
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; line-height: 1;
}
.band-note { margin: 28px 0 0; font-size: 19px; font-weight: 700; color: var(--accent-dark); }

/* 해결 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card .num { display: block; margin-bottom: 14px; color: var(--accent); font-weight: 800; font-size: 15px; }
.card p { margin: 12px 0 16px; }
.card ul { margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.card li { padding: 3px 0; }
.card li::before { content: "· "; color: var(--accent); font-weight: 800; }

/* 비교표 */
.table { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 17px; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: 14px; font-weight: 700; background: #fafbf9; }
tbody tr:last-child td { border-bottom: 0; }
td.good { color: var(--accent); font-weight: 800; }

/* 차별점 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.compare .col ul { margin: 16px 0 0; padding: 0; list-style: none; }
.compare .col li { padding: 8px 0; border-top: 1px solid var(--line); }
.compare .col:not(.ours) { color: var(--muted); }
.compare .col:not(.ours) h3 { color: var(--muted); }
.compare .ours { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--paper) 60%); }
.compare .ours li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* 가격 */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { position: relative; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.price h3 { font-size: 18px; }
.price .amount { margin: 10px 0 12px; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price .amount small { margin-left: 4px; font-size: 15px; font-weight: 600; color: var(--muted); }
.price p:last-child { margin: 0; font-size: 15px; }
.price.pick { border: 2px solid var(--accent); box-shadow: 0 20px 40px -28px rgba(15, 118, 110, .6); }
.ribbon { position: absolute; top: -13px; left: 24px; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }

/* 진행 절차 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800;
}
.steps b { display: block; font-size: 18px; }
.steps span { display: block; margin-top: 6px; font-size: 15px; }

/* 안심 */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust > div { padding: 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.trust h3 { font-size: 18px; }
.trust p { margin: 8px 0 0; font-size: 15px; }

/* 오래된 프로그램 */
.legacy {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px; border-radius: 22px; background: #12201b; color: #c8d4ce;
}
.legacy h2 { color: #fff; margin-bottom: 12px; }
.legacy .eyebrow { color: #6ee7b7; }
.legacy p:last-child { margin: 0; max-width: 40em; }
.legacy .btn { flex: none; border-color: #6ee7b7; color: #6ee7b7; }
.legacy .btn:hover { background: rgba(110, 231, 183, .1); }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 20px; }

/* 신청 */
.cta { background: var(--accent); color: #e3f6f0; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0 auto; max-width: 36em; }
.cta .mail { margin-top: 18px; font-size: 15px; opacity: .85; }

/* 푸터 */
.foot { padding: 32px 0; background: #12201b; color: #9fb0a8; font-size: 15px; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot b { display: block; color: #fff; }
.foot a { color: #6ee7b7; text-decoration: none; font-weight: 600; }

/* ===== 반응형 ===== */
@media (max-width: 1000px) {
  .prices, .steps, .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top nav { display: none; }
  .top .wrap { justify-content: space-between; }
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .cards, .compare, .checks { grid-template-columns: 1fr; }
  .legacy { flex-direction: column; align-items: flex-start; padding: 28px; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .brand { font-size: 16px; }
  .top .btn.sm { padding: 0 14px; font-size: 14px; }
  .lead { font-size: 17px; }
  .actions .btn { width: 100%; }
  .prices, .steps, .trust { grid-template-columns: 1fr; }
  th, td { padding: 14px 16px; font-size: 15px; }
  .flow { padding: 22px 18px; }
}
