/* 武汉内卷信息技术有限公司 · 站点样式
   移动端优先（375px 起步），无外部字体、无 JS 依赖。 */

:root {
  --ink: #0c1322;
  --ink-2: #2b3446;
  --muted: #5d6779;
  --line: #e3e8f0;
  --line-strong: #cfd7e6;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #eef2f9;
  --brand: #1f4fd8;
  --brand-dark: #1739a3;
  --brand-soft: #eaf0ff;
  --accent: #0f8f7a;
  --accent-soft: #e6f5f1;
  --dark: #0b1428;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(12, 19, 34, .05), 0 8px 24px -12px rgba(12, 19, 34, .14);
  --max: 1120px;
  --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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(31, 79, 216, .5); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; min-width: 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); font-weight: 700; letter-spacing: .02em;
  white-space: nowrap; flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), #2f6bff 60%, #48c8b4);
  color: #fff; font-size: 14px; font-weight: 800;
  display: grid; place-items: center; letter-spacing: 0;
}
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.nav {
  display: flex; gap: 4px; margin-left: auto;
  min-width: 0; flex: 0 1 auto;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: 0 0 auto; padding: 8px 11px; border-radius: 999px;
  color: var(--ink-2); font-size: 14px; white-space: nowrap;
}
.nav a:hover { background: var(--soft-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }

/* ---------- 通用区块 ---------- */
.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #e8eefc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #9fc0ff; }

h1, h2, h3, h4 { line-height: 1.35; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: 27px; font-weight: 800; }
h2 { font-size: 21px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .3em 0; }
li::marker { color: var(--brand); }
small, .small { font-size: 13px; color: var(--muted); }
strong { font-weight: 700; }
code {
  background: var(--soft-2); border-radius: 5px; padding: 1px 5px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.eyebrow {
  display: inline-block; margin: 0 0 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase;
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 1.2em;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.section-dark .lead { color: #c7d5f5; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(52, 116, 255, .38), transparent 58%),
    radial-gradient(90% 70% at 0% 10%, rgba(15, 143, 122, .22), transparent 55%),
    linear-gradient(168deg, #0b1428 0%, #101c38 58%, #0d1830 100%);
  color: #eef3ff;
  padding: 40px 0 46px;
}
.hero h1 { font-size: 29px; color: #fff; letter-spacing: -.015em; }
.hero h1 span { color: #9dc0ff; }
.hero p { color: #c9d6f2; }
.hero .lead { color: #dbe5fa; border-left-color: #3d7bff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.hero-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px; padding: 20px 20px 18px;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .8);
}
.hero-card-title {
  margin: 0 0 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; color: #9db0d6;
}
.hero-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 11px; }
.hero-steps li { display: flex; gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.55; color: #dbe5fa; }
.hero-steps span { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #7ea6ff; letter-spacing: .06em; padding-top: 2px; }
.hero-card-note { margin: 0; font-size: 12.5px; color: #93a6c6; line-height: 1.7; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 79, 216, .9); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #e8eefc; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { background: #fff; color: var(--brand-dark); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--brand); }

/* ---------- 事实条 ---------- */
.strip {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  list-style: none; padding: 0; margin: 0;
}
.strip li {
  margin: 0; padding: 14px 16px;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.strip .k { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.strip .v { display: block; font-size: 16px; font-weight: 700; margin-top: 2px; }
.section-dark .strip li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section-dark .strip .k { color: #9db0d6; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-top: 0; }
.card-num {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 13px; font-weight: 800; margin-bottom: 10px;
}
.card-meta { font-size: 13px; color: var(--muted); margin: 0; }
.tag {
  display: inline-block; padding: 2px 9px; margin: 0 4px 4px 0;
  border-radius: 999px; background: var(--soft-2); color: var(--ink-2);
  font-size: 12px; line-height: 1.7;
}
.tag-brand { background: var(--brand-soft); color: var(--brand-dark); }
.tag-accent { background: var(--accent-soft); color: #0a6b5c; }

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto; margin: 0 0 1.4em;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
caption {
  caption-side: top; text-align: left; padding: 10px 14px;
  font-size: 13px; color: var(--muted); background: var(--soft);
  border-bottom: 1px solid var(--line);
}
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfcfe; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.faq h3 { margin: 0 0 6px; font-size: 16px; }
.faq-a { color: var(--ink-2); font-size: 15px; margin: 0; }
.faq-a strong { color: var(--ink); }

hr {
  border: 0; border-top: 1px solid var(--line);
  margin: 40px 0; 
}

/* ---------- 提示框 ---------- */
blockquote {
  margin: 0 0 1.4em; padding: 14px 18px;
  background: var(--soft); border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2); font-size: 15px;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }

/* 参考资料 */
.refs { font-size: 14px; }
.refs li { margin: .35em 0; }
.refs a { word-break: break-all; }

.notice {
  border: 1px solid #f2d9a8; background: #fffaf0;
  border-left: 4px solid #d99b1f;
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 1.4em;
  font-size: 14px; color: #6b4d10;
}
.notice strong { color: #4d3708; }
.notice-info { border-color: #c9d8ff; border-left-color: var(--brand); background: #f4f7ff; color: #1c3573; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* ---------- 内页头部 ---------- */
.page-head {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 30px;
}
.page-head h1 { font-size: 26px; }
.page-head .lead { max-width: 62ch; }

/* ---------- 流程 ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  position: relative; padding: 0 0 18px 40px;
  border-left: 2px solid var(--line); margin-left: 13px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -14px; top: -2px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--brand);
  color: var(--brand-dark); font-size: 13px; font-weight: 800;
}
.steps b { display: block; margin-bottom: 2px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 8px; padding: 34px 0 28px;
  background: var(--dark); color: #a9b8d6; font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer a { color: #d6e2fb; }
.footer-top { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 22px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 16px; }
.footer-brand span { display: block; font-size: 12.5px; font-weight: 500; color: #93a6c6; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-nav a { color: #a9b8d6; font-size: 13.5px; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 16px; font-size: 12.5px; color: #8296b8; line-height: 1.9;
}
.footer-legal p { margin: 0 0 4px; }
.icp {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .35); color: #cfdcf5;
}

/* FAQ 分组间距 */
div.faq + h2 { margin-top: 2.1em; }

/* 长文阅读宽度与右侧目录 */
.article-layout { display: grid; gap: 40px; }
.toc { display: none; }
.toc-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0 0 12px; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 7px 0 7px 12px; margin-left: -2px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  border-left: 2px solid transparent;
}
.toc a:hover { color: var(--brand); border-left-color: var(--brand); text-decoration: none; }
.toc-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.7; }

@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 214px; gap: 56px; align-items: start; }
  .toc { display: block; position: sticky; top: 88px; }
}

@media (min-width: 900px) {
  .article > p,
  .article > ul,
  .article > ol,
  .article > blockquote,
  .article > h2,
  .article > h3,
  .article > hr { max-width: 800px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 619px) {
  /* 手机上导航换行到第二行，避免挤压品牌名与横向溢出 */
  .header-inner { flex-wrap: wrap; gap: 0; padding-bottom: 6px; }
  .brand { width: 100%; min-height: 44px; }
  .nav { width: 100%; margin-left: 0; padding: 2px 0 4px; }
  .nav a { padding: 7px 10px; font-size: 13.5px; }
  .hero h1 { font-size: 25px; }
  .hero h1 br { display: none; }
  .hero h1 span { display: block; font-size: 21px; margin-top: 6px; }
  table { font-size: 13.5px; }
  th, td { padding: 9px 11px; }

  /* 手机上表格需要横向滑动，给一条可见提示 */
  .table-wrap { position: relative; scrollbar-width: thin; }
  .table-wrap::before {
    content: "表格可左右滑动查看 →";
    position: sticky; left: 0; z-index: 2;
    display: block; width: 100%;
    padding: 5px 14px;
    font-size: 11.5px; letter-spacing: .02em; font-weight: 600;
    color: var(--brand-dark); background: #edf2ff; border-bottom: 1px solid #dbe4fb;
  }
}

@media (min-width: 620px) {
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .hero h1 { font-size: 36px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
  body { font-size: 16.5px; }
  .section { padding: 60px 0; }
  .hero { padding: 58px 0 64px; }
  .hero h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .62fr); align-items: center; gap: 52px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .page-head h1 { font-size: 34px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .lead { font-size: 18.5px; }
  .container { padding: 0 32px; }
  .nav a { padding: 8px 13px; font-size: 14.5px; }
}

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

@media print {
  .site-header, .hero-actions, .site-footer { display: none; }
  body { color: #000; }
}
