/* 8FO OPC · 商业文件 / 台账质感
   两条颜色纪律：青绿只表示「已核验 / 系统」，暗金只表示「钱」。不混用。 */

:root {
  /* 配色取自 8fo.com 门户（深海蓝 #060d1e + 主蓝 #4d9bff + 青 #5ad1ff + 金 #f6c552）。
     两条颜色纪律不变：蓝只表示「已核验 / 系统」，金只表示「钱」。不混用。 */
  --paper: #060d1e;          /* 页面底 */
  --paper-2: #0b1730;        /* 卡片 / 面板，比底亮一档 */
  --ink: #e9effb;
  --ink-2: #c3d2e8;
  --muted: #93a6c4;
  --muted-2: #6b7f9e;
  --rule: rgba(140, 190, 255, .16);
  --rule-2: rgba(140, 190, 255, .09);
  --rule-strong: rgba(140, 190, 255, .34);   /* 原用 --ink 当强调分割线的地方 */
  --teal: #4d9bff;
  --teal-lite: #5ad1ff;
  --teal-dim: #5b8fd6;
  --gold: #f6c552;
  --night: #040a19;          /* 深区块底，比页面再深一档 */
  --night-2: rgba(140, 190, 255, .14);
  --night-3: #93a6c4;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* 深底需要一层极淡的径向光，否则整页平得像 PDF。取自 8fo 门户同款。 */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(77, 155, 255, .13), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(90, 209, 255, .07), transparent 60%),
    radial-gradient(1100px 700px at 50% 108%, rgba(27, 107, 214, .10), transparent 65%);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 演示实例横幅：只出现在 DEMO_MODE=1 的独立实例上。
   用斜纹+琥珀色，和正式站的两个语义色（青绿=已核验、暗金=钱）都不撞，
   避免有人把截图里的横幅当成站点设计的一部分。 */
.demo-bar {
  position: sticky; top: 0; z-index: 99;
  padding: 10px 22px;
  background: repeating-linear-gradient(135deg, #2b2205 0 12px, #35290a 12px 24px);
  color: #f6c552;
  font-size: 12.5px; line-height: 1.62; text-align: center;
  letter-spacing: .01em;
  border-bottom: 1px solid #4a3a0c;
}
.demo-bar b {
  display: inline-block; margin-right: 8px; padding: 1px 7px;
  border: 1px solid #7a6420; border-radius: 3px;
  color: #ffdf9a; font-weight: 600; font-size: 11.5px;
  letter-spacing: .06em;
}
@media (max-width: 720px) { .demo-bar { font-size: 11.5px; text-align: left; padding: 9px 16px; } }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; padding: 17px 30px;
  border-radius: 4px; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; font-family: inherit;
}
.btn-sm { font-size: 13px; padding: 11px 18px; }
.btn-ink { background: linear-gradient(150deg, #3f8df5, #1a63c8 88%); color: #fff; font-weight: 500; box-shadow: 0 10px 26px rgba(77, 155, 255, .26); }
.btn-ink:hover { background: linear-gradient(150deg, #4d9bff, #1f6fd8 88%); box-shadow: 0 12px 30px rgba(77, 155, 255, .34); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-paper { background: linear-gradient(150deg, #3f8df5, #1a63c8 88%); color: #fff; font-weight: 500; box-shadow: 0 10px 26px rgba(77, 155, 255, .26); }
.btn-paper:hover { background: linear-gradient(150deg, #4d9bff, #1f6fd8 88%); box-shadow: 0 12px 30px rgba(77, 155, 255, .34); }
.btn-ghost-dark { background: transparent; color: var(--muted); border-color: var(--rule-strong); }
.btn-ghost-dark:hover { color: var(--ink); border-color: rgba(140, 190, 255, .42); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link-quiet { font-size: 13px; color: var(--muted); }
.link-quiet:hover { color: var(--ink); }

/* ---------- 页头 ---------- */
.head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 13, 30, .82);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-in {
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: -.02em;
}
.brand-mark.light { color: var(--ink); }
.brand-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em;
  background: var(--ink); color: #06101f; padding: 4px 7px; border-radius: 2px;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 13px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.head-act { display: flex; align-items: center; gap: 22px; }

/* ---------- 首屏 ---------- */
.hero { padding: 88px 0 96px; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 72px; align-items: start;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }
.h1 {
  margin-top: 22px;
  font-size: clamp(40px, 4.6vw, 62px); line-height: 1.16; font-weight: 700; letter-spacing: -.02em;
}
.hero-sub {
  margin-top: 26px; max-width: 33em;
  font-size: 17px; line-height: 1.78; color: var(--muted);
}
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.trust {
  display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap;
}
.trust li {
  font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .02em;
  position: relative;
}
.trust li + li::before {
  content: ""; position: absolute; left: -15px; top: 50%; width: 1px; height: 10px;
  margin-top: -5px; background: var(--rule);
}

/* 台账卡 */
.ledger {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px;
  overflow: hidden; box-shadow: 0 22px 54px rgba(0, 0, 0, .34);
}
.ledger-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--rule-2);
}
.ledger-title { font-size: 13px; font-weight: 500; }
.ledger-date { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.ledger-body { padding: 6px 22px 12px; }
.lrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid var(--rule-2);
}
.lrow:last-child { border-bottom: 0; }
.lrow span { font-size: 13px; color: var(--muted); }
.lrow b { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--ink); }
.lrow b.money { color: var(--gold); }
.ledger-foot {
  display: flex; align-items: center; justify-content: space-between;
  background: #081126; border-top: 1px solid var(--rule); padding: 17px 22px;
}
.ledger-foot span { font-size: 12px; color: var(--muted); }
.ledger-foot b { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--teal-lite); }

/* ---------- 通用区块 ---------- */
.sec { padding: 92px 0 96px; }
.sec-night { background: linear-gradient(180deg, #040a19, #071026 55%, #040a19); color: var(--ink); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
  margin-bottom: 44px;
}
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-dim); margin-bottom: 16px;
}
.kicker-gold { color: var(--gold); }
.h2 {
  font-size: clamp(28px, 3.1vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em;
}
.h2-light { color: var(--ink); }
.h2.big { font-size: clamp(30px, 3.6vw, 46px); }
.h3 { font-size: 26px; line-height: 1.35; font-weight: 700; }
.sec-note {
  max-width: 24em; text-align: right; font-size: 14px; line-height: 1.85; color: var(--muted);
}
.sec-night .sec-note { color: var(--night-3); }

/* ---------- 你的一天 ---------- */
.daylist { margin-top: 8px; }
.daylist li {
  display: grid; grid-template-columns: 40px 330px 1fr 100px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--night-2);
}
.daylist li:last-child { border-bottom: 1px solid var(--night-2); }
.dnum { font-family: var(--mono); font-size: 12px; color: var(--teal-dim); }
.dt { font-size: 19px; font-weight: 500; color: var(--ink); }
.dd { font-size: 14px; color: var(--night-3); }
.dm { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.dayfoot {
  display: flex; align-items: baseline; gap: 18px; margin-top: 26px; flex-wrap: wrap;
}
.dayfoot b { font-family: var(--mono); font-size: 12px; color: var(--teal-dim); letter-spacing: .02em; }
.dayfoot span { font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 64em; }

/* ---------- 收入台账 ---------- */
.ev { width: 100%; border-collapse: collapse; }
.ev thead th {
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted-2);
  text-align: left; padding: 0 0 13px; border-bottom: 1px solid var(--rule-strong);
  letter-spacing: .04em;
}
.ev tbody td {
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  font-size: 14px; color: var(--muted);
}
.ev tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.ev-name { font-size: 15px; font-weight: 500; color: var(--ink); }
.mono { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }
.money { color: var(--gold); font-weight: 500; }
.ta-r { text-align: right; }
.fineprint { margin-top: 22px; font-size: 12px; line-height: 1.8; color: var(--muted-2); }

/* ---------- 能力网格 ---------- */
.capgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--night-2); border: 1px solid var(--night-2);
}
.cap { background: #050c1c; padding: 30px 28px 34px; }
.cap h3 { font-size: 21px; font-weight: 500; color: var(--ink); margin: 14px 0 10px; }
.cap p { font-size: 13px; line-height: 1.78; color: var(--night-3); }
.cnum { font-family: var(--mono); font-size: 11px; color: var(--teal-dim); }
.capfoot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 26px; flex-wrap: wrap;
}
.capfoot p { font-size: 14px; color: var(--night-3); }
.chips { display: flex; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--teal-lite);
  border: 1px solid rgba(90, 209, 255, .40); border-radius: 3px; padding: 8px 16px;
  background: rgba(90, 209, 255, .07);
}

