:root {
  --ink: #14231c;
  --paper: #f6f5ee;
  --white: #ffffff;
  --green: #58b368;
  --green-dark: #267a43;
  --yellow: #f2d34f;
  --coral: #e45f58;
  --muted: #617068;
  --line: #ccd3c8;
  --shadow: 6px 6px 0 var(--ink);
  --container: 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;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 238, 0.96);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
}

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

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

.site-nav a {
  min-height: 40px;
  padding: 7px 13px;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

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

.site-nav .nav-download {
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.site-nav .nav-download:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: grid;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--yellow);
  background-image: radial-gradient(var(--ink) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
  content: "";
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -200px;
  z-index: -1;
  width: 54vw;
  height: 720px;
  background: var(--green);
  border: 3px solid var(--ink);
  transform: rotate(-7deg);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding-block: 64px 54px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: 19px;
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--green-dark);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.download-note {
  margin: 15px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-phone {
  position: relative;
  width: min(100%, 330px);
  padding: 11px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: 14px 14px 0 rgba(20, 35, 28, 0.24);
  transform: rotate(3deg);
}

.hero-phone img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

.burst {
  position: absolute;
  top: 12%;
  right: -12px;
  width: 94px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--coral);
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transform: rotate(9deg);
}

.stat-band {
  color: var(--white);
  background: var(--ink);
}

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

.stat {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 18px 28px;
  border-right: 1px solid #536159;
}

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

.stat strong {
  color: var(--yellow);
  font-size: 29px;
}

.stat span {
  color: #d7ded9;
  font-size: 14px;
}

.section {
  padding-block: 86px;
}

.section-alt {
  background: var(--white);
  border-block: 2px solid var(--ink);
}

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

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

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.section-index {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
}

.feature {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.feature:nth-child(3n) {
  border-right: 0;
}

.feature:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 30px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.feature:nth-child(2n) .feature-number {
  color: var(--white);
  background: var(--coral);
}

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

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

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

.screen-item {
  margin: 0;
}

.screen-frame {
  padding: 9px;
  background: #0e1713;
  border: 2px solid var(--ink);
  border-radius: 24px;
}

.app-shot {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  border-radius: 16px;
}

.screen-item figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  font-weight: 900;
}

.screen-item figcaption span {
  color: var(--green-dark);
  font-size: 12px;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.route-card {
  min-height: 330px;
  padding: 34px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-card:nth-child(2) {
  background: var(--yellow);
}

.route-card .route-tag {
  font-size: 13px;
  font-weight: 900;
}

.route-card h3 {
  max-width: 480px;
  margin: 54px 0 16px;
  font-size: 32px;
}

.route-card p {
  max-width: 540px;
  color: #34473d;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

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

.quote {
  margin: 0;
  padding: 25px;
  color: var(--ink);
  background: var(--white);
  border-left: 6px solid var(--yellow);
  border-radius: 4px;
}

.quote:nth-child(2) {
  border-color: var(--coral);
}

.quote blockquote {
  margin: 0 0 18px;
  font-size: 17px;
}

.quote figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

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

.faq-question::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  content: "+";
}

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

.faq-answer {
  max-width: 900px;
  padding: 0 52px 22px 4px;
  color: var(--muted);
}

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

.cta-band {
  padding-block: 58px;
  background: var(--coral);
  border-block: 2px solid var(--ink);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
}

.page-hero {
  padding-block: 80px 66px;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 60px;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 70px);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 650;
}

.page-stamp {
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--green-dark);
  transform: rotate(2deg);
}

.page-stamp strong,
.page-stamp span {
  display: block;
}

.page-stamp strong {
  color: var(--yellow);
  font-size: 27px;
}

.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.side-index {
  position: sticky;
  top: 100px;
  padding-left: 16px;
  border-left: 4px solid var(--green);
}

.side-index strong {
  display: block;
  margin-bottom: 10px;
}

.side-index a {
  display: block;
  padding-block: 5px;
  color: var(--muted);
  font-size: 14px;
}

.side-index a:hover {
  color: var(--green-dark);
}

.article-flow > section {
  padding-bottom: 62px;
}

.article-flow h2 {
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 42px);
}

.article-flow h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.article-flow p {
  color: #35473e;
}

.steps {
  counter-reset: guide;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  counter-increment: guide;
}

.step::before {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  content: counter(guide, decimal-leading-zero);
}

.step-body p:last-child {
  margin-bottom: 0;
}

.check-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.check-item,
.setting-item {
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.check-item strong,
.setting-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.check-item p,
.setting-item p {
  margin-bottom: 0;
}

.notice {
  padding: 22px 24px;
  background: #fff9d9;
  border-left: 7px solid var(--coral);
}

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

.related {
  padding: 28px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.related h2 {
  font-size: 28px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-footer {
  padding-block: 54px 26px;
  color: #dce5df;
  background: #0e1713;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 50px;
  padding-bottom: 36px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #aebbb3;
}

.footer-title {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 14px;
}

.footer-links a {
  display: block;
  padding-block: 3px;
}

.disclaimer {
  padding-top: 22px;
  border-top: 1px solid #3a4840;
  color: #aebbb3;
  font-size: 13px;
}

.copyright {
  margin: 10px 0 0;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 18px 20px 24px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

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

  .site-nav a {
    padding-inline: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 430px;
    margin-inline: auto;
  }

  .hero::after {
    right: -28vw;
    bottom: -330px;
    width: 120vw;
  }

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

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

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

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

  .feature:nth-child(3n) {
    border-right: 2px solid var(--ink);
  }

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

  .feature:nth-last-child(-n + 3) {
    border-bottom: 2px solid var(--ink);
  }

  .feature:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

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

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-index {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 18px;
  }

  .side-index strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 19px;
  }

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

  .hero-grid {
    padding-block: 45px 58px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .button-row .button {
    width: 100%;
  }

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

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #536159;
  }

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

  .section {
    padding-block: 62px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .feature-grid,
  .screens-grid,
  .route-grid,
  .check-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(2n),
  .feature:nth-child(3n),
  .feature:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .route-card {
    min-height: 300px;
    padding: 26px;
  }

  .route-card h3 {
    margin-top: 38px;
    font-size: 27px;
  }

  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero {
    padding-block: 54px 48px;
  }

  .page-stamp {
    max-width: 300px;
  }

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

  .step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }

  .step::before {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
