/* 官网首页 · 2026-11-05 改版（B+ 版）
 *
 * 为什么单独一个文件、不塞进 style.css：
 *   style.css 还管着 releases.html（更新记录页）的 .rel / .band / .foot 那一套。
 *   两个页面共用一份样式，改哪个都怕碰坏另一个；这一页又是一次大改。
 *   所以首页的样式全放这儿，style.css 一个字不动——最坏情况是这一页不好看，
 *   更新记录页永远不会被牵连。
 *
 * 加载顺序：style.css 打底（字体、变量），home.css 覆盖（.pill 这类同名类是故意的）。
 *
 * 三条硬约束（跟老首页一致）：
 *   ① 不引第三方库、不引字体 CDN（厂区网络经常打不开外网）；
 *   ② 宽度用 max-width + 左右内边距，不写死 1440——客户可能用 1366 的笔记本；
 *   ③ 手机上必须能用（见文件末尾的媒体查询），这一页在微信里被转发是常态。
 */

/* ============ 通用 ============ */
/* `hidden` 必须在这里再声明一遍（2026-11-05）。
   浏览器自带的 `[hidden] { display: none }` 只是"UA 样式"，优先级最低——
   下面 `.pill { display: inline-flex }` 一写，就把"隐藏"顶掉了。
   结果：config.js 里 demo 没配、脚本老老实实设了 hidden，页面上那颗
   「在线试一试」照样看得见，点下去 href 还是 #。看起来像"按钮没做功能"。
   这个坑本项目踩过一次（见 app.js 里那段注释），首页换了一套样式又踩回来。 */
[hidden] { display: none !important; }

