:root {
  --ink: #19362d;
  --paper: #fffef8;
  --green: #73b839;
  --green-dark: #3d7d2d;
  --green-soft: #eaf7e2;
  --yellow: #f3d54e;
  --coral: #ff6b5f;
  --sky: #56b4d8;
  --muted: #5f706a;
  --line: #19362d;
  --shadow: 5px 5px 0 #19362d;
  --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;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--line);
  background: rgba(255, 254, 248, 0.97);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-weight: 700;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: var(--yellow);
  cursor: pointer;
}

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

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

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 70px;
  padding-block: 64px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 56px;
  font-weight: 950;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0 0 26px;
  color: #344b43;
  font-size: 18px;
}

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

.text-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green-dark);
  font-weight: 900;
}

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

.hero-panel {
  position: absolute;
  inset: 40px 15px 0 70px;
  border: 3px solid var(--line);
  background: var(--sky);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(3deg);
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(316px, 80%);
  max-height: 570px;
  margin-inline: auto;
  border: 8px solid var(--ink);
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
  box-shadow: 12px 12px 0 var(--yellow);
}

.bubble-label {
  position: absolute;
  right: -2px;
  bottom: 55px;
  z-index: 3;
  width: 130px;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: var(--coral);
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 900;
  text-align: center;
  transform: rotate(-4deg);
}

.section {
  padding-block: 82px;
}

.section.alt {
  border-block: 3px solid var(--line);
  background: #f5f1ff;
}

.section.green-band {
  border-block: 3px solid var(--line);
  background: var(--green-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

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

.feature-card,
.step-card,
.review-card {
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
}

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

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

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

.feature-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.feature-card p,
.step-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}

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

.preview-card {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

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

.preview-card figcaption {
  min-height: 78px;
  padding: 15px 18px;
  border-top: 3px solid var(--line);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 28px 24px 26px;
  counter-increment: steps;
}

.step-card::before {
  content: counter(steps);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--line);
  border-radius: 4px;
  background: var(--yellow);
  font-weight: 950;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  padding: 28px;
  border: 3px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.section-cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
  border: 3px solid var(--line);
  background: var(--yellow);
}

.stat {
  padding: 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 3px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 32px;
}

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

.review-card {
  padding: 24px;
}

.review-card footer {
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

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

.faq-item {
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

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

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

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

.page-hero {
  border-bottom: 3px solid var(--line);
  background: var(--green-soft);
}

.page-hero .container {
  padding-block: 64px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 48px;
}

.page-lead {
  max-width: 820px;
  margin: 0;
  color: #344b43;
  font-size: 18px;
}

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

.content-main section + section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 3px solid var(--line);
}

.content-main p {
  color: #40534d;
}

.content-main li + li {
  margin-top: 10px;
}

.side-nav {
  position: sticky;
  top: 102px;
  padding: 22px;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #fff8cf;
  box-shadow: var(--shadow);
}

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

.side-nav a {
  display: block;
  padding: 7px 0;
  color: var(--green-dark);
  font-weight: 800;
}

.guide-steps {
  display: grid;
  gap: 22px;
  counter-reset: guide;
}

.guide-step {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #fff;
  counter-increment: guide;
}

.guide-step::before {
  content: counter(guide);
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 22px;
  font-weight: 950;
}

.guide-step p {
  margin: 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-dark);
  font-weight: 950;
}

.notice {
  padding: 22px;
  border: 3px solid var(--line);
  border-left: 12px solid var(--coral);
  background: #fff3f1;
}

.notice p {
  margin: 0;
}

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

.image-pair figure {
  margin: 0;
  border: 3px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.image-pair img {
  width: 100%;
  max-width: 400px;
  max-height: 520px;
  margin-inline: auto;
  object-fit: cover;
  object-position: top;
}

.image-pair figcaption {
  padding: 14px;
  border-top: 3px solid var(--line);
  font-weight: 800;
}

.feature-detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}

.feature-detail + .feature-detail {
  border-top: 2px dashed #91a49e;
}

.feature-detail h3 {
  color: var(--green-dark);
}

.feature-detail p {
  margin: 0;
}

.download-band {
  border-block: 3px solid var(--line);
  background: var(--yellow);
}

.download-inner {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 46px;
}

.download-inner h2 {
  margin-bottom: 12px;
}

.download-inner p {
  max-width: 680px;
  margin: 0;
}

.site-footer {
  color: #dfe9e5;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 42px;
  padding-block: 54px 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: #fff;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid #536b63;
  color: #b9cbc5;
  font-size: 14px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 0;
  background: rgba(25, 54, 45, 0.92);
}

.image-modal[hidden] {
  display: none;
}

.image-modal img {
  width: auto;
  max-width: min(400px, 90vw);
  max-height: 82vh;
  border: 5px solid #fff;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 28px;
  cursor: pointer;
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 24px 20px 30px;
    border-bottom: 3px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav .button {
    width: 100%;
  }

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

  h1 {
    font-size: 46px;
  }

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

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

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

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

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

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 21px;
  }

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

  .site-nav {
    inset: 68px 0 auto 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 44px 58px;
  }

  h1,
  .page-hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy > p,
  .page-lead {
    font-size: 16px;
  }

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

  .hero-panel {
    inset: 34px 20px 5px 55px;
  }

  .bubble-label {
    right: 8px;
  }

  .section {
    padding-block: 58px;
  }

  .feature-grid,
  .preview-grid,
  .steps-grid,
  .reviews-grid,
  .stats-row,
  .footer-grid,
  .image-pair {
    grid-template-columns: 1fr;
  }

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

  .stat + .stat {
    border-top: 3px solid var(--line);
    border-left: 0;
  }

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

  .download-inner .button {
    width: 100%;
  }

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

  .feature-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    gap: 30px;
  }
}

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

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