:root {
  --ink: #141918;
  --paper: #ffffff;
  --canvas: #f3f6f4;
  --coral: #f25545;
  --green: #2f765d;
  --blue: #2d63d7;
  --yellow: #f3c84b;
  --muted: #59625f;
  --line: #cad3ce;
  --shadow: 7px 7px 0 #141918;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
}

.site-nav .nav-download {
  margin-left: 6px;
  padding-inline: 18px;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 64px;
  align-items: center;
  padding-block: 36px 40px;
}

.issue-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--ink);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: 64px;
  line-height: 1.03;
  font-weight: 950;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent-line {
  color: var(--coral);
}

.hero-copy > p {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 17px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-primary {
  color: #fff;
  background: var(--coral);
}

.button-secondary {
  background: var(--yellow);
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.fact-row span {
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 800;
  background: #edf5f1;
  border: 1px solid var(--green);
  border-radius: 2px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 12px;
  align-items: center;
  padding: 28px 24px 24px;
  background: #dce9e4;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.issue-number {
  position: absolute;
  top: -16px;
  left: 18px;
  z-index: 2;
  padding: 4px 11px;
  font-size: 13px;
  font-weight: 950;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--ink);
}

.hero-media img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
}

.hero-media .media-main {
  max-height: 454px;
  justify-self: end;
}

.media-stack {
  display: grid;
  gap: 12px;
}

.media-stack img {
  max-height: 218px;
}

.section {
  padding-block: 76px;
  border-bottom: 2px solid var(--ink);
}