/* ---------- 头七天 + 分佣 ---------- */
.start-in { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 76px; align-items: start; }
.start-sub { margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 34em; }
.steps { margin-top: 26px; }
.steps li {
  display: grid; grid-template-columns: 84px 1fr; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule-2);
  font-size: 14px; color: var(--ink-2);
}
.steps li:first-child { border-top: 1px solid var(--rule-2); }
.eday { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: .04em; }
.steps-note { margin-top: 22px; font-size: 12.5px; line-height: 1.85; color: var(--muted-2); }
.steps-note a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.steps-note a:hover { border-color: var(--ink); }

.start-right { border-top: 2px solid var(--rule-strong); padding-top: 22px; }
.commission { margin-top: 10px; }
.crow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--rule-2);
}
.crow span { font-size: 14px; color: var(--muted); }
.crow b { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--gold); }
.cnote { margin-top: 16px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.cnote.strong { color: var(--ink); font-weight: 500; }
.meta { margin-top: 16px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-2); }
.mrow {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 0;
  border-bottom: 1px solid var(--rule-2);
}
.mrow:last-child { border-bottom: 0; }
.mrow span { font-size: 13px; color: var(--muted); }
.mrow b { font-size: 13px; font-weight: 500; }

/* ---------- 结尾 ---------- */
.sec-final { padding: 100px 0 96px; }
.final-sub {
  margin: 22px auto 0; max-width: 40em;
  font-size: 15px; line-height: 1.95; color: var(--night-3);
}
.final-cta { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.final-fine { margin-top: 22px; font-size: 12px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.foot { background: var(--night); color: var(--ink); padding: 44px 0 52px; border-top: 1px solid var(--rule); }
.foot-top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.foot-desc { margin-top: 12px; font-size: 13px; color: var(--night-3); }
.foot-legal { margin-top: 8px; font-size: 12px; color: var(--muted-2); }
.foot-links { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-links h4 { font-size: 12px; font-weight: 400; color: var(--muted-2); margin-bottom: 12px; }
.foot-links a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule-2); font-size: 12px; color: var(--muted-2); }

/* ---------- 内页通用（申请 / 门户） ---------- */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; font-weight: 700; margin-top: 14px; }
.page-head p.lead { margin-top: 14px; font-size: 15px; line-height: 1.85; color: var(--muted); max-width: 40em; }
.page-body { padding: 48px 0 96px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.field label em { font-style: normal; color: var(--muted-2); font-weight: 400; margin-left: 6px; font-size: 12px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; font-size: 14px; font-family: inherit;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px;
  color: var(--ink); outline: none; transition: border-color .16s ease;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.field .hint { margin-top: 7px; font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--muted-2); }
.alert { padding: 13px 16px; border-radius: 4px; font-size: 13px; line-height: 1.7; margin-bottom: 20px; display: none; }
.alert.show { display: block; }
.alert-err { background: rgba(255, 128, 128, .10); border: 1px solid rgba(255, 128, 128, .34); color: #ffb0b0; }
.alert-ok { background: rgba(74, 222, 128, .09); border: 1px solid rgba(74, 222, 128, .30); color: #79e8a6; }

.side-card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 26px; box-shadow: 0 18px 44px rgba(0, 0, 0, .26); }
.side-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.side-card .srow {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--rule-2); font-size: 13px; color: var(--muted);
}
.side-card .srow:last-of-type { border-bottom: 0; }
.side-card .srow b { color: var(--ink); font-weight: 500; }
.side-card p { font-size: 12.5px; line-height: 1.8; color: var(--muted-2); margin-top: 14px; }

/* 门户工作台 */
.board { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.task-list li {
  display: grid; grid-template-columns: 28px 72px 1fr; gap: 14px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--rule-2);
}
.task-list li:first-child { border-top: 1px solid var(--rule-2); }
.tick {
  width: 20px; height: 20px; margin-top: 3px; border: 1px solid var(--rule-strong); border-radius: 3px;
  background: var(--paper-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent; padding: 0; font-family: var(--mono);
}
.tick[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tday { font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 4px; letter-spacing: .04em; }
.ttitle { font-size: 14.5px; font-weight: 500; }
.ttitle.done { color: var(--muted-2); text-decoration: line-through; }
.thint { font-size: 12.5px; line-height: 1.7; color: var(--muted-2); margin-top: 4px; }
.progress-line { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.bar { flex: 1; height: 3px; background: var(--rule); position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--teal); }
.progress-line b { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.kpi { background: var(--paper-2); padding: 18px 20px; }
.kpi span { font-size: 12px; color: var(--muted-2); }
.kpi b { display: block; margin-top: 6px; font-family: var(--mono); font-size: 19px; font-weight: 500; }
.kpi b.gold { color: var(--gold); }

.dtable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.dtable th {
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted-2);
  text-align: left; padding: 0 8px 10px 0; border-bottom: 1px solid var(--rule-strong);
}
.dtable td { font-size: 13px; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); }
.dtable td.num { font-family: var(--mono); }
.tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 2px; background: var(--rule-2); color: var(--muted);
}
.tag-paid { background: rgba(77, 155, 255, .14); color: var(--teal); }

.center-narrow { max-width: 520px; margin: 0 auto; }
.hidden { display: none !important; }
.strong { font-weight: 500; color: var(--ink); }
.mt-md { margin-top: 18px; }
.mt-lg { margin-top: 32px; }
.no-top { margin-top: 0 !important; }
.btn-row-center { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 案例站 ----------
   这一页的视觉必须比落地页更「资料」：落地页在说服，案例页在举证。
   所以正文用 15px/1.95 的长文行距、数字全部等宽、装饰一律去掉，只留分割线与档案号。 */
.nav a.on { color: var(--ink); }
.case-hero { padding: 76px 0 64px; }
.case-hero .hero-sub { max-width: 46em; }
.case-list-sec { padding-top: 0; }

.csum {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
  margin-bottom: 44px;
}
.csum-cell { padding: 20px 0 22px; }
.csum-cell + .csum-cell { border-left: 1px solid var(--rule-2); padding-left: 26px; }
.csum-cell span { display: block; font-size: 12px; color: var(--muted-2); }
.csum-cell b {
  display: block; margin-top: 7px;
  font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.02em;
}
.csum-cell b.gold { color: var(--gold); }

.clist { border-top: 1px solid var(--rule-strong); }
.clist-head, .clist-row {
  display: grid; grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.35fr) 96px 130px 140px;
  gap: 20px; align-items: center;
}
.clist-head {
  padding: 0 0 13px; border-bottom: 1px solid var(--rule-strong);
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted-2);
}
.clist-row {
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  transition: background-color .16s ease;
}
.clist-row:hover { background: rgba(77, 155, 255, .05); }
.clist-row:hover .cwho b { color: var(--teal); }
.clist-row:hover .ccom i { opacity: 1; transform: translateX(2px); }
.cid { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }
.cwho { display: flex; flex-direction: column; }
.cwho b { font-size: 15px; font-weight: 500; transition: color .16s ease; }
.cwho em { font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.cwhat { font-size: 13.5px; color: var(--muted); }
.chrs, .camt { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.ccom {
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--gold);
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
}
.ccom i { font-style: normal; opacity: 0; transition: opacity .16s ease, transform .16s ease; color: var(--muted-2); font-size: 12px; }

.cempty { border-top: 2px solid var(--rule-strong); padding-top: 26px; max-width: 42em; }
.cempty .h2 { margin-bottom: 18px; }
.cempty p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.cempty .cempty-plain {
  margin-top: 16px; padding-left: 18px; border-left: 2px solid var(--gold);
  font-size: 13.5px; color: var(--muted);
}
.cempty-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-2); border: 1px solid var(--night-2); }
.g4 .cap { padding: 28px 24px 32px; }
.g4 .cap h3 { font-size: 19px; }

