/* 秉衡官网:品牌橙棕(与软件同色 #c46b2d / #a45620,logo 渐变 #e38d46 → #9a4a18)+ 深墨底。只用系统字体,不依赖外网资源。 */
:root {
  --ink: #1b1410; --ink-2: #261c16; --ink-3: #33261d;
  --paper: #faf7f3; --soft: #f3ede6; --line: #e7ddd2;
  --text: #2b211b; --dim: #7a6a5e; --dim-dark: #b9a595;
  --accent: #c46b2d; --accent-2: #a45620; --gold: #e38d46; --glow: #f0a35e;
  --radius: 14px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.75 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }   /* height:auto:窄屏按比例缩小,不被 HTML 里的 height 拉长 */
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.dim { color: var(--dim); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 18px; margin: 18px 0 8px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--gold), var(--accent-2)); box-shadow: 0 8px 24px rgba(196, 107, 45, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196, 107, 45, .45); }
.btn-ghost { color: #f6e9dd; border: 1px solid rgba(240, 163, 94, .45); }
.btn-ghost:hover { background: rgba(240, 163, 94, .1); }

/* 导航 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.nav.solid { background: rgba(27, 20, 16, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand b { font: 700 19px/1.2 var(--serif); letter-spacing: 2px; }
.brand i { font-style: normal; font-size: 11px; color: var(--dim-dark); letter-spacing: 1px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: #e9dccf; }
.links a:hover { color: var(--glow); }

/* 首屏 */
.hero { position: relative; overflow: hidden; color: #f7ede4; padding: 150px 0 110px;
  background: radial-gradient(1200px 600px at 75% 10%, #3a2618 0%, transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 520px; height: 520px; background: #9a4a18; top: -180px; right: -120px; }
.g2 { width: 380px; height: 380px; background: #5b3417; bottom: -200px; left: -120px; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 5px 14px; border: 1px solid rgba(240, 163, 94, .35); border-radius: 999px;
  font-size: 13px; letter-spacing: 4px; color: var(--glow); }
h1 { margin: 0; font: 700 clamp(38px, 5vw, 60px)/1.18 var(--serif); letter-spacing: 1px; }
h1 em { font-style: normal; background: linear-gradient(120deg, #ffd3a6, var(--gold) 45%, #d0763a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; margin: 22px 0 32px; color: #dccbbd; max-width: 34em; }
.lead b { color: #fff; }
.lead.dim { color: var(--dim); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 24px 0 0; padding: 0; font-size: 14px; color: #e9dccf; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "\2713"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700;
  color: #7ee2a1; background: rgba(21, 128, 61, .18); border: 1px solid rgba(126, 226, 161, .4); }
.trust + .meta { margin-top: 14px; }
.meta { margin-top: 22px; font-size: 13px; color: var(--dim-dark); letter-spacing: .5px; }

/* 窗口截图 */
.window { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.window .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f1ece6; border-bottom: 1px solid #e3dad0; }
.window .bar span { width: 11px; height: 11px; border-radius: 50%; background: #e0d4c7; }
.window .bar span:first-child { background: #e7856b; } .window .bar span:nth-child(2) { background: #e9bf61; } .window .bar span:nth-child(3) { background: #8cc583; }
.window .bar em { font-style: normal; font-size: 12px; color: #8b7a6c; margin-left: 10px; }
.hero-shot { position: relative; transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transition: transform .6s ease; }
.hero-shot:hover { transform: perspective(1800px) rotateY(-3deg) rotateX(1deg); }
.chip { position: absolute; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  animation: float 6s ease-in-out infinite; }
.c1 { top: 18%; left: -34px; background: #e3edff; color: #1d4ed8; }
.c2 { bottom: 22%; left: -18px; background: #e3edff; color: #1d4ed8; animation-delay: -2s; }
.c3 { top: 8%; right: -18px; background: #dff4f0; color: #0f766e; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 数据条 */
.stats { background: var(--ink-3); color: #f3e6da; border-top: 1px solid rgba(255, 255, 255, .05); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in > div { padding: 34px 24px; border-left: 1px solid rgba(255, 255, 255, .07); }
.stats-in > div:first-child { border-left: 0; }
.stats b { display: block; font: 700 42px/1.1 var(--serif); color: var(--glow); }
.stats small { font-size: 16px; color: var(--dim-dark); margin-left: 4px; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: #cdb9a8; line-height: 1.6; }

/* 通用段落 */
.section { padding: 110px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: #f3e6da; }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: 4px; color: var(--accent); font-weight: 700; }
.dark .kicker { color: var(--glow); }
h2 { margin: 0 0 44px; font: 700 clamp(28px, 3.4vw, 40px)/1.3 var(--serif); letter-spacing: 1px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(90, 50, 20, .1); border-color: #e2c4a6; }
.card h3 { margin: 18px 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.card b { color: var(--accent-2); }
.ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #fbe6d4, #f5d2b3); }
.ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 三步 */
.flow { display: grid; grid-template-columns: .85fr 1.4fr; gap: 40px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 18px; text-align: left; padding: 22px 22px; border-radius: var(--radius); cursor: pointer; font: inherit; color: #cdb9a8;
  background: transparent; border: 1px solid rgba(255, 255, 255, .08); transition: all .2s ease; }
.step b { font: 700 26px/1 var(--serif); color: #6d5646; }
.step strong { display: block; font-size: 18px; color: #f3e6da; margin-bottom: 4px; }
.step span { font-size: 14px; line-height: 1.65; }
.step.on, .step:hover { background: rgba(196, 107, 45, .12); border-color: rgba(240, 163, 94, .45); }
.step.on b { color: var(--glow); }
.flow-shot img { transition: opacity .25s ease; }
.note { margin-top: 26px; font-size: 13px; color: #8f7b6c; }

/* 数据安全:数据流向图(手机 → 你的电脑 → 法院平台;服务器在旁边,不经手案件内容)+ 收到 / 收不到清单 */
.sec-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { margin-bottom: 0; }
.sec-head .lead { margin: 20px auto 0; max-width: none; }
.sec-head .lead b { color: var(--accent-2); }
.dataflow { display: grid; grid-template-columns: 150px minmax(90px, 1fr) minmax(300px, 380px) minmax(90px, 1fr) 170px; align-items: center; }
.df-node { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px; border-radius: 16px; text-align: center;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27, 20, 16, .06); }
.df-node b { font-size: 15px; line-height: 1.4; }
.df-node small { font-size: 12px; color: var(--dim); }
.dataflow i { display: block; width: 34px; height: 34px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.df-node i { color: var(--accent); margin-bottom: 4px; }
.dataflow .ico-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.dataflow .ico-lock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/svg%3E"); }
.dataflow .ico-court { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18L12 4z'/%3E%3Cpath d='M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18L12 4z'/%3E%3Cpath d='M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E"); }
.df-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.df-link::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); background-size: 14px 2px; animation: dfflow .8s linear infinite; }
.df-link::after { content: ""; position: absolute; right: 4px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 8px solid var(--accent); border-right: 0; }
.df-link span { font-size: 14px; font-weight: 700; color: var(--accent-2); }
.df-link small { font-size: 12px; color: var(--dim); }
@keyframes dfflow { to { background-position: 14px 0; } }
@keyframes dfflowv { to { background-position: 0 14px; } }
.df-pc { padding: 22px 22px 20px; border-radius: 20px; color: #f3e6da; background: linear-gradient(160deg, #2b1f18, #1a120d);
  box-shadow: 0 0 0 1px rgba(240, 163, 94, .4), 0 0 0 9px rgba(196, 107, 45, .09), 0 26px 60px rgba(27, 20, 16, .28); }
.df-pc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 21px/1.3 var(--serif); color: #ffe3bd; }
.df-pc-h i { width: 26px; height: 26px; color: var(--glow); }
.df-pc-h em { margin-left: auto; padding: 2px 10px; border-radius: 99px; font: 600 12px/1.6 var(--sans); font-style: normal; white-space: nowrap;
  color: #7ee2a1; background: rgba(21, 128, 61, .16); border: 1px solid rgba(126, 226, 161, .35); }
.df-pc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.df-pc li { padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #f7ede4;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.df-pc li small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #bfa998; }
.df-down { grid-column: 3; position: relative; height: 84px; display: grid; place-items: center; }
.df-down::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 0; border-left: 2px dashed #d6c6b6; }
.df-down span { position: relative; padding: 2px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: #b42318;
  background: #fff4f2; border: 1px solid #f6cfc9; }
.df-server { grid-column: 3; padding: 12px 16px; border-radius: 14px; text-align: center; background: var(--soft); border: 1px dashed #d6c6b6; color: var(--dim); }
.df-server b { display: block; color: var(--text); font-size: 15px; }
.df-server small { font-size: 13px; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.ledger > div { padding: 28px 30px; border-radius: 18px; }
.ledger h3 { margin: 0 0 16px; font: 700 20px/1.3 var(--serif); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ledger li { position: relative; padding-left: 28px; font-size: 15px; }
.never { background: var(--ink-2); color: #e9dccf; }
.never h3 { color: #ffe3bd; }
.never li::before { content: "\2715"; position: absolute; left: 2px; top: 0; font-weight: 700; color: #f87171; }
.only { background: #fff; border: 1px solid var(--line); color: var(--dim); }
.only h3 { color: var(--text); }
.only li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.optin { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; font-size: 14px; color: #7c4a22; background: #fff7ed; border: 1px solid #f5d6b8; }
.optin b { color: var(--accent-2); }
.guard { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guard li { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--dim); }
.guard b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--text); }

.mirror { margin: 0 0 18px; font-size: 13px; color: var(--dim); }
.mirror a { color: var(--accent-2); text-decoration: underline; }

/* 工具箱 */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: #5b4a3e; }
.tags span:hover { border-color: var(--accent); color: var(--accent-2); }

/* 下载 */
.dl-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.dl-card { padding: 44px 44px 36px; border-radius: 22px; color: #f3e6da; background:
  radial-gradient(600px 300px at 90% 0%, rgba(227, 141, 70, .35), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink)); }
.dl-card h2 { margin-bottom: 8px; }
.dl-card .dim { color: var(--dim-dark); }
.install { margin: 18px 0; padding-left: 20px; color: #d8c6b7; font-size: 15px; }
.install code, .sha code { font-family: Consolas, "Courier New", monospace; font-size: 13px; background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; }
.sha { font-size: 12px; color: var(--dim-dark); word-break: break-all; margin: 0; }
.copy { margin-left: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(240, 163, 94, .4); background: transparent; color: var(--glow); cursor: pointer; font-size: 12px; }
.changes { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.changes h3 { margin: 0 0 16px; }
.rel { padding: 14px 0; border-top: 1px solid var(--line); }
.rel:first-of-type { border-top: 0; padding-top: 0; }
.rel h4 { margin: 0 0 6px; font-size: 15px; }
.rel h4 small { color: var(--dim); font-weight: 400; margin-left: 8px; }
.rel ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 14px; }

/* 常见问题 */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--dim); }

/* 页脚 */
.foot { background: var(--ink); color: var(--dim-dark); padding: 34px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 13px; }
.foot a:hover { color: var(--glow); }

/* 出场动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 手机 / 平板 */
@media (max-width: 960px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 120px 0 80px; }
  .hero-in, .flow, .dl-in { grid-template-columns: 1fr; }
  .dataflow { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .df-down, .df-server { grid-column: 1; }
  .df-link { min-height: 86px; flex-direction: row; justify-content: center; gap: 0; }
  .df-link::before { left: 50%; right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); background-size: 2px 14px; animation-name: dfflowv; }
  .df-link::after { right: auto; left: 50%; top: auto; bottom: 4px; margin: 0 0 0 -5px; border: 5px solid transparent; border-top: 8px solid var(--accent); border-bottom: 0; }
  .df-link span { position: absolute; right: calc(50% + 16px); }
  .df-link small { position: absolute; left: calc(50% + 16px); }
  .ledger { grid-template-columns: 1fr; }
  .guard { grid-template-columns: 1fr 1fr; }
  .hero-shot { transform: none; }
  .chip { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
  .grid3 { grid-template-columns: 1fr; }
  .stats-in > div { padding: 24px 16px; border-left: 0; }                 /* 手机上数字两列两行,不用一格一屏 */
  .stats-in > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .07); }
  .stats-in > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .stats b { font-size: 34px; }
  .section { padding: 76px 0; }
  .dl-card, .changes { padding: 28px 22px; }
  .btn-xl { width: 100%; }
  .guard { grid-template-columns: 1fr; }
  .df-pc ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