.hdr, .hero-in, .base-in, .work-in, .get-in, .end-top, .end-cols, .end-legal {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ============ 顶栏 ============
   2026-11-07 老板要『加宽、锁住不滚动』：宽度由首页 <style> 里的 .hdr 放开到通栏并 sticky，
   这里只管颜色/字号/按钮尺寸。正文盒子仍 1240，顶栏会比正文宽——故意的。 */
.hdr { padding-top: 24px; padding-bottom: 8px; }
.hdr-in { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600;
        letter-spacing: .2px; color: var(--ink); }
.logo i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
          background: linear-gradient(150deg, #3f8dff, #1a5fb4);
          box-shadow: 0 8px 20px rgba(26, 95, 180, .26); }
.logo svg { width: 22px; height: 22px; }
.hdr-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 两个按钮**统一定高**：一个靠 padding 撑、一个加边框，并排看会差两像素。 */
.btn-ghost, .btn-reg {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; border-radius: 999px; font-size: 16px; text-decoration: none;
  white-space: nowrap;
}
.btn-ghost { padding: 0 26px; border: 1px solid #d3dde9; color: #2c3e50; background: #fff; }
.btn-ghost:hover { border-color: #b9c8da; }
.btn-reg { padding: 0 30px; background: var(--brand); color: #fff; font-weight: 600;
           letter-spacing: .3px; box-shadow: 0 8px 22px rgba(26, 95, 180, .28); }
.btn-reg:hover { background: var(--brand-dk); }
/* 顶栏里那个纯文字入口（使用手册）。不做成第三个按钮：两颗 50px 已经占满，
   挤到换行比少一个入口更难看。 */
.nav-txt { font-size: 15.5px; color: var(--mute); text-decoration: none; padding: 0 2px; }
.nav-txt:hover { color: var(--brand); }

/* ============ 首屏 ============ */
.hero {
  background: linear-gradient(180deg, #fbfcfe, #f2f7fc 72%, #fff);
  padding-bottom: 8px;
}
.hero-body {
  display: grid; grid-template-columns: 1fr 560px; gap: 44px;
  align-items: center; margin-top: 54px;
}
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px;
          font-size: 13.5px; letter-spacing: 2px; color: var(--brand); font-weight: 600; }
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }

.hero h1 {
  margin: 0; font-size: 56px; line-height: 1.2; font-weight: 600;
  letter-spacing: -1.5px; color: var(--ink);
}
/* 标题里那半句的高亮。**用 background 渐变，不用 ::before + z-index:-1**——
   后者在有背景的父级里会掉到背景后面，屏幕上什么都看不见（2026-11-05 踩过）。 */
.hero h1 u { text-decoration: none; white-space: nowrap;
             background: linear-gradient(transparent 66%, rgba(26, 95, 180, .16) 66%); }

.lead { margin: 20px 0 0; font-size: 17.5px; line-height: 1.9; color: var(--mute); }
.lead b { color: var(--ink); font-weight: 600; }
.lead-2 { margin-top: 8px; }

/* 跳转胶囊（老板 2026-11-05：「添加跳转胶囊」） */
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; color: #22344a; text-decoration: none;
  /* nowrap 不能省：胶囊里除了文字还有图标和版本号（small），窄一点就把
     「下载 Windows 版」拆成三行，胶囊被撑成方块——1440 屏上第一次就是这样。 */
  white-space: nowrap;
  /* 这两行必须是 0/auto：style.css 给 .pill 写死了 width: 190px（老首页三个
     等宽胶囊），这里是按内容走的。不覆盖就是"190 宽塞 201 的内容"——字被圆角裁掉，
     看着像版本号丢了半截。 */
  flex: 0 0 auto;
  width: auto;
  background: #fff; border: 1px solid #d8e2ee;
  box-shadow: 0 1px 2px rgba(16, 32, 56, .05);
}
.pill:hover { border-color: #b9c8da; }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill.main {
  background: var(--brand); color: #fff; border-color: var(--brand);
  font-weight: 600; padding: 0 30px; box-shadow: 0 12px 28px rgba(26, 95, 180, .30);
}
.pill.main:hover { background: var(--brand-dk); }
.pill.main small { font-size: 12.5px; font-weight: 400; opacity: .82; letter-spacing: .2px; }

.verline { margin: 16px 0 0; font-size: 13px; color: #8695a5; line-height: 1.8; }
.verline .dot { margin: 0 7px; color: #c3cedb; }

/* 首屏那张软件实拍 */
.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 28px 64px -20px rgba(16, 32, 56, .40), 0 4px 14px rgba(16, 32, 56, .10);
  transform: rotate(-2.2deg);
}

/* ============ 三列 ============ */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
        margin-top: 72px; padding-bottom: 76px; }
.col {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 26px 28px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 32, 56, .045), 0 20px 40px -28px rgba(16, 32, 56, .22);
}
/* 顶上一根彩条：一眼分开三个人，不用读名字 */
.col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.col.a::before { background: #12b76a; }
.col.b::before { background: var(--brand); }
.col.c::before { background: #7a5af8; }

.who { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
      font-size: 16px; font-weight: 600; flex: none; }
.col.a .av { background: #e7f8f0; color: #0e8a51; }
.col.b .av { background: #e9f1fd; color: var(--brand); }
.col.c .av { background: #efeafd; color: #6440d8; }
.who b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.who em { display: block; font-style: normal; font-size: 12.5px; color: #8695a5; }

.col h3 { margin: 20px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.3px; color: var(--ink); }
.col .feel { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: var(--mute); }
.col .pain { display: block; margin-top: 8px; padding-left: 11px;
             border-left: 2px solid #dfe6ee; color: #8695a5; font-size: 13px; }

.can { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.can-t { margin: 0 0 11px; font-size: 12px; letter-spacing: 1.2px; color: #8695a5; }
.can ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.can li { display: flex; gap: 9px; font-size: 14px; line-height: 1.6; color: #2c3e50; }
.can li i { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 3px;
            display: grid; place-items: center; font-size: 9px; font-style: normal; color: #fff; }
.col.a .can li i { background: #12b76a; }
.col.b .can li i { background: var(--brand); }
.col.c .can li i { background: #7a5af8; }
.can li.mute { color: #a8b6c6; }
.can li.mute i { background: #dfe6ee; }

/* ============ 技术带 ============ */
.base { background: #0b1a2e; color: #fff; padding: 68px 0; position: relative; overflow: hidden; }
.base::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 82% -10%, rgba(63, 141, 255, .22), transparent 68%); }
.base-in { position: relative; }
.base-hd { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.base-hd h2 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -.5px; color: #fff; }
.base-hd p { margin: 0; font-size: 14.5px; color: #93a8c2; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cell { border: 1px solid rgba(255, 255, 255, .13); border-radius: 13px;
        padding: 22px 20px 24px; background: rgba(255, 255, 255, .04); }
.cell svg { width: 26px; height: 26px; margin-bottom: 14px; }
.cell b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #eaf2ff; }
.cell p { margin: 0; font-size: 13px; line-height: 1.72; color: #93a8c2; }

/* ============ 该记的账 ============ */
.work { padding: 72px 0 80px; }
.work-hd { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.work-hd h2 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -.5px; color: var(--ink); }
.work-hd p { margin: 0; font-size: 14.5px; color: var(--mute); }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #fff;
        box-shadow: 0 2px 6px rgba(16, 32, 56, .04); }
.card-img { background: #f5f8fc; }
.card-img img { width: 100%; height: auto; display: block; }
.card-cap { padding: 22px 24px 24px; }
.card-cap b { display: block; font-size: 18px; font-weight: 600; color: var(--ink); }
.card-cap p { margin: 9px 0 0; font-size: 14px; line-height: 1.8; color: var(--mute); }
.list2 { display: flex; flex-direction: column; gap: 13px; }
.item { display: flex; gap: 15px; padding: 18px 20px; border: 1px solid var(--line);
        border-radius: 13px; background: #fff; }
.item .n { flex: none; width: 28px; height: 28px; border-radius: 9px; background: #eef4fe;
           color: var(--brand); font-size: 14px; font-weight: 600;
           display: grid; place-items: center; }
.item b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.item p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--mute); }

/* ============ 下载 ============ */
.get { background: var(--bg-2); padding: 68px 0 64px; border-top: 1px solid var(--line); }
.get-hd { max-width: 720px; margin-bottom: 32px; }
.get-hd h2 { margin: 0 0 10px; font-size: 32px; font-weight: 600; letter-spacing: -.5px; color: var(--ink); }
.get-hd p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--mute); }

.get-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; align-items: stretch; }
.dl { background: #fff; border: 1px solid var(--line); border-radius: 15px;
      padding: 22px 22px 24px; display: flex; flex-direction: column; }
.dl.main { border-color: #b9cdf0; box-shadow: 0 10px 30px -18px rgba(26, 95, 180, .40); }
.dl-top { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.dl-top svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 2px; }
.dl-top b { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.dl-top span { display: block; font-size: 13px; color: #8695a5; margin-top: 3px; }

.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 15.5px; font-weight: 600; text-decoration: none; margin-top: auto;
}
.dl-btn:hover { background: var(--brand-dk); }
.dl-btn svg { width: 18px; height: 18px; }
.dl-btn.thin { background: #fff; color: var(--brand); border: 1px solid #cddcf2; font-weight: 500; }
.dl-btn.thin:hover { border-color: var(--brand); background: #f7fafe; }
.dl-ver { margin: 12px 0 0; font-size: 12.5px; line-height: 1.7; color: #8695a5; }
.dl-ver .vsep { color: #c3cedb; }

.get-note { margin: 26px 0 0; font-size: 14px; line-height: 1.85; color: var(--mute); }
.get-note b { color: var(--ink); }

.hash { margin: 22px 0 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
        border-radius: 12px; font-size: 12.5px; color: var(--mute); }
.hash b { display: block; margin-bottom: 7px; font-weight: 600; color: var(--ink); }
.hash span { display: block; font-family: ui-monospace, Consolas, "Courier New", monospace;
             word-break: break-all; color: #5c6d7e; line-height: 1.7; }

/* ============ 底部 ============ */
.end { position: relative; background: #071224; color: #fff; overflow: hidden; }
.end::before { content: ""; position: absolute; left: 50%; top: -240px; width: 1400px; height: 640px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 141, 255, .30), transparent 72%); }

.end-top { position: relative; padding-top: 100px; padding-bottom: 88px; text-align: center; }
.end-top h2 { margin: 0; font-size: 84px; line-height: 1.06; font-weight: 600; letter-spacing: -3.4px; }
.end-top h2 span { color: #7fb6ff; }
.end-top p { margin: 24px auto 0; max-width: 620px; font-size: 16.5px; line-height: 1.9; color: #a8bdd8; }
.end-cta { display: flex; justify-content: center; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.end-cta .b1, .end-cta .b2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; border-radius: 999px; text-decoration: none; font-size: 16.5px;
}
.end-cta .b1 { padding: 0 36px; background: #fff; color: #0b1a2e; font-weight: 600; }
.end-cta .b2 { padding: 0 32px; border: 1px solid rgba(255, 255, 255, .30); color: #dbe8f8; }
.end-cta svg { width: 18px; height: 18px; }

.end-cols { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 44px; padding-top: 48px; padding-bottom: 56px;
            border-top: 1px solid rgba(255, 255, 255, .10); }
.end-cols .brand b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.end-cols .brand p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #8ca2bd; max-width: 320px; }
.col-t { margin: 0 0 15px; font-size: 12.5px; letter-spacing: 1.6px; color: #6f88a8; }
.end-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.end-cols ul a { font-size: 14px; color: #c3d3e6; text-decoration: none; }
.end-cols ul a:hover { color: #fff; }
.end-cols ul span { font-size: 14px; color: #8ca2bd; }

.end-legal { position: relative; padding-top: 20px; padding-bottom: 28px;
             border-top: 1px solid rgba(255, 255, 255, .10);
             display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
             font-size: 12.5px; color: #6f88a8; }
.end-legal .r { margin-left: auto; }
.end-legal .dot { margin: 0 7px; color: #40597a; }

/* ============ 单据怎么走完一圈（2026-11-05 补） ============
 * 老板说「官网还有几个功能没展示」，指的是采购单/销售单、月度对账单、权限组。
 * 这三块其实是一条线上的事，所以先一条流转链，再三张细节卡。
 * 全部用版面画，不截图：截图跟着版本变，画出来的东西跟版本无关。
 */
/* 底色刻意用白、不用 --bg-2：下面「下载」那块是 --bg-2，两块同色会连成
   一大片灰，中间那条细线根本分不开。白底 + 浅色卡片，节奏是
   白（该记的账）→ 白（这一节，靠卡片分）→ 灰（下载）→ 深蓝（页脚）。 */
.flow { background: #fff; padding: 72px 0 78px; border-top: 1px solid var(--line); }
.flow-in { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.flow-hd { max-width: 760px; margin-bottom: 32px; }
/* 标题分两截写，是为了手机上的断行位置：断在逗号处，不会把「出货」劈成两半。
   桌面端两截排一行，看不见这个结构。 */
.flow-hd h2 { margin: 0 0 10px; font-size: 32px; font-weight: 600; letter-spacing: -.5px; color: var(--ink); }
.flow-hd h2 span { display: inline; }
.flow-hd p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--mute); }

.chain { display: flex; align-items: stretch; gap: 10px; margin-bottom: 18px; }
.node { flex: 1 1 0; min-width: 0; background: #f7fafd; border: 1px solid #e6eefa;
        border-radius: 13px; padding: 15px 16px 17px; }
.node em { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; color: var(--brand); }
.node b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 5px 0 6px; }
.node span { display: block; font-size: 12.5px; line-height: 1.62; color: var(--mute); }
/* 箭头用一条带尾巴的细线画：比 SVG 省事，也比「→」字符稳（字体不同粗细差很多） */
.arw { flex: 0 0 20px; align-self: center; height: 1px; position: relative;
       background: linear-gradient(90deg, #cfdcf0, #9dbbe0); }
.arw::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px;
              border-top: 1.5px solid #9dbbe0; border-right: 1.5px solid #9dbbe0;
              transform: rotate(45deg); }

.fthree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.fcard { display: flex; flex-direction: column; background: #fbfcfe; border: 1px solid #e6eefa;
         border-radius: 15px; padding: 22px 22px 20px; }
.fcard h3 { margin: 0 0 9px; font-size: 17px; font-weight: 600; color: var(--ink); }
.fcard p { margin: 0; font-size: 13.8px; line-height: 1.8; color: var(--mute); }
.fcard p + p { margin-top: 9px; }
/* 脚注统一顶到底：三张卡文字长短不一，不顶底就会一条高一条低 */
.fnote { margin-top: auto !important; padding-top: 13px; border-top: 1px dashed var(--line);
         font-size: 12.5px !important; line-height: 1.7; color: #93a3b4 !important; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 14px; }
.split > div { background: #f4f8ff; border: 1px solid #dce8fb; border-radius: 11px; padding: 11px 13px 12px; }
.split b { display: block; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 3px; }
.split span { font-size: 12px; color: #7b8ea6; }
.split em { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: #9aabbf; }

/* 对账单：做成一张纸的样子。数字用等宽数字，四行末位对齐，客户一眼能加 */
.paper { margin: 14px 0 14px; background: #fbfcfe; border: 1px solid #e3ebf6;
         border-radius: 10px; padding: 13px 15px 9px; }
.paper-hd { display: flex; justify-content: space-between; align-items: baseline;
            font-size: 12px; color: #8a9ab0; padding-bottom: 9px; margin-bottom: 5px;
            border-bottom: 1px solid #e6edf7; }
.paper-hd b { font-size: 12px; font-weight: 600; color: #5b6f88; }
.paper-row { display: flex; justify-content: space-between; gap: 10px;
             padding: 5px 0; font-size: 13px; color: #5b6f88; }
.paper-row i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); }
.paper-row i.up { color: #c0392b; }   /* 欠款变多：红。跟国内账本的习惯一致 */
.paper-row i.dn { color: #15803d; }
.paper-row.tot { border-top: 1px solid #e6edf7; margin-top: 5px; padding-top: 9px;
                 font-weight: 600; color: var(--ink); }
.paper-row.tot i { font-size: 15px; font-weight: 700; }

.perm { width: 100%; border-collapse: collapse; margin: 13px 0 14px; font-size: 13px; }
.perm th { padding: 0 0 8px; font-size: 12px; font-weight: 500; color: #8a9ab0; text-align: center; }
.perm th:first-child { text-align: left; }
.perm td { padding: 8px 0; border-top: 1px solid #eef3fa; color: #5b6f88; }
.perm td:first-child { color: var(--ink); }
.perm td + td { text-align: center; }
.perm .yes { color: var(--brand); font-weight: 600; }
.perm .no { color: #b9c7d8; }

/* ============ 窄屏 ============
 * 客户可能用 1366 的笔记本，也可能在微信里点开（390 宽）。
 * 断点按"内容开始挤"来定，不按设备名。
 */
@media (max-width: 1080px) {
  .hero h1 { font-size: 48px; letter-spacing: -1.2px; }
  .hero-body { grid-template-columns: 1fr 460px; gap: 32px; }
  .end-top h2 { font-size: 68px; letter-spacing: -2.6px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .get-grid { grid-template-columns: 1fr 1fr; }
  .dl.main { grid-column: 1 / -1; }
  /* 流转链在这一档换成两行：五个节点挤一行，字会被压成一列一列的 */
  .chain { flex-wrap: wrap; }
  .node { flex: 1 1 190px; }
  .arw { display: none; }
  .fthree { grid-template-columns: 1fr 1fr; }
  .fcard:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hdr, .hero-in, .base-in, .work-in, .get-in, .end-top, .end-cols, .end-legal {
    padding-left: 20px; padding-right: 20px;
  }
  .hero-body { grid-template-columns: 1fr; gap: 34px; margin-top: 36px; }
  .hero-shot { order: 2; }
  .hero-shot img { transform: none; }        /* 手机上不斜：斜了字更小、还容易切边 */
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .lead { font-size: 16px; }
  .cols { grid-template-columns: 1fr; margin-top: 44px; padding-bottom: 52px; }
  .two { grid-template-columns: 1fr; }
  /* 五张卡在 1080 那档是死 3 列，到 561（还没进 ≤560 的单列）每张只剩 177 ——
     比 560 宽的屏更挤，标题又要压成两行。这段改成按 200 的下限自动排：
     860/768 仍是 3 列，640 以下自己掉到 2 列，不用再写一个断点。 */
  .strip { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .get-grid { grid-template-columns: 1fr; }
  .dl.main { grid-column: auto; }
  .end-top { padding-top: 64px; padding-bottom: 60px; }
  .end-top h2 { font-size: 46px; letter-spacing: -1.6px; }
  .end-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .end-cols .brand { grid-column: 1 / -1; }
  .base { padding: 52px 0; }
  .work { padding: 52px 0 56px; }
  .get { padding: 52px 0 48px; }
  .flow { padding: 52px 0 58px; }
  .flow-in { padding-left: 20px; padding-right: 20px; }
  /* 竖着排：手机上一行放不下五个节点，横着滚更没人看第二个。
     但**不能还是一张张大卡**——五张竖排卡在 390 宽上要滑掉一屏半。
     压成一行一句：编号、名称、说明顺排，放不下自动折行（一条 50px 上下）。
     `flex: none` 必须写：父级是 column，留着 flex:1 会把每条拉成等分，中间空一大块。 */
  .chain { flex-direction: column; gap: 0; }
  .node { flex: none; border-radius: 0; border-top: 0; padding: 11px 14px; }
  .node:first-child { border-top: 1px solid var(--line); border-radius: 13px 13px 0 0; }
  .node:last-child { border-radius: 0 0 13px 13px; }
  .node em { display: inline; margin-right: 9px; }
  .node b { display: inline; margin: 0 8px 0 0; font-size: 14.5px; }
  .node span { display: inline; font-size: 12.5px; }
  .flow-hd h2 span { display: block; }
  .fthree { grid-template-columns: 1fr; }
  .fcard:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .hdr-nav .btn-ghost, .hdr-nav .nav-txt { display: none; }  /* 手机上一颗「免费注册」就够，再多挤 */
  .hero h1 { font-size: 33px; letter-spacing: -.6px; }
  .pills { gap: 9px; }
  .pill { height: 50px; padding: 0 18px; font-size: 14.5px; }
  .pill.main { padding: 0 20px; }
  .pill.main small { display: none; }        /* 窄屏胶囊里塞不下版本号，下载区有 */
  .end-top h2 { font-size: 38px; }
  .end-cta .b1, .end-cta .b2 { width: 100%; }
  .end-cols { grid-template-columns: 1fr; }
  .end-legal .r { margin-left: 0; }
  .flow-hd h2 { font-size: 26px; }
  .node { padding: 13px 14px 15px; }
  .fcard { padding: 19px 18px 17px; }

  /* ---- 深蓝区五张卡（2026-11-07 手机端优化）----
     1080 那档降到 3 列之后，560 以下一直没再降过：390 宽每张只剩 107，
     标题被压成「一台电脑 / 就是服务 / 器」三行，一段话要竖着读；360 上更窄（97）。
     手机一列到底，但**不做成五张大卡**——图标提到左边、文字靠右，
     一条 100 出头，五个加起来比原来三列两行还短。 */
  .strip { grid-template-columns: 1fr; gap: 10px; }
  .cell { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px;
          padding: 16px 16px 17px; align-items: start; }
  .cell > svg { grid-column: 1; grid-row: 1 / span 2; width: 24px; height: 24px; margin: 1px 0 0; }
  .cell > b { grid-column: 2; margin-bottom: 5px; }
  .cell > p { grid-column: 2; }

  /* 「底下这一层，才是难做的」11 个字 × 32px 在 390 上正好顶满一行，左右一点余量都没有 */
  .base-hd h2 { font-size: 26px; }

  /* ui.png 是 1200×750 的桌面截图：390 宽下缩成 348，等于把字压到 29%，谁也看不清。
     手机上不缩，按 620 宽放进去、在框里左右滑（提示见 index.html 的 .img-hint）。 */
  /* 滚动条细一点、浅一点：默认那条灰杠横在图片下面，像图片加载失败留的空 */
  .card-img { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(16, 36, 64, .2) transparent; }
  .card-img::-webkit-scrollbar { height: 6px; }
  .card-img::-webkit-scrollbar-thumb { background: rgba(16, 36, 64, .2); border-radius: 3px; }
  .card-img::-webkit-scrollbar-track { background: transparent; }
  .card-img img { width: 620px; max-width: none; }
}
