:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5c6875;
  --line: #d8dee6;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --accent: #0b6bcb;
  --accent-dark: #084f98;
  --green: #23755a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.hero {
  background: linear-gradient(180deg, #edf5ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px;
}

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

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: 0;
  max-width: 780px;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
  margin: 0 0 26px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent);
}

.button.secondary {
  background: #fff;
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li::before {
  content: "□";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  border-left: 4px solid var(--accent);
  padding: 12px 0 12px 16px;
}

.step h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--accent);
}

form {
  display: grid;
  gap: 18px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin: 0;
}

legend {
  font-weight: 800;
  padding: 0 8px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b9c3cf;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.options {
  display: grid;
  gap: 8px;
}

.options label {
  font-weight: 400;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.options input {
  width: auto;
  margin-top: 6px;
}

.hint {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
}

.notice {
  border: 1px solid #b9d9cc;
  background: #eef8f4;
  color: var(--green);
  padding: 16px;
  border-radius: 8px;
}

.form-bridge {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  max-width: 760px;
}

.form-bridge ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.replace-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .section {
    padding: 40px 18px;
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }
}

/* ── 왜 CRAFTEM인가 / 합격 사례 ──────────── */
.why-label {
  display: inline-block;
  background: #0b6bcb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.case-school {
  font-size: 13px;
  font-weight: 700;
  color: #0b6bcb;
  margin-bottom: 8px;
}
.case-quote {
  margin: 0 0 10px;
  padding: 0 0 0 14px;
  border-left: 3px solid #0b6bcb;
  font-size: 14px;
  line-height: 1.6;
  color: #2c3e50;
  font-style: italic;
}
.case-who {
  font-size: 12px;
  color: #7f8c8d;
}
.case-total {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
  color: #2c3e50;
}
.case-total strong {
  color: #0b6bcb;
  font-size: 18px;
}

/* ── 합격 사례 4열 그리드 ─────────────────── */
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}
