:root {
  --ink: #161915;
  --paper: #fffdf7;
  --jade: #0e3f33;
  --jade-soft: #dff0e8;
  --red: #f04f38;
  --yellow: #f8c74c;
  --line: #1b241f;
  --muted: #626960;
  --white: #ffffff;
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

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

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 2px solid var(--line);
  background: rgba(255, 253, 247, 0.96);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jade);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--jade-soft);
}

.download-link,
.primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-link {
  padding: 8px 18px;
}

.primary-button {
  min-width: 148px;
  padding: 11px 26px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--line);
  background: var(--yellow);
  cursor: pointer;
}

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

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: linear-gradient(90deg, var(--paper) 0 60%, var(--jade-soft) 60% 100%);
}

.hero-inner {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: 54px;
  padding-block: 44px 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--jade);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  width: 30px;
  height: 8px;
  background: var(--yellow);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 54px;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 580px;
  margin-bottom: 28px;
  color: #3d443e;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  border-bottom: 2px solid var(--jade);
  color: var(--jade);
  font-weight: 900;
  text-decoration: none;
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: center;
  grid-template-columns: 108px minmax(220px, 305px) 92px;
  justify-content: center;
  gap: 14px;
}

.phone-main {
  position: relative;
  z-index: 2;
  padding: 9px;
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-main img {
  width: min(100%, 399px);
  max-height: 480px;
  object-fit: contain;
}

.bookmark-rail {
  display: grid;
  align-content: center;
  gap: 16px;
}

.bookmark-card {
  position: relative;
  padding: 12px 8px 18px;
  border: 2px solid var(--line);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.bookmark-card::after {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 18px;
  height: 10px;
  background: var(--paper);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  content: "";
  transform: translateX(-50%);
}

.chapter-meter {
  display: grid;
  min-height: 310px;
  align-content: space-between;
  padding: 18px 12px;
  border: 2px solid var(--line);
  background: var(--jade);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.meter-dots {
  display: grid;
  justify-content: center;
  gap: 13px;
}

.meter-dots i {
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.meter-dots i:first-child {
  background: var(--red);
}

.mode-band {
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.mode-grid {
  display: grid;
  min-height: 126px;
  align-items: stretch;
  grid-template-columns: repeat(4, 1fr);
}

.mode-item {
  display: grid;
  align-content: center;
  padding: 18px 24px;
  border-right: 1px solid #59615c;
}

.mode-item:first-child {
  border-left: 1px solid #59615c;
}

.mode-item strong {
  color: var(--yellow);
  font-size: 18px;
}

.mode-item span {
  color: #d4dad6;
  font-size: 13px;
}

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

.section.alt {
  background: var(--jade-soft);
}

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

.section-heading h2 {
  margin: 0;
  font-size: 38px;
}

.section-kicker {
  color: var(--jade);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.82fr 1.16fr 0.82fr;
  gap: 24px;
}

.preview-card {
  padding: 18px;
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.preview-card:nth-child(2) {
  margin-top: 46px;
  background: #fff7d9;
}

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

.preview-card h3 {
  margin: 18px 0 6px;
  font-size: 20px;
}

.preview-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--line);
  border-left: 2px solid var(--line);
}

.feature-item {
  min-height: 210px;
  padding: 30px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.feature-item:nth-child(2),
.feature-item:nth-child(3) {
  background: var(--white);
}

.feature-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

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

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

.check-card {
  min-height: 220px;
  padding: 28px;
  border: 2px solid var(--line);
  background: var(--white);
}

.check-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--jade);
  font-size: 24px;
}

.check-card a {
  color: var(--jade);
  font-weight: 900;
}

.bridge-section {
  padding-block: 82px;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.bridge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--line);
}

.bridge-panel {
  min-height: 260px;
  padding: 42px;
  border-right: 2px solid var(--line);
  background: var(--yellow);
}

.bridge-panel:last-child {
  border-right: 0;
  background: var(--jade);
  color: var(--white);
}

.bridge-panel h2 {
  font-size: 34px;
}

.bridge-panel a {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
  text-decoration: none;
}

.panel-copy {
  max-width: 700px;
  color: inherit;
}

.download-band {
  padding-block: 70px;
  background: var(--red);
  color: var(--white);
}

.download-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.download-band h2 {
  margin-bottom: 8px;
  font-size: 40px;
}

.download-band p {
  max-width: 700px;
  margin-bottom: 0;
}

.download-band .primary-button {
  border-color: var(--white);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--white);
  color: var(--ink);
}

.site-footer {
  padding-block: 36px;
  background: var(--ink);
  color: #d8ddd9;
  text-align: center;
}

.site-footer p {
  max-width: 900px;
  margin: 8px auto;
  text-align: center;
}

.subhero {
  padding-block: 62px 58px;
  border-bottom: 2px solid var(--line);
  background: var(--jade-soft);
}

.subhero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 50px;
}

