/* ==========================================================
   守矩官网 - 样式
   设计取向：首屏深色建立专业感，正文区白底保证长文可读；
   全部用 CSS 实现，不依赖任何图片，LCP 就是文字本身。
   ========================================================== */

:root {
  --pri: #2563eb;
  --pri-d: #1d4ed8;
  --pri-l: #eff6ff;
  --ink: #0f172a;
  --ink2: #334155;
  --sub: #64748b;
  --sub2: #94a3b8;
  --line: #e2e8f0;
  --line2: #cbd5e1;
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --card: #ffffff;
  --pass: #16a34a;
  --pass-l: #f0fdf4;
  --fail: #dc2626;
  --fail-l: #fef2f2;
  --warn: #ea580c;
  --hero-bg: #0a1018;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 20px 48px -20px rgba(15, 23, 42, .2);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--card);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pri); text-decoration: none; }
a:hover { color: var(--pri-d); }
img { max-width: 100%; height: auto; }
b, strong { font-weight: 650; }
button { font-family: inherit; cursor: pointer; }

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

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: all .16s ease; white-space: nowrap;
}
.btn-primary { background: var(--pri); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .3); }
.btn-primary:hover { background: var(--pri-d); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(37, 99, 235, .5); }
.btn-line { background: #fff; color: var(--ink2); border-color: var(--line2); }
.btn-line:hover { border-color: var(--pri); color: var(--pri); }
.btn-ghost { background: transparent; color: #cbd5e1; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 11px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center-row { justify-content: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.center { text-align: center; }
.dim { color: var(--sub); }
.red { color: var(--fail); }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 16, 24, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.brand:hover { color: #fff; }
.brand-mark { display: inline-flex; }
.brand-text { line-height: 1; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 7px 13px; border-radius: 8px; color: #a9b6c9; font-size: 14.5px; font-weight: 500;
  transition: all .14s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a.on { color: #fff; background: rgba(37, 99, 235, .28); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { padding: 8px 16px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #cbd5e1; margin: 4px 0; border-radius: 2px; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 15% -10%, rgba(37, 99, 235, .32), transparent 62%),
    radial-gradient(700px 400px at 92% 8%, rgba(14, 165, 233, .16), transparent 60%),
    linear-gradient(180deg, #0a1018 0%, #0c1526 58%, #0a1018 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 420px at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 420px at 50% 0%, #000 10%, transparent 78%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px;
  align-items: center; padding-top: 84px; padding-bottom: 92px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 9px; border-radius: 999px;
  background: rgba(37, 99, 235, .16); border: 1px solid rgba(96, 165, 250, .3);
  color: #bfdbfe; font-size: 13px; margin-bottom: 22px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
.hero h1 { font-size: 46px; line-height: 1.22; letter-spacing: -.5px; font-weight: 750; }
.hero-sub { margin-top: 20px; font-size: 17px; line-height: 1.85; color: #b6c2d4; max-width: 560px; }
.hero .btn-row { margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 13px; color: #7d8ba1; }
.hero .btn-line { background: rgba(255, 255, 255, .06); color: #e2e8f0; border-color: rgba(255, 255, 255, .18); }
.hero .btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* 首屏右侧：自检报告示意卡 */
.report-card {
  background: rgba(13, 21, 35, .86); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 18px 20px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
}
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rc-title { font-size: 13px; font-weight: 600; color: #e2e8f0; letter-spacing: .3px; }
.rc-tag { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.rc-tag.fail { background: rgba(220, 38, 38, .18); color: #fca5a5; border: 1px solid rgba(248, 113, 113, .3); }
.rc-row { display: flex; justify-content: space-between; font-size: 12px; color: #7d8ba1; padding: 10px 0 4px; }
.rc-k { color: #7d8ba1; } .rc-v { color: #cbd5e1; }
.rc-line { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; font-size: 13px; line-height: 1.6; }
.rc-ic { flex: none; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-top: 2px; }
.rc-line.fail .rc-ic { background: rgba(220, 38, 38, .2); color: #fca5a5; }
.rc-line.pass .rc-ic { background: rgba(22, 163, 74, .2); color: #86efac; }
.rc-line.fail .rc-txt { color: #f1d5d5; }
.rc-line.pass .rc-txt { color: #b6c2d4; }
.rc-line b { font-variant-numeric: tabular-nums; }
.rc-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 5px; }
.rc-lock { font-size: 12.5px; color: #fdba74; }
.rc-mute { font-size: 11.5px; color: #64748b; }

/* ---------------- 区块 ---------------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--pri); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.sec h2, .page-head h1 { font-size: 34px; line-height: 1.3; font-weight: 720; letter-spacing: -.4px; }
.sec-sub { margin-top: 14px; font-size: 16px; color: var(--sub); line-height: 1.85; }
.more { font-size: 14.5px; font-weight: 600; white-space: nowrap; }

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

.pcard {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); position: relative; overflow: hidden;
}
.pcard::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--fail); transition: height .3s; }
.pcard:hover::after { height: 100%; }
.pcard-n { font-size: 12px; font-weight: 800; color: var(--sub2); letter-spacing: 1px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.pcard h3 { font-size: 17px; font-weight: 680; line-height: 1.5; margin-bottom: 10px; }
.pcard p { font-size: 14.5px; color: var(--sub); line-height: 1.8; }

.fcard {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); transition: all .18s;
}
.fcard:hover { border-color: #c7d7fe; box-shadow: var(--shadow); transform: translateY(-2px); }
.fcard h3 { font-size: 17.5px; font-weight: 680; margin-bottom: 11px; display: flex; align-items: center; gap: 8px; }
.fcard h3::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--pri); flex: none; }
.fcard p { font-size: 14.5px; color: var(--sub); line-height: 1.82; }

/* ---------------- 四步流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow-item { padding: 0 26px 0 0; position: relative; }
.flow-item:not(:last-child)::after {
  content: "→"; position: absolute; right: 10px; top: 4px; color: var(--line2); font-size: 18px;
}
.flow-n {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--pri-l); color: var(--pri); font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.flow-item h3 { font-size: 16.5px; font-weight: 680; margin-bottom: 9px; }
.flow-item p { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--bg2); font-weight: 650; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover { background: #fbfdff; }
.cmp td:first-child { color: var(--ink2); }
.cmp .y { color: var(--pass); font-weight: 700; }
.cmp .n { color: var(--sub2); }
.cmp .hl, .cmp th.hl { background: var(--pri-l); }
.cmp-table .c { text-align: center; }
.cmp-table td:first-child { font-size: 14px; }

/* ---------------- 上手三步 ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); position: relative; }
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 680; margin-bottom: 9px; }
.step p { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* ---------------- 价格 ---------------- */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; }
.price-duo-lg { max-width: 940px; margin: 0 auto 20px; }
.pbox {
  position: relative; padding: 34px 30px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); display: flex; flex-direction: column;
}
.pbox.pro { border: 2px solid var(--pri); box-shadow: 0 20px 50px -28px rgba(37, 99, 235, .5); }
.pbox-badge {
  position: absolute; top: -12px; right: 22px; background: var(--pri); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.pbox h2, .pbox h3 { font-size: 19px; font-weight: 700; }
.pbox-price { margin: 14px 0 4px; font-size: 42px; font-weight: 780; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.pbox-price .cur { font-size: 22px; font-weight: 600; vertical-align: 8px; margin-right: 2px; }
.pbox-price .unit { font-size: 15px; font-weight: 500; color: var(--sub); letter-spacing: 0; }
.pbox-sub { font-size: 13.5px; color: var(--sub); margin-bottom: 22px; }
.plist { list-style: none; margin-bottom: 22px; flex: 1; }
.plist li { position: relative; padding: 7px 0 7px 24px; font-size: 14.5px; color: var(--ink2); line-height: 1.7; }
.plist li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px;
  border-left: 2px solid var(--pass); border-bottom: 2px solid var(--pass); transform: rotate(-45deg);
}
.pbox-fit { font-size: 13px; color: var(--sub); background: var(--bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 18px; }

/* ---------------- FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 11px; background: var(--card); overflow: hidden; transition: border-color .16s; }
.faq-item[open] { border-color: #c7d7fe; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3, .faq-item summary h2 { font-size: 15.5px; font-weight: 640; line-height: 1.6; margin: 0; }
.faq-ic { flex: none; width: 18px; height: 18px; position: relative; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; background: var(--sub); border-radius: 2px; transition: transform .2s;
}
.faq-ic::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-ic::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { font-size: 14.5px; color: var(--sub); line-height: 1.85; }
.faq-group { margin-bottom: 34px; }
.faq-group > h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ---------------- 文章卡片 ---------------- */
.acards { gap: 18px; }
.acard {
  display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card); color: inherit; transition: all .18s;
}
.acard:hover { border-color: #c7d7fe; box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.acard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.acard-cat { font-size: 12px; font-weight: 650; color: var(--pri); background: var(--pri-l); padding: 3px 9px; border-radius: 6px; }
.acard-top time { font-size: 12.5px; color: var(--sub2); }
.acard h3 { font-size: 17px; font-weight: 680; line-height: 1.55; margin-bottom: 9px; }
.acard p { font-size: 14px; color: var(--sub); line-height: 1.8; flex: 1; }
.acard-bot { display: flex; align-items: center; gap: 6px; margin-top: 15px; flex-wrap: wrap; }
.acard-meta { margin-left: auto; font-size: 12px; color: var(--sub2); white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--bg2); color: var(--sub); font-size: 12px; border: 1px solid transparent; transition: all .14s;
}
a.chip:hover, .chip.on { background: var(--pri-l); color: var(--pri); border-color: #dbeafe; }
.chip i { font-style: normal; opacity: .6; font-size: 11px; }

/* ---------------- 面包屑 ---------------- */
.crumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13px; color: var(--sub); padding: 26px 0 0; }
.crumb .sep { color: var(--sub2); }
.crumb span[aria-current] { color: var(--ink2); }

/* ---------------- 页头 ---------------- */
.page-head { padding: 26px 0 40px; }
.page-lead { margin-top: 16px; font-size: 17px; color: var(--sub); line-height: 1.85; max-width: 720px; }
.center-head { text-align: center; }
.center-head .page-lead { margin-left: auto; margin-right: auto; }

/* ---------------- 文章列表页 ---------------- */
.blog-page { padding-bottom: 80px; }
.blog-head { padding: 26px 0 30px; }
.blog-head h1 { font-size: 32px; font-weight: 720; letter-spacing: -.3px; }
.blog-sub { margin-top: 12px; font-size: 15.5px; color: var(--sub); line-height: 1.8; }
.blog-layout { display: grid; grid-template-columns: 1fr 288px; gap: 40px; align-items: start; }
.blog-side, .post-side { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 16px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--card); }
.side-box h2 { font-size: 14px; font-weight: 700; color: var(--ink2); margin-bottom: 14px; letter-spacing: .3px; }
.side-search { display: flex; gap: 8px; }
.side-search input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; outline: none;
}
.side-search input:focus { border-color: var(--pri); }
.side-search .btn { padding: 9px 15px; font-size: 14px; }
.side-list { list-style: none; }
.side-list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink2); transition: all .13s;
}
.side-list li a:hover { background: var(--bg2); color: var(--pri); }
.side-list li a.on { background: var(--pri-l); color: var(--pri); font-weight: 600; }
.side-list li a span { font-size: 12px; color: var(--sub2); font-variant-numeric: tabular-nums; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.side-cta p { font-size: 13.5px; color: var(--sub); line-height: 1.75; margin-bottom: 14px; }
.side-rel { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.side-rel li a { display: block; font-size: 14px; line-height: 1.65; color: var(--ink2); font-weight: 550; }
.side-rel li a:hover { color: var(--pri); }
.side-rel li span { display: block; margin-top: 4px; font-size: 12px; color: var(--sub2); }

/* 分页 */
.pager { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 36px; }
.pg {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px; font-size: 14px; color: var(--ink2); background: var(--card);
}
.pg:hover { border-color: var(--pri); color: var(--pri); }
.pg.on { background: var(--pri); border-color: var(--pri); color: #fff; font-weight: 650; }
.pg-info { margin-left: auto; font-size: 13px; color: var(--sub2); }
.empty { padding: 60px 24px; text-align: center; border: 1px dashed var(--line2); border-radius: var(--radius); }
.empty p { color: var(--sub); margin-bottom: 8px; }

/* ---------------- 文章详情 ---------------- */
.post-page { padding-bottom: 80px; }
.post-layout { display: grid; grid-template-columns: 1fr 268px; gap: 48px; align-items: start; margin-top: 20px; }
.post-body { min-width: 0; }
.post-cat {
  display: inline-block; font-size: 12.5px; font-weight: 650; color: var(--pri);
  background: var(--pri-l); padding: 4px 11px; border-radius: 6px; margin-bottom: 16px;
}
.post-head h1 { font-size: 36px; line-height: 1.32; font-weight: 750; letter-spacing: -.6px; }
.post-summary {
  margin-top: 18px; font-size: 16.5px; color: var(--sub); line-height: 1.85;
  padding-left: 16px; border-left: 3px solid var(--line2);
}
.post-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--sub2); }
.dot-sep { color: var(--line2); }
.toc-mobile { display: none; margin: 24px 0; border: 1px solid var(--line); border-radius: 11px; padding: 12px 16px; }
.toc-mobile summary { font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink2); }
.toc-mobile ol { margin: 12px 0 4px 20px; font-size: 13.5px; line-height: 2; }
.toc-mobile ol a { color: var(--sub); }

/* 正文排版 */
.prose { margin-top: 34px; font-size: 16.5px; line-height: 1.95; color: var(--ink2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: 23px; font-weight: 700; line-height: 1.45; color: var(--ink);
  margin-top: 2.1em; margin-bottom: .7em; letter-spacing: -.2px; scroll-margin-top: 84px;
}
.prose h3 { font-size: 18.5px; font-weight: 680; color: var(--ink); margin-top: 1.7em; margin-bottom: .55em; }
.prose h4 { font-size: 16.5px; font-weight: 680; color: var(--ink); margin-top: 1.4em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sub2); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-decoration-color: #bfdbfe; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose blockquote {
  margin: 1.6em 0; padding: 14px 20px; border-left: 3px solid var(--pri);
  background: var(--pri-l); border-radius: 0 10px 10px 0; color: var(--ink2); font-size: 15px;
}
.prose blockquote p { font-size: 15px; }
.prose blockquote.disclaimer {
  border-left-color: var(--line2); background: var(--bg); color: var(--sub);
  font-size: 13.5px; line-height: 1.85;
}
.prose blockquote.disclaimer p { font-size: 13.5px; }
.prose code {
  background: var(--bg2); padding: 2px 6px; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; color: #be185d;
}
.prose pre {
  background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 11px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.7;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose .table-wrap { margin: 1.6em 0; }

/* 【一句话答案】 */
.tldr {
  position: relative; margin: 1.5em 0 !important; padding: 18px 22px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe; border-radius: 12px;
  font-size: 16.5px; line-height: 1.85; color: var(--ink); font-weight: 500;
}
.tldr-label {
  display: block; font-size: 11.5px; font-weight: 700; color: var(--pri);
  letter-spacing: 1.2px; margin-bottom: 7px;
}

.post-faq { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.post-faq > h2 { font-size: 21px; font-weight: 700; margin-bottom: 18px; }
.post-end { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-foot-note { font-size: 13px; color: var(--sub2); }
.post-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.pn {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--card); transition: all .16s;
}
.pn:hover { border-color: #c7d7fe; box-shadow: var(--shadow); }
.pn-label { font-size: 12px; color: var(--sub2); }
.pn-title { font-size: 14.5px; font-weight: 600; color: var(--ink2); line-height: 1.6; }
.pn-next { text-align: right; }
.post-cta {
  margin-top: 34px; padding: 28px 30px; border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #16233d 100%); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.post-cta h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.post-cta p { font-size: 14px; color: #a9b6c9; }
.post-cta .btn-line { background: rgba(255, 255, 255, .08); color: #e2e8f0; border-color: rgba(255, 255, 255, .2); }

.toc-box { max-height: calc(100vh - 120px); overflow: auto; }
.toc-list { list-style: none; counter-reset: toc; font-size: 13.5px; line-height: 1.7; }
.toc-list li { padding: 5px 0 5px 0; }
.toc-list a { color: var(--sub); display: block; padding-left: 2px; border-left: 2px solid transparent; padding-left: 10px; transition: all .14s; }
.toc-list a:hover { color: var(--pri); border-left-color: var(--pri); }

/* ---------------- 功能页 ---------------- */
.page-features { padding-bottom: 80px; }
.feat-layout { display: grid; grid-template-columns: 236px 1fr; gap: 48px; align-items: start; }
.feat-toc { position: sticky; top: 82px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; background: var(--card); }
.feat-toc-t { font-size: 12px; font-weight: 700; color: var(--sub2); letter-spacing: 1.2px; margin-bottom: 12px; }
.feat-toc ol { list-style: none; font-size: 14px; }
.feat-toc li a { display: flex; gap: 9px; padding: 7px 0; color: var(--ink2); line-height: 1.5; }
.feat-toc li a:hover { color: var(--pri); }
.ft-n { font-size: 11.5px; color: var(--sub2); font-weight: 700; padding-top: 2px; font-variant-numeric: tabular-nums; }
.feat-sec { padding: 20px 0 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.feat-sec:last-of-type { border-bottom: 0; }
.feat-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feat-n {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--pri-l); color: var(--pri); font-weight: 800; font-size: 14px;
}
.feat-sec h2 { font-size: 25px; font-weight: 720; letter-spacing: -.3px; }
.feat-lead { font-size: 16.5px; font-weight: 550; color: var(--ink); line-height: 1.8; margin-bottom: 16px; }
.feat-sec > p { font-size: 15.5px; color: var(--ink2); line-height: 1.9; margin-bottom: 12px; }
.feat-points { list-style: none; margin-top: 18px; background: var(--bg); border-radius: 11px; padding: 16px 20px; }
.feat-points li { position: relative; padding: 6px 0 6px 20px; font-size: 14.5px; color: var(--ink2); line-height: 1.75; }
.feat-points li::before { content: "·"; position: absolute; left: 6px; color: var(--pri); font-weight: 900; }
.feat-points.no { background: var(--fail-l); }
.feat-points.no li::before { content: "✕"; color: var(--fail); font-size: 11px; left: 4px; }
.feat-note { margin-top: 16px; font-size: 13px; color: var(--sub2); }
.feat-none h2 { font-size: 25px; font-weight: 720; margin-bottom: 12px; }
.feat-end { margin-top: 30px; padding: 32px; border-radius: 16px; background: var(--bg); text-align: center; }
.feat-end h2 { font-size: 23px; font-weight: 720; margin-bottom: 10px; }
.feat-end p { font-size: 15px; color: var(--sub); margin-bottom: 20px; line-height: 1.8; }
.feat-end .btn-row { justify-content: center; }

/* ---------------- 关于 ---------------- */
.page-about, .page-legal, .page-faq, .page-pricing { padding-bottom: 80px; }
.about-prose { max-width: 100%; }
.about-prose h2:first-child { margin-top: 0; }
.contact-list { list-style: none; }
.contact-list li { padding: 7px 0; font-size: 15.5px; }
.about-box { margin-top: 44px; padding: 24px 26px; background: var(--bg); border-radius: var(--radius); border-left: 3px solid var(--line2); }
.about-box h2 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--ink2); }
.about-box p { font-size: 13.5px; color: var(--sub); line-height: 1.85; }
.legal-prose { font-size: 15.5px; }
.legal-prose h2 { font-size: 19px; margin-top: 1.9em; }
.legal-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub2); }

.cta-final {
  padding: 72px 0; text-align: center;
  background: linear-gradient(180deg, #0a1018 0%, #0e1929 100%); color: #fff;
}
.cta-final h2 { font-size: 32px; font-weight: 740; line-height: 1.35; letter-spacing: -.4px; max-width: 720px; margin: 0 auto; }
.cta-final p { margin-top: 16px; font-size: 16px; color: #98a6ba; }
.cta-final .btn-row { margin-top: 28px; }
.cta-final .btn-line { background: rgba(255, 255, 255, .07); color: #e2e8f0; border-color: rgba(255, 255, 255, .2); }
.cta-final .btn-line:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-inline { border-radius: 16px; padding: 48px 32px; margin-top: 50px; }

/* ---------------- 404 ---------------- */
.page-404 { text-align: center; padding: 100px 24px 120px; }
.p404-code { font-size: 72px; font-weight: 800; color: var(--line2); line-height: 1; letter-spacing: -2px; }
.page-404 h1 { font-size: 28px; font-weight: 720; margin: 16px 0 12px; }
.page-404 p { color: var(--sub); margin-bottom: 26px; }

/* ---------------- 页脚 ---------------- */
.foot { background: #0a1018; color: #8b99ad; padding: 60px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-desc { font-size: 13.5px; line-height: 1.85; margin-bottom: 8px; }
.foot-desc.dim { color: #6b7889; font-size: 12.5px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 { font-size: 12.5px; font-weight: 700; color: #d1d9e4; letter-spacing: 1px; margin-bottom: 4px; }
.foot-col a, .foot-static { font-size: 13.5px; color: #8b99ad; }
.foot-col a:hover { color: #fff; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 30px; }
.disclaimer-line { font-size: 12px; line-height: 1.85; color: #6b7889; margin-bottom: 12px; }
.disclaimer-line strong { color: #8b99ad; }
.copy { font-size: 12.5px; color: #6b7889; }
.copy a { color: #8b99ad; }
.copy a:hover { color: #fff; }

/* ---------------- 留资弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(8, 12, 20, .62); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px;
  padding: 30px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  animation: pop .2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-x { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 24px; line-height: 1; color: var(--sub2); padding: 4px 8px; }
.modal-x:hover { color: var(--ink); }
.modal-box h2 { font-size: 21px; font-weight: 720; margin-bottom: 8px; }
.modal-sub { font-size: 13.5px; color: var(--sub); line-height: 1.75; margin-bottom: 20px; }
.modal-box label { display: block; font-size: 13px; color: var(--ink2); font-weight: 550; margin-bottom: 14px; }
.modal-box input, .modal-box textarea {
  display: block; width: 100%; margin-top: 7px; padding: 10px 13px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; font-family: inherit; outline: none; resize: vertical;
}
.modal-box input:focus, .modal-box textarea:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.modal-tip { font-size: 12px; color: var(--sub2); margin-top: 12px; line-height: 1.7; text-align: center; }
.modal-ok { text-align: center; padding: 20px 0 8px; }
.ok-mark {
  width: 52px; height: 52px; border-radius: 50%; background: var(--pass-l); color: var(--pass);
  display: grid; place-items: center; font-size: 26px; margin: 0 auto 14px;
}
.modal-ok p { font-size: 15px; color: var(--ink2); }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .flow-item:nth-child(2)::after { display: none; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 70px; }
  .hero h1 { font-size: 36px; }
  .hero-r { max-width: 460px; }
  .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .blog-side, .post-side { position: static; }
  .post-side { display: none; }
  .toc-mobile { display: block; }
  .feat-layout { grid-template-columns: 1fr; gap: 26px; }
  .feat-toc { position: static; }
  .feat-toc ol { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .faq-two { grid-template-columns: 1fr; }
  .price-duo { grid-template-columns: 1fr; max-width: 460px; }
  .post-head h1 { font-size: 29px; }
  .post-layout { margin-top: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .nav-in { gap: 12px; height: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links, .nav.open .nav-cta {
    display: flex; position: absolute; left: 0; right: 0; top: 56px;
    background: #0c1526; flex-direction: column; padding: 12px 18px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1); gap: 2px;
  }
  .nav.open .nav-cta { flex-direction: row; top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }
  .nav.open .nav-links a { padding: 11px 12px; }
  .hero h1 { font-size: 28px; letter-spacing: -.3px; }
  .hero-sub { font-size: 15.5px; }
  .hero-in { padding-top: 44px; padding-bottom: 54px; }
  .br-pc { display: none; }
  .btn-lg { padding: 12px 22px; font-size: 15px; }
  .hero .btn-row .btn { flex: 1; }
  .sec { padding: 56px 0; }
  .sec h2, .page-head h1 { font-size: 25px; }
  .sec-sub { font-size: 15px; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 28px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow-item { padding-right: 0; }
  .flow-item::after { display: none !important; }
  .page-lead { font-size: 15.5px; }
  .post-head h1 { font-size: 25px; }
  .post-summary { font-size: 15px; }
  .prose { font-size: 16px; margin-top: 24px; }
  .prose h2 { font-size: 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  .post-cta { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .post-cta .btn-row { width: 100%; }
  .post-cta .btn { flex: 1; }
  .cta-final { padding: 52px 0; }
  .cta-final h2 { font-size: 24px; }
  .cta-inline { padding: 36px 20px; }
  .cta-final .btn-row .btn { flex: 1; }
  .foot { padding-top: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
  .pager { justify-content: center; }
  .pg-info { width: 100%; text-align: center; margin: 8px 0 0; }
  .blog-head h1 { font-size: 25px; }
  .feat-sec h2, .feat-none h2 { font-size: 21px; }
  .feat-end { padding: 26px 20px; }
  .feat-end h2 { font-size: 20px; }
  .pbox { padding: 26px 22px; }
  .modal-box { padding: 24px 20px; border-radius: 14px; }
  .crumb { font-size: 12.5px; }
  .acard { padding: 20px 18px; }
  .tldr { padding: 15px 17px; font-size: 15.5px; }
}

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

/* 打印：文章页去掉导航与侧栏，方便存档 */
@media print {
  .nav, .foot, .post-side, .post-cta, .post-nav, .toc-mobile, .modal { display: none !important; }
  .post-layout { display: block; }
  body { font-size: 12pt; }
  .prose { font-size: 11pt; }
}
