/* ================= ck985 全站样式（新版 · 依据改进版设计稿） ================= */
:root{
  --brand:#e8590c;--brand-dark:#d9480f;--brand-soft:#fff4e6;
  --ink:#26221e;--muted:#8a8178;--line:#f3e6d8;--bg:#fffdfb;--card:#ffffff;
  --bili:#00a1d6;--green:#2f9e44;--gold:#f59f00;
  --radius:14px;
  --shadow:0 2px 10px rgba(120,72,20,.08);
  --shadow-hover:0 10px 30px rgba(120,72,20,.16);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;font-size:15.5px}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}
ul{list-style:none}
.wrap{max-width:1100px;margin:0 auto;padding:0 22px}
.section{padding:58px 0}
.sec-head{text-align:center;margin-bottom:34px}
.sec-title{font-size:27px;font-weight:800;letter-spacing:.5px}
.sec-sub{color:var(--muted);margin-top:5px;font-size:14px}
.sec-head .bar{width:52px;height:4px;background:var(--brand);border-radius:2px;margin:12px auto 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hidden{display:none!important}

/* ---------- 按钮 ---------- */
.btn{display:inline-block;padding:10px 20px;border-radius:10px;font-weight:700;font-size:14px;border:0;cursor:pointer}
.btn-pri{background:var(--brand);color:#fff}
.btn-pri:hover{background:var(--brand-dark);color:#fff}
.btn-ghost{background:#fff;border:1.5px solid var(--brand);color:var(--brand)}
.btn-ghost:hover{background:var(--brand-soft);color:var(--brand-dark)}
.btn-bili{background:var(--bili);color:#fff}
.btn-bili:hover{background:#0089b8;color:#fff}
.btn-buy{background:var(--brand);color:#fff}
.btn-buy:hover{background:var(--brand-dark);color:#fff}

/* ---------- 导航 ---------- */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,253,251,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.nav-in{max-width:1100px;margin:0 auto;padding:0 22px;height:60px;display:flex;align-items:center;gap:14px}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:17px;color:var(--ink);white-space:nowrap}
.logo i{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,var(--brand),#ff922b);color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900;font-size:16px;flex:0 0 auto}
.nav-links{display:flex;gap:2px;list-style:none;flex:1;justify-content:center}
.nav-links a{display:block;padding:7px 12px;border-radius:8px;color:var(--ink);font-size:14.5px;font-weight:500;white-space:nowrap}
.nav-links a:hover{background:var(--brand-soft);color:var(--brand)}
.nav-links a.on{color:var(--brand);font-weight:700;background:var(--brand-soft)}
.nav-links a.hl{background:var(--brand);color:#fff;font-weight:700}
.nav-links a.hl:hover{background:var(--brand-dark);color:#fff}
.nav-actions{display:flex;align-items:center;gap:10px}
.search{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:6px 12px;color:var(--muted);font-size:13px}
.search input{border:0;outline:0;width:118px;font-size:13px;background:transparent;color:var(--ink)}
.btn-wx{background:var(--brand-soft);color:var(--brand-dark);border-radius:999px;padding:7px 14px;font-weight:700;font-size:13px;white-space:nowrap}
.btn-wx:hover{background:#ffe3c2;color:var(--brand-dark)}
.nav-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer;color:var(--ink);line-height:1}

/* ---------- 首屏 ---------- */
.hero{background:linear-gradient(160deg,#fff7ec 0%,#ffefd9 45%,#ffe3c2 100%);overflow:hidden}
.hero-in{display:flex;gap:52px;align-items:center;padding:54px 0 58px}
.hero-cover{flex:0 0 300px;position:relative}
.hero-cover::before{content:"";position:absolute;inset:-32px;background:radial-gradient(closest-side,rgba(255,150,60,.5),transparent 72%);filter:blur(8px)}
.hero-cover img{position:relative;width:300px;border-radius:10px;box-shadow:0 30px 60px rgba(120,60,0,.32)}
.hero-info{flex:1;min-width:0}
.hero-badge{display:inline-block;background:var(--brand);color:#fff;font-size:12px;font-weight:600;padding:4px 13px;border-radius:999px;letter-spacing:1px}
.hero-title{font-size:40px;font-weight:900;line-height:1.25;margin:14px 0 3px}
.hero-title em{font-style:normal;color:var(--brand)}
.hero-sub{font-size:18px;font-weight:600;color:#5a4a38}
.hero-meta{color:var(--muted);font-size:13.5px;margin:10px 0 12px}
.hero-desc{font-size:14.5px;color:#4a443d;margin-bottom:14px;max-width:620px}
.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.hero-tags span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 11px;font-size:12.5px;color:#5a4a38}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.channels{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--muted);align-items:center}
.channels a{display:inline-flex;align-items:center;gap:4px}
.channels .dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block}
.ch-plain{color:var(--muted);text-decoration:line-through}
.ch-note{color:var(--muted)}
.hero-stats{display:flex;margin-top:20px;border-top:1px solid rgba(120,72,20,.18);padding-top:16px}
.hero-stats div{flex:1;text-align:center;border-right:1px dashed rgba(120,72,20,.2)}
.hero-stats div:last-child{border-right:0}
.hero-stats b{display:block;font-size:22px;font-weight:900;color:var(--brand)}
.hero-stats span{font-size:12px;color:var(--muted)}

/* ---------- 为什么选 ---------- */
.why{background:var(--bg)}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.why-card{padding:26px 22px}
.why-card .no{font-size:30px;font-weight:900;color:var(--brand);opacity:.25;line-height:1}
.why-card h4{font-size:17px;margin:10px 0 8px}
.why-card p{font-size:13.5px;color:var(--muted)}

/* ---------- 学习路径 ---------- */
.path{background:#fffaf3;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.stage{padding:22px;height:100%}
.stage .pn{font-size:12px;font-weight:800;letter-spacing:1.5px;color:var(--brand)}
.stage h4{font-size:18px;margin:4px 0 3px}
.stage .rg{font-size:12.5px;color:var(--muted)}
.chips{margin-top:14px;display:flex;flex-direction:column;gap:7px}
.chips li{display:flex;align-items:center;gap:8px;font-size:12.8px;color:#3d3831;border:1px solid var(--line);border-radius:9px;padding:6px 10px;background:#fff}
.chips .no{flex:0 0 22px;font-weight:800;color:var(--brand)}
.chips .name{flex:1;min-width:0}
.chips a.play{color:var(--bili);font-weight:700;font-size:12px;white-space:nowrap}
.chips a.play:hover{text-decoration:underline}
.stage-note{margin-top:12px;font-size:12.5px;color:var(--muted);border-top:1px dashed var(--line);padding-top:10px}
.tag{display:inline-block;font-size:11px;font-weight:700;padding:2px 9px;border-radius:999px;white-space:nowrap}
.tag.ok{background:#e6f7ee;color:var(--green)}
.tag.wait{background:#f4efe9;color:var(--muted)}
.pbar{max-width:640px;margin:26px auto 0;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.pbar .track{flex:1;height:7px;border-radius:99px;background:#f0e2d2;overflow:hidden}
.pbar .fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--brand),#ff922b)}
.pbar b{color:var(--brand);white-space:nowrap}
.path-cta{text-align:center;margin-top:18px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ---------- 资源 ---------- */
.res{background:var(--bg)}
.res-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:22px;flex-wrap:wrap}
.res-tabs .tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 16px;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer}
.res-tabs .tab:hover{color:var(--brand);border-color:var(--brand)}
.res-tabs .tab.on{background:var(--brand);border-color:var(--brand);color:#fff}
.res-panel{display:none}
.res-panel.on{display:block}
.res-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.res-item{display:flex;align-items:center;gap:12px;padding:13px 16px}
.res-item .ico{width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand-dark);display:flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 auto}
.res-item .nm{flex:1;min-width:0}
.res-item .nm b{display:block;font-size:13.5px;font-weight:600;color:var(--ink)}
.res-item .nm small{font-size:12px;color:var(--muted);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.res-item .dl{border:1px solid var(--green);color:var(--green);border-radius:8px;padding:5px 13px;font-size:12.5px;font-weight:700;white-space:nowrap}
.res-item .dl:hover{background:#e6f7ee;color:var(--green)}
.res-note{margin-top:16px;font-size:12.5px;color:var(--muted);text-align:center}
.res-tip{margin-top:18px;font-size:12.5px;color:var(--muted);text-align:center}

/* ---------- 增值服务 ---------- */
.svc{background:linear-gradient(180deg,#fffdfb,#fff4e6)}
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.svc-card{padding:24px 20px}
.svc-card .ico{font-size:26px;margin-bottom:8px}
.svc-card h4{font-size:16px;margin-bottom:6px}
.svc-card p{font-size:12.8px;color:var(--muted);margin-bottom:12px}
.svc-card a{font-size:13px;font-weight:700}
.svc-full{grid-template-columns:repeat(4,1fr);margin-bottom:36px}
.svc-note{max-width:760px;margin:0 auto;padding:28px 32px}
.svc-note h3{margin-bottom:12px}
.svc-note ol{padding-left:18px}
.svc-note li{font-size:14.5px;color:#4a443d;margin-bottom:10px}

/* ---------- 书评 ---------- */
.reviews{background:#fff8f0}
.rev-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.rev{padding:22px 22px 18px}
.rev blockquote{font-size:14px;line-height:1.85;color:#3d3831;font-weight:500;margin-bottom:14px}
.rev figcaption{display:flex;align-items:center;gap:8px;border-top:1px dashed var(--line);padding-top:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.src-badge{background:#e1ecf4;color:#175199;font-weight:700;padding:2px 10px;border-radius:999px;white-space:nowrap}
.src-badge.zhihu{background:#e1ecf4;color:#175199}
.src-badge.csdn{background:#e8f3e8;color:#2f9e44}
.src-badge.sohu{background:#fde8e8;color:#d9480f}
.src-badge.pub{background:var(--brand-soft);color:#8a5a2b}
.src-text{font-size:12px;color:var(--muted);flex:1;min-width:0}
.src-text:hover{color:var(--brand)}
.stars{color:var(--gold);font-size:13px;letter-spacing:1px}

/* ---------- 知识库 ---------- */
.kb{background:var(--bg)}
.kb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.kb-card{padding:20px;display:block}
.kb-card .date{font-size:12px;color:var(--muted)}
.kb-card h4{font-size:15.5px;margin:6px 0 4px;color:var(--ink)}
.kb-card p{font-size:12.8px;color:var(--muted);margin-bottom:8px}
.kb-card .go{font-size:12.5px;font-weight:700}
.kb-cat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);margin-bottom:24px}
.kb-cat-head{display:flex;align-items:center;gap:16px;border-bottom:1px dashed var(--line);padding-bottom:14px;margin-bottom:12px}
.kb-cat-head .ico{width:48px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:22px}
.kb-cat-head h3{font-size:19px}
.kb-cat-head p{font-size:13px;color:var(--muted)}
.kb-count{margin-left:auto;font-size:12.5px;color:var(--muted);white-space:nowrap}
.kb-list li{display:flex;align-items:center;gap:14px;padding:11px 4px;border-bottom:1px dashed var(--line);font-size:15px}
.kb-list li:last-child{border-bottom:0}
.kb-list a{flex:1;min-width:0}
.kb-list time{font-size:12.5px;color:var(--muted)}
.kb-empty{color:var(--muted);font-size:14px;padding:8px 4px}

/* ---------- 联系我们 ---------- */
.contact{background:#fffdfb}
.contact-in{display:grid;grid-template-columns:1.5fr 1fr;gap:44px;align-items:center;padding:8px 0}
.contact .bar{margin:12px 0 16px}
.contact-desc{color:#4a443d;font-size:14.5px;margin:14px 0 18px}
.contact-list li{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:15px;color:#3d3831}
.contact-list a{color:var(--brand);font-weight:600}
.contact-list b{color:var(--ink)}
.ci-ico{width:30px;height:30px;border-radius:8px;background:var(--brand-soft);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex:0 0 auto}
.qr{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.qr-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center;width:160px;box-shadow:var(--shadow)}
.qr-card img{width:116px;height:116px;margin:0 auto 8px;border-radius:8px}
.qr-card small{font-size:12px;color:var(--muted)}
.qr-empty .qr-ghost{width:116px;height:116px;margin:0 auto 8px;border-radius:8px;border:2px dashed var(--line);color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:12.5px;background:#fbf7f1}
.contact-faq{margin-top:22px;border-top:1px dashed var(--line);padding-top:16px}
.contact-faq h4{margin-bottom:10px}
.contact-faq p{font-size:14px;color:#4a443d;margin-bottom:10px}

/* ---------- 子页首屏 ---------- */
.page-hero{background:linear-gradient(160deg,#fff7ec 0%,#ffefd9 45%,#ffe3c2 100%);padding:52px 0 46px;text-align:center}
.page-hero .btn{justify-content:center}
.page-title{font-size:36px;font-weight:900;margin:14px 0 4px}
.page-sub{color:var(--muted);font-size:15px;max-width:680px;margin:8px auto 0}
.dl-stats{display:flex;justify-content:center;gap:14px;margin-top:22px;flex-wrap:wrap}
.dl-stats span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 20px;font-size:14px;color:var(--muted);box-shadow:var(--shadow)}
.dl-stats b{color:var(--brand);font-size:18px}

/* ---------- B站（视频页） ---------- */
.bili-stats{display:flex;align-items:baseline;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.progress-num{font-size:22px;font-weight:800}
.progress-num small{font-size:13px;color:var(--muted);font-weight:400}
.progress-note{font-size:13px;color:var(--muted)}
.progress{max-width:520px;margin:0 auto 24px;height:9px;border-radius:99px;background:#f0e2d2;overflow:hidden}
.progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--brand),#ff922b)}
.curriculum{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.lesson{display:flex;align-items:center;gap:12px;padding:11px 15px;border-radius:11px;border:1px solid var(--line);background:#fff;font-size:13.5px}
a.lesson:hover{border-color:var(--bili);box-shadow:var(--shadow-hover)}
.lesson .no{flex:0 0 30px;font-weight:800;color:var(--muted)}
a.lesson .no{color:var(--brand)}
.lesson .name{flex:1;min-width:0}
.lesson .play{color:var(--bili);font-weight:700}
.wait-row{color:var(--muted)}
.bili-cta{text-align:center;margin-top:26px}
.bili-foot{margin-top:12px;font-size:13px;color:var(--muted)}

/* ---------- 下载页 ---------- */
.dl-cat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);margin-bottom:26px}
.dl-cat-head{display:flex;align-items:center;gap:16px;border-bottom:1px dashed var(--line);padding-bottom:14px;margin-bottom:8px}
.dl-cat-head .ico{width:46px;height:46px;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800}
.dl-cat-head h3{font-size:19px}
.dl-cat-head small{font-size:12.5px;color:var(--muted)}
.dl-count{margin-left:auto;font-size:12.5px;color:var(--muted);white-space:nowrap}
.dl-group{font-size:14.5px;color:var(--brand-dark);margin:14px 0 4px;padding-left:4px}
.dl-list{padding:0 4px}
.dl-list li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:13.5px}
.dl-list li:last-child{border-bottom:0}
.fname{flex:1;min-width:0;color:var(--ink)}
.fsize{font-size:12px;color:var(--muted);white-space:nowrap}
.dl-btn{background:var(--green);color:#fff;font-size:12.5px;font-weight:700;border-radius:8px;padding:5px 14px;white-space:nowrap}
.dl-btn:hover{background:#2b8a3e;color:#fff}
.dl-btn.soon{background:#e9e2d8;color:var(--muted)}
.res-legal{margin-top:8px;text-align:center;font-size:12.5px;color:var(--muted)}

/* ---------- 教材目录 ---------- */
.toc-part{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow);margin-bottom:20px}
.toc-head{padding-bottom:12px;border-bottom:1px dashed var(--line);margin-bottom:10px}
.toc-head .pn{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--brand)}
.toc-head h3{font-size:20px;display:inline;margin-left:10px}
.toc-head .range{float:right;font-size:13px;color:var(--muted)}
.toc-head p{font-size:13.5px;color:var(--muted);margin-top:6px}
.toc-list li{display:flex;align-items:center;gap:12px;padding:8px 4px;border-bottom:1px dashed var(--line);font-size:14.5px}
.toc-list li .no{flex:0 0 32px;font-weight:800;color:var(--brand)}
.toc-list li .tag{margin-left:auto}
.toc-note{text-align:center;font-size:13.5px;color:var(--muted);margin-top:8px}

/* ---------- 介绍区（教材页） ---------- */
.intro-block{display:flex;gap:44px;align-items:center;margin-bottom:52px}
.intro-block.rev{flex-direction:row-reverse}
.intro-block .txt{flex:1.25;min-width:0}
.intro-block .txt h3{font-size:21px;margin-bottom:12px}
.intro-block .txt .no{display:inline-block;background:var(--brand);color:#fff;font-size:14px;font-weight:800;border-radius:8px;padding:2px 10px;margin-right:10px}
.intro-block .txt p{color:#4a443d;font-size:14.5px;margin-bottom:10px}
.intro-block .txt ul{margin:6px 0 0;padding-left:20px;list-style:disc}
.intro-block .txt li{color:#4a443d;font-size:14px;margin-bottom:5px}
.intro-block .pic{flex:1;min-width:0}
.intro-block .pic img{width:100%;max-width:420px;margin:0 auto}

/* ---------- 文章页 ---------- */
.article{padding:46px 0 60px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:24px}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--brand)}
.article-head{border-bottom:2px solid var(--line);padding-bottom:18px;margin-bottom:26px}
.article-head h1{font-size:29px;font-weight:900;margin-top:10px}
.article-meta{color:var(--muted);font-size:13px;margin-top:8px}
.article-body{max-width:780px;margin:0 auto}
.article-body p{margin-bottom:14px;color:#3d3831}
.article-body h2{font-size:22px;margin:26px 0 10px;padding-left:12px;border-left:4px solid var(--brand)}
.article-body h3{font-size:18px;margin:20px 0 8px}
.article-body ul,.article-body ol{margin:0 0 14px;padding-left:22px}
.article-body ul{list-style:disc}
.article-body li{margin-bottom:6px;color:#3d3831}
.article-body blockquote{border-left:4px solid var(--brand-soft);background:#fffaf3;padding:12px 18px;border-radius:8px;color:#5a4a38;margin:0 0 14px}
.article-body img{border-radius:10px;margin:14px auto;box-shadow:var(--shadow)}
.article-body code{background:var(--brand-soft);color:var(--brand-dark);padding:2px 7px;border-radius:6px;font-size:13px}
.article-body table{border-collapse:collapse;width:100%;margin:0 0 16px}
.article-body th,.article-body td{border:1px solid var(--line);padding:8px 12px;font-size:14px;text-align:left}
.article-body th{background:var(--brand-soft)}
.article-back{margin-top:34px;text-align:center}

/* ---------- 页脚 ---------- */
.footer{background:#2b2118;color:#cbb9a4;padding:38px 0 22px;margin-top:40px}
.foot-in{display:flex;gap:36px;flex-wrap:wrap;justify-content:space-between}
.foot-about{flex:1 1 280px;max-width:340px}
.foot-col{flex:0 0 auto}
.footer h5{color:#fff;font-size:15px;margin-bottom:12px}
.foot-links{display:flex;flex-direction:column;gap:8px;font-size:13px}
.footer a{color:#cbb9a4}
.footer a:hover{color:#fff}
.foot-about p{font-size:13px;line-height:1.9}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:16px;text-align:center;font-size:12.5px;color:#8d7c68}
.foot-bottom a{color:#a8967f}
.beian{margin-top:6px}
.beian .sep{margin:0 10px}

/* ---------- 组件 ---------- */
.to-top{position:fixed;right:24px;bottom:28px;width:44px;height:44px;border-radius:50%;border:0;background:var(--brand);color:#fff;font-size:19px;cursor:pointer;opacity:0;visibility:hidden;transition:all .3s;box-shadow:var(--shadow-hover);z-index:90}
.to-top.show{opacity:1;visibility:visible}
.modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:200;display:none;align-items:center;justify-content:center}
.modal-mask.show{display:flex}
.modal{background:#fff;border-radius:18px;padding:32px;max-width:380px;width:92%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.modal h4{font-size:19px;margin-bottom:10px}
.modal p{color:var(--muted);font-size:14.5px;margin-bottom:18px}

/* ---------- 增强 ---------- */
section[id],.dl-cat[id],.kb-cat[id],.toc-part[id]{scroll-margin-top:82px}
.js .section,.js .article{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.js .section.in,.js .article.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js .section,.js .article{opacity:1;transform:none;transition:none}
}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .nav-links{display:none;position:absolute;top:60px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:12px 22px;border-bottom:1px solid var(--line);box-shadow:var(--shadow-hover)}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
  .search input{width:80px}
  .why-grid,.path-grid,.svc-grid,.svc-full,.kb-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .hero-in{flex-direction:column;text-align:center;gap:36px}
  .hero-cover img{margin:0 auto}
  .hero-tags,.hero-cta,.channels{justify-content:center}
  .hero-stats{flex-wrap:wrap}
  .hero-stats div{flex:1 1 33%;border-right:0;padding:6px 0}
  .why-grid,.path-grid,.res-grid,.rev-grid,.curriculum{grid-template-columns:1fr}
  .svc-grid,.svc-full,.kb-grid{grid-template-columns:repeat(2,1fr)}
  .contact-in{grid-template-columns:1fr;gap:26px}
  .qr{justify-content:center}
  .hero-title{font-size:30px}
  .page-title{font-size:28px}
  .section{padding:46px 0}
  .foot-in{flex-direction:column;gap:24px}
  .intro-block,.intro-block.rev{flex-direction:column;gap:22px}
}