/* 案例详情 */
.case-top { padding: 56px 0 40px; border-bottom: 1px solid var(--rule); }
.crumb { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }
.crumb:hover { color: var(--ink); }
.case-top .kicker { margin: 22px 0 14px; }
.case-h1 {
  font-size: clamp(30px, 3.5vw, 44px); line-height: 1.28; font-weight: 700; letter-spacing: -.02em;
  max-width: 22em;
}
.case-meta { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 22px; }
.case-meta li { font-family: var(--mono); font-size: 11px; color: var(--muted-2); padding-right: 14px; position: relative; letter-spacing: .02em; }
.case-meta li + li::before {
  content: ""; position: absolute; left: -8px; top: 50%; width: 1px; height: 9px; margin-top: -5px; background: var(--rule);
}
.case-body-sec { padding: 56px 0 96px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
/* 网格子项默认 min-width:auto，台账表一撑就把整页顶出横向滚动条 */
.case-grid > * { min-width: 0; }

.cstat {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin-bottom: 48px;
}
.cstat-cell { padding: 20px 0 22px; }
.cstat-cell + .cstat-cell { border-left: 1px solid var(--rule-2); padding-left: 22px; }
.cstat-cell span { display: block; font-size: 11.5px; color: var(--muted-2); }
.cstat-cell b {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: -.02em;
}
.cstat-cell b.gold { color: var(--gold); }

.csec + .csec { margin-top: 52px; }
.csec h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 16px; }
.csec p { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.csec p + p { margin-top: 14px; }
.csec-lead { font-size: 13.5px !important; color: var(--muted) !important; margin-bottom: 18px; }
.cpit { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; }
.cquote {
  margin: 52px 0 0; padding: 28px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
  font-size: 19px; line-height: 1.8; font-weight: 500; letter-spacing: -.01em;
}
.cverify { margin-top: 44px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 22px 24px; box-shadow: 0 18px 44px rgba(0, 0, 0, .24); }
.cverify-head {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.cverify p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.cverify p + p { margin-top: 8px; }
.cverify .cverify-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-2); }

