/* SEO 内容页样式：只作用于 .seo-page，不干扰原有营销页 */
.seo-page { background: var(--paper); }

.art { padding: 34px 0 10px; }
.art > .wrap { max-width: 980px; }

/* 面包屑 */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); margin: 6px 0 18px; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-style: normal; color: var(--line-2); }
.crumbs span[aria-current] { color: var(--text-2); font-weight: 600; }

/* 标题区 */
.art-kicker { font-size: 12.5px; letter-spacing: .04em; color: var(--text-3); margin: 0 0 10px; text-transform: none; }
.art-h1 { font-size: 34px; line-height: 1.28; margin: 0 0 16px; letter-spacing: -0.01em; color: var(--text); }
.art-lead { font-size: 17px; line-height: 1.85; color: var(--text-2); margin: 0 0 26px; }

/* 正文 */
.art article h2 { font-size: 23px; line-height: 1.4; margin: 34px 0 12px; color: var(--text); scroll-margin-top: 84px; }
.art article h3 { font-size: 17.5px; margin: 22px 0 8px; color: var(--text); }
.art article p { font-size: 15.5px; line-height: 1.9; color: var(--text-2); margin: 0 0 14px; }
.art article ul, .art article ol { margin: 0 0 16px; padding-left: 22px; }
.art article li { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin: 6px 0; }
.art article b { color: var(--text); }
.art article a { color: var(--brand); font-weight: 600; }
.art article a:hover { text-decoration: underline; }

/* 目录 */
.art-toc { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 24px; }
.art-toc b { display: block; font-size: 13px; color: var(--text-3); letter-spacing: .04em; margin-bottom: 8px; }
.art-toc ol { margin: 0; padding-left: 20px; }
.art-toc li { font-size: 14px; line-height: 1.8; }
.art-toc a { color: var(--text-2); }
.art-toc a:hover { color: var(--brand); }

/* 表格 */
.art-table { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.art-table .tb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.art-table th, .art-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.art-table thead th { background: var(--paper-soft); color: var(--text); font-weight: 700; white-space: nowrap; }
.art-table tbody tr:last-child td { border-bottom: 0; }
.art-table td { color: var(--text-2); }

/* 提示块 */
.art-note { background: #fff8e8; border: 1px solid #f5e2b8; border-left: 3px solid #e0a83a; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; line-height: 1.8; color: #6b5220; margin: 0 0 18px; }
.art-code { background: var(--ink); color: #dfe3ff; border-radius: 12px; padding: 14px 16px; overflow-x: auto;
  font-size: 12.5px; line-height: 1.7; margin: 0 0 18px; }

/* FAQ */
.art-faq { border-top: 1px solid var(--line); }
.art-faq .faq__item { border-bottom: 1px solid var(--line); }
.art-faq .faq__q { padding: 16px 0; font-size: 15.5px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; }
.art-faq .faq__q::-webkit-details-marker { display: none; }
.art-faq .faq__a { padding: 0 0 16px; }
.art-faq .faq__a p { margin: 0; }

/* 相关阅读 */
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.rel-card { display: block; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; }
.rel-card b { display: block; font-size: 14.5px; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.rel-card span { display: block; font-size: 13px; color: var(--text-3); line-height: 1.7; }
.rel-card:hover { border-color: var(--brand); background: #fff; }

/* 枢纽页卡片 */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 26px; }
.hub-card { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; background: #fff; }
.hub-card b { display: block; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.hub-card span { display: block; font-size: 13px; color: var(--text-3); line-height: 1.7; }
.hub-card:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(79, 70, 229, .1); }
.hub-group-title { font-size: 15px; font-weight: 700; color: var(--text-3); letter-spacing: .04em; margin: 26px 0 12px; }

/* 工具页 */
.tool-box { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--paper-soft); margin: 0 0 22px; }
.tool-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-row--full { grid-template-columns: 1fr; }
.tool-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.tool-field input, .tool-field select, .tool-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.tool-field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.tool-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tool-out { margin-top: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 16px; }
.tool-out__score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.tool-out__score b { font-size: 34px; line-height: 1; color: var(--brand); }
.tool-out__score span { font-size: 13px; color: var(--text-3); }
.tool-out ul { margin: 8px 0 0; padding-left: 20px; }
.tool-out li { font-size: 14px; line-height: 1.8; color: var(--text-2); }
.tool-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tool-badge--ok { background: #e7f7ee; color: #157347; }
.tool-badge--warn { background: #fff4e0; color: #a1651a; }
.tool-badge--bad { background: #fdeaea; color: #b02a2a; }

@media (max-width: 900px) {
  .art-h1 { font-size: 27px; }
  .rel-grid, .hub-grid, .tool-row { grid-template-columns: 1fr; }
  .art article h2 { font-size: 20px; }
}
