:root {
  --ink: #232a27;
  --muted: #626a65;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --sage: #58796b;
  --sage-dark: #36584b;
  --sage-soft: #e5ede7;
  --clay: #b45f45;
  --clay-soft: #f2dfd6;
  --line: #d9ddd7;
  --shell: min(1200px, calc(100% - 56px));
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.72; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.content-shell, .nav-shell, .lead-grid { width: var(--shell); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,253,248,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-shell { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.wordmark { display: grid; grid-template-columns: 46px auto; grid-template-rows: 25px 15px; column-gap: 11px; align-items: center; font-weight: 850; }
.wordmark img { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 10px; }
.wordmark span { align-self: end; font-size: 1.16rem; letter-spacing: .02em; }
.wordmark small { align-self: start; color: var(--sage-dark); font-size: .64rem; letter-spacing: .14em; }
.primary-nav { justify-self: center; display: flex; gap: 30px; font-size: .94rem; font-weight: 700; }
.primary-nav a { padding: 23px 0 20px; border-bottom: 3px solid transparent; }
.primary-nav a:hover, .primary-nav [aria-current="page"] { color: var(--sage-dark); border-bottom-color: var(--sage); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-actions a { padding: 8px 14px; border-radius: 8px; font-size: .86rem; font-weight: 750; }
.ios-link { color: var(--sage-dark); border: 1px solid #aabbb2; }
.download-link { color: #fff; background: var(--sage-dark); }
.nav-trigger { display: none; }

.lead { overflow: hidden; background: linear-gradient(115deg, #fbf8f1 0%, #f2f0e7 58%, #e8efe9 100%); border-bottom: 1px solid var(--line); }
.lead-grid { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr); grid-template-areas: "copy workspace"; align-items: center; gap: 66px; padding: 42px 0 48px; }
.lead-copy { grid-area: copy; }
.label, .module-title > span, .manual-intro span, .support-intro span, .final-call span, .manual-next span, .support-route span { color: var(--clay); font-size: .73rem; font-weight: 850; letter-spacing: .13em; }
.lead h1 { margin: 14px 0 18px; max-width: 620px; font-size: clamp(2.7rem, 5vw, 4.65rem); line-height: 1.05; letter-spacing: -.05em; }
.lead-copy > p { max-width: 610px; margin: 0; color: #505953; font-size: 1.05rem; }
.lead-buttons, .manual-buttons, .support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-weight: 780; line-height: 1.2; transition: transform .2s ease; }
.action:hover { transform: translateY(-2px); }
.action-main { color: #fff; background: var(--sage-dark); box-shadow: 0 10px 24px rgba(54,88,75,.18); }
.action-ghost { color: var(--clay); background: var(--paper); border: 1px solid #d6b5a9; }
.lead-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 30px 0 0; border: 1px solid var(--line); background: var(--line); }
.lead-facts div { padding: 13px 15px; background: rgba(255,253,248,.86); }
.lead-facts dt { font-weight: 800; }
.lead-facts dd { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.lead-workspace { grid-area: workspace; min-height: 520px; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; }
.tool-rail { display: grid; background: var(--paper); border: 1px solid var(--line); }
.tool-rail span { display: flex; flex-direction: column; padding: 15px 13px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .83rem; }
.tool-rail span:last-child { border-bottom: 0; }
.tool-rail b { color: var(--clay); font-size: .65rem; }
.tool-rail .active { color: #fff; background: var(--sage-dark); }
.tool-rail .active b { color: #dcebe3; }
.editor-frame { margin: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(50,58,53,.13); }
.editor-frame img { width: min(100%, 275px); max-width: 400px; height: auto; margin: 0 auto; }
.editor-frame figcaption { padding: 12px 4px 2px; color: var(--muted); font-size: .8rem; }

.tools, .projects, .preview-module, .faq-summary, .routes { padding: 86px 0; }
.tools { background: var(--paper); }
.module-title { display: grid; grid-template-columns: 150px 1fr; align-items: end; margin-bottom: 32px; }
.module-title h2, .routes h2, .final-call h2, .manual-next h2, .support-route h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.2; letter-spacing: -.03em; }
.tool-matrix { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.tool-matrix article { min-height: 250px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-matrix article:nth-child(2), .tool-matrix article:nth-child(3) { background: var(--sage-soft); }
.tool-matrix b { color: var(--clay); font-size: .75rem; }
.tool-matrix h3 { margin: 32px 0 10px; font-size: 1.4rem; }
.tool-matrix p { margin: 0; color: var(--muted); }
.tool-matrix em { display: block; margin-top: 24px; color: var(--sage-dark); font-size: .75rem; font-style: normal; font-weight: 800; letter-spacing: .05em; }

.projects { background: var(--cream); }
.project-list { border-top: 1px solid var(--ink); }
.project-list article { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.project-index { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--clay); border-radius: 50%; font-weight: 850; }
.project-list h3, .project-list p { margin: 0; }
.project-list p { margin-top: 4px; color: var(--muted); }
.project-list strong { color: var(--sage-dark); border: 1px solid #aebdb5; padding: 6px 10px; border-radius: 999px; font-size: .75rem; }

.preview-module { background: var(--sage-dark); color: #fff; }
.preview-grid { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: center; gap: 28px; }
.preview-heading { display: block; margin: 0; }
.preview-heading > span { color: #e3b8a8; }
.preview-heading h2 { margin: 12px 0 16px; }
.preview-heading > div { color: #cedbd5; }
.preview-card { margin: 0; }
.preview-card img { width: min(100%, 330px); max-width: 400px; height: auto; margin: 0 auto; border: 12px solid #fffdf8; box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.preview-offset { transform: translateY(34px); }
.preview-card figcaption { display: flex; flex-direction: column; align-items: center; margin-top: 15px; }
.preview-card figcaption span { color: #c9d7d0; font-size: .78rem; }

.faq-summary { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: 320px 1fr; gap: 70px; }
.faq-layout .module-title { display: block; }
.faq-layout .module-title h2 { margin: 10px 0 18px; }
.faq-layout .module-title a { color: var(--clay); font-weight: 800; }
.question-stack { display: grid; gap: 10px; }
.question-stack details, .answer-grid details { padding: 18px 20px; background: var(--cream); border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 780; }
.question-stack p, .answer-grid p { margin: 12px 0 0; color: var(--muted); }

.routes { background: #edeae1; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.route-grid a { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; background: var(--paper); }
.route-grid a + a { border-left: 1px solid var(--line); background: var(--clay-soft); }
.route-grid span { color: var(--sage-dark); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.route-grid div { color: var(--muted); }
.route-grid b { color: var(--clay); }
.final-call { padding: 62px 0; color: #fff; background: var(--clay); }
.final-inner, .manual-next > .content-shell { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.final-call span { color: #f8d6c9; }
.final-call h2 { margin: 8px 0; }
.final-call .final-inner > div:first-child > div { color: #fae5de; }
.final-call .final-inner > div:last-child { display: flex; gap: 10px; }
.action-light { color: var(--clay); background: #fff; }
.action-line { color: #fff; border: 1px solid rgba(255,255,255,.65); }
.footer { padding: 28px 0; color: #68706c; background: var(--paper); border-top: 1px solid var(--line); text-align: center; font-size: .82rem; }
.footer p { margin: 3px 0; }

.manual-intro, .support-intro { background: var(--sage-soft); border-bottom: 1px solid var(--line); }
.manual-intro-grid { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 52px 0; }
.manual-intro h1, .support-intro h1 { max-width: 800px; margin: 12px 0 16px; font-size: clamp(2.3rem, 4.5vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
.manual-intro p, .support-intro p { max-width: 760px; margin: 0; color: var(--muted); }
.manual-buttons { flex: 0 0 auto; margin-top: 0; }
.handbook { display: grid; grid-template-columns: 220px minmax(0, 850px); justify-content: space-between; gap: 70px; padding: 70px 0 90px; }
.chapter-nav { position: sticky; top: 105px; align-self: start; display: grid; gap: 8px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.chapter-nav strong { margin-bottom: 7px; }
.chapter-nav a { color: var(--muted); font-size: .88rem; }
.chapter-nav a:hover { color: var(--clay); }
.chapters > section { scroll-margin-top: 105px; display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.chapter-number { color: var(--clay); font-size: 1.5rem; font-weight: 850; }
.chapters h2 { margin: 0 0 18px; font-size: 2rem; }
.chapters p { color: #4e5752; }
.chapters a { color: var(--clay); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.chapter-note { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 20px; background: var(--sage-soft); border-left: 4px solid var(--sage); }
.chapter-media { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 24px; margin-top: 26px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.chapter-media img { width: 190px; max-width: 400px; height: auto; }
.chapter-media div { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.manual-next { padding: 56px 0; background: var(--paper); border-top: 1px solid var(--line); }
.manual-next h2, .support-route h2 { margin: 7px 0; }
.manual-next .content-shell > div:last-child { display: flex; gap: 10px; }

.support-intro > .content-shell { min-height: 350px; padding: 60px 0; }
.support-actions { margin-top: 24px; }
.question-index { padding: 68px 0 88px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs button { padding: 8px 16px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filter-tabs .active { color: #fff; background: var(--sage-dark); border-color: var(--sage-dark); }
.answer-count { margin: 18px 0 22px; color: var(--muted); font-size: .85rem; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer-grid details { background: var(--paper); }
.answer-grid summary { display: flex; gap: 13px; }
.answer-grid summary b { color: var(--clay); }
.support-route { padding: 54px 0; background: var(--clay-soft); }
.support-route > .content-shell { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.support-route a { color: var(--clay); font-weight: 850; }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: auto auto 1fr; }
  .primary-nav { gap: 16px; }
  .nav-actions { justify-self: end; }
  .lead-grid { grid-template-columns: 1fr 420px; gap: 34px; }
  .lead-facts { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-heading { grid-column: span 2; }
  .preview-offset { transform: none; }
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 32px, 680px); }
  .nav-shell { min-height: 66px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .wordmark { grid-template-columns: 40px auto; grid-template-rows: 23px 13px; }
  .wordmark img { width: 40px; height: 40px; }
  .nav-trigger { justify-self: end; width: 46px; height: 42px; display: grid; place-content: center; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
  .nav-trigger span { display: block; width: 19px; height: 2px; background: var(--ink); }
  .nav-trigger b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .primary-nav { position: absolute; top: 65px; left: 16px; right: 16px; display: none; flex-direction: column; gap: 0; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(35,42,39,.15); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px; border-bottom: 0; }
  .nav-actions { display: none; }
  .lead-grid { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "copy" "workspace"; gap: 26px; padding: 34px 0 32px; }
  .lead-copy { order: 1; }
  .lead-workspace { order: 2; min-height: 300px; max-width: 480px; margin: 0 auto; grid-template-columns: 84px 1fr; }
  .lead h1 { font-size: clamp(2.3rem, 10vw, 3.3rem); }
  .lead-facts { display: none; }
  .tool-rail span { padding: 8px; }
  .editor-frame img { width: 185px; }
  .editor-frame figcaption { display: none; }
  .tools, .projects, .preview-module, .faq-summary, .routes { padding: 64px 0; }
  .module-title { grid-template-columns: 1fr; gap: 7px; }
  .tool-matrix { grid-template-columns: 1fr; }
  .tool-matrix article:nth-child(3) { background: var(--paper); }
  .tool-matrix article:nth-child(4) { background: var(--sage-soft); }
  .project-list article { grid-template-columns: 52px 1fr; gap: 14px; }
  .project-list strong { grid-column: 2; justify-self: start; }
  .preview-grid, .faq-layout, .route-grid, .answer-grid { grid-template-columns: 1fr; }
  .preview-heading { grid-column: auto; }
  .preview-card img { width: 240px; }
  .route-grid a + a { border-left: 0; border-top: 1px solid var(--line); }
  .final-inner, .manual-intro-grid, .manual-next > .content-shell, .support-route > .content-shell { align-items: flex-start; flex-direction: column; }
  .manual-buttons { margin-top: 18px; }
  .handbook { grid-template-columns: 1fr; gap: 30px; }
  .chapter-nav { position: static; grid-template-columns: 1fr 1fr; }
  .chapter-nav strong { grid-column: span 2; }
}

@media (max-width: 500px) {
  :root { --shell: calc(100% - 28px); }
  .lead h1, .manual-intro h1, .support-intro h1 { font-size: 2.25rem; }
  .lead-workspace { min-height: 276px; grid-template-columns: 72px 1fr; }
  .editor-frame { padding: 8px; }
  .editor-frame img { width: 158px; }
  .tool-rail span { font-size: .72rem; }
  .tool-matrix article { min-height: 225px; }
  .preview-card img { width: 220px; }
  .faq-layout { gap: 32px; }
  .chapter-nav { grid-template-columns: 1fr; }
  .chapter-nav strong { grid-column: auto; }
  .chapters > section { grid-template-columns: 1fr; gap: 8px; }
  .chapter-media { grid-template-columns: 1fr; }
  .chapter-media img { margin: 0 auto; }
  .final-call .final-inner > div:last-child, .manual-next .content-shell > div:last-child { flex-wrap: wrap; }
}
