:root {
  --frog: #16a36a;
  --frog-dark: #0b7048;
  --lemon: #ffd84a;
  --coral: #ff6b5e;
  --ink: #14221b;
  --paper: #f8fbf7;
  --white: #ffffff;
  --muted: #5d6b63;
  --line: #d9e4dc;
  --shadow: 0 14px 34px rgba(20, 34, 27, 0.11);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

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,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(248, 251, 247, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 7px 22px rgba(20, 34, 27, 0.07);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links > a:not(.download-btn) {
  padding: 8px 13px;
  color: #39483f;
  font-size: 15px;
  font-weight: 700;
}

.nav-links > a:not(.download-btn):hover,
.nav-links > a[aria-current="page"]:not(.download-btn) {
  color: var(--frog-dark);
  background: #e8f6ed;
  border-radius: 6px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 48px;
  padding: 11px 20px;
  color: var(--ink);
  background: var(--lemon);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-btn::before {
  width: 15px;
  height: 15px;
  margin-right: 9px;
  content: "";
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px);
}

.download-btn::after {
  width: 15px;
  height: 3px;
  margin-left: -64px;
  margin-right: 49px;
  margin-top: 17px;
  content: "";
  background: var(--ink);
  border-radius: 2px;
}

.download-btn:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.download-btn.dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--frog-dark);
}

.download-btn.dark::before {
  border-color: var(--white);
}

.download-btn.dark::after {
  background: var(--white);
}

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

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100svh - 132px));
  background-color: var(--white);
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding-block: clamp(54px, 8vw, 94px);
}

.hero-copy {
  max-width: 650px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--frog-dark);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  width: 28px;
  height: 5px;
  content: "";
  background: var(--coral);
}

h1,
h2,
h3 {
  margin-top: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 70px;
  font-weight: 950;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0 0 28px;
  color: #435248;
  font-size: 19px;
}

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

.hero-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 500px;
}

.phone-stage::before {
  position: absolute;
  width: min(390px, 88%);
  aspect-ratio: 1;
  content: "";
  background: var(--lemon);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 12px 12px 0 var(--frog);
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: min(285px, 70vw);
  padding: 10px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.panel-tag {
  position: absolute;
  z-index: 2;
  right: 1%;
  bottom: 12%;
  padding: 9px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
  font-size: 14px;
  font-weight: 900;
}

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 104px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-left: 1px solid #415048;
}

.proof-item:last-child {
  border-right: 1px solid #415048;
}

.proof-item strong {
  display: block;
  color: var(--lemon);
  font-size: 24px;
  line-height: 1.1;
}

.proof-item span {
  color: #d2ddd6;
  font-size: 13px;
}

.section {
  padding-block: clamp(72px, 9vw, 116px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

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

.section h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 44px;
}

.section-index {
  flex: 0 0 auto;
  color: var(--frog-dark);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

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

.feature-card {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 #cde8d8;
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 7;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  grid-column: span 5;
}

.feature-card:nth-child(2) {
  background: var(--lemon);
  box-shadow: 6px 6px 0 #f0b939;
}

.feature-card:nth-child(3) {
  color: var(--white);
  background: var(--frog-dark);
  box-shadow: 6px 6px 0 var(--ink);
}

.feature-no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
}

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

.feature-card p {
  margin: 0;
  color: inherit;
}

.showcase {
  background: #ecf7f0;
}

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

.shot-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 7px 7px 0 var(--ink);
  cursor: zoom-in;
}

.shot-button:nth-child(even) {
  transform: translateY(24px);
}

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

