:root {
  --red: #e5485d;
  --red-dark: #bd2f44;
  --ink: #17181c;
  --ink-soft: #282a31;
  --mint: #35b8a0;
  --mint-soft: #ddf6f0;
  --paper: #fffdfb;
  --surface: #f6f4f1;
  --line: #dedbd6;
  --muted: #666a73;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(23, 24, 28, 0.1);
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.72;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  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(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.96);
  backdrop-filter: blur(12px);
}

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

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

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

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

.site-nav a:not(.button) {
  position: relative;
  color: #40434b;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

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

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  transform: translateY(-2px);
}

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

.button-secondary:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero::before {
  position: absolute;
  top: 0;
  right: calc(50% - 580px);
  width: 360px;
  height: 10px;
  background: var(--mint);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 70px;
  padding-block: 56px;
}

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

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 26px;
  color: #474a52;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-facts strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.hero-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-self: stretch;
}

.phone-frame {
  position: relative;
  width: min(100%, 314px);
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: var(--ink);
  box-shadow: 20px 20px 0 var(--mint);
}

.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 6px;
  border-radius: 5px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  max-width: 294px;
  height: auto;
  border-radius: 17px;
}

.section {
  padding-block: 88px;
}

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

.section-muted {
  background: var(--surface);
}

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

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

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-index {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.topic-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-item {
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}

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

.topic-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
}

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

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

.feature-card {
  min-height: 232px;
  padding: 26px;
  border: 1px solid #393b43;
  border-radius: 8px;
  background: var(--ink-soft);
}

.feature-card:nth-child(2),
.feature-card:nth-child(5) {
  border-top: 4px solid var(--mint);
}

.feature-card:nth-child(3),
.feature-card:nth-child(6) {
  border-top: 4px solid var(--red);
}

.feature-number {
  color: var(--mint);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

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

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

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

.screen-card {
  min-width: 0;
  margin: 0;
}

.screen-card img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-card figcaption {
  max-width: 360px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.screen-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
}

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

.path-card {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.path-card h3 {
  margin-bottom: 10px;
  font-size: 27px;
}

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

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--red-dark);
  border-bottom: 2px solid var(--red);
  font-weight: 800;
}

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

.rating-block,
.quote-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid #393b43;
  border-radius: 8px;
  background: var(--ink-soft);
}

.rating-score {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.rating-block span,
.quote-card cite {
  color: #aeb1ba;
  font-size: 14px;
  font-style: normal;
}

.quote-card blockquote {
  margin: 0 0 24px;
  color: #f0f1f3;
}

.review-stars {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 16px;
  letter-spacing: 0;
}

.quote-card time {
  display: block;
  margin-top: 6px;
  color: #aeb1ba;
  font-size: 13px;
}

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

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

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

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 8px;
  color: var(--red);
  content: "+";
  font-size: 25px;
  line-height: 1;
}

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

.faq-list details p {
  max-width: 880px;
  margin: -6px 0 22px;
  color: var(--muted);
}

.download-band {
  color: var(--white);
  background: var(--red);
}

.download-inner {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.download-inner h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.download-inner p {
  max-width: 650px;
  margin: 0;
}

.download-band .button {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.download-band .button:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.page-hero {
  padding-block: 82px 60px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero .lead {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.article-body h2 {
  margin: 54px 0 20px;
  padding-top: 10px;
  font-size: 32px;
}

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

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

.article-body p {
  margin: 0 0 18px;
  color: #484b53;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 24px 0 38px;
  counter-reset: guide-step;
}

.step {
  position: relative;
  padding: 26px 28px 26px 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  counter-increment: guide-step;
}

.step::before {
  position: absolute;
  top: 25px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  content: counter(guide-step, decimal-leading-zero);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

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

.step p {
  margin: 0;
}

.article-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 26px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.note {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--mint);
  background: var(--mint-soft);
}

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

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

.check-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 4px solid var(--mint);
  border-radius: 50%;
  content: "";
}

.side-nav {
  position: sticky;
  top: 102px;
  padding: 22px;
  border-left: 4px solid var(--red);
  background: var(--surface);
}

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

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

.side-nav a:hover {
  color: var(--red-dark);
}

.site-footer {
  padding-block: 46px 28px;
  color: #d4d5d9;
  background: #101115;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-copy,
.disclaimer {
  max-width: 760px;
  margin: 0 0 12px;
  color: #aeb1ba;
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
  font-size: 14px;
}

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

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #2f3137;
  color: #898c94;
  font-size: 12px;
}

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

  .site-nav {
    position: fixed;
    inset: 73px 0 auto 0;
    display: none;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 44px;
  }

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

  .phone-frame {
    width: 232px;
    box-shadow: 14px 14px 0 var(--mint);
  }

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

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

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

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

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

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

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

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

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

  .site-nav {
    inset-block-start: 65px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero .lead {
    font-size: 16px;
  }

  .hero-grid {
    gap: 14px;
    padding-block: 34px 28px;
  }

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

  .phone-frame {
    width: 148px;
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }

  .section-head h2,
  .article-body h2 {
    font-size: 29px;
  }

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

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

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

  .screen-card img,
  .article-image {
    max-width: 290px;
  }

  .download-inner {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding-block: 46px;
  }

  .download-inner .button {
    width: 100%;
  }

  .page-hero {
    padding-block: 58px 44px;
  }

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

  .step {
    padding: 70px 20px 22px;
  }

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

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