:root {
  --ink: #173b35;
  --ink-soft: #31534d;
  --frog: #42b97a;
  --frog-light: #dff7e9;
  --water: #3f9fd7;
  --water-light: #e8f5fc;
  --coral: #ff6b5f;
  --paper: #f8fbf9;
  --white: #ffffff;
  --line: #d8e6e0;
  --muted: #647873;
  --shadow: 0 16px 38px rgba(23, 59, 53, 0.12);
}

* {
  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.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;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 249, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.site-nav > a:not(.button) {
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
  font-weight: 700;
}

.site-nav > a:not(.button):hover,
.site-nav > a[aria-current="page"]:not(.button) {
  color: #167a4b;
  border-bottom-color: var(--frog);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--coral);
  color: #211d1c;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-bottom: 8px solid var(--frog);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% 5% auto auto;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transform: rotate(8deg);
}

.hero-inner {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 76px 0 90px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(650px, 62%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 11px;
  color: var(--ink);
  background: var(--frog-light);
  border-left: 4px solid var(--frog);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 620px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 28px;
  color: #dcebe6;
  font-size: 19px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c8ded7;
  font-size: 14px;
}

.hero-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: #76e3a8;
  font-weight: 900;
}

.hero-visual {
  position: absolute;
  right: 2%;
  bottom: 18px;
  z-index: 2;
  width: min(365px, 36vw);
}

.hero-visual .screen {
  width: 100%;
  max-width: 360px;
  padding: 14px;
  background: var(--white);
  border: 4px solid #0b2621;
  border-radius: 36px 36px 0 0;
  box-shadow: 18px 18px 0 rgba(66, 185, 122, 0.55);
  transform: rotate(3deg);
}

.hero-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 22px 22px 0 0;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

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

.section.blue {
  background: var(--water-light);
  border-top: 1px solid #cce8f6;
  border-bottom: 1px solid #cce8f6;
}

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

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

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-kicker {
  color: #167a4b;
  font-size: 13px;
  font-weight: 900;
}

.rule-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.rule-label::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--coral);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--frog);
}

.timeline-item {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-no {
  display: block;
  margin-bottom: 20px;
  color: var(--coral);
  font-size: 30px;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.feature-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--frog);
  border-radius: 6px;
}

.feature-item:nth-child(2n) {
  border-left-color: var(--water);
}

.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--frog-light);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.feature-item:nth-child(2n) .feature-icon {
  background: var(--water-light);
}

.feature-item h3 {
  margin: 0 0 7px;
  font-size: 21px;
}

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

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

.app-preview {
  min-width: 0;
}

.app-preview figure {
  margin: 0;
}

.app-preview img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 8px 0 rgba(63, 159, 215, 0.35);
}

.app-preview figcaption {
  padding-top: 16px;
  font-weight: 800;
}

.app-preview small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.deep-links {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.deep-link {
  min-height: 300px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--frog-light);
}

.deep-link:nth-child(2) {
  background: var(--water-light);
}

.deep-link h3 {
  margin: 16px 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.deep-link p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.number-tag {
  color: var(--coral);
  font-size: 42px;
  font-weight: 900;
}

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

.text-link:hover {
  color: #167a4b;
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: stretch;
}

.score-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.score {
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.score-stars {
  margin: 13px 0 8px;
  color: #ffca58;
  font-size: 22px;
  letter-spacing: 0;
}

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

.quote {
  margin: 0;
  padding: 22px 24px;
  background: var(--white);
  border-left: 5px solid var(--coral);
  border-radius: 0 6px 6px 0;
}

.quote p {
  margin: 0 0 10px;
}

.quote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 13px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 22px;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--frog);
  color: var(--ink);
}

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

.faq-answer p {
  margin: 0;
}

.download-band {
  padding: 56px 0;
  background: var(--frog);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

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

.download-band h2 {
  margin: 0 0 7px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
}

.download-band p {
  margin: 0;
  color: #1f4a3f;
}

.page-hero {
  padding: 88px 0 70px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 7px solid var(--water);
}

.page-hero h1 {
  margin: 0 0 18px;
  max-width: 820px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dcebe6;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #a8cac0;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--white);
}

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

.article h2 {
  margin: 58px 0 20px;
  padding-left: 14px;
  border-left: 6px solid var(--frog);
  font-size: 30px;
  line-height: 1.25;
}

.article h2:first-child {
  margin-top: 0;
}

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

.article p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.article ul,
.article ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.article li {
  margin-bottom: 9px;
}

.steps {
  display: grid;
  gap: 22px;
}

.step {
  position: relative;
  padding: 28px 28px 28px 88px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.step-no {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  margin: 0;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  background: #fff4df;
  border: 1px solid #f3cf86;
  border-left: 6px solid #e7a92c;
  border-radius: 4px;
}

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

.side-nav {
  position: sticky;
  top: 98px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--water);
  border-radius: 5px;
}

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

.side-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.side-nav a:last-child {
  border-bottom: 0;
}

.side-nav a:hover {
  color: #167a4b;
}

.feature-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  margin-bottom: 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-detail-mark {
  min-height: 140px;
  display: grid;
  place-items: center;
  background: var(--frog-light);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 48px;
  font-weight: 900;
}

.feature-detail:nth-child(2n) .feature-detail-mark {
  background: var(--water-light);
}

.feature-detail h3 {
  margin-top: 0;
}

.related {
  margin-top: 54px;
  padding: 26px;
  background: var(--frog-light);
  border: 1px solid #a8ddbf;
  border-radius: 6px;
}

.related h2 {
  margin-top: 0;
  font-size: 26px;
}

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

.related-links a {
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 800;
}

.site-footer {
  padding: 46px 0 28px;
  color: #d8e8e3;
  background: #0e2a25;
}

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

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

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

.footer-grid p {
  max-width: 500px;
  margin: 14px 0 0;
  color: #a9c5bd;
}

.footer-links strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #2a4b43;
  color: #8eaaa2;
  font-size: 13px;
}

.footer-bottom p {
  margin: 4px 0;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    box-shadow: var(--shadow);
  }

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

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

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 64px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1,
  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    right: -18px;
    width: 270px;
    opacity: 0.55;
    bottom: 18px;
  }

  .hero-copy {
    text-shadow: 0 2px 10px rgba(14, 42, 37, 0.7);
  }

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

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

  .timeline-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

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

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

  .site-nav {
    top: 64px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-inner {
    padding-top: 52px;
  }

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

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

  .hero-visual {
    width: 180px;
    right: 20px;
    bottom: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .rule-label {
    margin-top: 14px;
  }

  .timeline,
  .feature-grid,
  .preview-grid,
  .deep-links,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .timeline-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .feature-item {
    grid-template-columns: 52px 1fr;
    padding: 22px 18px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .deep-link {
    min-height: 0;
    padding: 26px;
  }

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

  .page-hero {
    padding: 66px 0 54px;
  }

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

  .step {
    padding: 78px 22px 24px;
  }

  .feature-detail {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .feature-detail-mark {
    min-height: 100px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

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

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