/* Career Evidence OS — 제출 자료(27p)와 같은 디자인 시스템으로 정렬 (2026-08-21) */
:root {
  --ink: #101a2e;
  --muted: #4d5a70;
  --dim: #56647a;
  --line: #d9dfea;
  --paper: #ffffff;
  --bg: #f5f7fa;
  --soft: #eef3fd;
  --blue: #245fc7;
  --green: #176b58;
  --amber: #9c560c;
  --shadow: 0 18px 50px rgba(16, 26, 46, 0.10);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
  /* 한글이 단어 중간에서 끊기던 문제(‘수강생 / 을’) */
  word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; }
:focus-visible { outline: 3px solid #f0c07a; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.28; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow.on-dark { color: #9db9ff; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.site-nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 16px; border-radius: 8px; background: var(--ink); color: #fff !important;
  text-decoration: none; font-size: 14px; font-weight: 700;
}

/* 히어로 */
.hero { background: var(--ink); color: #fff; padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; }
.hero .lead { margin-top: 22px; font-size: 18px; color: #c4d0e6; max-width: 33em; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* 히어로 안 흐름 카드 */
.relay { background: #17233d; border: 1px solid #26355a; border-radius: var(--radius); padding: 26px; }
.relay-cap { font-size: 12px; letter-spacing: .12em; font-weight: 800; color: #8fa3c8; margin-bottom: 18px; }
.relay-row { display: flex; align-items: stretch; gap: 10px; }
.relay-box { flex: 1 1 0; background: #1e2b48; border: 1px solid #2e3e63; border-radius: 9px; padding: 14px 12px; }
.relay-box.gate { background: #2a2416; border-color: #5c4620; }
.relay-box b { display: block; font-size: 14px; margin-bottom: 5px; }
.relay-box span { font-size: 12px; color: #9fb1cf; line-height: 1.5; }
.relay-box.gate b { color: #f0c07a; }
.relay-arrow { align-self: center; color: #5b6c8d; font-size: 14px; }
.relay-note { margin-top: 16px; font-size: 13px; color: #9fb1cf; }

/* 섹션 */
section { padding: 74px 0; scroll-margin-top: 74px; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 46em; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(25px, 2.9vw, 34px); font-weight: 800; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* 카드 그리드 */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column;
}
section.alt .card { background: var(--bg); }
.card .n { font-size: 12px; letter-spacing: .12em; font-weight: 800; color: var(--dim); margin-bottom: 12px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .fact {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--dim); line-height: 1.6;
}
.card .fact b { display: block; color: var(--blue); font-size: 11px; letter-spacing: .08em; margin-bottom: 5px; }
.card.hot { border: 2px solid var(--amber); background: #fffaf2; }

/* 퍼널 */
.funnel { display: flex; align-items: flex-end; gap: 20px; height: 210px; margin-top: 8px; }
.fbar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.fbar b { font-size: 20px; font-weight: 800; }
.fbar i { display: block; width: 100%; background: var(--blue); border-radius: 6px 6px 0 0; }
.fbar span { font-size: 12px; color: var(--dim); text-align: center; }
.fbar span em { font-style: normal; font-weight: 700; color: var(--amber); }

/* 지표 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; text-align: center; }
.stat b { display: block; font-size: 32px; font-weight: 800; color: var(--blue); line-height: 1.15; }
.stat span { font-size: 13px; color: var(--muted); }

/* 트랙 */
.track { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: var(--paper); }
.track.live { border-left: 4px solid var(--green); }
.track.poc { border-left: 4px solid var(--amber); }
.track .badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 99px; margin-bottom: 14px;
}
.track.live .badge { background: #e7f4f0; color: var(--green); }
.track.poc .badge { background: #fdf1e2; color: var(--amber); }
.track h3 { font-size: 21px; margin-bottom: 10px; }
.track p { color: var(--muted); font-size: 15px; }
.track ul { margin: 16px 0 0; padding-left: 18px; }
.track li { color: var(--muted); font-size: 15px; margin-bottom: 7px; }

/* 회사 */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cred { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; padding: 18px 20px; background: var(--paper); }
.cred b { display: block; font-size: 16px; margin-bottom: 4px; }
.cred span { font-size: 13px; color: var(--muted); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 18px 22px; margin-bottom: 12px; }
details + details { margin-top: 0; }
summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--dim); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* 폼 */
.lead-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 46px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 92px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; cursor: pointer; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.form-note { font-size: 13px; color: var(--dim); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; }
.form-card button[type="submit"] { width: 100%; }

/* 푸터 */
.site-footer { background: var(--ink); color: #9fb1cf; padding: 40px 0; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #c4d0e6; }

@media (max-width: 900px) {
  .hero-grid, .lead-grid { grid-template-columns: 1fr; gap: 34px; }
  .g3, .g2, .stats, .creds, .field-row { grid-template-columns: 1fr; }
  .relay-row { flex-direction: column; }
  .relay-arrow { transform: rotate(90deg); }
  .site-nav { display: none; }
  section { padding: 54px 0; }
  .funnel { height: 170px; gap: 10px; }
}

/* ── 상담 폼 (원본 마크업 유지: .lead-form / fieldset / .check / .button) ── */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.lead-form > label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.lead-form > label > input,
.lead-form > label > select,
.lead-form > label > textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
}
.lead-form > label > textarea { min-height: 96px; resize: vertical; }
.lead-form > label > input:focus,
.lead-form > label > select:focus,
.lead-form > label > textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,237,.14);
}
/* 긴 항목은 한 줄 전체 사용 */
.lead-form > fieldset,
.lead-form > label.check,
.lead-form > button,
.lead-form > .form-status,
.lead-form > label:nth-of-type(3),
.lead-form > label:nth-of-type(4) { grid-column: 1 / -1; }
.lead-form > label:has(textarea) { grid-column: 1 / -1; }

.lead-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 16px; margin: 0; background: #fff; }
.lead-form legend { font-size: 13px; font-weight: 700; padding: 0 6px; color: var(--muted); }
.lead-form fieldset label {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500;
  margin: 6px 14px 0 0; cursor: pointer;
}
.lead-form label.check {
  display: flex; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--muted);
}
.lead-form label.check input { margin-top: 3px; flex: 0 0 auto; }
.lead-form label.check a { color: var(--blue); }
.lead-form input[type="checkbox"] { accent-color: var(--blue); width: 16px; height: 16px; }

.lead-form .button.primary.submit {
  margin-top: 4px; padding: 14px 20px; border: 0; border-radius: 10px;
  background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.lead-form .button.primary.submit:hover { background: #2560d8; }
.lead-form .button.primary.submit:disabled { background: #9fb4dd; cursor: not-allowed; }
.lead-form .form-status.is-error { color: #b3261e; }
.lead-form .form-status.is-success { color: var(--green); }

.sla-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  color: #166534;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sla-badge strong {
  color: #14532d;
  font-weight: 800;
}

@media (max-width: 700px) { .lead-form { grid-template-columns: 1fr; } }

.shot-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.shot {
  width: 100%; height: auto; display: block; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); background: #fff;
}
.shot-notes { display: flex; flex-direction: column; gap: 14px; }
.note { border-left: 3px solid var(--blue); background: var(--bg); border-radius: 0 9px 9px 0; padding: 15px 18px; }
section.alt .note { background: var(--paper); }
.note b { display: block; font-size: 15px; margin-bottom: 4px; }
.note span { font-size: 13.5px; color: var(--muted); line-height: 1.62; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.thumb figure { margin: 0; }
.thumb figcaption { margin-top: 9px; font-size: 13px; color: var(--dim); }
.shot-cap { margin-top: 14px; font-size: 13px; color: var(--dim); }

@media (max-width: 900px) {
  .shot-grid, .thumbs { grid-template-columns: 1fr; }
}

/* ── 넣는 건 쉽게, 정리는 우리가 ── */
.how-flow { display:grid; grid-template-columns:1.08fr auto 1fr; gap:26px; align-items:stretch; }
.how-cap { display:block; font-size:12px; font-weight:800; letter-spacing:.1em; color:var(--dim); margin-bottom:14px; }
.how-in, .how-out { display:flex; flex-direction:column; }
.how-ways { display:flex; flex-direction:column; gap:12px; flex:1 1 auto; }
.how-way { border:1px solid var(--line); border-radius:11px; padding:18px 20px; background:var(--paper); }
.how-way .ico {
  display:inline-grid; place-items:center; width:26px; height:26px; border-radius:7px;
  background:var(--soft); color:var(--blue); font-size:13px; font-weight:700; margin-bottom:9px;
}
.how-way b { display:block; font-size:17px; margin-bottom:5px; }
.how-way em { font-style:normal; display:block; font-size:14.5px; color:var(--muted); line-height:1.62; }
.how-way em u { text-decoration:none; font-weight:700; color:var(--ink); box-shadow:inset 0 -7px 0 #dfe9ff; }
.how-way small { display:block; margin-top:8px; font-size:12.5px; color:var(--dim); }
.how-arrow { align-self:center; font-size:26px; color:#c3cede; }
.how-does { list-style:none; margin:0; padding:0; counter-reset:s; flex:1 1 auto; }
.how-does li {
  counter-increment:s; position:relative; padding:0 0 15px 38px; margin-bottom:14px;
  border-bottom:1px solid var(--line);
}
.how-does li:last-child { border-bottom:0; margin-bottom:0; }
.how-does li::before {
  content:counter(s); position:absolute; left:0; top:0; width:25px; height:25px; border-radius:50%;
  background:var(--blue); color:#fff; font-size:12px; font-weight:800; display:grid; place-items:center;
}
.how-does b { display:block; font-size:16px; margin-bottom:3px; }
.how-does em { font-style:normal; font-size:14px; color:var(--muted); }
.how-final {
  margin-top:16px; border-left:3px solid var(--green); background:#f2f9f7;
  border-radius:0 10px 10px 0; padding:15px 18px; font-size:14.5px; color:#40566a; line-height:1.65;
}
.how-final b { color:#17422f; }
.how-shot { margin:32px 0 0; text-align:center; }
.how-shot img { max-width:1000px; width:100%; }
.how-shot figcaption { margin-top:12px; font-size:13px; color:var(--dim); }
@media (max-width:900px){
  .how-flow { grid-template-columns:1fr; }
  .how-arrow { transform:rotate(90deg); justify-self:center; }
}
