/* 岗位罗盘 · 官网样式
   浅色长文阅读优先。正文 17px / 行高 1.85，单行宽度控制在 66-72 个汉字。
*/

:root {
  --ink: #15171E;
  --ink-2: #454C5C;
  --ink-3: #78808F;
  --line: #E4E7EE;
  --line-soft: #F0F2F7;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --brand: #3358D4;
  --brand-2: #5B7BEA;
  --brand-soft: #EEF2FE;
  --gold: #9A6B14;
  --gold-soft: #FDF6E6;
  --ok: #1E8F62;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 23, 30, .04), 0 8px 24px -12px rgba(21, 23, 30, .12);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .2px;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3358D4, #6E5BE8);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .92);
  border-right-color: transparent;
  transform: rotate(-30deg);
}
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a.on { color: var(--brand); font-weight: 600; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: var(--brand);
  padding: 8px 16px;
  border-radius: 9px;
  flex: none;
}
.nav-cta:hover { text-decoration: none; background: #2A49BE; }

/* ---------- 首页 Hero ---------- */
.hero {
  padding: 74px 0 56px;
  background:
    radial-gradient(900px 380px at 15% -10%, #EEF2FE 0%, rgba(238, 242, 254, 0) 65%),
    radial-gradient(700px 340px at 92% 0%, #FDF6E6 0%, rgba(253, 246, 230, 0) 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .4px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: -.4px;
  color: var(--ink);
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 64%, #D9E2FF 64%);
  padding: 0 2px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .16s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #2A49BE; text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #C9D1E4; text-decoration: none; background: var(--bg-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 44px;
}
.fact { background: #fff; padding: 20px 22px; }
.fact b {
  display: block;
  font-size: 25px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.3px;
}
.fact span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 通用区块 ---------- */
section.block { padding: 66px 0; border-bottom: 1px solid var(--line-soft); }
section.block:last-of-type { border-bottom: 0; }
.sec-head { margin-bottom: 36px; }
.sec-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}
h2.sec-title {
  font-size: 29px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -.2px;
  font-weight: 700;
}
.sec-desc { font-size: 16.5px; color: var(--ink-2); margin: 0; max-width: 680px; }
h3 { font-size: 19px; color: var(--ink); margin: 0 0 10px; font-weight: 700; line-height: 1.5; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: .18s;
}
.card:hover { border-color: #C9D4F0; box-shadow: var(--shadow); }
.card p { margin: 0; font-size: 15.5px; line-height: 1.8; }
.card .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

/* 岗位卡 */
.job-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  background: #fff;
  transition: .18s;
}
.job-card:hover {
  border-color: var(--brand-2);
  box-shadow: 0 10px 30px -16px rgba(51, 88, 212, .45);
  text-decoration: none;
}
.job-card .jc-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.job-card h3 { font-size: 21px; margin: 0; color: var(--ink); }
.job-card .ind { font-size: 13.5px; color: var(--ink-3); }
.job-card .tagline {
  font-size: 15px;
  color: var(--brand);
  margin: 12px 0 0;
  font-weight: 600;
  line-height: 1.6;
}
.job-card .meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  gap: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 18px;
}
.badge {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  flex: none;
}
.badge.lite { background: var(--bg-soft); color: var(--ink-3); }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.tbl th, table.tbl td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.tbl th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td b { color: var(--ink); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: s;
  content: counter(s);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 17px; margin: 3px 0 6px; }
.step p { margin: 0; font-size: 15.5px; }

/* ---------- 提示条 ---------- */
.note {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 24px 0;
}
.note.warn { border-color: #D9A72C; background: var(--gold-soft); }
.note b { color: var(--ink); }

/* ---------- 岗位报告页 ---------- */
.page-head {
  padding: 46px 0 34px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--ink-3); }
.crumb span { margin: 0 7px; }
.page-head h1 {
  font-size: 33px;
  line-height: 1.36;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -.3px;
  font-weight: 800;
}
.page-head .lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  max-width: 760px;
  line-height: 1.8;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* AI 生成内容显式标识：必须在首屏可见，不能折叠、不能只放页脚 */
.ai-mark {
  margin-top: 20px;
  max-width: 760px;
  border: 1px solid rgba(194, 47, 53, .22);
  background: rgba(242, 85, 90, .06);
  color: #A32A30;
  font-size: 13.5px;
  line-height: 1.72;
  padding: 11px 15px;
  border-radius: 9px;
}
.ai-mark b { color: #8E1F25; margin-right: 8px; }

.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 52px;
  padding: 46px 0 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  font-size: 14px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.toc-t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-3);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.toc li a {
  display: block;
  padding: 5px 0 5px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  line-height: 1.5;
}
.toc li a:hover { color: var(--brand); border-left-color: var(--brand-2); text-decoration: none; }
.toc li a b { font-weight: 600; color: var(--ink-3); font-size: 12px; margin-right: 6px; }

.article { min-width: 0; max-width: 760px; }
.article h2 {
  font-size: 24px;
  color: var(--ink);
  margin: 52px 0 6px;
  padding-top: 8px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.2px;
  scroll-margin-top: 88px;
}
.article h2:first-of-type { margin-top: 0; }
.article .mod-no {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 5px;
  padding: 1px 7px;
  margin-right: 9px;
  vertical-align: 3px;
  letter-spacing: .5px;
}
.article .mod-group {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.article h3 {
  font-size: 17.5px;
  color: var(--ink);
  margin: 30px 0 9px;
  font-weight: 700;
}
.article p { margin: 0 0 15px; }
.article ul, .article ol { margin: 0 0 15px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
/* 层级图谱这类密集短行：合成一段用 <br> 连排，行距收紧，避免一行一段把页面拉得极长 */
.article p.tight { line-height: 1.62; margin-bottom: 16px; color: var(--ink-2); }

/* 报告底部引导 */
.cta-box {
  margin-top: 56px;
  border: 1px solid #C9D4F0;
  background: linear-gradient(160deg, #F5F8FF, #FFFFFF 70%);
  border-radius: 16px;
  padding: 30px;
}
.cta-box h3 { font-size: 20px; margin-bottom: 10px; }
.cta-box p { font-size: 15.5px; margin: 0 0 18px; color: var(--ink-2); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line-soft); }
.faq-item h3 { font-size: 17px; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 15.5px; }
.faq-item p + p { margin-top: 10px; }

/* 小程序码卡：码图不加圆角，二维码留直角更利于识别 */
.code-card { margin-top: 18px; text-align: center; }
.code-card img { margin: 0 auto 14px; width: 208px; height: 208px; }
.code-card h3 { font-size: 16px; margin-bottom: 6px; }
.code-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 页脚 ---------- */
footer.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 46px 0 40px;
  font-size: 14px;
  color: var(--ink-3);
}
.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.foot h4 { font-size: 13px; color: var(--ink); margin: 0 0 12px; letter-spacing: .5px; }
.foot a { color: var(--ink-2); display: block; margin-bottom: 8px; font-size: 14px; }
.foot .about-line { line-height: 1.8; margin: 10px 0 0; max-width: 380px; }
.foot-bottom {
  max-width: 1120px;
  margin: 30px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg-soft); }
  .toc ol { border-left: 0; columns: 2; column-gap: 18px; }
  .toc li a { padding-left: 0; border-left: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16.5px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  section.block { padding: 44px 0; }
  h2.sec-title { font-size: 23px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-head { padding: 30px 0 26px; }
  .page-head h1 { font-size: 25px; }
  .article h2 { font-size: 21px; margin-top: 42px; }
  .toc ol { columns: 1; }
  .nav-links { display: none; }
  .foot-in { grid-template-columns: 1fr; gap: 24px; }
  .cta-box { padding: 24px 20px; }
}
