/* ============================================================
   科化圈 · 概念验证 IP 服务站点
   设计系统 v1.0 ｜ 2026-11-04
   原则：商务极简、无渐变、无阴影、细线分割、大量留白
   ============================================================ */

:root {
  /* 色彩 */
  --ink:        #14161A;
  --ink-2:      #4A4F57;
  --ink-3:      #7A8088;
  --ink-4:      #A8ADB5;
  --line:       #E4E6EA;
  --line-2:     #EFF1F3;
  --bg:         #FFFFFF;
  --bg-2:       #F7F8FA;
  --bg-3:       #F1F3F6;
  --brand:      #1E2A78;
  --brand-2:    #2A3A9B;
  --brand-soft: #EDEFF7;
  --accent:     #DC2626;
  --accent-soft:#FBECEC;
  --ok:         #0F6E56;
  --ok-soft:    #E8F3EF;

  /* 排版 */
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 布局 */
  --wrap: 1120px;
  --gap: 24px;
  --radius: 4px;

  /* 节奏 */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px;
  --s5: 64px; --s6: 96px; --s7: 128px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #fff; }

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo strong {
  font-size: 17px; font-weight: 700; color: var(--brand); letter-spacing: .5px;
}
.logo span { font-size: 12px; color: var(--ink-3); letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); padding: 4px 0;
  border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.nav-links a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.nav-links a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-cta {
  font-size: 14px; padding: 8px 18px; background: var(--brand); color: #fff !important;
  border-radius: var(--radius); border-bottom: none !important;
}
.nav-cta:hover { background: var(--brand-2); }
.nav-toggle { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  transition: background .18s, border-color .18s, color .18s; cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { font-size: 14px; padding: 9px 18px; }

/* ---------- 区块 ---------- */
.section { padding: var(--s6) 0; }
.section-sm { padding: var(--s5) 0; }
.section-bg { background: var(--bg-2); }
.section-dark { background: var(--brand); color: #fff; }

.kicker {
  font-size: 12px; letter-spacing: 2px; color: var(--brand);
  text-transform: uppercase; font-weight: 700; margin-bottom: var(--s2);
}

h1 { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.28; font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; font-weight: 700; letter-spacing: -.3px; }
h3 { font-size: 17px; line-height: 1.5; font-weight: 700; }
h4 { font-size: 15px; line-height: 1.5; font-weight: 700; }

.lead { font-size: 17px; color: var(--ink-2); line-height: 1.8; }
.muted { color: var(--ink-3); font-size: 14px; }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

.sec-head { max-width: 760px; margin-bottom: var(--s4); }
.sec-head h2 + p { margin-top: var(--s2); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 var(--s6); border-bottom: 1px solid var(--line); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brand); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 100px; margin-bottom: var(--s3);
}
.hero-tag i { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; display: block; }
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 680px; margin-top: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero-note { margin-top: var(--s2); font-size: 13px; color: var(--ink-3); }

/* ---------- 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s3) var(--s3) var(--s3) 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: clamp(24px, 3vw, 32px); color: var(--brand); font-family: var(--font-num); font-weight: 700; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* ---------- 三问卡片 ---------- */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.q-card {
  border: 1px solid var(--line); border-top: 2px solid var(--brand);
  padding: var(--s3); background: #fff;
  transition: border-color .2s, transform .2s;
}
.q-card:hover { border-color: var(--brand); }
.q-card .q-no {
  font-family: var(--font-num); font-size: 12px; color: var(--ink-4);
  letter-spacing: 1px; margin-bottom: 10px; display: block;
}
.q-card h3 { color: var(--brand); margin-bottom: 10px; }
.q-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.q-card .q-out {
  margin-top: var(--s2); padding-top: var(--s2); border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ok); line-height: 1.7;
}

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th {
  background: var(--brand); color: #fff; text-align: left; font-weight: 700;
  font-size: 13.5px; padding: 13px 16px;
}
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl tr:hover td { background: var(--bg-2); }
.tbl td:first-child { color: var(--ink); font-weight: 700; }
.tbl .num { font-family: var(--font-num); color: var(--brand); white-space: nowrap; font-size: 13.5px; }

/* ---------- 清单 ---------- */
.list { list-style: none; }
.list li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: 15px; color: var(--ink-2); line-height: 1.8;
}
.list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; background: var(--brand); border-radius: 50%;
}
.list-ok li::before { background: var(--ok); }
.list-x li::before { background: var(--accent); }

/* ---------- 两栏 ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.two-wide { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s5); }

/* ---------- 承诺块 ---------- */
.pledge { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.pledge-item { border-left: 2px solid var(--brand); padding-left: var(--s2); }
.pledge-item h4 { margin-bottom: 8px; color: var(--brand); }
.pledge-item p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
  padding: 20px 40px 20px 0; position: relative; line-height: 1.6;
}
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 18px;
  font-size: 20px; font-weight: 400; color: var(--brand);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 40px 22px 0; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA ---------- */
