/* 中数智算官网公共样式 */
:root {
  --brand: #0f47f7;
  --brand-deep: #0a2fa8;
  --brand-soft: #eaf0ff;
  --navy: #0b1736;
  --navy-2: #13224a;
  --accent: #f07a1a;
  --ink: #1a2233;
  --muted: #5b6577;
  --line: #e3e8f0;
  --soft: #f5f7fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 35, 90, .08);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.35; margin: 0; color: var(--ink); }
p { margin: 0; }
section[id] { scroll-margin-top: 80px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.6em; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1.2;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: var(--white); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #d9680d; color: var(--white); }
.btn-sm { padding: .55em 1.15em; font-size: .92rem; }

/* 页头 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: .45em .95em; border-radius: 8px;
  color: var(--ink); font-size: .98rem;
}
.nav a:hover { background: var(--soft); color: var(--brand); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  border-radius: 8px; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto;
  position: relative; transition: transform .2s, background .2s; content: "";
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* 通用区块 */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

/* 首屏 */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(15, 71, 247, .10), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
}
.net-line { stroke: var(--brand); stroke-opacity: .18; }
.net-node { fill: var(--white); stroke: var(--brand); stroke-opacity: .28; }
.hero-net { position: absolute; right: -60px; top: -40px; width: 560px; opacity: .55; pointer-events: none; }
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; padding-top: 96px; padding-bottom: 104px;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 800; letter-spacing: .01em; }
.hero h1 .line2 { display: block; color: var(--brand); margin-top: .15em; }
.hero .sub { margin-top: 22px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink); font-weight: 500; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .principle {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; color: var(--muted);
}
.hero .principle::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

/* 首屏示意卡：答案带出处 */
.answer-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 35, 90, .12); padding: 26px 26px 22px;
}
.answer-card .tag {
  position: absolute; top: 14px; right: 16px; font-size: .75rem; color: var(--muted);
  background: var(--soft); border-radius: 6px; padding: 2px 8px;
}
.answer-card .q { display: flex; gap: 12px; align-items: flex-start; }
.answer-card .avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--white);
}
.avatar.me { background: var(--navy-2); }
.avatar.ai { background: var(--brand); }
.answer-card .bubble { font-size: .98rem; padding-top: 4px; }
.answer-card .a { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; }
.answer-card .ans { flex: 1; font-size: .93rem; line-height: 1.7; padding-top: 5px; }
.answer-card .ans ol { margin: 8px 0 0; padding-left: 1.3em; }
.answer-card .ans li { margin: 4px 0; }
.answer-card .ans b { color: var(--brand-deep); font-weight: 600; }
.bars i { display: block; height: 10px; border-radius: 5px; background: #e7ecf5; margin-bottom: 10px; }
.bars i:nth-child(2) { width: 92%; }
.bars i:nth-child(3) { width: 78%; }
.cite {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep);
  font-size: .88rem; font-weight: 500;
}
.cite svg { flex: none; }
.answer-card .note { margin-top: 16px; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

/* 场景卡 */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3dcf0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand); margin-bottom: 20px;
}
.card h3 { font-size: 1.25rem; }
.card p { margin-top: 10px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .95rem; }

