/* 廷平官网(2026-10-04 重做):纸色底、墨色字,品牌橙棕只用在按钮 / 链接 / 小标记;标题用宋体系,正文用黑体系。
   只用系统字体,不引外网资源;没有动画示意图,截图全部来自软件真实界面。 */
:root {
  --paper: #faf7f3; --paper-2: #f3ede6; --line: #e3d9cd; --line-2: #d6c8b8;
  --ink: #1f1711; --text: #2b211b; --dim: #6f6057; --faint: #9c8c80;
  --accent: #c46b2d; --accent-2: #a45620; --accent-soft: #fbf0e6;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.8 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; letter-spacing: .01em; margin: 0; }
h2 { font-size: 30px; line-height: 1.3; margin-bottom: 28px; }
h3 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding-left: 1.2em; }
li { margin: 4px 0; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.dim { color: var(--dim); }
.small { font-size: 14px; }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.nav.solid { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand b { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; }
.brand i { font-style: normal; font-size: 12px; color: var(--dim); margin-left: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.links a { color: var(--text); white-space: nowrap; }
.links a:hover { color: var(--accent-2); text-decoration: none; }
.links { align-items: center; }
.links a.hot { color: var(--accent-2); font-weight: 600; }
/* 宽屏「更多」下拉(details,无脚本也能用) */
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; color: var(--text); white-space: nowrap; user-select: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.more summary:hover, .more[open] summary { color: var(--accent-2); }
.more .dd { position: absolute; right: -12px; top: calc(100% + 14px); min-width: 160px; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(43, 33, 27, .12); }
.more .dd a { display: block; padding: 7px 16px; font-size: 14px; }
.more .dd a:hover { background: var(--accent-soft); }
/* 窄屏「☰ 菜单」 */
.menu-btn { display: none; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.menu-btn span { position: relative; width: 14px; height: 2px; background: currentColor; transition: background .15s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 14px; height: 2px; background: currentColor; transition: transform .15s; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn.open span { background: transparent; }
.menu-btn.open span::before { transform: translateY(5px) rotate(45deg); } .menu-btn.open span::after { transform: translateY(-5px) rotate(-45deg); }
.m-menu { border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 28px rgba(43, 33, 27, .12); max-height: calc(100vh - 64px); overflow-y: auto; }
.m-menu[hidden] { display: none; }
.m-menu .wrap { padding-top: 6px; padding-bottom: 16px; }
.m-menu .m-g { margin: 14px 0 2px; font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.m-menu a { display: block; padding: 11px 0; border-bottom: 1px solid var(--paper-2); color: var(--ink); font-size: 16px; }
.m-menu a.hot { color: var(--accent-2); font-weight: 600; }
.m-menu a:hover { text-decoration: none; color: var(--accent-2); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 6px;
  font-weight: 600; font-size: 15px; white-space: nowrap; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease; }
.btn:hover { text-decoration: none; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-plain { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-plain:hover { border-color: var(--ink); }

/* 开头 */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.hero h1 { font-size: 44px; line-height: 1.25; margin-bottom: 22px; }
.lead { font-size: 17px; color: var(--text); }
.facts { list-style: none; padding: 0; margin: 20px 0 26px; color: var(--dim); font-size: 15px; }
.facts li { padding-left: 18px; position: relative; margin: 6px 0; }
.facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--accent); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta { margin-top: 14px; font-size: 14px; color: var(--faint); }
.shot { margin: 0; }
.shot img { border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 10px 30px rgba(43, 33, 27, .08); background: #fff; }
.shot figcaption { font-size: 13px; color: var(--faint); margin-top: 10px; line-height: 1.6; }
.hero-shot { margin-top: 6px; }

/* 分节 */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }
.intro { font-size: 17px; color: var(--dim); margin: -12px 0 28px; }

/* 三步 */
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; padding: 28px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step.rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }   /* 图在左时图仍占宽栏 */
.step.rev .step-text { order: 2; }
.step.rev .shot { order: 1; }
.num { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--accent); display: block; margin-bottom: 8px; }
.step-text p { color: var(--text); }
.step-text p + p { color: var(--dim); font-size: 15px; }

/* 功能细节:截图卡片 */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.card-shot { margin: 0; }
.card-shot img { width: 100%; border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 10px 30px rgba(43, 33, 27, .08); background: #fff; }
.card-shot figcaption { margin-top: 14px; font-size: 15px; color: var(--dim); line-height: 1.7; }
.card-shot figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.faq-shot { margin: 4px 0 18px; max-width: 720px; }

/* 能做什么 */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.cols h3 { font-size: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.cols ul { list-style: none; padding: 0; font-size: 15px; color: var(--text); }
.cols li { padding-left: 14px; position: relative; margin: 7px 0; line-height: 1.6; }
.cols li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--faint); }

/* 边界与安全 */
.bounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin: 0; }
.bounds > div { padding: 18px 0; border-top: 1px solid var(--line-2); }
.bounds dt { font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.bounds dd { margin: 0; color: var(--text); font-size: 15px; }
.fine { margin-top: 28px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.fine summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.fine ul { margin-top: 10px; color: var(--dim); font-size: 14px; }

/* 下载 */
.dl { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.dl-ver { font-size: 18px; color: var(--ink); margin: -14px 0 18px; }
.mirror { font-size: 14px; color: var(--dim); margin-top: 10px; }
.install { margin: 18px 0 14px; color: var(--text); font-size: 15px; }
.install code { font-family: var(--mono); background: #fff; border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; }
.sha { font-size: 13px; color: var(--faint); word-break: break-all; }
.sha code { font-family: var(--mono); color: var(--dim); }
.copy { font: inherit; font-size: 12px; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; color: var(--dim); cursor: pointer; }
.copy:hover { border-color: var(--ink); color: var(--ink); }
.dl-side h3 { font-size: 18px; }
.rel { padding: 12px 0; border-top: 1px solid var(--line-2); }
.rel h4 { margin: 0 0 6px; font: 600 15px/1.5 var(--sans); color: var(--ink); }
.rel h4 small { color: var(--faint); font-weight: 400; margin-left: 8px; }
.rel ul { color: var(--dim); font-size: 14px; }

/* 常见问题 */
details { border-top: 1px solid var(--line-2); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line-2); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 0; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--text); font-size: 15px; }

/* 页脚 */
.foot { padding: 32px 0 40px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand b { font-size: 17px; }

/* 开头小标题、数字条 */
.kicker { font-size: 13px; letter-spacing: .18em; color: var(--accent); margin: 0 0 14px; font-weight: 600; }
.strip { list-style: none; padding: 26px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.strip li { display: flex; flex-direction: column; gap: 4px; }
.strip b { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); font-weight: 700; }
.strip span { font-size: 14px; color: var(--dim); line-height: 1.6; }

/* 痛点 → 解决 */
.pain { border-top: 1px solid var(--line-2); }
.pain-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding: 10px 0; font-size: 13px; letter-spacing: .12em; color: var(--faint); }
.pain-head span:last-child { color: var(--accent); }
.pain-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.pain-row h3 { font-size: 19px; margin-bottom: 6px; }
.pain-row p { font-size: 15px; color: var(--dim); margin: 0; }
.pain-row > div:last-child { position: relative; padding-left: 22px; }
.pain-row > div:last-child::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--accent); }
.pain-row > div:last-child p { color: var(--text); }

/* 深色段落:边界与安全 */
.section.dark { background: var(--ink); color: #e8ddd1; border-bottom: none; }
.section.dark h2, .section.dark h3, .section.dark dt { color: #faf7f3; }
.section.dark .intro { color: #b9a999; }
.section.dark .bounds > div { border-top-color: rgba(250, 247, 243, .14); }
.section.dark .bounds dd { color: #d9cdbf; }
.section.dark .fine { background: rgba(250, 247, 243, .05); border-color: rgba(250, 247, 243, .14); }
.section.dark .fine summary { color: #faf7f3; }
.section.dark .fine ul { color: #c4b5a5; }
.section.dark summary::after { color: #b9a999; }
.foot { background: var(--ink); color: #c4b5a5; padding: 28px 0 36px; }
.foot .brand { color: #faf7f3; }
.foot .brand i { color: #b9a999; }
.foot .dim { color: #9c8c80; }
/* 页脚和主官网 www.yushangcc.com 一致:上排品牌 + 导航,下排版权 / 备案 / 主站链接(细分隔线) */
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot-nav a, .foot-bottom a { color: #c4b5a5; }
.foot-nav a:hover, .foot-bottom a:hover { color: #faf7f3; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(250, 247, 243, .12); font-size: 13px; color: #9c8c80; }
.foot-bottom p { margin: 0; }

/* 窄屏 */
@media (max-width: 1060px) {
  .links { gap: 16px; font-size: 14px; }
}
@media (max-width: 960px) {
  .links { display: none; }
  .nav-dl { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-head { display: none; }
  .pain-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-in, .step, .dl { grid-template-columns: 1fr; }
  .step.rev { grid-template-columns: 1fr; }
  .step.rev .step-text { order: 0; }
  .step.rev .shot { order: 0; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}
@media (max-width: 640px) {
  .links { display: none; }
  .dl-long { display: none; }
  .nav-dl { padding: 7px 12px; font-size: 14px; }
  .m-menu { max-height: calc(100vh - 58px); }
  .nav-in { height: 58px; gap: 12px; }
  .brand i { display: none; }
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .cols, .bounds { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}
/* A12 页脚「联系客服」:企业微信客服二维码 */
.foot-kf { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.6; }
.foot-kf img { width: 108px; height: auto; border-radius: 6px; background: #fff; }
.foot-kf b { display: block; color: #faf7f3; font-size: 14px; }
.foot-kf span { display: block; color: #b9a999; }
.foot-kf a { color: #e8ddd1; text-decoration: underline; }

/* 演示视频(2026-10-14):开头「看 5 分钟演示」按钮 + 弹出播放;#demo 节内嵌播放、分段跳转、精简版切换 */
.play-ic { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--accent); margin-right: 2px; }
.meta a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.player { position: relative; aspect-ratio: 16 / 9; background: #140e0a; border: 1px solid var(--line-2); border-radius: 6px;
  overflow: hidden; box-shadow: 0 10px 30px rgba(43, 33, 27, .08); }
.player video { display: block; width: 100%; height: 100%; background: #140e0a; }
/* 封面上的大播放键(和主站廷平卡片同款):点了开始播放,播放后收起 */
.v-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; border: 0; padding: 0; margin: 0; cursor: pointer; color: #fff; font: inherit;
  background: rgba(20, 14, 10, .38); transition: background .2s; }
.v-cover:hover { background: rgba(20, 14, 10, .26); }
.v-cover[hidden] { display: none; }
.v-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: background .2s; }
.v-btn::before { content: ""; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.v-cover:hover .v-btn { background: var(--accent-2); }
.v-label { font-size: 16px; font-weight: 600; letter-spacing: .04em; background: rgba(20, 14, 10, .78); padding: 7px 16px; border-radius: 999px; }
.v-label small { font-size: 13px; font-weight: 400; color: #e8ddd1; margin-left: 10px; font-variant-numeric: tabular-nums; }
.v-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
@media (max-width: 560px) { .v-btn { width: 60px; height: 60px; } .v-btn::before { border-width: 10px 0 10px 17px; } .v-label { font-size: 14px; } }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip { font: inherit; font-size: 14px; display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text); cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease; }
.chip small { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.chip.on small { color: var(--accent-2); }
.chip:focus-visible, .linkish:focus-visible, .lb-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-alt { margin: 14px 0 0; font-size: 14px; }
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--accent-2); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.demo.short .chapters { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 14, 10, .86); display: flex; align-items: center;
  justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-box { position: relative; width: min(1120px, 100%, (100vh - 120px) * 16 / 9); }
.lb-box video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }
.lb-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250, 247, 243, .3);
  background: transparent; color: #faf7f3; font-size: 16px; line-height: 1; cursor: pointer; }
.lb-close:hover { border-color: #faf7f3; }
body.lb-open { overflow: hidden; }

@media (max-width: 640px) {
  .chapters { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chapters::-webkit-scrollbar { display: none; }
  .lightbox { padding: 12px; }
  .lb-close { top: -46px; }
}
.foot-tools { flex-basis: 100%; gap: 8px 18px; font-size: 13px; }
.foot-tools b { color: #faf7f3; font-weight: 600; }