.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll-hint { display: none; font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); margin-top: 8px; letter-spacing: .04em; }
.cledger { width: 100%; border-collapse: collapse; min-width: 520px; }
.cledger th {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted-2); text-align: left;
  padding: 0 10px 11px 0; border-bottom: 1px solid var(--rule-strong); letter-spacing: .04em; white-space: nowrap;
}
.cledger td { font-size: 13px; padding: 13px 10px 13px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); }
.cledger td .sub { display: block; font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.cledger tfoot td { font-size: 12.5px; padding-top: 14px; border-bottom: 0; color: var(--muted); }
.cledger .mono { font-family: var(--mono); font-size: 12.5px; }
.cledger .money { color: var(--gold); }

.cside { position: sticky; top: 96px; }
.cside-card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 24px; box-shadow: 0 18px 44px rgba(0, 0, 0, .26); }
.cside-card h3 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.cside-card .srow {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--rule-2); font-size: 12.5px; color: var(--muted);
}
.cside-card .srow:last-of-type { border-bottom: 0; }
.cside-card .srow b { color: var(--ink); font-weight: 500; }
.cside-card .btn { width: 100%; margin-top: 18px; }
.cside-card p { font-size: 12px; line-height: 1.8; color: var(--muted-2); margin-top: 14px; }