/* 认知线横带 */
.knowledge-band { background: var(--navy); color: #dbe3f5; position: relative; overflow: hidden; }
.knowledge-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.knowledge-band .eyebrow { color: #ffad66; }
.knowledge-band h2 { color: var(--white); font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 700; }
.knowledge-band p { margin-top: 12px; color: #aab6d3; }
.knowledge-band .net { width: 220px; opacity: .9; }

/* 工具卡 */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tool {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.tool .shot {
  aspect-ratio: 16 / 9; background:
    repeating-linear-gradient(135deg, #eef2fa 0 14px, #f6f8fd 14px 28px);
  display: grid; place-items: center; color: #8a94a8; font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
.tool .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.tool .meta { font-size: .85rem; color: var(--muted); }
.tool h3 { font-size: 1.3rem; margin-top: 6px; }
.tool .desc { margin-top: 10px; color: var(--muted); }
.tool ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.tool li { position: relative; padding-left: 18px; margin: 4px 0; }
.tool li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tool .actions { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 零基础先学 */
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.levels { display: grid; gap: 14px; }
.level {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.level b {
  display: grid; place-items: center; height: 44px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font-size: 1.05rem;
}
.level:nth-child(4) b { background: #fff1e5; color: var(--accent); }
.level strong { display: block; font-size: 1.05rem; }
.level span { color: var(--muted); font-size: .92rem; }
.learn .follow {
  margin-top: 26px; display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
}
.qr-ph {
  flex: none; width: 96px; height: 96px; border-radius: 8px; border: 1px dashed #b8c3d9;
  display: grid; place-items: center; text-align: center; font-size: .75rem; color: #8a94a8; background: var(--soft);
}

.knowledge-band .more { display: inline-block; margin-top: 18px; color: #ffad66; font-weight: 600; }
.knowledge-band .more:hover { color: var(--white); }

/* 内页页首 */
.page-hero {
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(15, 71, 247, .09), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
}
.page-hero .wrap { max-width: var(--wrap); padding-top: 80px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; max-width: 760px; }
.page-hero .lead { margin-top: 16px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 500; }
.page-hero p:not(.lead) { margin-top: 14px; max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.badge {
  display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 6px;
  font-style: normal; font-size: .78rem; letter-spacing: .04em; line-height: 1.7;
  color: var(--accent); border: 1px solid currentColor;
}

/* 知识库页 */
.kn-why { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.kn-why .section-head { margin-bottom: 0; }
.kn-quote {
  margin: 0; padding: 22px 26px; border-left: 4px solid var(--accent);
  background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem; line-height: 1.8;
}
.kn-kinds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.kn-kinds .card { padding: 24px 22px; }
.kn-kinds .card h3 { font-size: 1.1rem; }
.kn-kinds .card p { font-size: .93rem; }

.flow { display: grid; gap: 0; }
.flow-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flow-src {
  padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); border-top: 4px solid var(--brand);
}
.flow-src.co { border-top-color: var(--accent); }
.flow-src b { display: block; font-size: 1.1rem; }
.flow-src span { display: block; margin-top: 6px; color: var(--muted); font-size: .93rem; }
.flow-merge { position: relative; height: 44px; }
.flow-merge::before {
  content: ""; position: absolute; left: 25%; right: 25%; top: 0; height: 22px;
  border: 2px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px;
}
.flow-merge::after {
  content: ""; position: absolute; left: 50%; top: 22px; width: 2px; height: 22px;
  background: var(--line); transform: translateX(-1px);
}
.flow-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
}
.flow-steps li {
  position: relative; padding: 18px 16px 18px; border-radius: var(--radius);
  background: var(--soft); border: 1px solid var(--line);
}
.flow-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -28px; top: 50%; transform: translateY(-50%);
  width: 28px; text-align: center; color: var(--muted); font-weight: 700;
}
.flow-steps i {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-style: normal; font-size: .85rem; font-weight: 700; color: var(--white); background: var(--brand);
}
.flow-steps .share { background: var(--brand-soft); border-color: var(--brand); }
.flow-steps .end i { background: var(--accent); }
.flow-steps b { display: block; margin-top: 10px; font-size: 1.02rem; }
.flow-steps span { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.flow-loop {
  margin-top: 18px; display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius); border: 1px dashed var(--accent);
  font-size: .93rem; color: var(--muted);
}
.flow-loop .arrow { flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.flow-loop b { color: var(--ink); }

.kn-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kn-rules .rule { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.kn-rules .rule b { display: block; font-size: 1.05rem; padding-left: 12px; border-left: 3px solid var(--accent); line-height: 1.3; }
.kn-rules .rule p { margin-top: 10px; color: var(--muted); font-size: .93rem; }
.kn-use .section-head { margin-bottom: 0; }
.kn-note { font-size: .9rem !important; }

.kn-join { background: var(--navy); color: #dbe3f5; }
.kn-join .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kn-join .eyebrow { color: #ffad66; }
.kn-join h2 { color: var(--white); font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.kn-join p { margin-top: 12px; color: #aab6d3; max-width: 640px; }
.kn-join .qr-ph { background: var(--navy-2); border-color: #3a4a74; color: #7f8db0; }

/* 工具落地页 */
.tool-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tool-hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero .tool-meta { margin-top: 16px; font-size: .88rem; }
.shot-ph {
  margin: 0; aspect-ratio: 16 / 10; border-radius: var(--radius); border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #eef2fa 0 14px, #f6f8fd 14px 28px);
  display: grid; place-items: center; text-align: center; padding: 16px; color: #8a94a8; font-size: .92rem;
}
.tool-feats { grid-template-columns: repeat(4, 1fr); }
.tool-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tool-proof h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.tool-proof p { margin-top: 12px; color: var(--muted); }
.tool-proof .tool-line { color: var(--ink); font-weight: 600; padding-left: 12px; border-left: 3px solid var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; max-width: 820px; }
.steps li {
  counter-increment: s; position: relative; padding: 16px 20px 16px 64px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--white); font-weight: 700; font-size: .9rem;
}
.steps b { font-size: 1.05rem; }
.steps p { margin-top: 2px; color: var(--muted); font-size: .95rem; }
.guide { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.tool-note { margin-top: 20px; color: var(--muted); font-size: .93rem; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; color: var(--muted); }
.kn-join .more { color: #ffad66; font-weight: 600; }
.kn-join .more:hover { color: var(--white); }

/* 责任边界 */
.duty { border-top: 1px solid var(--line); }
.duty .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 36px; padding-bottom: 36px; }
.duty strong { font-size: 1.15rem; }
.duty span { color: var(--muted); }

/* 页脚 */
.site-footer { background: var(--navy); color: #aab6d3; font-size: .92rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; }
.site-footer img.logo { height: 32px; width: auto; }
.site-footer .slogan { margin-top: 16px; color: var(--white); font-weight: 600; letter-spacing: .08em; }
.site-footer h4 { margin: 0 0 12px; color: var(--white); font-size: .98rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #aab6d3; }
.site-footer a:hover { color: var(--white); }
.site-footer .qr-ph { background: var(--navy-2); border-color: #3a4a74; color: #7f8db0; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #22305a;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #7f8db0;
}
.placeholder { color: #ffad66; }

/* 手机与平板 */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-net { width: 380px; right: -120px; }
  .cards-3 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .learn { grid-template-columns: 1fr; gap: 32px; }
  .knowledge-band .wrap { grid-template-columns: 1fr; }
  .knowledge-band .net { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kn-why { grid-template-columns: 1fr; gap: 28px; }
  .tool-hero, .tool-proof, .guide { grid-template-columns: 1fr; gap: 32px; }
  .tool-feats { grid-template-columns: repeat(2, 1fr); }
  .kn-kinds { grid-template-columns: repeat(2, 1fr); }
  .kn-rules { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr; gap: 26px; }
  .flow-steps li:not(:last-child)::after {
    content: "↓"; right: auto; left: 50%; top: auto; bottom: -13px; transform: translate(-50%, 50%);
  }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .site-header .wrap { height: 60px; }
  .brand img { height: 28px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none; box-shadow: 0 12px 24px rgba(15, 35, 90, .08);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: .8em .6em; border-bottom: 1px solid var(--soft); }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 52px; }
  .kn-kinds, .kn-rules, .flow-sources, .tool-feats { grid-template-columns: 1fr; }
  .tool-hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .flow-merge::before { left: 22%; right: 22%; }
  .kn-join .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.demo-input { margin: 14px 0; font-size: .98rem; }
.kn-why > .kn-quote a { font-weight: 600; }

/* 免责声明等正文页 */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 12px; color: var(--muted); }
.legal b { color: var(--ink); }
.legal .legal-note { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }

/* 关于页 */
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.about-story .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.story p { margin-bottom: 16px; font-size: 1.05rem; }
.story .kn-quote { margin-top: 28px; }
.vmv { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 18px; }
.vmv > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.vmv span { display: block; font-size: .85rem; color: var(--accent); font-weight: 600; letter-spacing: .1em; margin-bottom: 8px; }
.vmv > div > b { font-size: 1.12rem; line-height: 1.6; }
.vmv ul { list-style: none; margin: 0; padding: 0; }
.vmv li { margin: 4px 0; color: var(--muted); }
.vmv li b { color: var(--ink); margin-right: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 960px; }
.timeline > li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 0 0 32px; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: 44px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child::before { display: none; }
.timeline .year {
  display: grid; place-items: center; height: 34px; border-radius: 999px;
  background: var(--brand); color: var(--white); font-weight: 700; position: relative; z-index: 1;
}
.timeline > li > div > p { padding-top: 4px; }
.history { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 16px; }
.history figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.history img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.history figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); }
.history figcaption b { display: block; color: var(--ink); font-size: .98rem; }
.contact { list-style: none; margin: 14px 0 0; padding: 0; color: #aab6d3; }
.contact li { margin: 4px 0; }
.contact a { color: var(--white); }
@media (max-width: 960px) {
  .about-story { grid-template-columns: 1fr; gap: 24px; }
  .about-story .section-head { position: static; }
  .vmv { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .timeline > li { grid-template-columns: 64px 1fr; gap: 14px; }
  .timeline > li::before { left: 31px; }
  .history { grid-template-columns: 1fr; }
}

/* 学堂页 */
.lessons { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.lesson-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.lesson-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.lesson-group h3 b { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: .95rem; }
.lesson-group ol { list-style: none; margin: 14px 0 0; padding: 0; }
.lesson-group li { padding: 10px 0; border-top: 1px solid var(--line); }
.lesson-group li span { display: inline-block; min-width: 4.4em; color: var(--accent); font-size: .88rem; font-weight: 600; }
.build-path { grid-template-columns: repeat(3, 1fr); }
.build-path li:nth-child(3)::after { display: none; }
.terms { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .lessons, .build-path { grid-template-columns: 1fr; }
  .build-path li:nth-child(3)::after { display: block; }
  .terms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.course-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-mods .mod { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 20px; }
.course-mods .mod.end { border-top-color: var(--accent); }
.course-mods .mod span { display: block; font-size: .82rem; color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.course-mods .mod b { display: block; margin-top: 6px; font-size: 1.05rem; line-height: 1.5; }
.course-mods .mod p { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.course-how, .course-goals { margin-top: 20px; }
.course-list { list-style: none; margin: 24px 0 0; padding: 0; max-width: 820px; }
.course-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.course-list li span { display: inline-block; min-width: 5em; color: var(--accent); font-weight: 600; font-size: .9rem; }
@media (max-width: 960px) { .course-mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .course-mods { grid-template-columns: 1fr; } }


/* ========== 定稿风格 D（2026-11-02 用户确认）：暖米白底、近黑文字、陶土橙点缀、衬线大标题、黑色按钮。由风格预览并入；选择器前缀 html:root 保持与预览时相同的优先级，覆盖上方基础色 ========== */
html:root {
  --brand: #141413;
  --brand-deep: #000;
  --brand-soft: #f0eee6;
  --accent: #d97757;
  --ink: #141413;
  --muted: #6b6a64;
  --line: #e8e6dc;
  --soft: #f0eee6;
  --white: #fffefb;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 19, .05);
}
html:root body {
  background: #faf9f5;
}
html:root h1,
html:root h2,
html:root .knowledge-band h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-weight: 600; letter-spacing: 0;
}
html:root .site-header {
  background: rgba(250, 249, 245, .92); border-bottom-color: transparent;
}
html:root .nav {
  background: #faf9f5;
}
html:root .nav a {
  color: #3d3d3a;
}
html:root .nav a:hover {
  background: #f0eee6; color: #141413;
}
html:root .nav a.active {
  color: #141413; font-weight: 600;
}
html:root .hero {
  background: #faf9f5;
}
html:root .hero-net {
  opacity: .35;
}
html:root .net-line {
  stroke: #b0aea5; stroke-opacity: .7;
}
html:root .net-node {
  fill: #faf9f5; stroke: #b0aea5; stroke-opacity: 1;
}
html:root .hero .wrap {
  padding-top: 112px; padding-bottom: 120px;
}
html:root .hero h1 {
  font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.3;
}
html:root .hero h1 .line2 {
  color: var(--accent);
}
html:root .hero .sub {
  color: #3d3d3a; font-weight: 400;
}
html:root .btn {
  border-radius: 10px; font-weight: 500;
}
html:root .btn:hover {
  transform: none;
}
html:root .btn-primary {
  background: #141413; color: #faf9f5;
}
html:root .btn-primary:hover {
  background: #3d3d3a; color: #faf9f5;
}
html:root .btn-ghost {
  background: transparent; color: #141413; border: 1px solid #b0aea5;
}
html:root .btn-ghost:hover {
  background: #f0eee6;
}
html:root .btn-accent {
  background: var(--accent);
}
html:root .btn-accent:hover {
  background: #c6613f;
}
html:root .principle::before {
  background: var(--accent);
}
html:root .answer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 24px rgba(20, 20, 19, .06);
}
html:root .answer-card .tag {
  background: #f0eee6;
}
html:root .avatar.me {
  background: #b0aea5;
}
html:root .avatar.ai {
  background: var(--accent);
}
html:root .answer-card .ans b {
  color: #141413;
}
html:root .cite {
  background: #f0eee6; color: #3d3d3a; border-left: 3px solid var(--accent); border-radius: 6px;
}
html:root .eyebrow {
  color: var(--muted); font-weight: 500; letter-spacing: .1em;
}
html:root .section {
  padding: 104px 0;
}
html:root .section-soft {
  background: #f0eee6;
}
html:root .card {
  background: var(--white); border-color: var(--line);
}
html:root .card:hover {
  transform: none; box-shadow: 0 4px 20px rgba(20, 20, 19, .06); border-color: #d6d3c6;
}
html:root .card .icon {
  background: #f0eee6; color: var(--accent);
}
html:root .card .more {
  color: #141413; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px;
}
html:root .knowledge-band {
  background: #141413; color: #e8e6dc;
}
html:root .knowledge-band .eyebrow {
  color: #b0aea5;
}
html:root .knowledge-band h2 {
  color: #faf9f5; font-weight: 500;
}
html:root .knowledge-band p {
  color: #b0aea5;
}
html:root .knowledge-band .net g:first-child {
  stroke: #d97757;
}
html:root .knowledge-band .net g:last-child {
  fill: #141413; stroke: #d97757;
}
html:root .tool {
  background: var(--white); border-color: var(--line); border-radius: 16px;
}
html:root .tool .shot {
  background: repeating-linear-gradient(135deg, #f0eee6 0 14px, #f6f4ee 14px 28px);
}
html:root .tool li::before {
  background: var(--accent);
}
html:root .level {
  background: var(--white); border-color: var(--line);
}
html:root .level b {
  background: #f0eee6; color: #141413; font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
}
html:root .level:nth-child(4) b {
  background: #f5e3da; color: #c6613f;
}
html:root .learn .follow {
  background: var(--white); border-color: var(--line);
}
html:root .qr-ph {
  background: #f0eee6; border-color: #b0aea5;
}
html:root a {
  color: #141413;
}
html:root .duty a {
  text-decoration: underline; text-decoration-color: var(--accent);
}
html:root .site-footer {
  background: #141413; color: #b0aea5;
}
html:root .site-footer a {
  color: #b0aea5;
}
html:root .site-footer a:hover {
  color: #faf9f5;
}
html:root .site-footer .qr-ph {
  background: #262624; border-color: #4a4945; color: #8a8880;
}
html:root .footer-bottom {
  border-top-color: #2e2d2a; color: #8a8880;
}
html:root .placeholder {
  color: #e3a58c;
}
html:root .page-hero {
  background: #faf9f5;
}
html:root .page-hero .wrap {
  padding-top: 104px; padding-bottom: 88px;
}
html:root .page-hero h1 {
  font-weight: 600;
}
html:root .kn-quote {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif; background: #f0eee6;
}
html:root .flow-src {
  background: var(--white); border-top-color: #141413;
}
html:root .flow-src.co,
html:root .flow-steps .share {
  border-color: var(--accent);
}
html:root .flow-src.co {
  border-top-color: var(--accent);
}
html:root .flow-steps .share {
  background: #f5e3da;
}
html:root .kn-join {
  background: #141413; color: #e8e6dc;
}
html:root .kn-join h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-weight: 500; color: #faf9f5;
}
html:root .kn-join .eyebrow {
  color: #b0aea5;
}
html:root .kn-join p {
  color: #b0aea5;
}
html:root .kn-join .qr-ph {
  background: #262624; border-color: #4a4945; color: #8a8880;
}
html:root .knowledge-band .more {
  color: #e3a58c;
}
html:root .knowledge-band .more:hover {
  color: #faf9f5;
}
html:root .shot-ph {
  background: repeating-linear-gradient(135deg, #f0eee6 0 14px, #f6f4ee 14px 28px);
}
html:root .steps li,
html:root .faq details {
  background: var(--white);
}
html:root .steps li::before {
  background: #141413; color: #faf9f5;
}
html:root .tool-proof h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}
html:root .kn-join .more {
  color: #e3a58c;
}
html:root .steps a,
html:root .tool-note a {
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px;
}
html:root .timeline .year {
  background: #141413; color: #faf9f5; font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
}
html:root .contact a {
  color: #faf9f5;
}
html:root .lesson-group h3 b {
  background: #f0eee6; color: #141413;
}
html:root .course-mods .mod {
  border-top-color: #141413;
}
html:root .course-mods .mod.end {
  border-top-color: var(--accent);
}

/* 公众号二维码（2026-11-02 替换占位框） */
.qr { flex: none; display: block; width: 96px; height: 96px; padding: 4px; border-radius: 8px; background: #fff; border: 1px solid #e3e0d6; }

/* 软件截图（2026-11-02 替换占位框） */
.tool .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shot-fig { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 18px 44px rgba(20, 20, 19, .08); }
.shot-fig img { display: block; width: 100%; height: auto; }
.shot-fig figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.shot-fig.wide { max-width: 960px; margin: 36px auto 0; }
.tool-proof.solo, .guide.solo { grid-template-columns: 1fr; max-width: 820px; }

/* 网盘下载密码（2026-11-02 下载改为蓝奏云） */
.dl-pass { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.dl-pass b { color: var(--ink, #141413); letter-spacing: .05em; }
.dl-box { flex: none; text-align: center; }
.kn-join .dl-pass { color: #b0aea5; }
.kn-join .dl-pass b { color: #faf9f5; }
