:root {
  --coral: #ff6f7d;
  --coral-dark: #d94d60;
  --orange: #ffb347;
  --cream: #fff7ee;
  --paper: #ffffff;
  --ink: #35262a;
  --muted: #725f64;
  --line: #eadcda;
  --mint: #89c9b8;
  --shadow: 0 16px 40px rgba(90, 48, 57, 0.12);
  --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;
  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;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

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

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

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

.site-nav > a:not(.download-btn) {
  position: relative;
  padding: 22px 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav > a:not(.download-btn)::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--ink);
}

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

.download-btn,
.text-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.download-btn {
  padding: 10px 22px;
  color: #fff;
  background: var(--coral-dark);
  box-shadow: 0 10px 24px rgba(217, 77, 96, 0.22);
}

.download-btn:hover,
.text-btn:hover {
  transform: translateY(-2px);
}

.download-btn:focus-visible,
.text-btn:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(255, 179, 71, 0.65);
  outline-offset: 3px;
}

.text-btn {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hero {
  min-height: 620px;
  overflow: hidden;
  background-color: var(--cream);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 680px);
  padding: 70px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 72px);
}

.hero-copy > p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #5d494e;
  font-size: 18px;
}

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

.hero-actions .download-btn {
  min-width: 146px;
  min-height: 52px;
}

.hero-note {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(32vw, 316px);
}

.hero-media img {
  width: 100%;
  height: auto;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 94px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

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

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 21px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--cream);
}

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

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

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.feature {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature:first-child {
  grid-row: span 2;
  min-height: 496px;
  color: #fff;
  background: var(--coral-dark);
}

.feature:nth-child(4) {
  color: var(--ink);
  background: var(--orange);
}

.feature-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

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

.feature p {
  margin: 0;
  color: inherit;
  opacity: 0.84;
}

.feature-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
}

.screen-card {
  margin: 0;
}

.screen-card:nth-child(even) {
  margin-top: 38px;
}

.screen-card img {
  width: min(100%, 400px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.path-card {
  min-height: 320px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-card:last-child {
  border-right: 0;
}

.path-card .tag {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
}

.path-card h3 {
  margin: 48px 0 14px;
  font-size: 27px;
}

.path-card p {
  color: var(--muted);
}

.path-card a {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 2px solid var(--coral);
  font-weight: 800;
}

.review-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.score-panel {
  position: sticky;
  top: 108px;
}

.score {
  display: block;
  color: var(--orange);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.score-panel p {
  color: #d9ccce;
}

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

.review {
  padding: 26px 28px;
  border: 1px solid #69575b;
  border-radius: 8px;
  background: #413035;
}

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

.review cite {
  color: #d9ccce;
  font-size: 13px;
  font-style: normal;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

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

.faq-symbol {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-symbol {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 900px;
  padding: 0 54px 22px 0;
  color: var(--muted);
}

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

.faq-answer p {
  margin: 0;
}

.download-band {
  padding: 56px 0;
  color: #fff;
  background: var(--coral-dark);
}

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

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

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

.download-band .download-btn {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--orange);
  box-shadow: none;
}

.subhero {
  padding: 84px 0 70px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.subhero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 62px);
}

.subhero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.guide-layout,
.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
}

.side-index {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.side-index strong {
  display: block;
  margin-bottom: 12px;
}

.side-index a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.side-index a:hover {
  color: var(--coral-dark);
}

.prose {
  min-width: 0;
}

.prose-section {
  padding-bottom: 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.prose-section:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin-bottom: 22px;
  font-size: clamp(27px, 3vw, 38px);
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.prose p {
  color: #5e4c51;
}

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

.step-list li {
  position: relative;
  min-height: 122px;
  padding: 24px 24px 24px 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  counter-increment: guide-step;
}

.step-list li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral-dark);
  content: counter(guide-step, decimal-leading-zero);
  font-weight: 900;
}

.step-list h3 {
  margin: 0 0 6px;
}

.step-list p {
  margin: 0;
}

.notice {
  padding: 24px 26px;
  border-left: 4px solid var(--orange);
  background: var(--cream);
}

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

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

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

.feature-detail {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-detail h3 {
  margin: 0 0 10px;
}

.feature-detail p {
  margin: 0;
}

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

.related-links a {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

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

.site-footer {
  padding: 48px 0 28px;
  color: #d9ccce;
  background: #291f22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

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

.footer-note {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 13px;
}

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

.footer-links a:hover {
  color: #fff;
}

.copyright {
  padding-top: 26px;
  margin-top: 34px;
  border-top: 1px solid #493a3e;
  font-size: 12px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav > a:not(.download-btn) {
    padding: 10px 0;
  }

  .site-nav > a:not(.download-btn)::after {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-inner {
    min-height: 650px;
    align-items: start;
  }

  .hero-copy {
    width: 72%;
    padding-top: 76px;
  }

  .hero-media {
    right: -68px;
    bottom: 0;
    width: 275px;
  }

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

  .feature:first-child {
    grid-row: auto;
    min-height: 260px;
  }

  .screens-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .path-card:last-child {
    grid-column: 1 / -1;
  }

  .guide-layout,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .side-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .side-index strong {
    width: 100%;
  }
}

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

  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 18px;
  }

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

  .site-nav {
    top: 64px;
  }

  .hero {
    min-height: 690px;
  }

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

  .hero-copy {
    width: 100%;
    padding: 54px 0 280px;
  }

  .hero-media {
    right: -90px;
    width: 228px;
  }

  h1 {
    font-size: 42px;
  }

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

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

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

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

  .section {
    padding: 66px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading .text-btn {
    margin-top: 20px;
  }

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

  .feature,
  .feature:first-child {
    min-height: auto;
  }

  .screens-grid {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-card,
  .screen-card:nth-child(even) {
    flex: 0 0 72vw;
    margin-top: 0;
    scroll-snap-align: start;
  }

  .screen-card img {
    width: 100%;
    max-width: 400px;
  }

  .path-card,
  .path-card:nth-child(2),
  .path-card:last-child {
    grid-column: auto;
    border-right: 0;
  }

  .review-layout {
    gap: 30px;
  }

  .score-panel {
    position: static;
  }

  .download-band-inner {
    display: block;
  }

  .download-band .download-btn {
    margin-top: 22px;
  }

  .subhero {
    padding: 58px 0 48px;
  }

  .step-list li {
    padding: 80px 20px 22px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

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

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