.preview-bar {
  background: var(--gold); color: #06101f; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; padding: 9px 16px;
}
.ul { border-bottom: 1px solid var(--rule); }
.ul:hover { border-color: var(--teal); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .start-in { grid-template-columns: 1fr; gap: 48px; }
  .two-col, .board { grid-template-columns: 1fr; gap: 40px; }
  .capgrid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; gap: 44px; }
  .cside { position: static; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .csum, .cstat { grid-template-columns: repeat(2, 1fr); }
  .csum-cell:nth-child(3), .cstat-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .csum-cell:nth-child(n+3), .cstat-cell:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
  .nav { display: none; }
  .sec-note { text-align: left; max-width: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .daylist li { grid-template-columns: 34px 1fr 70px; gap: 10px; }
  .dd { display: none; }
  .dt { font-size: 16px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .hero { padding: 52px 0 64px; }
  .sec, .sec-final { padding: 64px 0; }
  .capgrid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .head-act .link-quiet { display: none; }
  .ev thead th:nth-child(3), .ev tbody td:nth-child(3) { display: none; }
  .ev tbody td { padding: 16px 0; font-size: 13px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .foot-links { gap: 36px; }
  .btn { padding: 15px 22px; font-size: 14px; }
  .trust { gap: 20px; }

  /* 案例列表在窄屏改成一行为一条记录，不再挤成表格 */
  .clist-head { display: none; }
  .clist-row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 18px 0; }
  .cid { display: none; }
  .cwho { flex: 1 1 100%; min-width: 0; }
  .cwhat { flex: 1 0 100%; order: 5; font-size: 12.5px; }
  .chrs { display: none; }
  .camt { font-size: 12.5px; white-space: nowrap; }
  .ccom { margin-left: auto; font-size: 13px; white-space: nowrap; }
  /* 窄屏没有表头，两个金额并排会分不清哪个是哪个，就地补两个字 */
  .camt::before { content: "回款 "; font-size: 10px; color: var(--muted-2); }
  .ccom::before { content: "分佣 "; font-size: 10px; color: var(--muted-2); }
  .ccom i { opacity: 1; }
  .tscroll-hint { display: block; }
  .case-hero .h1 { font-size: 27px; line-height: 1.4; letter-spacing: -.01em; }
  .case-hero .h1 br { display: none; }
  .case-hero { padding: 44px 0 40px; }
  .case-h1 { font-size: 26px; }
  .case-top { padding: 40px 0 32px; }
  .case-body-sec { padding: 40px 0 64px; }
  .cstat-cell b { font-size: 18px; }
  .csum-cell b { font-size: 19px; }
  .csec p { font-size: 14.5px; }
  .cquote { font-size: 17px; margin-top: 40px; }
  .g4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
