:root {
  --ink: #17151c;
  --paper: #fffdf8;
  --paper-2: #f4f0e8;
  --pink: #ff3d7f;
  --cyan: #12b8c4;
  --yellow: #ffd84d;
  --green: #85d15b;
  --muted: #6e6974;
  --line: #d9d3ca;
  --shadow: 6px 6px 0 var(--ink);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

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

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

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

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

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

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

.site-nav .download-button {
  padding: 10px 17px;
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--cyan);
}

.hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 60px;
  padding-block: 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.kicker,
.section-tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
  font-size: 4.4rem;
  font-weight: 950;
}

h2 {
  margin-bottom: 30px;
  font-size: 3rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.hero-copy > p {
  max-width: 630px;
  margin-bottom: 28px;
  font-size: 1.08rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .button {
  padding: 15px 24px;
}

.hero-actions .button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  padding: 5px 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.burst {
  position: absolute;
  top: -50px;
  right: 0;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  transform: rotate(8deg);
}

.hero-phone {
  position: absolute;
  right: 70px;
  bottom: -30px;
  width: min(100%, 330px);
  max-width: 400px;
  border: 4px solid var(--ink);
  border-radius: 28px 28px 0 0;
  box-shadow: 14px 14px 0 rgba(23, 21, 28, 0.92);
}

.stat-strip {
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 106px;
  padding: 22px 24px;
  border-right: 1px solid #605a66;
}

.stat:last-child {
  border-right: 0;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--yellow);
  font-size: 1.45rem;
}

.stat span {
  color: #ddd7e1;
  font-size: 0.88rem;
}

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

.section.alt {
  background: var(--paper-2);
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head a {
  margin-bottom: 34px;
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.feature-card,
.path-card,
.quote-card,
.info-panel,
.step,
.faq-item {
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 232px;
  padding: 26px;
}

.feature-card:nth-child(2) {
  background: #fff2f7;
}

.feature-card:nth-child(3) {
  background: #edfbfc;
}

.feature-card:nth-child(4) {
  background: #fff9dc;
}

.feature-card:nth-child(5) {
  background: #f1faeb;
}

.feature-card:nth-child(6) {
  background: #f5f1fa;
}

.feature-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 950;
}

.feature-card p,
.path-card p,
.step p,
.info-panel p,
.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}

.screen-figure {
  margin: 0;
}

.screen-figure:nth-child(even) {
  transform: translateY(26px);
}

.screen-figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--pink);
}

.screen-figure figcaption {
  margin-top: 16px;
  font-weight: 900;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.path-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
}

.path-card:first-child {
  background: var(--yellow);
}

.path-card:last-child {
  background: var(--cyan);
}

.path-card .path-no {
  position: absolute;
  right: 18px;
  bottom: -32px;
  color: rgba(23, 21, 28, 0.12);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 950;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

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

.quote-card {
  padding: 26px;
}

.quote-card blockquote {
  margin: 0 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
}

.quote-card cite {
  color: var(--muted);
  font-style: normal;
}

.mini-faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.question-list {
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--ink);
  list-style: none;
}

.question-list li {
  padding: 18px 0;
  border-bottom: 2px solid var(--ink);
}

.question-list strong {
  display: block;
  margin-bottom: 5px;
}

.question-list span {
  color: var(--muted);
}

.download-band {
  background: var(--pink);
  color: #fff;
}

.download-band .container {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-band h2 {
  max-width: 720px;
  margin: 0;
}

.download-band .download-button {
  flex: 0 0 auto;
  padding: 17px 26px;
  background: var(--yellow);
  color: var(--ink);
}

.page-hero {
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
}

.page-hero .container {
  min-height: 410px;
  padding-block: 70px;
}

.page-hero.faq-hero {
  background: var(--pink);
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  font-size: 4.6rem;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.crumbs {
  margin-bottom: 30px;
  font-size: 0.9rem;
  font-weight: 800;
}

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

.step-list {
  display: grid;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
}

.step-number {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--cyan);
  font-size: 1.4rem;
  font-weight: 950;
}

.step ul,
.content-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.step li,
.content-list li {
  margin-block: 7px;
}

.sidebar {
  position: sticky;
  top: 98px;
}

.info-panel {
  padding: 24px;
}

.info-panel + .info-panel {
  margin-top: 20px;
}

.info-panel.accent {
  background: #edfbfc;
}

.info-panel .download-button {
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
}

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

.check-item {
  padding: 22px;
  border-top: 5px solid var(--cyan);
  background: #fff;
}

.check-item:nth-child(2) {
  border-color: var(--pink);
}

.check-item:nth-child(3) {
  border-color: var(--green);
}

.check-item strong {
  display: block;
  margin-bottom: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 7px 0;
  font-weight: 750;
}

.faq-stack {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 1.55rem;
}

.faq-question[aria-expanded="true"] {
  background: var(--yellow);
}

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

.faq-answer {
  padding: 0 22px 22px;
  background: var(--paper);
}

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

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.related-link {
  display: block;
  min-height: 140px;
  padding: 26px;
  border: 3px solid var(--ink);
  background: var(--cyan);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  font-weight: 950;
  text-decoration: none;
}

.related-link:nth-child(2) {
  background: var(--yellow);
}

.site-footer {
  padding-block: 48px 30px;
  background: var(--ink);
  color: #eae4ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
}

.disclaimer {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid #5b5660;
  color: #bdb6c2;
  font-size: 0.86rem;
}

.copyright {
  margin: 8px 0 0;
  color: #918b96;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .button,
  .download-button {
    transition: none;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .page-hero h1 {
    font-size: 3.7rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 18px 20px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
  }

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

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

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 42px 0;
  }

  .hero-visual {
    min-height: 330px;
    overflow: hidden;
  }

  .hero-phone {
    top: 0;
    right: 50%;
    bottom: auto;
    width: 250px;
    transform: translateX(50%);
  }

  .burst {
    right: 10%;
  }

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

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }

  .screen-figure:nth-child(even) {
    transform: none;
  }

  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  .brand {
    font-size: 1.05rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

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

  .hero-notes {
    margin-top: 18px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-phone {
    width: 220px;
  }

  .section {
    padding-block: 62px;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid #605a66;
  }

  .feature-grid,
  .quote-grid,
  .check-grid,
  .path-grid,
  .mini-faq,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .screen-figure figcaption {
    font-size: 0.86rem;
  }

  .section-head {
    display: block;
  }

  .section-head a {
    display: inline-block;
    margin: -12px 0 30px;
  }

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

  .download-band .container {
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
