/* 很简单进销存官网样式。
   规矩：不引第三方 UI 库、不引字体 CDN（厂区网络经常打不开外网），
   只用一个 CSS 文件 + 系统字体。手机优先，桌面加宽。
   首屏尺寸照 weixin.qq.com 量的（1280 视口逐像素扫的）：
   正文区 438、圆排铺 886、胶囊排 636、胶囊高 56。 */

:root {
  --brand: #1a5fb4;
  --brand-dk: #134a8f;
  --ink: #132131;
  --mute: #5c6d7e;
  --line: #e4e9ef;
  --bg: #fff;
  --bg-2: #f6f8fb;
  --ok: #15803d;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC",
               "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
p { margin: 0 0 12px; }
.tiny { font-size: 13px; color: #8695a5; margin: 0; }

/* ============ 蓝块：高度由内容撑，不写 100vh ============ */
.stage {
  position: relative;
  background: var(--brand);
  color: #fff;
  /* 上 padding 必须比 .lang 高：内容在块里垂直居中，padding 小就会顶到那行小链接上 */
  padding: 64px 24px 92px;
  min-height: 526px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 50% 50% / 0 0 56px 56px;
}
/* 绝对定位：留在 flex 流里会被 justify-content:center 一起居中，跑到屏幕中间 */
.lang {
  position: absolute;
  top: 18px;
  right: 26px;
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
}
.lang a:hover { color: #fff; }

/* 438 → 510：标题放大到 60px 后，六个字加图标要 441，438 差 3 就给挤换行了。
   留 14% 余量，别的机器上字体宽一点点也不会崩。 */
.core { width: 510px; max-width: 100%; text-align: center; }

.lockup { display: flex; align-items: center; justify-content: center; gap: 16px; }
/* 56 → 64：标题 60px 时图标块比字矮一截，看着像贴错了大小的徽标 */
.mark {
  width: 64px; height: 64px; border-radius: 17px; flex: none;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  display: flex; align-items: center; justify-content: center;
}
.mark svg { width: 35px; height: 35px; }
/* 产品名必须压过下面所有东西：27px 时和 h2 一样大，看着像页脚签名。
   2026-11-01 老板「标题再大一些，1.2–1.8 倍」→ 40 × 1.5 = 60。
   为什么不取 1.8（72px）：六字 432 + 字距 9 + 图标块 72 = 513，超过 .core 的 510，
   flex 会把它压到换行，一行变两行——那是错，不是大。
   60 是这块能容下的最大整档；再大就得动整块版式，不是调个字号的事。 */
.lockup b { font-size: 60px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.1; }

.rule { height: 1px; background: rgba(255, 255, 255, .26); margin: 22px 0 0; }

/* 三行，行高 36（跟微信那三行日志一致） */
.rows { margin: 8px 0 0; padding: 0; list-style: none; text-align: left; }
.rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 8px 0; font-size: 14px; line-height: 20px;
}
.rows li span { color: rgba(255, 255, 255, .62); flex: none; font-variant-numeric: tabular-nums; }
.rows li b { font-weight: 400; }
.more { display: block; text-align: left; margin: 6px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.more:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 圆排：微信 6 个铺开 886，我们照 6 个、直径 90、间距 66 */
.rings { width: 100%; display: flex; justify-content: center; gap: 66px; margin: 30px 0 0; }
.ring { width: 90px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ring i {
  width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease;
}
.ring:hover i { background: rgba(255, 255, 255, .24); }
.ring svg { width: 36px; height: 36px; }
.ring em { font-style: normal; font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .92); }

/* 胶囊排：微信 3 个铺开 636（每个约 190 + 间距 33） */
.pills { width: 100%; display: flex; justify-content: center; gap: 33px; margin: 24px 0 0; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; width: 190px; padding: 0 14px; border-radius: 6px;
  font-size: 14px; background: rgba(255, 255, 255, .14);
  transition: background .18s ease;
}
.pill:hover { background: rgba(255, 255, 255, .24); }
.pill.main { background: #fff; color: var(--brand-dk); font-weight: 600; }
.pill.main:hover { background: #f2f6ff; }
.pill svg { width: 17px; height: 17px; flex: none; }

/* ============ 蓝块下面：四列卡片矩阵 ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 170px);
  gap: 32px 50px;
  justify-content: center;
  padding: 56px 24px 40px;
}
.tile {
  width: 170px; height: 170px; border-radius: 8px; background: #fff;
  box-shadow: 0 2px 10px rgba(19, 33, 49, .07);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.tile:hover { box-shadow: 0 8px 22px rgba(19, 33, 49, .13); transform: translateY(-2px); }
.tile svg { width: 46px; height: 46px; }
.tile span { font-size: 13.5px; color: #33465a; }

/* ============ 白底细线列表 ============ */
.band { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.band h2 { margin: 0 0 6px; font-size: clamp(21px, 2.6vw, 27px); font-weight: 600; letter-spacing: -.2px; line-height: 1.3; }
.band .say { color: var(--mute); font-size: 15.5px; margin: 0 0 30px; }

.list { border-top: 1px solid var(--line); }
.list div { display: grid; grid-template-columns: 186px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list b { font-weight: 600; font-size: 15.5px; }
.list p { margin: 0; color: var(--mute); font-size: 14.5px; }

.shot {
  margin: 44px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(19, 33, 49, .10);
}
.shot img { display: block; width: 100%; height: auto; }

/* ============ 下载 ============ */
.get { padding-top: 64px; }
.get .row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.ver { font-size: 14px; color: var(--mute); }

/* 哈希条：淡底 + 等宽字。等宽是为了两边对齐——
   客户拿放大镜逐位比的时候，比例字体的 0 和 O 长得一样，能逼疯人。 */
.hash {
  margin: 22px 0 0; padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; color: var(--mute); line-height: 1.55;
  word-break: break-all;
}
.hash b { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.hash span {
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 12.5px; letter-spacing: .2px; color: #46596b;
}

/* ============ 测试版横幅 ============
   放在蓝块上方、整宽一条。不塞进蓝块里：蓝块高度是照微信量过的 526，
   塞进去会把整块顶高，跟老板"不要太满"那个结论打架。
   颜色用淡琥珀，不用红：红是"出事了"，这里要的是"还没做完"。 */
.beta {
  background: #fff8e6;
  border-bottom: 1px solid #f0dca8;
  color: #7a5a10;
  font-size: 13.5px;
  line-height: 1.6;
  padding: 10px 24px;
  text-align: center;
}
.beta b {
  display: inline-block;
  margin-right: 8px; padding: 1px 9px;
  background: #f3c95b; color: #4a3606;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .4px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 16px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  box-shadow: 0 10px 26px rgba(26, 95, 180, .28);
  transition: transform .16s ease, background .16s ease;
}
.btn:hover { background: var(--brand-dk); transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dk); }
.btn.ghost {
  background: #fff; color: var(--brand-dk);
  border-color: var(--line); box-shadow: none;
}
.btn.ghost:hover { border-color: #cfd8e3; background: #fbfcfd; }
.btn.wide { width: 100%; margin-top: 18px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ============ 申请 / 怎么拿到账号 ============ */
.apply { padding-top: 64px; padding-bottom: 72px; }
form { margin-top: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
label { display: block; font-size: 14px; color: var(--mute); }
label i { color: var(--brand); font-style: normal; }
label.full { margin-top: 14px; }
input, select, textarea {
  width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #9db4cc;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, .10);
}
input.bad, textarea.bad { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .08); }
.formnote { margin: 14px 0 0; font-size: 14px; min-height: 22px; }
.formnote.ok { color: var(--ok); }
.formnote.err { color: #b91c1c; }

/* 中枢没上公网时：表单换成电话。没有后端也要能把事办成。 */
.contact-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); padding: 26px 24px; text-align: center;
}
.cb-title { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.cb-line {
  margin: 0 0 10px; font-size: clamp(20px, 5vw, 26px);
  font-weight: 600; color: var(--brand);
}
.cb-line a { text-decoration: none; color: inherit; }
.cb-hint { margin: 0; font-size: 14px; color: var(--mute); }

/* 领到码之后：把号亮出来 */
.done {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); padding: 26px 24px; text-align: center;
}
.done-label { margin: 0; font-size: 14px; color: var(--mute); }
.done-code {
  margin: 6px 0 2px; font-size: clamp(28px, 7vw, 40px); font-weight: 600;
  letter-spacing: 2px; color: var(--brand);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  user-select: all;
}
.done-hint { margin: 8px auto 0; max-width: 520px; font-size: 14px; color: var(--mute); }
.done-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.steps { counter-reset: step; margin: 24px auto 0; padding: 0; list-style: none; max-width: 560px; text-align: left; }
.steps li { position: relative; padding: 7px 0 7px 28px; font-size: 14px; color: var(--mute); }
.steps li b { color: var(--ink); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center;
}

/* 查进度 */
.check { margin-top: 28px; border-top: 1px dashed var(--line); padding-top: 16px; }
.check summary { cursor: pointer; font-size: 14px; color: var(--mute); }
.inline { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.inline input { flex: 1 1 170px; width: auto; }
.inline .btn { padding: 11px 22px; font-size: 15px; }

/* ============ 页脚 ============ */
/* 照微信官网那一条的做法：一根细线，居中两行，字号收到 12–13，
   不跟正文抢。电话和登录入口都不在这儿摆——登录顶部导航有了，
   两处都放，底部会比正文还挤。 */
.foot { border-top: 1px solid var(--line); padding: 30px 0 38px; text-align: center; font-size: 13px; color: #8695a5; }
.foot-brand { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.foot-meta { margin: 0; font-size: 12.5px; color: #98a4b3; line-height: 1.9; }
.foot-meta .dot { margin: 0 8px; color: #c9d2db; }
/* 备案号是合规要求，不该比正文抢眼：跟着小字一起灰，鼠标上去才显色 */
.foot-meta a { color: #98a4b3; text-decoration: none; }
.foot-meta a:hover { color: var(--brand); }
.ph { color: var(--ink); }

/* ============ 404 ============ */
.stage.slim { min-height: 0; padding: 110px 24px 120px; }
.err-code { margin: 0; font-size: 64px; font-weight: 600; letter-spacing: 3px; opacity: .92; }
.err-t { margin: 4px 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -.2px; }
.err-p { margin: 0 0 26px; font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.err-hint { margin: 26px 0 0; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .6); }

/* ============ 断点 ============ */
@media (max-width: 1180px) {
  .rings { gap: 40px; }
  .pills { gap: 20px; }
  .pill { width: auto; min-width: 150px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 132px); gap: 22px 26px; padding-top: 44px; }
  .tile { width: 132px; height: 132px; }
}
@media (max-width: 720px) {
  /* 横幅手机上会折成三行，字号收到 13、左右留 16，别让一条提示吃掉半屏 */
  .beta { font-size: 13px; padding: 9px 16px; text-align: left; }
  .beta b { margin-right: 6px; }
  .stage { padding: 46px 18px 56px; border-radius: 0 0 50% 50% / 0 0 32px 32px; }
  /* 手机上「登录 帮助」只有 13px 高，padding 小就会贴着产品名右上角 */
  .lang { top: 12px; right: 16px; gap: 14px; font-size: 12.5px; }
  .lockup { gap: 11px; }
  /* 30 → 42（桌面放大 1.5 倍，手机跟 1.4）：390 屏可用 354，
     六字 252 + 字距 6 + 图标 44 + 间距 11 = 313，还差 41 才顶边。 */
  .lockup b { font-size: 42px; letter-spacing: 1px; }
  .mark { width: 44px; height: 44px; border-radius: 12px; }
  .mark svg { width: 24px; height: 24px; }
  /* 6 个圆一行在 390 下塞不住（6×60+5×10=410 > 354），改 3×2 网格 */
  .rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 0; margin-top: 26px; }
  .ring { width: auto; }
  .ring i { width: 58px; height: 58px; margin: 0 auto; }
  .ring svg { width: 25px; height: 25px; }
  .ring em { font-size: 11.5px; }
  /* 三个胶囊挤一行等分，别换行——换行会剩一个孤零零居中 */
  .pills { gap: 6px; }
  .pill { width: auto; min-width: 0; flex: 1 1 0%; height: 44px; font-size: 12px; padding: 0 4px; gap: 5px; white-space: nowrap; }
  .pill svg { width: 14px; height: 14px; }
  .grid { grid-template-columns: repeat(2, 140px); gap: 16px 18px; padding: 36px 18px 28px; }
  .tile { width: 140px; height: 140px; }
  .list div { grid-template-columns: 1fr; gap: 4px; }
  .grid2 { grid-template-columns: 1fr; }
  .inline input { flex: 1 1 100%; }
  .foot { padding: 26px 0 34px; }
}
