:root {
  --ink: #162118;
  --paper: #fffdf6;
  --green: #2f8f5b;
  --green-dark: #1e6840;
  --yellow: #f6d64a;
  --coral: #f0645a;
  --mint: #e8f2e6;
  --sky: #dcecf2;
  --line: #162118;
  --muted: #58635b;
  --shadow: 5px 5px 0 #162118;
}

* {
  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;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.site-nav a:not(.download-button) {
  padding: 5px 0;
  border-bottom: 3px solid transparent;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background: var(--ink);
  content: "";
}

.download-button,
.text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 3px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button {
  background: var(--green);
  color: #fff;
}

.text-button {
  background: var(--yellow);
  color: var(--ink);
}

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

.hero {
  overflow: hidden;
  border-bottom: 3px solid var(--line);
  background: var(--yellow);
}

.hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: 70px;
  padding-block: 70px;
}

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

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  border: 2px solid var(--line);
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 900;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  padding: 6px 12px;
  border: 2px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 800;
}

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

.hero-phone {
  position: absolute;
  width: min(270px, 64vw);
  max-width: 400px;
  border: 6px solid var(--line);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--green);
}

.hero-phone:first-child {
  top: 0;
  right: 80px;
  transform: rotate(-4deg);
}

.hero-phone:last-child {
  top: 95px;
  right: -25px;
  z-index: 2;
  transform: rotate(4deg);
  box-shadow: 12px 12px 0 var(--coral);
}

.burst {
  position: absolute;
  right: 265px;
  bottom: 36px;
  z-index: 3;
  width: 112px;
  padding: 20px 10px;
  border: 4px solid var(--line);
  background: var(--paper);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-8deg);
}

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

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

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

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

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
}

.section-heading .index-mark {
  color: var(--green);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.8;
}

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

.feature-item,
.review-item,
.path-item {
  border: 3px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 215px;
  padding: 26px;
}

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

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

.feature-item p,
.path-item p,
.review-item p {
  margin-bottom: 0;
}

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

.screenshot-figure {
  margin: 0;
}

.screenshot-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--line);
  cursor: zoom-in;
}

.screenshot-button img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}

.screenshot-figure figcaption {
  padding: 16px 4px 0;
  font-weight: 800;
}

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

.path-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
}

.path-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--coral);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.path-item h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.path-item a {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 2px solid var(--green);
  color: var(--green-dark);
  font-weight: 900;
}

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

.review-item {
  padding: 28px;
}

.review-stars {
  margin-bottom: 12px;
  color: #b84b43;
  font-weight: 900;
}

.review-item footer {
  margin-top: 18px;
  font-weight: 900;
}

.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

details {
  border: 3px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

details + details {
  margin-top: 14px;
}

summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary,
.data-table th,
.data-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: "+";
  font-size: 28px;
  transform: translateY(-52%);
}

details[open] summary::after {
  content: "−";
}

.detail-body {
  padding: 0 20px 20px;
  color: var(--muted);
}

.detail-body p:last-child,
.detail-body ul:last-child {
  margin-bottom: 0;
}

.cta-band {
  background: var(--coral);
  color: #fff;
}

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

.cta-wrap h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.4vw, 48px);
}

.cta-wrap p {
  max-width: 680px;
  margin-bottom: 0;
}

.cta-wrap .download-button {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
}

.page-hero {
  padding-block: 76px 64px;
  border-bottom: 3px solid var(--line);
  background: var(--sky);
}

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

.page-hero .container > div,
.article-section,
.content-layout > * {
  min-width: 0;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.5vw, 62px);
}

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

.page-badge {
  padding: 24px;
  border: 4px solid var(--line);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--green);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  transform: rotate(2deg);
}

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

.article-section + .article-section {
  margin-top: 64px;
}

.article-section h2 {
  margin-bottom: 26px;
  font-size: clamp(28px, 4vw, 40px);
}

.article-section h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 22px;
}

.article-section a {
  border-bottom: 2px solid var(--green);
  color: var(--green-dark);
  font-weight: 800;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.steps li {
  position: relative;
  padding: 0 0 34px 76px;
  counter-increment: guide-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--yellow);
  content: counter(guide-step);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 55px;
  bottom: 5px;
  left: 24px;
  width: 3px;
  background: var(--line);
  content: "";
}

.steps h3 {
  margin-top: 0;
}

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

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

.side-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 24px;
  border: 3px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.side-nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #bdc7bd;
  font-weight: 700;
}

.side-nav .download-button {
  margin-top: 20px;
  border: 3px solid var(--line);
  color: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px;
  border: 2px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  width: 32%;
  background: var(--yellow);
}

.faq-list details {
  margin-bottom: 14px;
}

.site-footer {
  padding-block: 50px 28px;
  background: var(--ink);
  color: #dfe7df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
}

.footer-brand {
  color: #fff;
}

.footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 900;
}

.footer-links a {
  display: block;
  margin: 7px 0;
}

.disclaimer {
  padding-top: 24px;
  border-top: 1px solid #536057;
  font-size: 13px;
  color: #b9c4bb;
}

.copyright {
  margin-top: 8px;
  margin-bottom: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(22, 33, 24, 0.9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  width: auto;
  max-width: min(400px, 90vw);
  max-height: 84vh;
  border: 5px solid var(--paper);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 3px solid var(--paper);
  background: var(--coral);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

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

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 24px 20px 30px;
    border-bottom: 3px solid var(--line);
    background: var(--paper);
  }

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

  .site-nav a:not(.download-button) {
    padding: 12px 4px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-phone:first-child {
    left: 11%;
    right: auto;
  }

  .hero-phone:last-child {
    right: 11%;
  }

  .burst {
    right: auto;
    bottom: 0;
    left: 4%;
  }

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

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

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

  .side-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 18px;
  }

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

  h1 {
    font-size: 40px;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 52px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions .download-button,
  .hero-actions .text-button {
    width: 100%;
  }

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

  .hero-phone {
    width: 210px;
  }

  .hero-phone:first-child {
    left: 0;
  }

  .hero-phone:last-child {
    top: 70px;
    right: 0;
  }

  .burst {
    width: 94px;
    font-size: 13px;
  }

  .section {
    padding-block: 60px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading .index-mark {
    font-size: 44px;
  }

  .feature-grid,
  .review-grid,
  .path-grid,
  .faq-preview,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .screenshot-figure figcaption {
    font-size: 13px;
  }

  .path-item {
    grid-template-columns: 1fr;
  }

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

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

  .page-badge {
    max-width: 260px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr + tr {
    margin-top: 12px;
  }
}

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