:root {
  --leaf: #2f7d4a;
  --leaf-dark: #1d5433;
  --lemon: #f2d547;
  --coral: #e95f4f;
  --ink: #18201c;
  --paper: #f7f8f2;
  --white: #fffef8;
  --muted: #667069;
  --line: #d8ded7;
  --shadow: 8px 8px 0 #18201c;
  --radius: 6px;
  --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.modal-open {
  overflow: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

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

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

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

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

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 28px;
}

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

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

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

.site-nav a:not(.button) {
  position: relative;
  padding: 20px 0;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:not(.button):hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-button svg,
.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--leaf);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

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

.button-coral {
  color: var(--white);
  background: var(--coral);
}

.button-light {
  color: var(--ink);
  background: var(--lemon);
}

.button-small {
  min-height: 40px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--ink);
}

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

.hero::before {
  position: absolute;
  top: -60px;
  right: -70px;
  width: 360px;
  height: 220px;
  border: 3px solid var(--ink);
  background: var(--coral);
  content: "";
  transform: rotate(12deg);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 70px;
  padding-block: 72px 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  content: "";
}

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

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

h1,
h2 {
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 950;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: 19px;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.trust-line li::before {
  margin-right: 7px;
  color: var(--leaf-dark);
  content: "●";
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 450px;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(248px, 68vw);
  padding: 10px;
  border: 4px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 18px 18px 0 var(--coral);
  transform: rotate(3deg);
}

.phone-frame::before {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  width: 70px;
  height: 7px;
  border-radius: 20px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 498 / 886;
  object-fit: contain;
  border-radius: 22px;
}

.burst {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 46px;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 17px;
  font-weight: 950;
  text-align: center;
  transform: rotate(-8deg);
}

.marquee {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  padding: 12px 0;
  font-weight: 800;
}

.marquee-track span::after {
  margin-left: 32px;
  color: var(--lemon);
  content: "✦";
}

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

.section-kicker {
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2 {
  margin-bottom: 34px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 950;
}

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

.feature-item {
  min-height: 270px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-item:nth-child(2) {
  background: #e9f4ea;
}

.feature-item:nth-child(3) {
  background: #fff2e8;
}

.feature-item:nth-child(4) {
  background: #fff7c7;
}

.feature-number {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  font-weight: 900;
}

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

.feature-item p {
  margin-bottom: 0;
  color: #465049;
}

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

.screens-section .section-kicker {
  color: var(--lemon);
}

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

.screen-card {
  margin: 0;
}

.screen-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: var(--radius);
  background: #232a26;
  cursor: zoom-in;
}

.screen-button img,
.app-preview {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}

.screen-card figcaption {
  padding-top: 14px;
  font-size: 14px;
  color: #dce5de;
}

.screen-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--lemon);
  font-size: 17px;
}

.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.deep-link {
  position: relative;
  min-height: 330px;
  padding: 32px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lemon);
  box-shadow: var(--shadow);
}

.deep-link:nth-child(2) {
  color: var(--white);
  background: var(--leaf);
}

.deep-link .tag {
  display: inline-block;
  margin-bottom: 68px;
  padding: 3px 10px;
  border: 2px solid currentColor;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 900;
}

.deep-link h3 {
  max-width: 480px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
}

.deep-link p {
  max-width: 500px;
  margin-bottom: 0;
}

.deep-link .arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 27px;
  transition: transform 0.2s ease;
}

.deep-link:hover .arrow {
  transform: translate(4px, -4px);
}

.proof-section {
  background: #eaf1ea;
}

.proof-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  padding: 24px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

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

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

.stat strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 30px;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review {
  padding: 20px 24px;
  border-left: 6px solid var(--coral);
  background: var(--white);
}

.review blockquote {
  margin: 0 0 8px;
  font-size: 17px;
}

.review cite {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

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

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

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

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  max-width: 850px;
  padding: 0 40px 22px 4px;
  color: #465049;
}

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

.faq-item.is-open .faq-answer {
  display: block;
}

.download-band {
  padding-block: 54px;
  border-block: 3px solid var(--ink);
  background: var(--coral);
  color: var(--white);
}

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

.download-band h2 {
  margin-bottom: 7px;
  font-size: clamp(28px, 4vw, 44px);
}

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

.site-footer {
  padding-block: 46px 24px;
  color: #dce3dd;
  background: var(--ink);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

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

.footer-links a {
  color: var(--white);
  font-weight: 700;
}

.disclaimer {
  max-width: 850px;
  margin-bottom: 0;
  color: #aeb8b0;
  font-size: 13px;
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid #465049;
  color: #9aa49c;
  font-size: 13px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 18, 14, 0.92);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(430px, 92vw);
  text-align: center;
}

.lightbox-content img {
  width: auto;
  max-width: 400px;
  max-height: 78vh;
  margin-inline: auto;
  border: 3px solid var(--white);
}

.lightbox-caption {
  margin-top: 12px;
  color: var(--white);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lemon);
  font-size: 24px;
  cursor: pointer;
}

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

.page-hero.faq-hero {
  color: var(--white);
  background: var(--leaf);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 950;
}

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

.page-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding-block: 70px 90px;
}

.page-aside {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--white);
}

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

.page-aside a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #3f4942;
  font-size: 14px;
}

.page-aside a:last-child {
  border-bottom: 0;
}

.article-content {
  min-width: 0;
}

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

.content-section h2 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.content-section h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.content-section p,
.content-section li {
  color: #3f4942;
}

.content-section a {
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--lemon);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.step-list {
  display: grid;
  gap: 20px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 26px 26px 26px 92px;
  border: 2px solid var(--ink);
  background: var(--white);
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  content: counter(steps);
  font-weight: 900;
}

.step-card h3 {
  margin-top: 0;
}

.check-grid,
.function-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.check-item,
.function-card {
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.check-item strong,
.function-card h3 {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-dark);
}

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

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

.article-shot {
  float: right;
  width: min(310px, 45%);
  max-width: 400px;
  margin: 0 0 22px 28px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lemon);
}

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

.related-link {
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--lemon);
  text-decoration: none !important;
}

@media (max-width: 960px) {
  .feature-grid,
  .screen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .page-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }

  .page-aside strong {
    flex-basis: 100%;
  }
}

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

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

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px;
    border-bottom: 3px solid var(--ink);
    background: var(--white);
  }

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

  .site-nav a:not(.button) {
    padding: 10px;
  }

  .site-nav a:not(.button)::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 52px 46px;
  }

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

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

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

  .phone-frame {
    width: 224px;
  }

  .burst {
    right: 5%;
  }

  .section {
    padding-block: 62px;
  }

  .feature-grid,
  .screen-grid,
  .deep-grid,
  .footer-grid,
  .check-grid,
  .function-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    justify-items: center;
  }

  .screen-card {
    width: min(100%, 340px);
  }

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

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

  .page-layout {
    gap: 36px;
    padding-block: 46px 70px;
  }

  .article-shot {
    float: none;
    width: min(100%, 310px);
    margin: 0 auto 28px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
  }

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

  .hero h1 {
    font-size: 42px;
  }

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

  .feature-grid,
  .screen-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card {
    padding: 78px 20px 22px;
  }

  .step-card::before {
    top: 18px;
    left: 18px;
  }

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

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

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

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