:root {
  --ink: #171a23;
  --muted: #626879;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #dedfd8;
  --orange: #ff6b35;
  --orange-dark: #d94b1b;
  --yellow: #ffd166;
  --teal: #14b8a6;
  --teal-dark: #087f74;
  --shadow: 0 18px 50px rgba(23, 26, 35, 0.14);
  --content: 1180px;
}

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

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: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 26, 35, 0.1);
  background: rgba(247, 247, 242, 0.94);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.button) {
  position: relative;
  padding: 24px 0 20px;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  background: var(--orange);
}

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

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.button {
  min-height: 46px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: var(--white);
}

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

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

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

.hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  top: 84px;
  border: 28px solid var(--teal);
  transform: rotate(12deg);
}

.hero-grid {
  position: relative;
  width: min(var(--content), calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--orange);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 72px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-facts {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  list-style: none;
  font-size: 14px;
}

.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-media {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-media figure {
  margin: auto 0;
}

.hero-media img {
  width: auto;
  max-width: 400px;
  height: auto;
  border: 7px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-media .hero-phone-main img {
  max-height: 470px;
}

.hero-media .hero-phone-side img {
  max-height: 390px;
  transform: translateY(24px);
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.ticker-track {
  width: min(var(--content), calc(100% - 40px));
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.ticker-track span::after {
  content: "+";
  margin-left: 24px;
  color: var(--yellow);
}

.section {
  padding: 88px 0;
}

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

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

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

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

.section-heading {
  margin: 0 0 40px;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading span {
  color: var(--orange);
}

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

.feature-item {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.feature-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

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

.feature-item:nth-child(3) .feature-number,
.feature-item:nth-child(6) .feature-number {
  background: var(--teal-dark);
}

.feature-item h3 {
  margin: 38px 0 10px;
  font-size: 23px;
}

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

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

.screenshot {
  margin: 0;
}

.screenshot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border: 6px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--yellow);
}

.screenshot:nth-child(2) img {
  box-shadow: 10px 10px 0 var(--teal);
}

.screenshot:nth-child(3) img {
  box-shadow: 10px 10px 0 var(--orange);
}

.screenshot figcaption {
  margin-top: 24px;
  font-size: 15px;
}

.screenshot figcaption strong {
  display: block;
  font-size: 20px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.path-item {
  min-height: 250px;
  padding: 34px;
  background: var(--ink);
}

.path-item b {
  color: var(--yellow);
  font-size: 13px;
}

.path-item h3 {
  margin: 52px 0 12px;
  font-size: 25px;
}

.path-item p {
  margin: 0 0 24px;
  color: #c9cbd2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
}

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

.review-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.score-box {
  padding-left: 22px;
  border-left: 8px solid var(--orange);
}

.score-box strong {
  display: block;
  font-size: 64px;
  line-height: 1;
}

.score-box span {
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.review-item {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.review-item p {
  margin: 0 0 10px;
  font-size: 18px;
}

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

.review-time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

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

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

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

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 19px;
  color: var(--orange);
  font-size: 28px;
}

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

.faq-list details > div {
  max-width: 900px;
  padding: 0 50px 26px 0;
  color: var(--muted);
}

.faq-list details p {
  margin: 0;
}

.faq-list details ol,
.faq-list details ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.cta-band {
  padding: 54px 0;
  color: var(--white);
  background: var(--orange);
}

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

.cta-inner h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.site-footer {
  padding: 54px 0 28px;
  color: #c9cbd2;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

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

.footer-brand p {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--white);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.page-hero {
  padding: 82px 0 64px;
  color: var(--white);
  background: var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: #c9cbd2;
  font-size: 18px;
}

.page-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-media img {
  width: auto;
  max-width: 280px;
  max-height: 390px;
  border: 6px solid var(--white);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--teal);
}

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

.side-index {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-left: 4px solid var(--orange);
  background: var(--white);
}

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

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

.article-content section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.article-content h2 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
}

.article-content h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.article-content p {
  margin: 0 0 18px;
  color: #444958;
}

.step-list {
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.step-item {
  position: relative;
  padding: 30px 30px 30px 94px;
  border-top: 1px solid var(--line);
  counter-increment: steps;
}

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

.step-item::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 24px;
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
}

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

.step-item p {
  margin: 0;
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: center;
  margin-top: 30px;
}

.split-media img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--yellow);
}

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

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

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

.note {
  padding: 22px 24px;
  border-left: 5px solid var(--yellow);
  background: #fff7d8;
}

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

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

.topic-item {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.topic-item h3 {
  margin: 0 0 10px;
}

.topic-item p {
  margin: 0;
}

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

.related-links a {
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--teal);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 0 46px;
  }

  .hero-media {
    min-height: 350px;
  }

  .hero-media .hero-phone-main img {
    max-height: 350px;
  }

  .hero-media .hero-phone-side img {
    max-height: 300px;
  }

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

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

  .review-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .side-index {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero::before {
    display: none;
  }

  .nav-wrap {
    width: min(100% - 28px, var(--content));
    min-height: 66px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 14px;
    top: 60px;
    left: 14px;
    padding: 14px;
    border: 2px solid var(--ink);
    background: var(--white);
    box-shadow: 6px 6px 0 var(--ink);
  }

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

  .site-nav a:not(.button) {
    padding: 11px 8px;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero-grid,
  .container {
    width: min(100% - 28px, var(--content));
  }

  .hero-grid {
    min-height: 0;
    padding: 40px 0 36px;
  }

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

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

  .hero-media {
    min-height: 320px;
    gap: 10px;
  }

  .hero-media .hero-phone-main img {
    max-height: 320px;
  }

  .hero-media .hero-phone-side img {
    max-height: 270px;
    transform: translateY(14px);
  }

  .ticker-track {
    width: max-content;
    min-width: 100%;
    padding: 0 14px;
    justify-content: flex-start;
  }

  .ticker-track span:nth-child(n+4) {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

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

  .feature-grid,
  .path-grid,
  .topic-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 0;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .screenshot img {
    width: min(86%, 360px);
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid,
  .page-hero-grid,
  .split-media {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0;
  }

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

  .article-content h2 {
    font-size: 30px;
  }

  .cta-inner h2 {
    font-size: 32px;
  }

  .page-hero-media img {
    max-height: 330px;
  }

  .step-item {
    padding: 26px 18px 26px 64px;
  }

  .step-item::before {
    left: 4px;
    font-size: 25px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
  }

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

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

  .hero-media .hero-phone-side {
    display: none;
  }

  .hero-media .hero-phone-main img {
    max-height: 330px;
  }

  .ticker-track span:nth-child(n+3) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
