/* ============================================================
   营销门户（官网前台）样式 · 对齐 geo-console / 后台同一设计体系
   画布 #F5F7FB / 白卡片 1px #E8EDF5 / 主色 #1A73E8 / Inter 数字
   ============================================================ */

:root {
  --canvas: #F5F7FB;
  --surface: #FFFFFF;
  --border: #E8EDF5;
  --border-strong: #E3E8F2;
  --input-line: #8591A3;        /* 输入控件边框：对白底 ≥3:1（WCAG 1.4.11） */
  --input-line-hover: #6B7688;
  --input-placeholder: #667085;
  --ink: #171A1F;
  --body: #3C4552;
  --muted: #5A6472;
  --dim: #7A8494;
  --faint: #98A2B3;
  --col: #8A94A6;
  --line: #EEF1F6;
  --accent: #1A73E8;
  --accent-soft: #EAF1FE;
  --accent-deep: #1557B0;
  --success: #12A150;
  --gray-soft: #F1F3F8;
  --head: #F7F9FC;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;
  --num: "Inter", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.eyebrow { font-size: 12px; font-weight: 500; color: var(--accent); }
.h1 { font-size: 40px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.h2 { font-size: 30px; line-height: 1.45; font-weight: 600; }
.h2.sm { font-size: 26px; }
.h3 { font-size: 32px; line-height: 1.45; font-weight: 600; }
.lead { font-size: 16px; line-height: 1.75; color: var(--muted); }
.sec { padding: 84px 0 88px; background: var(--surface); }
.sec.alt { background: var(--canvas); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .lead { max-width: 640px; }
.sec-head .lead { max-width: 760px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }

/* 按钮 */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 9px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; border: 0; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); color: var(--body); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.link { font-size: 14px; font-weight: 500; color: var(--accent); display: inline-block; }
.link:hover { color: var(--accent-deep); }

/* ==================== 导航 ==================== */
.nav { height: 72px; background: var(--surface); border-bottom: 1px solid var(--line);
       position: sticky; top: 0; z-index: 50; }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 100%;
          display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand .mark { width: 28px; height: 28px; flex: 0 0 28px; }
.brand .name { font-size: 17px; font-weight: 600; white-space: nowrap; }
.links { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
.links a { font-size: 14px; color: var(--muted); padding: 6px 0; }
.links a:hover, .links a.on { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 20px; flex: none; }
.nav-right .login { font-size: 14px; font-weight: 500; color: var(--body); }
.nav-right .login:hover { color: var(--accent); }
.btn-sm { height: 40px; padding: 0 18px; border-radius: 8px; background: var(--accent);
          color: #fff; font-size: 14px; font-weight: 500; display: inline-flex;
          align-items: center; white-space: nowrap; }
.btn-sm:hover { background: var(--accent-deep); }

/* ==================== Hero ==================== */
.hero { padding: 76px 0 84px; background: var(--surface); }
.hero-in { display: flex; align-items: center; gap: 64px; }
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tag { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 100px;
       background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; }
.hero .h1 { font-size: 46px; line-height: 1.35; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { font-size: 12px; color: var(--faint); }

.preview { width: 520px; flex: 0 0 520px; border: 1px solid var(--border); border-radius: 14px;
           padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--surface);
           box-shadow: 0 18px 44px -12px rgba(23, 26, 31, .12); }
.preview .phead { display: flex; align-items: center; justify-content: space-between; }
.preview .phead .t { font-size: 12px; color: var(--dim); }
.preview .live { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--success); }
.preview .live i { width: 6px; height: 6px; border-radius: 3px; background: var(--success); display: block; }
.pkpi { display: flex; gap: 10px; }
.pkpi div { flex: 1; background: var(--head); border-radius: 8px; padding: 10px; }
.pkpi .k { font-size: 11px; color: var(--dim); }
.pkpi .v { font-family: var(--num); font-size: 18px; font-weight: 600; margin-top: 4px; }
.pkpi .v.blue { color: var(--accent); }

/* ==================== 规模条 ==================== */
.strip { padding: 34px 0; background: var(--canvas); }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.strip-in .v { font-size: 26px; font-weight: 600; font-family: var(--num); }
.strip-in .l { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ==================== 能力网格 ==================== */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.cap .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
           display: flex; align-items: center; justify-content: center; color: var(--accent); }
.cap .t { font-size: 16px; font-weight: 600; }
.cap .d { font-size: 13px; line-height: 1.75; color: var(--muted); }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap2 { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.cap2 .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft);
            display: flex; align-items: center; justify-content: center; color: var(--accent); }
.cap2 .t { font-size: 17px; font-weight: 600; }
.cap2 .d { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ==================== 服务明细 ==================== */
.svc-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.svc .t { font-size: 16px; font-weight: 600; }
.svc .s { font-size: 12px; color: var(--faint); }
.svc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.svc li { font-size: 13px; line-height: 1.8; color: var(--body); position: relative; padding-left: 14px; }
.svc li::before { content: "·"; position: absolute; left: 0; color: var(--faint); }
.note { font-size: 13px; line-height: 1.8; color: var(--dim); margin-top: 28px; }

/* ==================== 服务规格 ==================== */
.stats-wrap { display: flex; align-items: center; gap: 64px; }
.stats-left { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.stats .v { font-family: var(--num); font-size: 38px; font-weight: 600; color: var(--accent); }
.stats .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.deliver { width: 460px; flex: 0 0 460px; padding: 28px; display: flex; flex-direction: column; gap: 20px;
           box-shadow: 0 12px 32px -10px rgba(23, 26, 31, .08); }
.deliver .q { font-size: 16px; line-height: 1.85; }
.deliver .rule { height: 1px; background: var(--line); }
.deliver .a { font-size: 14px; font-weight: 500; }
.deliver .b { font-size: 12px; color: var(--faint); margin-top: 3px; }

/* ==================== 工作流程 ==================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .n { width: 30px; height: 30px; border-radius: 15px; background: var(--accent-soft);
           color: var(--accent); font-family: var(--num); font-size: 12px; font-weight: 600;
           display: flex; align-items: center; justify-content: center; }
.step .t { font-size: 16px; font-weight: 600; }
.step .d { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ==================== 案例 ==================== */
.case-head { display: flex; align-items: flex-end; justify-content: space-between;
             gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.case-head .lead { margin-top: 14px; }
.case3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .15s, transform .15s; }
a.case:hover { box-shadow: 0 12px 32px -10px rgba(23, 26, 31, .14); transform: translateY(-2px); }
.case .tag-s, .cc .tag-s, .feature .tag-s { display: inline-flex; align-self: flex-start;
             padding: 5px 9px; border-radius: 6px; background: var(--accent-soft);
             color: var(--accent); font-size: 11px; font-weight: 500; }
.case .t { font-size: 17px; font-weight: 600; line-height: 1.5; }
.case .rule { height: 1px; background: var(--line); }
.case .d { font-size: 13px; line-height: 1.8; color: var(--muted); flex: 1; }
.case .f { font-size: 12px; color: var(--faint); }

.case9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cc .t { font-size: 18px; font-weight: 600; line-height: 1.5; }
.cc .d { font-size: 13px; line-height: 1.8; color: var(--muted); }
.cc ul { list-style: none; display: flex; flex-direction: column; }
.cc li { font-size: 13px; line-height: 1.75; color: var(--body); position: relative; padding-left: 14px; }
.cc li::before { content: "·"; position: absolute; left: 0; color: var(--faint); }
.cc .link { margin-top: auto; }
.empty-hint { padding: 56px 0; text-align: center; color: var(--faint); font-size: 14px; }
.cases-note { font-size: 13px; line-height: 1.8; color: var(--dim); margin-top: 20px; }

/* ==================== 分页 ==================== */
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; flex-wrap: wrap; gap: 12px; }
.pager .sum { font-size: 12px; color: var(--faint); }
.pages { display: flex; align-items: center; gap: 6px; }
.pages a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-strong);
           background: var(--surface); color: var(--muted); font-family: var(--num); font-size: 12px;
           display: inline-flex; align-items: center; justify-content: center; }
