:root {
  --ink: #16181b;
  --ink-2: #3a3f45;
  --muted: #6b7178;
  --line: #e4e6e9;
  --paper: #ffffff;
  --paper-2: #f5f6f7;
  --yellow: #f7c21a;
  --yellow-deep: #d9a400;
  --yellow-soft: #fff6d6;
  --dark: #121417;
  --dark-2: #1d2024;
  --ok: #1f8a4c;
  --no: #b3b8be;
  --danger: #c0392b;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 머리 ── */
.site-head {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { color: var(--yellow); }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none;
  color: #cfd3d8;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--dark-2); }

/* ── 첫 화면 ── */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { color: #c3c8ce; font-size: 18px; margin: 0 0 30px; max-width: 34em; }
.hero-art img {
  width: min(320px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(247, 194, 26, 0.18));
}

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-ghost { border-color: #4a5058; color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ── 구역 ── */
section.block { padding: 72px 0; }
section.alt { background: var(--paper-2); }
.block h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.block .sub { color: var(--muted); margin: 0 0 36px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--ink-2); margin: 0 0 20px; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
}
.tag.free { background: #e3f5ea; color: var(--ok); }
.tag.paid { background: var(--yellow-soft); color: #8a6400; }
.card .more { font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }

/* 번호 붙은 단계 */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 16px 60px;
  position: relative;
  font-weight: 600;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--yellow);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.steps li small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.steps li.final { border-color: var(--yellow); background: var(--yellow-soft); }

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.points h3 { font-size: 19px; margin: 0 0 6px; }
.points p { margin: 0; color: var(--ink-2); }
.points .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

/* ── 상품표 ── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured { border: 2px solid var(--yellow); box-shadow: 0 10px 30px rgba(247, 194, 26, 0.18); }
.plan .badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
}
.plan h3 { margin: 0; font-size: 22px; }
.plan .summary { color: var(--muted); font-size: 15px; margin: 2px 0 16px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan li:first-child { border-top: 0; }
.plan li .mark { font-weight: 800; width: 18px; flex: none; }
.plan li.yes .mark { color: var(--ok); }
.plan li.no { color: var(--no); }
.plan li.no .mark { color: var(--no); }
.plan .btn { width: 100%; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* ── 이용 방법 ── */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow div {
  counter-increment: flow;
  border-left: 4px solid var(--yellow);
  padding: 4px 0 4px 18px;
}
.flow div::before {
  content: "STEP " counter(flow);
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow-deep);
  letter-spacing: 0.05em;
}
.flow h3 { margin: 2px 0 4px; font-size: 18px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ── 안내 띠 ── */
.band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.band h2 { margin: 0 0 4px; font-size: 24px; }
.band p { margin: 0; color: #c3c8ce; }

/* ── 양식 ── */
.form-wrap { max-width: 620px; margin: 0 auto; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 26px; }
.field > label, .field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}
.field .hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 17px;
  font-family: inherit;
  border: 1.5px solid #cdd1d5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input[type="email"]:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px var(--yellow-soft); }

.choices { display: grid; gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid #cdd1d5;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; accent-color: var(--dark); flex: none; margin: 0; }
.choice .name { font-weight: 700; }
.choice .desc { color: var(--muted); font-size: 14px; }
.choice .cost { margin-left: auto; font-weight: 800; white-space: nowrap; text-align: right; }
.choice .cost small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.choice:has(input:checked) { border-color: var(--dark); background: var(--yellow-soft); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: #fdecea;
  color: var(--danger);
  font-weight: 600;
}
.alert[hidden] { display: none; }

.done {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.done .check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

/* ── 무료 프로그램 ── */
.req {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--paper);
}
.req dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.req dt { font-weight: 700; }
.req dd { margin: 0; color: var(--ink-2); }

/* ── 꼬리 ── */
.site-foot {
  background: var(--dark);
  color: #9aa0a7;
  font-size: 14px;
  padding: 36px 0;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── 좁은 화면 ── */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art img { width: 150px; margin: 0; }
  section.block { padding: 52px 0; }
  .brand span { display: none; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .band { padding: 28px 24px; }
  .form-card { padding: 24px 20px; }
  .choice { gap: 12px; padding: 14px; }
  .btns .btn { flex: 1 1 100%; }
}
