:root {
  --ink: #16171b;
  --paper: #fbfaf6;
  --white: #ffffff;
  --coral: #ff6b6b;
  --mint: #55d6c2;
  --sun: #ffd166;
  --blue: #2878ff;
  --muted: #686a73;
  --line: #d9d7cf;
  --shadow: 6px 6px 0 var(--ink);
  --page: 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.menu-open {
  overflow: hidden;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}

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

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

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

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

.nav-links > a:not(.button)::after {
  display: block;
  width: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transition: width 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after {
  width: 100%;
}

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

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

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

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

.button-light {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--white);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 26px;
  height: 8px;
  content: "";
  background: var(--coral);
  border: 2px solid var(--ink);
}

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  display: grid;
  min-height: 680px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding-block: 58px 70px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0;
  color: #3f4148;
  font-size: 18px;
}

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

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

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
}

.shape {
  position: absolute;
  border: 3px solid var(--ink);
}

.shape-a {
  top: 8%;
  right: 1%;
  width: 67%;
  height: 72%;
  background: var(--mint);
  transform: rotate(4deg);
}

.shape-b {
  bottom: 4%;
  left: 2%;
  width: 62%;
  height: 54%;
  background: var(--sun);
  transform: rotate(-6deg);
}

.phone-shot {
  position: relative;
  z-index: 2;
  width: min(290px, 70%);
  max-width: 400px;
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--coral);
}

.stamp {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 11%;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(8deg);
}

.ticker {
  overflow: hidden;
  padding: 13px 0;
  color: var(--white);
  background: var(--ink);
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 44px;
  font-weight: 900;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding-block: 92px;
}

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

.section-mint {
  background: var(--mint);
  border-block: 2px solid var(--ink);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head h2,
.content-block h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-index {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

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

.feature {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

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

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

.feature-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 26px;
  font-weight: 900;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.feature h3,
.path-card h3,
.review h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.feature p,
.review p,
.path-card p {
  margin: 0;
  color: #4b4c53;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.gallery figure {
  margin: 0;
}

.gallery figure:nth-child(even) {
  margin-top: 54px;
}

.gallery img {
  width: 100%;
  max-width: 400px;
  border: 3px solid var(--white);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--coral);
}

.gallery figcaption {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
}

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

.path-card,
.review {
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.path-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.path-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  font-weight: 900;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
}

.stat {
  padding: 22px;
  text-align: center;
  background: var(--white);
  border-right: 2px solid var(--ink);
}

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

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.review {
  position: relative;
  min-height: 230px;
  box-shadow: 5px 5px 0 var(--ink);
}

.review::before {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  content: "“";
  font: 900 56px/0.6 Georgia, serif;
}

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

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

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

.faq-list summary {
  position: relative;
  padding: 22px 50px 22px 0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 8px;
  content: "+";
  font-size: 26px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .answer {
  max-width: 880px;
  padding: 0 50px 22px 0;
  color: #4b4c53;
}

.download-band {
  padding-block: 70px;
  background: var(--coral);
  border-block: 2px solid var(--ink);
}

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

.download-band h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero {
  padding-block: 80px 70px;
  background: var(--sun);
  border-bottom: 2px solid var(--ink);
}

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

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

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

.content-block {
  margin-bottom: 72px;
}

.content-block h2 {
  margin-bottom: 28px;
  font-size: 34px;
}

.content-block h3 {
  margin: 30px 0 8px;
  font-size: 22px;
}

.content-block p {
  margin: 0 0 18px;
  color: #3f4148;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.step-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

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

.step p {
  margin: 0;
}

.tip {
  margin: 28px 0;
  padding: 22px 24px;
  background: #fff3d2;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--coral);
}

.inline-shot {
  width: min(100%, 320px);
  max-width: 400px;
  margin: 28px auto;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--mint);
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--sun);
}

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

.sidebar a:not(.button) {
  display: block;
  padding: 9px 0;
  color: #4b4c53;
  border-bottom: 1px solid var(--line);
}

.sidebar .button {
  width: 100%;
  margin-top: 22px;
}

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

.detail-card {
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

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

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

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "◆";
  font-size: 12px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 52px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 440px;
  color: #b4b5bc;
}

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

.footer-links a {
  display: block;
  padding-block: 5px;
}

.disclaimer {
  margin: 0;
  color: #b4b5bc;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
  padding-top: 22px;
  color: #8f9098;
  font-size: 13px;
  border-top: 1px solid #3c3e45;
}

.mobile-download {
  display: none;
}

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

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

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

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

  .sidebar {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    align-items: stretch;
    padding: 24px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

  .nav-links.open {
    display: grid;
  }

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

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

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

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

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

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

  .gallery figure:nth-child(even) {
    margin-top: 28px;
  }

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

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

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

  .download-band-inner,
  .footer-bottom,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-block: 68px;
  }

  .section-index {
    font-size: 34px;
  }

}

@media (max-width: 440px) {
  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

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

  .gallery figure:nth-child(even) {
    margin-top: 0;
  }

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

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

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

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

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