.pages a.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.pages a:hover:not(.on) { border-color: var(--accent); color: var(--accent); }

/* ==================== 价格 ==================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { padding: 26px; display: flex; flex-direction: column; gap: 14px; border-radius: 14px; }
.tier .n { font-size: 15px; font-weight: 500; color: var(--body); }
.tier .prow { display: flex; align-items: baseline; gap: 6px; }
.tier .p { font-family: var(--num); font-size: 34px; font-weight: 600; }
.tier .u { font-size: 13px; color: var(--faint); }
.tier .d { font-size: 13px; color: var(--muted); }
.tier ul { list-style: none; display: flex; flex-direction: column; }
.tier li { font-size: 13px; line-height: 1.7; color: var(--body); position: relative; padding-left: 14px; }
.tier li::before { content: "·"; position: absolute; left: 0; color: var(--faint); }
.tier .btn { height: 44px; border-radius: 9px; border: 1px solid var(--border-strong);
             background: var(--surface); color: var(--body); font-size: 14px; font-weight: 500;
             margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; }
.tier .btn:hover { border-color: var(--accent); color: var(--accent); }
.tier.pop { border: 2px solid var(--accent); box-shadow: 0 16px 40px -12px rgba(23, 26, 31, .10); }
.tier.pop .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.tier.pop .btn:hover { background: var(--accent-deep); color: #fff; }
.tier .promo { display: inline-flex; align-self: flex-start; padding: 4px 7px; border-radius: 4px;
               background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 500; }

/* ==================== 版本对比表 ==================== */
.table { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; overflow-x: auto; }
.thead, .trow { display: flex; align-items: center; padding: 0 12px; min-height: 48px; }
.thead { background: var(--head); border-radius: 8px; }
.thead div { font-size: 12px; font-weight: 500; color: var(--col); }
.trow div.c1 { flex: 1; font-size: 13px; color: var(--body); min-width: 200px; }
.trow div.c2, .trow div.c3 { width: 220px; font-size: 13px; }
.trow div.c2 { color: var(--muted); }
.trow div.c3 { color: var(--body); }
.thead div.c1 { flex: 1; }
.thead div.c2, .thead div.c3 { width: 220px; }
.thead div.c3 { color: var(--accent); }

