/* 케이잡스리서치앤컨설팅 — 공통 스타일 */
:root {
  --navy: #1f3b57;
  --navy-deep: #152a3f;
  --orange: #d2601a;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --soft: #f2eee6;
  --text: #1d2530;
  --muted: #5b6573;
  --line: #e3ded4;
  --accent-text: #b4520f;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161d;
    --surface: #18202a;
    --soft: #1d2733;
    --text: #e8ebef;
    --muted: #9aa5b3;
    --line: #2a3542;
    --accent-text: #f08a4b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 800; position: relative;
}
.brand-mark::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--text); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--text); background: var(--soft); }

/* 히어로 */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-text); margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.3; letter-spacing: -0.03em; margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 1px solid var(--line); background: var(--surface); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:hover { filter: brightness(1.08); }

/* 섹션 */
section.block { padding: 72px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.35; }
.page-head p { color: var(--muted); margin: 0; max-width: 680px; }
h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.4; }
h3 { font-size: 19px; margin: 0 0 6px; line-height: 1.45; }
.lead { color: var(--muted); margin: 0 0 32px; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card p { margin: 0; color: var(--muted); }
.card .num { font-size: 13px; font-weight: 800; color: var(--accent-text); letter-spacing: 0.06em; margin-bottom: 8px; display: block; }

/* 도서 */
.book { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.cover {
  aspect-ratio: 3 / 4.3; border-radius: 6px; padding: 12px 10px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em;
  border-left: 5px solid var(--orange);
}
.cover-img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.cover.orange { background: var(--orange); border-left-color: var(--navy); }
.cover.ink { background: #2c2f33; }
.cover span { font-size: 9px; font-weight: 600; opacity: 0.8; letter-spacing: 0.02em; }
.book .series { font-size: 13px; color: var(--accent-text); font-weight: 700; }
.book h3 { font-size: 20px; margin-top: 2px; }
.book .sub { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.book p.desc { margin: 0 0 12px; color: var(--text); font-size: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.meta b { color: var(--text); font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--accent-text); margin-left: 6px; vertical-align: 2px; }

/* 표 */
table.info { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.info th, table.info td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }
table.info th { width: 170px; background: var(--soft); font-weight: 600; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.timeline b { display: block; font-size: 15px; color: var(--accent-text); }

.note { background: var(--soft); border-radius: 12px; padding: 18px 22px; color: var(--muted); font-size: 15px; }

/* 푸터 */
.site-footer { background: var(--navy-deep); color: #c9d3de; padding: 44px 0 52px; font-size: 14px; line-height: 1.9; margin-top: 40px; }
.site-footer strong { color: #fff; font-size: 16px; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.site-footer a { color: #fff; }
.site-footer .copy { margin-top: 16px; color: #8e9bab; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  section.block { padding: 52px 0; }
  .book { grid-template-columns: 84px 1fr; gap: 16px; }
  .cover { font-size: 10px; padding: 8px 7px; }
  .cover span { font-size: 8px; }
  table.info th { width: 96px; padding: 12px; }
  table.info td { padding: 12px; }
  .nav a { padding: 6px 9px; font-size: 14px; }
}
