:root {
  --cherry: #f46f92;
  --cherry-dark: #c94469;
  --petal: #fff2f6;
  --paper: #fffdf9;
  --pollen: #ffd667;
  --plum: #6b5a73;
  --ink: #2e2931;
  --muted: #6f6872;
  --line: #eadfe5;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(82, 52, 69, 0.12);
  --container: 1160px;
}

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

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(234, 223, 229, 0.9);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
}

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

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

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

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cherry-dark);
  background: var(--petal);
}

.site-nav .nav-download {
  color: var(--ink);
  background: var(--pollen);
}

.site-nav .nav-download:hover {
  color: var(--ink);
  background: #f4c647;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 62px;
  background: linear-gradient(112deg, #fff8fb 0 66%, #fff0c2 66% 100%);
}

.hero::after {
  position: absolute;
  right: 7%;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 30px solid rgba(244, 111, 146, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

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

.eyebrow::before {
  width: 30px;
  height: 4px;
  content: "";
  background: var(--cherry);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.25;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 68px);
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--cherry-dark);
  box-shadow: 0 10px 24px rgba(201, 68, 105, 0.25);
}

.button-primary:hover {
  background: #ae3457;
}

.button-secondary {
  border-color: var(--plum);
  color: var(--plum);
  background: transparent;
}

.button-download::before {
  width: 18px;
  height: 18px;
  content: "";
  background: linear-gradient(var(--white), var(--white)) center 12px / 14px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center 2px / 2px 10px no-repeat;
  clip-path: polygon(0 72%, 39% 72%, 39% 0, 61% 0, 61% 72%, 100% 72%, 50% 100%);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.phone-stage {
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-stage::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 2px dashed rgba(107, 90, 115, 0.25);
  border-radius: 50%;
  content: "";
}

.phone-stage img {
  width: min(255px, 68vw);
  max-width: 400px;
  position: relative;
  z-index: 1;
  border: 9px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.chapter-tag {
  position: absolute;
  right: 6%;
  bottom: 12%;
  z-index: 2;
  max-width: 190px;
  padding: 12px 16px;
  border-left: 5px solid var(--cherry);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
}

.quick-facts {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.fact-list div {
  padding: 6px 28px;
  border-right: 1px solid var(--line);
}

.fact-list div:last-child {
  border-right: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 13px;
}

.fact-list dd {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section-tinted {
  background: var(--petal);
}

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

.section-heading {
  max-width: 720px;
}

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

.feature-item {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-item::before {
  width: 42px;
  height: 8px;
  display: block;
  margin-bottom: 24px;
  content: "";
  background: var(--pollen);
}

.feature-item:nth-child(2)::before,
.feature-item:nth-child(5)::before {
  background: var(--cherry);
}

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

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

.screen-item {
  margin: 0;
}

.screen-item img {
  width: 100%;
  max-width: 400px;
  border: 7px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.screen-item figcaption {
  padding: 14px 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.path-card {
  min-height: 270px;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.path-card .number,
.step-number {
  color: var(--cherry-dark);
  font-size: 14px;
  font-weight: 900;
}

.path-card ul,
.content-block ul,
.content-block ol {
  padding-left: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--cherry-dark);
  font-weight: 800;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

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

blockquote {
  margin: 0;
  padding: 26px;
  border-top: 4px solid var(--pollen);
  border-radius: 0 0 8px 8px;
  background: var(--white);
}

blockquote p {
  margin-bottom: 16px;
}

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

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

.mini-faq article {
  padding: 24px;
  border-left: 4px solid var(--cherry);
  background: var(--white);
}

.mini-faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.download-band {
  padding: 58px 0;
  background: var(--pollen);
}

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

.download-band h2 {
  max-width: 700px;
  margin-bottom: 8px;
}

.download-band p {
  margin-bottom: 0;
}

.download-band .button-primary {
  flex: 0 0 auto;
}

.page-hero {
  padding: 66px 0 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, var(--petal) 0 74%, #fff0c2 74%);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--cherry-dark);
}

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

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

.article-main h2 {
  margin-top: 58px;
  font-size: 32px;
}

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

.article-main h3 {
  margin-top: 30px;
}

.content-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.content-block p,
.content-block li {
  color: #4f4852;
}

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

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--pollen);
  font-size: 18px;
}

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

.article-side {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-top: 5px solid var(--cherry);
  background: var(--petal);
}

.article-side h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.article-side a:not(.button) {
  display: block;
  padding: 7px 0;
  color: var(--plum);
  font-weight: 700;
}

.article-side .button {
  width: 100%;
  margin-top: 16px;
}

.tip {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--pollen);
  background: #fff9df;
}

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

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

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

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

.faq-question::after {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  content: "+";
  color: var(--white);
  background: var(--plum);
}

.faq-item.is-open .faq-question::after {
  content: "−";
  background: var(--cherry-dark);
}

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

.js .faq-answer {
  display: none;
}

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

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

.related-links a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
}

.related-links a:hover {
  border-color: var(--cherry);
  color: var(--cherry-dark);
}

.site-footer {
  padding: 44px 0 28px;
  color: #dcd4df;
  background: #252128;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr;
  gap: 40px;
}

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

.footer-copy {
  max-width: 500px;
  margin: 18px 0 0;
  color: #bfb6c2;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 800;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #403a43;
  color: #a9a0ac;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 6px;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

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

  .hero {
    padding-top: 54px;
    background: linear-gradient(160deg, #fff8fb 0 78%, #fff0c2 78%);
  }

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

  .chapter-tag {
    right: 14%;
  }

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

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
  }

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

  .fact-list div:nth-child(2) {
    border-right: 0;
  }

  .article-side {
    position: static;
  }

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

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

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

  .brand {
    font-size: 18px;
  }

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

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-grid {
    gap: 26px;
  }

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

  .phone-stage::before {
    width: 280px;
    height: 280px;
  }

  .chapter-tag {
    right: 0;
    bottom: 7%;
  }

  .feature-grid,
  .path-grid,
  .quote-grid,
  .mini-faq,
  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .screen-item img {
    border-width: 4px;
    border-radius: 14px;
  }

  .screen-item figcaption {
    font-size: 12px;
  }

  .fact-list div {
    padding: 8px 14px;
  }

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

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

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