/* ==================== 产业观察 ==================== */
.feature { display: flex; background: var(--surface); border: 1px solid var(--border);
           border-radius: 14px; overflow: hidden; }
.feature .cover { width: 460px; flex: 0 0 460px; min-height: 280px;
                  background: url("/static-assets/placeholder/news-1.svg") center/cover no-repeat,
                              var(--accent-soft); background-size: cover; }
.feature .body { flex: 1; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.feature .t { font-size: 24px; line-height: 1.5; font-weight: 600; }
.feature .d { font-size: 14px; line-height: 1.75; color: var(--muted); }
.feature .m { font-size: 12px; color: var(--faint); }

.alist { display: flex; flex-direction: column; }
.alist .ah { font-size: 15px; font-weight: 600; padding-bottom: 8px; }
.arow { display: flex; align-items: center; gap: 20px; padding: 20px 0;
        border-bottom: 1px solid var(--line); }
.arow:last-child { border-bottom: 0; }
.arow .date { width: 92px; flex: none; font-family: var(--num); font-size: 12px; color: var(--faint); }
.arow .cat { width: 96px; flex: none; font-size: 11px; font-weight: 500; color: var(--accent); }
.arow .t { flex: 1; font-size: 16px; color: var(--ink); min-width: 0; }
.arow svg { color: #C6CEDA; flex: none; }
.arow:hover .t { color: var(--accent); }

.tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tab { height: 34px; padding: 0 12px; border-radius: 7px; display: inline-flex; align-items: center;
       font-size: 12px; color: var(--muted); }
.tab:hover { color: var(--accent); }
.tab.on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }

/* ==================== 帮助中心 ==================== */
.search { display: flex; align-items: center; gap: 8px; width: 520px; max-width: 100%; height: 48px;
          border-radius: 9px; background: var(--canvas); padding: 0 14px; margin-top: 6px;
          border: 1px solid var(--border); }
.search:focus-within { border-color: var(--accent); }
.search svg { color: var(--faint); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
                font-family: var(--font); font-size: 14px; color: var(--ink); height: 100%; }
.search input::placeholder { color: var(--faint); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cat-card .t { font-size: 16px; font-weight: 600; }
.cat-card .d { font-size: 13px; line-height: 1.7; color: var(--muted); }
.cat-card .c { font-size: 12px; color: var(--faint); }

.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.q { border-radius: 8px; }
.q summary { display: flex; align-items: center; justify-content: space-between; gap: 12px;
             min-height: 56px; padding: 0 16px; font-size: 15px; cursor: pointer; list-style: none; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; font-size: 18px; color: var(--faint); flex: none; }
.q[open] summary::after { content: "–"; }
.q summary:hover { background: var(--head); }
.q p { padding: 0 16px 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }

.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cinfo { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cinfo .n { font-size: 12px; color: var(--faint); }
.cinfo .v { font-size: 15px; font-weight: 500; word-break: break-all; }
.cinfo .v.num { font-family: var(--num); font-size: 16px; }

/* ==================== CTA / 页脚 ==================== */
.cta { padding: 56px 0; background: var(--accent-soft); text-align: center; }
.cta .t { font-size: 26px; line-height: 1.45; font-weight: 600; }
.cta .d { font-size: 14px; color: var(--body); margin-top: 14px; }
.cta .btn-primary { height: 44px; }

.footer { background: var(--ink); padding: 56px 0 32px; color: #fff; margin-top: 0; }
.ftop { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.fbrand { width: 320px; max-width: 100%; }
.fbrand .row { display: flex; align-items: center; gap: 9px; }
.fbrand .n { font-size: 16px; font-weight: 600; }
.fbrand .d { font-size: 13px; line-height: 1.75; color: var(--col); margin-top: 12px; }
.fcols { display: flex; gap: 72px; flex-wrap: wrap; }
.fcol { display: flex; flex-direction: column; gap: 12px; }
.fcol .t { font-size: 13px; font-weight: 500; color: #fff; }
.fcol a { font-size: 13px; color: var(--col); }
.fcol a:hover { color: #fff; }
.frule { height: 1px; background: #2A303A; margin: 32px 0; }
.fbottom { display: flex; justify-content: space-between; align-items: center; gap: 12px;
           font-size: 12px; color: var(--dim); flex-wrap: wrap; }

/* ==================== 响应式 ==================== */
@media (max-width: 1080px) {
  .wrap, .nav-in { padding: 0 24px; }
  .hero-in { gap: 40px; }
  .preview { width: 44%; flex: 0 0 44%; }
  .hero .h1 { font-size: 38px; }
  .fcols { gap: 40px; }
}

@media (max-width: 900px) {
  .h1, .hero .h1 { font-size: 32px; }
  .h2, .h3 { font-size: 26px; }
  .sec { padding: 56px 0 60px; }
  .hero { padding: 56px 0 64px; }
  .hero-in { flex-direction: column; align-items: stretch; }
  .preview { width: 100%; flex: none; }
  .stats-wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .deliver { width: 100%; flex: none; }
  .grid3, .svc-3, .case3, .case9, .tiers, .cats, .contact { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .feature { flex-direction: column; }
  .feature .cover { width: 100%; flex: none; height: 220px; }
  /* 移动端导航：链接区隐藏（后续可加汉堡菜单），保留品牌 + CTA */
  .links { display: none; }
}

@media (max-width: 640px) {
  .wrap, .nav-in { padding: 0 18px; }
  .grid3, .svc-3, .case3, .case9, .tiers, .cats, .contact, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats .v { font-size: 28px; }
  .strip-in { justify-content: flex-start; }
  .strip-in > div { flex: 1 1 40%; }
  .arow { flex-wrap: wrap; gap: 8px; }
  .arow .t { flex: 1 1 100%; order: 3; }
  .arow .date { width: auto; }
  .nav-right .login { display: none; }
  .pager { justify-content: center; }
}
/* ============================================================
   营销门户组件增补：汉堡菜单 / 询盘弹窗 / 案例封面 / 帮助文档 / 文章详情
   （追加在 brand.css 主文件之后引入）
   ============================================================ */

/* ==================== 移动端汉堡菜单（<900px 显示） ==================== */
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border-strong);
          border-radius: 8px; background: var(--surface); cursor: pointer;
          flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.burger span { display: block; width: 16px; height: 1.6px; border-radius: 1px; background: var(--body);
               transition: transform .18s, opacity .18s; }
.burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  /* 链接区改为下拉抽屉：默认收起，.nav.menu-open 时展开 */
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0;
           flex-direction: column; align-items: stretch; gap: 0;
           background: var(--surface); border-bottom: 1px solid var(--line);
           padding: 8px 24px 14px; box-shadow: var(--shadow); z-index: 49; }
  .nav.menu-open .links { display: flex; }
  .links a { height: 44px; display: flex; align-items: center; font-size: 15px;
             border-bottom: 1px solid var(--line); }
  .links a:last-child { border-bottom: 0; }
}

/* ==================== CTA 按钮组 ==================== */
.cta-btns { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.cta .btn-ghost { background: transparent; border-color: rgba(26, 115, 232, .45); color: var(--accent); height: 44px; }
.cta .btn-primary { height: 44px; }

/* ==================== 询盘弹窗 ==================== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex;
         align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(23, 26, 31, .48); }
.modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px);
             overflow-y: auto; background: var(--surface); border: 1px solid var(--border);
             border-radius: 14px; padding: 28px 26px 24px;
             box-shadow: 0 24px 60px -20px rgba(23, 26, 31, .35);
             animation: modalPop .22s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes modalPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
           border: 0; background: transparent; font-size: 20px; color: var(--faint); cursor: pointer; }
.modal-x:hover { color: var(--body); }
.modal-head { margin-bottom: 18px; }
.modal-head .mt { font-size: 20px; font-weight: 600; }
.modal-head .md { font-size: 13px; color: var(--muted); margin-top: 6px; }
.modal .frow { margin-bottom: 12px; flex: 1; }
.modal .frow2 { display: flex; gap: 12px; }
.modal .frow label { display: block; font-size: 12.5px; color: var(--body); margin-bottom: 5px; }
.modal .frow label i { color: var(--danger); font-style: normal; }
.modal .frow input, .modal .frow textarea {
  width: 100%; height: 40px; border: 1px solid var(--input-line); border-radius: 8px;
  padding: 0 12px; font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--surface); outline: 0; transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box; }
.modal .frow input:hover:not(:focus), .modal .frow textarea:hover:not(:focus) { border-color: var(--input-line-hover); }
.modal .frow textarea { height: auto; padding: 9px 12px; resize: vertical; line-height: 1.6; }
.modal .frow input:focus, .modal .frow textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px rgba(26, 115, 232, .28); }
.modal .frow input::placeholder, .modal .frow textarea::placeholder { color: var(--input-placeholder); opacity: 1; }
.search input::placeholder { color: var(--input-placeholder); opacity: 1; }
@media (prefers-contrast: more) {
  :root { --input-line: #4B5563; --input-line-hover: #1F2937; --input-placeholder: #374151; }
  .modal .frow input, .modal .frow textarea { border-width: 1.5px; }
}
@media (forced-colors: active) {
  .modal .frow input, .modal .frow textarea, .search input { border-color: FieldText; }
}
.modal .frow [hidden] { display: none; }
.modal-submit { width: 100%; height: 44px; margin-top: 4px; }
.modal-submit:disabled { opacity: .6; cursor: not-allowed; }
.modal-msg { min-height: 18px; margin-top: 8px; font-size: 12.5px; color: var(--danger); text-align: center; }
.modal-done { text-align: center; padding: 16px 0 8px; }
.modal-done .done-ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
                       background: var(--accent-soft); color: var(--success); font-size: 24px;
                       display: flex; align-items: center; justify-content: center; }
.modal-done .done-t { font-size: 17px; font-weight: 600; }
.modal-done .done-d { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }

/* ==================== 案例卡封面（D2） ==================== */
.cc-cover { margin: -24px -24px 12px; border-bottom: 1px solid var(--line);
            background: var(--head-bg); }
.cc-cover img { display: block; width: 100%; height: 170px; object-fit: cover;
                border-radius: 12px 12px 0 0; }

/* ==================== 帮助文档 ==================== */
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.doc-cat { display: inline-flex; margin-right: 10px; padding: 4px 8px; border-radius: 6px;
           background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 500;
           flex: none; }
.doc-content { padding: 0 16px 16px; font-size: 14px; line-height: 1.85; color: var(--body); }
.doc-content p { margin-bottom: 8px; }
.doc-content ul, .doc-content ol { padding-left: 20px; margin-bottom: 8px; }
.doc-content code { background: var(--gray-soft); border-radius: 4px; padding: 1px 5px;
                    font-size: 13px; }

/* ==================== 文章详情页 ==================== */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px;
          color: var(--faint); margin-bottom: 24px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs > span:last-child { color: var(--body); }
.detail { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
          padding: 40px 48px; }
.detail .tag-s { display: inline-flex; align-self: flex-start; padding: 5px 9px; border-radius: 6px;
                 background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 500; }
.detail-h1 { font-size: 28px; line-height: 1.5; font-weight: 600; margin-top: 16px; }
.detail-meta { font-size: 12.5px; color: var(--faint); margin-top: 10px; }
.detail-lead { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--accent);
               background: var(--head-bg); border-radius: 0 8px 8px 0;
               font-size: 14px; line-height: 1.8; color: var(--body); }
.detail-body { margin-top: 24px; font-size: 15px; line-height: 1.9; color: var(--body); }
.detail-body p { margin-bottom: 12px; }
.detail-body h2, .detail-body h3 { color: var(--ink); margin: 24px 0 12px; }
.detail-body img { max-width: 100%; border-radius: 8px; }
.detail-foot { margin-top: 24px; }
.detail-foot .btn-ghost { background: var(--surface); height: 42px; }

@media (max-width: 640px) {
  .detail { padding: 26px 20px; }
  .detail-h1 { font-size: 22px; }
  .modal .frow2 { flex-direction: column; gap: 0; }
}