.section-white { background: #fff; }
.section-green { background: #eaf2ee; }
.section-blue { background: #eaf0fc; }
.section-coral { background: #fff0ed; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.14;
}

.section-note {
  max-width: 590px;
  color: var(--muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.preview-card {
  margin: 0;
  display: grid;
  grid-template-rows: 420px auto;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.preview-card:nth-child(2) { background: #fff7db; }
.preview-card:nth-child(3) { background: #eaf4ff; }

.preview-card img {
  width: 100%;
  max-width: 400px;
  height: 100%;
  margin: auto;
  object-fit: contain;
}

.preview-card figcaption {
  min-height: 94px;
  padding: 16px;
  border-top: 2px solid var(--ink);
}

.preview-card strong {
  display: block;
  margin-bottom: 4px;
}

.genre-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 54px;
  align-items: start;
}

.genre-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.genre-item {
  min-height: 104px;
  padding: 18px;
  background: #fff;
  border: 2px solid var(--ink);
}

.genre-item span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--coral);
}

.genre-item strong {
  font-size: 21px;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 160px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

.feature-row b {
  font-size: 28px;
  color: var(--green);
}

.feature-row strong {
  font-size: 18px;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--ink);
}

.workflow article {
  min-height: 198px;
  padding: 24px 20px;
  background: #fff;
  border-right: 2px solid var(--ink);
}

.workflow article:last-child { border-right: 0; }
.workflow article:nth-child(2) { background: #fff7db; }
.workflow article:nth-child(3) { background: #edf5f1; }
.workflow article:nth-child(4) { background: #eaf0fc; }

.step-number {
  font-size: 14px;
  font-weight: 950;
  color: var(--coral);
}

.workflow h3 {
  margin: 12px 0 7px;
  font-size: 21px;
}

.workflow p { margin: 0; color: var(--muted); }

.link-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.link-panel {
  min-height: 230px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.link-panel h3 {
  margin: 0 0 10px;
  font-size: 27px;
}

.link-panel p { margin: 0 0 22px; color: var(--muted); }
.link-panel a { margin-top: auto; font-weight: 900; color: var(--blue); }

.download-band {
  padding-block: 54px;
  color: #fff;
  background: var(--green);
  border-bottom: 2px solid var(--ink);
}

.download-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.download-band h2 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.2;
}

.download-band p,
.download-note { margin: 0; color: #e5f1ec; }

.page-hero {
  padding-block: 58px 46px;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: 102px;
  display: grid;
  border-top: 2px solid var(--ink);
}

.guide-nav a {
  padding: 12px 4px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.guide-nav a:hover { color: var(--coral); }

.article-content {
  max-width: 820px;
}

.article-section {
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 2px solid var(--ink);
}

.article-section:last-child { margin-bottom: 0; }

.article-section h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
}

.article-section h3 {
  margin: 26px 0 8px;
  font-size: 21px;
}

.article-section p,
.article-section li { color: #3e4744; }

.article-section ol,
.article-section ul {
  padding-left: 24px;
}

.notice {
  padding: 18px 20px;
  background: #fff7db;
  border-left: 5px solid var(--yellow);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.checklist div {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
}

.faq-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.faq-filter {
  min-height: 42px;
  padding: 7px 15px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
}

.faq-filter.is-active {
  color: #fff;
  background: var(--blue);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 2px solid var(--ink);
}

.faq-item[hidden] { display: none; }

.faq-question {
  width: 100%;
  min-height: 66px;
  padding: 15px 60px 15px 20px;
  position: relative;
  text-align: left;
  font-weight: 900;
  color: var(--ink);
  background: #fff;
  border: 0;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--coral);
}

.faq-question[aria-expanded="true"]::after { content: "−"; }

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq-answer p { margin: 16px 0 0; }

.site-footer {
  padding-block: 38px;
  text-align: center;
  background: #fff;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
}

.disclaimer,
.copyright {
  max-width: 780px;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .container { width: min(100% - 32px, var(--container)); }

  .site-header { height: 66px; }

  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    background: #fff;
    border-bottom: 0 solid var(--ink);
    transition: max-height .24s ease, border-width .24s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
    border-bottom-width: 2px;
  }

  .site-nav a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-download {
    margin: 8px 16px 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 26px 32px;
  }

  .hero h1 { font-size: 44px; }
  .hero-copy > p { margin-top: 14px; font-size: 15px; }
  .hero-actions { margin-top: 18px; }
  .fact-row { margin-top: 16px; }

  .hero-media {
    min-height: 292px;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 12px 12px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .hero-media .media-main,
  .media-stack img {
    max-height: 260px;
  }

  .media-stack {
    display: contents;
  }

  .section { padding-block: 58px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 26px; }
  .section-heading h2 { font-size: 34px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card { grid-template-rows: 360px auto; }
  .genre-layout { grid-template-columns: 1fr; gap: 32px; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow article:nth-child(2) { border-right: 0; }
  .workflow article:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .guide-layout { grid-template-columns: 1fr; gap: 34px; }
  .guide-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .download-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }

  .issue-kicker,
  .page-kicker { margin-bottom: 10px; }

  .hero-grid { gap: 20px; padding-block: 20px 24px; }
  .hero h1 { font-size: 39px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 44px; padding: 8px 16px; }

  .hero-media {
    min-height: 244px;
    gap: 7px;
    padding: 12px 8px;
  }

  .hero-media .media-main,
  .media-stack img { max-height: 218px; }

  .section { padding-block: 48px; }
  .section-heading h2 { font-size: 30px; }
  .preview-card { grid-template-rows: 330px auto; }
  .genre-index { grid-template-columns: 1fr 1fr; gap: 8px; }
  .genre-item { min-height: 92px; padding: 13px; }
  .genre-item strong { font-size: 18px; }
  .feature-row { grid-template-columns: 44px 1fr; gap: 10px; }
  .feature-row p { grid-column: 2; }
  .workflow { grid-template-columns: 1fr; }
  .workflow article { min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .workflow article:last-child { border-bottom: 0; }
  .link-split { grid-template-columns: 1fr; }
  .link-panel { min-height: 210px; padding: 24px; }
  .download-band { padding-block: 42px; }
  .download-band h2 { font-size: 31px; }
  .page-hero { padding-block: 42px 34px; }
  .page-hero h1 { font-size: 34px; }
  .article-section h2 { font-size: 27px; }
  .guide-nav { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

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