:root {
  --ink: #17201d;
  --muted: #5d6763;
  --paper: #f8f7f2;
  --white: #ffffff;
  --coral: #e76049;
  --mint: #b8ead2;
  --yellow: #f1cf58;
  --line: #cfd5d1;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--ink); background: rgba(248, 247, 242, .97); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 8px 12px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 15px; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--coral); }
.nav .download-link { margin-left: 10px; border: 1px solid var(--ink); border-bottom-width: 3px; background: var(--mint); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { border-bottom: 1px solid var(--ink); background: var(--paper); }
.hero-inner { min-height: 510px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); align-items: center; gap: 56px; padding-block: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 8px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(40px, 5vw, 68px); line-height: 1.08; letter-spacing: 0; }
h1 .h1-line { display: block; }
.hero-copy > p { max-width: 650px; margin-bottom: 25px; color: #3f4945; font-size: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid var(--ink); border-bottom-width: 3px; text-decoration: none; font-weight: 800; }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-secondary { background: var(--white); }
.hero-note { margin-left: 4px; color: var(--muted); font-size: 13px; }
.issue-rail { position: relative; height: 390px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 14px; }
.issue-shot { position: relative; overflow: hidden; border: 2px solid var(--ink); background: var(--white); box-shadow: 8px 8px 0 var(--ink); }
.issue-shot:nth-child(1) { transform: translateY(16px); }
.issue-shot:nth-child(2) { transform: translateY(-12px); }
.issue-shot:nth-child(3) { transform: translateY(23px); }
.issue-shot img { width: 100%; height: 300px; object-fit: contain; object-position: center; }
.issue-shot b { position: absolute; top: 7px; left: 7px; padding: 2px 7px; background: var(--yellow); border: 1px solid var(--ink); font-size: 11px; }

.band { padding-block: 74px; }
.band-paper { background: var(--paper); border-block: 1px solid var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: 0; }
.section-note { max-width: 590px; color: var(--muted); font-size: 15px; }
.update-board { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--ink); }
.update-main { padding: 30px; background: var(--ink); color: var(--white); }
.update-main .count { display: block; color: var(--mint); font-size: 60px; font-weight: 900; line-height: 1; }
.update-main h3 { margin: 14px 0 8px; font-size: 24px; }
.update-list { background: var(--white); }
.update-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; min-height: 76px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.update-row:last-child { border-bottom: 0; }
.chapter-no { font-weight: 900; color: var(--coral); }
.status { padding: 2px 8px; border: 1px solid var(--ink); background: var(--mint); font-size: 12px; font-weight: 800; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screen-item { margin: 0; }
.screen-frame { overflow: hidden; border: 1px solid var(--ink); background: #edf2ef; }
.screen-frame img { width: 100%; max-width: 400px; height: 460px; margin: auto; object-fit: contain; object-position: center; }
.screen-item figcaption { padding-top: 14px; }
.screen-item h3 { margin-bottom: 4px; font-size: 18px; }
.screen-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tool { min-height: 190px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); }
.tool-index { color: var(--coral); font-size: 13px; font-weight: 900; }
.tool h3 { margin: 28px 0 8px; font-size: 19px; }
.tool p { margin: 0; color: var(--muted); font-size: 14px; }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deep-link { min-height: 230px; padding: 30px; border: 1px solid var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.deep-link:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.deep-link:first-child { background: var(--mint); }
.deep-link:last-child { background: var(--yellow); }
.deep-link span { font-size: 12px; font-weight: 900; }
.deep-link h3 { margin: 32px 0 10px; font-size: 26px; }
.deep-link p { margin-bottom: 0; }

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center; padding: 20px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-weight: 800; cursor: pointer; }
.faq-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--white); font-size: 22px; line-height: 1; }
.faq-answer { display: none; max-width: 900px; padding: 0 52px 22px 0; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { background: var(--coral); color: var(--white); }
.more-link { display: inline-block; margin-top: 24px; font-weight: 800; text-underline-offset: 4px; }

.download-band { padding-block: 54px; border-top: 1px solid var(--ink); background: var(--coral); color: var(--white); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.download-inner h2 { margin: 0 0 6px; font-size: 34px; }
.download-inner p { margin: 0; }
.download-inner .btn { flex: 0 0 auto; background: var(--white); color: var(--ink); }

.page-hero { padding-block: 60px 48px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.page-hero .container { display: grid; grid-template-columns: 1fr 320px; align-items: center; gap: 50px; }
.page-hero h1 { max-width: 800px; font-size: clamp(38px, 5vw, 60px); }
.page-hero p { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.page-stamp { padding: 28px; border: 2px solid var(--ink); background: var(--mint); box-shadow: 8px 8px 0 var(--ink); }
.page-stamp b { display: block; font-size: 56px; line-height: 1; }
.page-stamp span { font-weight: 800; }
.content-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; padding-block: 64px; }
.side-index { position: sticky; top: 94px; align-self: start; padding: 18px; border: 1px solid var(--ink); background: var(--paper); }
.side-index strong { display: block; margin-bottom: 10px; }
.side-index a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; }
.side-index a:hover { color: var(--coral); }
.prose section { scroll-margin-top: 94px; margin-bottom: 58px; }
.prose h2 { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 30px; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 20px; }
.prose p, .prose li { color: #3f4945; }
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 22px; }
.step { position: relative; padding: 22px 22px 22px 76px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 20px; left: 20px; color: var(--coral); font-size: 22px; font-weight: 900; }
.step h3 { margin: 0 0 6px; }
.checklist { padding: 22px 22px 22px 44px; border-left: 7px solid var(--mint); background: var(--paper); }
.faq-page .faq-answer { padding-bottom: 26px; }

.site-footer { padding-block: 34px; border-top: 1px solid var(--ink); background: var(--ink); color: var(--white); text-align: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.footer-nav a { color: var(--white); }
.disclaimer { max-width: 760px; margin: 0 auto 10px; color: #d9dfdc; font-size: 13px; text-align: center; }
.copyright { margin: 0; font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 34px 30px; }
  .issue-rail { height: 250px; }
  .issue-shot img { height: 205px; }
  .update-board, .page-hero .container, .content-shell { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .page-stamp { display: none; }
  .side-index { position: static; display: flex; gap: 12px 18px; flex-wrap: wrap; }
  .side-index strong { width: 100%; margin: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 60px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; display: none; padding: 12px 14px 18px; border-bottom: 1px solid var(--ink); background: var(--paper); }
  .nav.open { display: grid; }
  .nav a { padding: 10px 12px; }
  .nav .download-link { margin-left: 0; }
  h1 { font-size: 40px; }
  .hero-inner { min-height: 0; gap: 12px; padding-block: 24px 18px; }
  .hero-copy > p { margin-bottom: 16px; font-size: 15px; line-height: 1.55; }
  .hero-actions { gap: 8px; }
  .btn { min-height: 42px; padding: 8px 17px; }
  .hero-note { width: 100%; }
  .issue-rail { height: 195px; gap: 7px; }
  .issue-shot { box-shadow: 4px 4px 0 var(--ink); }
  .issue-shot img { height: 164px; }
  .issue-shot b { top: 4px; left: 4px; padding: 1px 4px; font-size: 9px; }
  .band { padding-block: 48px; }
  .section-head { display: block; margin-bottom: 22px; }
  .section-note { margin-top: 10px; }
  .update-main { padding: 24px; }
  .update-main .count { font-size: 48px; }
  .update-row { grid-template-columns: 45px 1fr; gap: 9px; padding: 12px 15px; }
  .update-row .status { grid-column: 2; justify-self: start; }
  .gallery-grid, .deep-grid { grid-template-columns: 1fr; }
  .screen-frame img { height: 410px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool { min-height: 150px; }
  .tool h3 { margin-top: 18px; }
  .download-inner { display: block; }
  .download-inner .btn { margin-top: 20px; }
  .page-hero { padding-block: 40px 34px; }
  .page-hero h1 { font-size: 38px; }
  .content-shell { gap: 30px; padding-block: 42px; }
  .side-index { padding: 14px; }
  .prose h2 { font-size: 27px; }
  .step { padding-left: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