.shot-caption {
  display: block;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border-top: 2px solid var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.path-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.path-card.alt {
  color: var(--ink);
  background: var(--lemon);
}

.path-label {
  display: inline-block;
  margin-bottom: 55px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.path-card h3 {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: 38px;
}

.path-card p {
  max-width: 540px;
  margin: 0 0 28px;
}

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

.text-link::after {
  content: "→";
  font-size: 22px;
}

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

.review-card {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stars {
  color: #d68a00;
  font-size: 18px;
}

.review-card blockquote {
  margin: 18px 0 28px;
  font-size: 17px;
  font-weight: 700;
}

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

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

.faq-item {
  border-bottom: 1px solid #aab8ae;
}

.faq-question {
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 18px 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question span:last-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
  transition: transform 160ms ease;
}

.faq-question[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 820px;
  padding: 0 54px 22px 4px;
  color: #46564c;
}

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

.download-band {
  padding-block: 68px;
  color: var(--white);
  background: var(--frog-dark);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

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

.download-band h2 {
  max-width: 700px;
  margin: 0;
  font-size: 44px;
}

.site-footer {
  padding-block: 42px;
  color: #cbd7d0;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
}

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

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 12px 22px;
}

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

.disclaimer,
.copyright {
  margin: 14px 0 0;
  color: #9eb0a5;
  font-size: 13px;
}

.subhero {
  padding-block: clamp(64px, 9vw, 105px);
  color: var(--white);
  background: var(--ink);
  border-bottom: 8px solid var(--lemon);
}

.subhero .eyebrow {
  color: var(--lemon);
}

.subhero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 66px;
}

.subhero p {
  max-width: 760px;
  margin: 0 0 30px;
  color: #d7e1db;
  font-size: 18px;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-nav a {
  padding: 8px 12px;
  border: 1px solid #75867c;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.jump-nav a:hover {
  color: var(--ink);
  background: var(--lemon);
  border-color: var(--lemon);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 56px;
  padding-block: clamp(60px, 8vw, 100px);
}

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

.article-section {
  padding-bottom: 58px;
  scroll-margin-top: 96px;
}

.article-section + .article-section {
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 28px;
  font-size: 38px;
}

.article-section h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.article-section p {
  margin: 0 0 18px;
  color: #415047;
}

.article-section a:not(.download-btn) {
  color: var(--frog-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.side-note {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 22px;
  background: var(--lemon);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--ink);
}

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

.side-note ul {
  margin: 0;
  padding-left: 20px;
}

.step-list {
  display: grid;
  gap: 18px;
  counter-reset: guide-step;
}

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

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

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

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.plain-list li::before {
  position: absolute;
  top: 0.75em;
  left: 4px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  background: #fff5d0;
  border-left: 5px solid #d68a00;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.settings-table th,
.settings-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.settings-table th {
  background: #e7f5ec;
}

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

.feature-detail {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-detail h3 {
  margin-bottom: 12px;
}

.feature-detail p:last-child {
  margin-bottom: 0;
}

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

.related-links a {
  display: block;
  padding: 20px;
  color: var(--ink) !important;
  background: var(--white);
  border: 1px solid var(--line) !important;
  border-radius: 6px;
}

.related-links a:hover {
  border-color: var(--frog) !important;
}

.image-dialog {
  max-width: min(92vw, 520px);
  padding: 52px 18px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.image-dialog::backdrop {
  background: rgba(20, 34, 27, 0.82);
}

.image-dialog img {
  width: auto;
  max-width: 400px;
  max-height: 78vh;
  height: auto;
  margin-inline: auto;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

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

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 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);
  }

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

  .nav-links > a:not(.download-btn) {
    padding: 12px;
  }

  .hero-grid,
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    padding-block: 54px 46px;
  }

  .phone-stage {
    min-height: 430px;
  }

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

  .proof-item:nth-child(3) {
    border-top: 1px solid #415048;
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid #415048;
  }

  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

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

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

  .site-header {
    height: 64px;
  }

  .nav-links {
    inset-block-start: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 18px;
    padding-block: 42px 34px;
  }

  h1 {
    font-size: 42px;
  }

  .subhero h1 {
    font-size: 40px;
  }

  .section h2,
  .download-band h2,
  .article-section h2 {
    font-size: 34px;
  }

  .path-card h3 {
    font-size: 31px;
  }

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

  .hero-copy,
  .hero-note,
  .subhero p,
  .article-main,
  .side-note {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .phone-stage {
    min-height: 400px;
  }

  .phone-stage::before {
    width: 220px;
  }

  .hero-phone {
    width: 170px;
    border-radius: 24px;
  }

  .hero-phone img {
    border-radius: 15px;
  }

  .panel-tag {
    right: 3%;
    bottom: 12%;
    font-size: 12px;
  }

  .proof-item {
    min-height: 84px;
    padding: 14px 12px;
  }

  .proof-item strong {
    font-size: 19px;
  }

  .section {
    padding-block: 66px;
  }

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

  .feature-card:nth-child(n),
  .feature-detail-grid,
  .related-links {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .shots-grid {
    gap: 14px;
  }

  .shot-button:nth-child(even) {
    transform: translateY(12px);
  }

  .path-card {
    min-height: 310px;
    padding: 26px;
  }

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

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

  .article-shell {
    gap: 36px;
  }

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

  .step::before {
    top: 20px;
    left: 20px;
  }

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

  .settings-table tr + tr {
    margin-top: 14px;
  }

  .settings-table th {
    border-bottom: 0;
  }
}

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