.cta { padding: var(--s6) 0; background: var(--brand); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.8); margin-top: var(--s2); max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
.cta .btn:hover { background: #E8EAF3; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- 页脚 ---------- */
.footer { background: #0F1436; color: rgba(255,255,255,.7); padding: var(--s5) 0 var(--s3); }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s4); }
.footer h5 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: .5px; }
.footer a { color: rgba(255,255,255,.7); font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .fbrand { font-size: 17px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer .fdesc { font-size: 13.5px; line-height: 1.8; max-width: 320px; }
.footer-btm {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- 表单 ---------- */
.form { display: grid; gap: var(--s2); max-width: 560px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; outline: none; transition: border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
}
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }
.form-note { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 面包屑 / 内页头 ---------- */
.page-head { padding: var(--s5) 0 var(--s4); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); }
.page-head .lead { margin-top: var(--s2); max-width: 700px; }

/* ---------- 步骤条 ---------- */
.steps { counter-reset: s; display: grid; gap: var(--s3); }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-family: var(--font-num);
  font-size: 13px; color: var(--brand); border: 1px solid var(--brand);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 提示条 ---------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: var(--bg-2); padding: var(--s2) var(--s3); font-size: 14px;
  color: var(--ink-2); line-height: 1.8;
}
.notice-warn { border-left-color: var(--accent); background: var(--accent-soft); }

/* ---------- 标签 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 100px; background: #fff;
}
.tag-b { color: var(--brand); border-color: var(--brand-soft); background: var(--brand-soft); }


/* ---------- 政策解读：文章版式 ---------- */
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--s3); }

.post-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-size: 13px; color: var(--ink-3); margin-top: 18px;
}
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

.post-body { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.post-body > p { margin: 0 0 22px; }
.post-body h3 {
  font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--ink);
  margin: 38px 0 14px; letter-spacing: -0.2px;
}
.post-body h3:first-child { margin-top: 0; }
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body .list { margin: 0 0 22px; }
.post-body .list li { font-size: 16px; }
.post-body .notice { margin: 28px 0; }

.post-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px;
}
.post-nav a { color: var(--brand); text-decoration: none; max-width: 46%; }
.post-nav a:hover { text-decoration: underline; }
.post-nav .disabled { color: var(--ink-4); }

/* ---------- 列表页：卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card {
  display: block; text-decoration: none; background: var(--bg);
  border: 1px solid var(--line); padding: 22px 24px 24px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card-no {
  font-family: var(--font-num); font-size: 11.5px; letter-spacing: 1.5px;
  color: var(--brand); font-weight: 700;
}
.card h3 {
  font-size: 16px; line-height: 1.55; font-weight: 700; color: var(--ink);
  margin: 10px 0 12px;
}
.card p { font-size: 13.5px; line-height: 1.72; color: var(--ink-3); margin: 0; }

.series-block { margin-bottom: var(--s5); }
.series-title {
  font-size: 12.5px; letter-spacing: 2px; color: var(--brand); font-weight: 700;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-soft);
}

/* ---------- 术语表 ---------- */
.gloss-group { margin-bottom: var(--s5); }
.gloss-item { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.gloss-item:first-of-type { border-top: 1px solid var(--line-2); }
.gloss-term {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.gloss-term em { font-style: normal; font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.gloss-def { font-size: 15px; line-height: 1.85; color: var(--ink-2); margin: 0; }

/* ---------- 数据表附加说明 ---------- */
.data-note { font-size: 12.5px; line-height: 1.75; color: var(--ink-3); margin-top: 12px; }
.tbl-wrap { overflow-x: auto; }
.tbl th { text-align: left; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .footer-in { grid-template-columns: 1fr 1fr; }
  .two, .two-wide { grid-template-columns: 1fr; gap: var(--s4); }
  .q-grid { grid-template-columns: 1fr; }
  .pledge { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: var(--s2) 0; }
  .stat:nth-child(2n) { padding-left: var(--s3); border-left: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: var(--s2) var(--s3);
  }
  .nav-links.open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav-links.open a.nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line);
    width: 38px; height: 34px; border-radius: var(--radius); cursor: pointer;
    position: relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 16px; height: 1.5px; background: var(--ink);
    position: absolute; left: 10px; content: "";
  }
  .nav-toggle span { top: 16px; }
  .nav-toggle span::before { top: -5px; left: 0; }
  .nav-toggle span::after { top: 5px; left: 0; }
  .section { padding: var(--s5) 0; }
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .footer-in { grid-template-columns: 1fr; }

  /* ---------- 文章页移动端版式 ---------- */
  .crumbs { padding-top: 14px; font-size: 12.5px; }
  .page-head { padding: var(--s4) 0 var(--s3); }
  .page-head h1 { font-size: 23px; line-height: 1.42; }
  .kicker { margin-bottom: var(--s2); }
  .post-meta { gap: 6px 14px; font-size: 12.5px; margin-top: 14px; }
  .section-sm { padding: var(--s4) 0; }
  .wrap-narrow { padding: 0 20px; }
  .post-body { font-size: 16px; line-height: 1.9; overflow-wrap: break-word; }
  .post-body > p { margin-bottom: 18px; }
  .post-body h3 { font-size: 18px; margin: 30px 0 12px; }
  .post-body .list li { font-size: 15.5px; }
  .post-body .notice { margin: 22px 0; }
  .post-nav { flex-direction: column; gap: 12px; margin-top: 40px; }
  .post-nav a, .post-nav .disabled { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* 打印 */
@media print {
  .nav, .cta, .footer, .hero-actions { display: none; }
  body { font-size: 11pt; }
}

/* 备案号：页脚内联展示 */
.footer-btm a.beian { display: inline; margin: 0; font-size: 12.5px; color: rgba(255,255,255,.45); text-decoration: none; }
.footer-btm a.beian:hover { color: rgba(255,255,255,.8); text-decoration: underline; }

/* 面包屑（与 .wrap 搭配使用，横向内边距由 .wrap 提供，避免双重缩进） */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 20px 0 0; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs-sep { margin: 0 8px; color: var(--ink-4); }
