/* ============================================================
   生意帮官网 · 统一设计系统 v1
   简约 · 商务 · 桌面优先（≥768px 双栏），移动端降级单栏
   ============================================================ */
:root{
  --brand:#0f766e;        /* 品牌墨绿 */
  --brand-weak:#e4f1ee;   /* 品牌浅底 */
  --ink:#111111;          /* 主文字 */
  --text:#444444;         /* 次文字 */
  --muted:#888888;        /* 弱文字 */
  --line:#e5e8eb; --card:#ffffff; --white:#ffffff;         /* 分隔线 */
  --soft:#f7f8f9;         /* 浅底 */
  --bad:#d7261e; --ok:#0e7a38; --warn:#b26a00;
  --radius:12px; --radius-lg:16px;
  --shadow:0 1px 2px rgba(16,24,40,.05);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink); background:#fff; font-size:15px; line-height:1.7;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{ color:var(--brand); text-decoration:none; }
a:hover{ opacity:.82; }

/* ── 容器：桌面 1080 双栏基础 ── */
.wrap{ max-width:1080px; margin:0 auto; padding:0 32px; }
.grid{ display:grid; gap:28px; }
.grid.c2{ grid-template-columns:1fr 1fr; }
.grid.wide-left{ grid-template-columns:1.6fr 1fr; }
@media (max-width:860px){
  .wrap{ padding:0 18px; }
  .grid.c2,.grid.wide-left{ grid-template-columns:1fr; gap:20px; }
}

/* ── 页头 ── */
.site-head{ position:sticky; top:0; z-index:50; background:#fff; border-bottom:1px solid var(--line); }
.site-head .nav{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:17px; letter-spacing:-.01em; color:var(--ink); text-decoration:none; }
.brand .lg{ width:34px; height:34px; border-radius:9px; background:var(--brand); color:#fff;
            display:flex; align-items:center; justify-content:center; font-size:17px; }
.navlinks{ display:flex; align-items:center; gap:24px; font-size:14.5px; }
.navlinks a{ color:var(--text); }
.navlinks a:hover{ color:var(--brand); opacity:1; }
.navlinks a.on{ color:var(--brand); font-weight:600; }

/* ── 登录状态条 ── */
#hsyAuthBar{ font-size:12.5px; padding:7px 0; text-align:right; background:var(--soft);
             color:var(--muted); border-bottom:1px solid var(--line); }
#hsyAuthBar .dot{ display:inline-block; width:6px; height:6px; border-radius:50%;
                  background:var(--brand); margin-right:6px; vertical-align:1px; }
#hsyAuthBar b{ color:var(--text); font-variant-numeric:tabular-nums; }
#hsyAuthBar a{ margin:0 3px; }

/* ── 页头标题区 ── */
.page-head{ padding:44px 0 6px; }
.page-head h1{ font-size:26px; font-weight:700; letter-spacing:-.02em; }
.page-head .sub{ font-size:14.5px; color:var(--text); margin-top:6px; }
.page-head .sub b{ color:var(--brand); }
@media (max-width:860px){ .page-head{ padding:30px 0 4px; } .page-head h1{ font-size:22px; } }

/* ── 卡片 ── */
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.card .card-h{ padding:16px 20px; border-bottom:1px solid var(--line); font-size:15px; font-weight:600; }
.card .card-b{ padding:20px; }
.lab{ font-size:13px; color:var(--muted); margin-bottom:10px; }

/* ── 按钮 ── */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
      font-size:15px; font-weight:600; padding:12px 22px; border-radius:11px;
      border:1px solid transparent; cursor:pointer; font-family:inherit; text-decoration:none; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.btn-pri{ background:var(--brand); color:#fff; }
.btn-pri:hover{ background:#0b5f59; }
.btn-ghost{ background:#fff; color:var(--brand); border-color:var(--brand); }
.btn-ghost:hover{ background:var(--brand-weak); }
.btn-block{ display:flex; width:100%; }
.btn-sm{ font-size:13.5px; padding:8px 14px; border-radius:9px; }

/* ── 表单 ── */
.form-label{ display:block; font-size:13px; color:var(--muted); margin-bottom:6px; }
.form-input{ width:100%; font-size:15.5px; padding:11px 13px; border:1px solid var(--line);
             border-radius:10px; background:#fff; outline:none; -webkit-appearance:none;
             font-family:inherit; color:var(--ink); font-variant-numeric:tabular-nums; }
.form-input:focus{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-weak); }
.form-input::placeholder{ color:#b9bfc4; }
.form-input[readonly]{ background:var(--soft); }
.msg{ font-size:13px; line-height:1.7; }
.msg.bad{ color:var(--bad); } .msg.ok{ color:var(--ok); }

/* ── 状态标签 ── */
.tag{ display:inline-block; font-size:11.5px; padding:2px 10px; border-radius:999px;
      background:#f1f2f4; color:var(--muted); }
.tag.ok{ background:var(--brand-weak); color:var(--brand); }
.tag.wait{ background:#fdf3e3; color:var(--warn); }
.tag.bad{ background:#fdeceb; color:var(--bad); }

/* ── 表格（订单等）── */
.tbl{ width:100%; border-collapse:collapse; font-size:13.5px; }
.tbl th{ text-align:left; font-size:12px; color:var(--muted); font-weight:500;
         padding:10px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.tbl td{ padding:12px; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
.tbl tr:last-child td{ border-bottom:0; }

/* ── 页脚 ── */
.site-foot{ border-top:1px solid var(--line); padding:34px 0 44px; font-size:12.5px; color:var(--muted); }
.site-foot .flinks{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom:10px; }
.site-foot a{ color:var(--muted); }
.site-foot .fnum{ font-variant-numeric:tabular-nums; }

/* ── 内容页排版（terms/privacy/refund）── */
.doc h2{ font-size:17px; font-weight:700; margin:26px 0 10px; }
.doc p, .doc li{ color:var(--text); font-size:14.5px; }
.doc ul{ padding-left:20px; }
.doc .meta-line{ font-size:13px; color:var(--muted); }