.subhero h1 {
  font-size: 48px;
}

.subhero p {
  max-width: 760px;
  margin-bottom: 0;
  color: #3e4b44;
  font-size: 18px;
}

.subhero-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--line);
  background: var(--paper);
}

.subhero-index span {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.content-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 54px;
  padding-block: 64px 86px;
}

.side-index {
  position: sticky;
  top: 104px;
  align-self: start;
  border: 2px solid var(--line);
  background: var(--white);
}

.side-index strong {
  display: block;
  padding: 14px 18px;
  background: var(--jade);
  color: var(--white);
}

.side-index a {
  display: block;
  padding: 11px 18px;
  border-top: 1px solid #ccd4ce;
  text-decoration: none;
}

.article-section {
  margin-bottom: 58px;
  scroll-margin-top: 100px;
}

.article-section h2 {
  padding-bottom: 12px;
  border-bottom: 3px solid var(--jade);
  font-size: 30px;
}

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

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

.step-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 92px;
  padding: 20px 24px 20px 82px;
  border: 2px solid var(--line);
  background: var(--white);
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  content: counter(steps, decimal-leading-zero);
  font-weight: 900;
}

.notice {
  padding: 22px 24px;
  border-left: 8px solid var(--red);
  background: #fff1ec;
}

.faq-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.faq-filter {
  padding: 9px 16px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.faq-filter.is-active {
  background: var(--yellow);
}

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

.faq-item {
  border: 2px solid var(--line);
  background: var(--white);
}

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

.faq-item summary {
  position: relative;
  padding: 19px 56px 19px 22px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--jade-soft);
  content: "+";
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: #414842;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.is-hidden {
  display: none !important;
}

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

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 16px 22px;
    border-bottom: 2px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .download-link {
    margin-top: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero {
    background: var(--paper);
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 30px 34px;
  }

  h1,
  .subhero h1 {
    font-size: 40px;
  }

  .hero-copy > p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero-media {
    min-height: 300px;
    grid-template-columns: 78px minmax(190px, 250px) 68px;
    gap: 8px;
  }

  .phone-main img {
    max-height: 285px;
  }

  .chapter-meter {
    min-height: 220px;
    padding: 14px 8px;
  }

  .bookmark-card {
    padding: 8px 4px 14px;
  }

  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .preview-card:nth-child(2) {
    margin-top: 0;
  }

  .preview-card img {
    max-height: 560px;
  }

  .bridge,
  .subhero-inner,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .bridge-panel {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .side-index {
    position: static;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 480px);
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  h1,
  .subhero h1 {
    max-width: 100%;
    font-size: 34px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-media {
    min-height: 250px;
    grid-template-columns: 58px minmax(155px, 205px) 50px;
  }

  .phone-main {
    padding: 6px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .phone-main img {
    max-height: 235px;
  }

  .bookmark-rail {
    gap: 8px;
  }

  .bookmark-card {
    font-size: 10px;
  }

  .chapter-meter {
    min-height: 180px;
    font-size: 10px;
  }

  .mode-grid {
    min-height: 116px;
  }

  .mode-item {
    padding: 12px;
  }

  .mode-item strong {
    font-size: 15px;
  }

  .mode-item span {
    font-size: 11px;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .section-heading h2,
  .download-band h2 {
    font-size: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 0;
    padding: 24px;
  }

  .bridge-panel {
    min-height: 0;
    padding: 38px 24px;
  }

  .bridge-section {
    padding-block: 58px;
  }

  .bridge-panel h2 {
    font-size: 28px;
  }

  .download-band-inner {
    align-items: start;
    flex-direction: column;
  }

  .subhero {
    padding-block: 42px;
  }

  .subhero-index {
    grid-template-columns: 1fr;
  }

  .content-layout {
    gap: 34px;
    padding-block: 40px 60px;
  }

  .article-section h2 {
    font-size: 26px;
  }

  .step-list li {
    padding: 76px 20px 20px;
  }

  .step-list li::before {
    top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
