:root {
  --ink: #161622;
  --ink-soft: #4e4e5d;
  --paper: #fffaf7;
  --white: #ffffff;
  --coral: #ff6b7a;
  --coral-dark: #d9475b;
  --teal: #39c7c5;
  --yellow: #ffd75e;
  --line: #e8ded9;
  --muted: #766f73;
  --shadow: 0 18px 50px rgba(32, 25, 29, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(22, 22, 34, 0.08);
  background: rgba(255, 250, 247, 0.96);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  background: var(--coral);
  transition: transform 180ms ease;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--coral);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--teal);
}

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

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 60px;
  padding-block: 64px 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: 68px;
  font-weight: 950;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 600px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 18px 16px 18px 0;
}

.fact + .fact {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  font-size: 22px;
}

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

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 12px solid var(--yellow);
  border-radius: 50%;
}

.phone {
  position: relative;
  z-index: 2;
  width: 294px;
  padding: 12px;
  border: 4px solid var(--ink);
  border-radius: 38px;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 8px;
  border-radius: 8px;
  transform: translateX(-50%);
  background: var(--ink);
}

.phone img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 24px;
}

.visual-note {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--teal);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.visual-note.top {
  top: 78px;
  right: 0;
  transform: rotate(-4deg);
}

.visual-note.bottom {
  bottom: 80px;
  left: 0;
  background: var(--yellow);
  transform: rotate(3deg);
}

.section {
  padding-block: 92px;
}

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

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

.section-head {
  max-width: 740px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 950;
}

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

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

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

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

.feature-card:nth-child(1),
.feature-card:nth-child(6) {
  border-top: 5px solid var(--coral);
}

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

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.feature-card p,
.step-copy p,
.article-copy p,
.faq-answer p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.screenshot-item {
  text-align: center;
}

.screenshot-frame {
  width: min(100%, 340px);
  margin-inline: auto;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--coral);
}

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

.screenshot-item:nth-child(3) .screenshot-frame {
  box-shadow: 10px 10px 0 var(--yellow);
}

.screenshot-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

.screenshot-item h3 {
  margin-top: 28px;
}

.screenshot-item p {
  color: var(--muted);
}

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

.path-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 7px;
}

.path-card::after {
  content: attr(data-mark);
  position: absolute;
  right: 18px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 132px;
  font-weight: 950;
  line-height: 1;
}

.path-card p {
  max-width: 500px;
  color: #cbc8d0;
}

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

.text-link:hover {
  color: var(--teal);
}

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

blockquote {
  margin: 0;
}

.quote {
  padding: 28px;
  border-left: 5px solid var(--coral);
  background: var(--white);
}

.quote:nth-child(2) {
  border-left-color: var(--teal);
}

.quote:nth-child(3) {
  border-left-color: var(--yellow);
}

.quote p {
  min-height: 84px;
  margin-bottom: 18px;
}

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

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

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

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

.faq-question .plus {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .plus {
  transform: rotate(45deg);
  background: var(--yellow);
}

.faq-answer {
  display: none;
  max-width: 850px;
  padding: 0 52px 22px 0;
}

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

.cta-band {
  padding-block: 56px;
  background: var(--coral);
  color: var(--ink);
}

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

.cta-row h2 {
  max-width: 720px;
  font-size: 42px;
}

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

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

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

.footer-grid h3 {
  color: var(--white);
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.disclaimer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #363642;
  color: #9d99a6;
  font-size: 13px;
}

.page-hero {
  padding-block: 86px 70px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: 62px;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

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

.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

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

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

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

.article-copy > section + section {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.article-copy h2 {
  margin-bottom: 26px;
  font-size: 34px;
}

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

.article-copy p + p {
  margin-top: 16px;
}

.step-list {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 950;
}

.step-copy h3 {
  margin-top: 0;
}

.callout {
  margin-block: 30px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-left: 9px solid var(--coral);
  border-radius: 6px;
  background: var(--white);
}

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

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 190px;
  background: #f4efec;
}

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

.related-link {
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--teal);
}

.related-link:hover {
  box-shadow: 5px 5px 0 var(--coral);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 340px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

  h2 {
    font-size: 40px;
  }

  .cta-row h2 {
    font-size: 36px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .main-nav a:not(.button) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 18px;
  }

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

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

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

  .screenshots {
    gap: 22px;
  }

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

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .toc strong {
    width: 100%;
  }
}

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

  .site-header .button {
    box-shadow: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .cta-row h2 {
    font-size: 30px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

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

  .fact + .fact {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .hero-visual::before {
    width: 290px;
    height: 290px;
    border-width: 9px;
  }

  .phone {
    width: 248px;
  }

  .visual-note.top {
    top: 46px;
    right: 2px;
  }

  .visual-note.bottom {
    bottom: 48px;
    left: 2px;
  }

  .section {
    padding-block: 68px;
  }

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

  .screenshots {
    gap: 52px;
  }

  .feature-card {
    min-height: auto;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .step::before {
    width: 44px;
    height: 44px;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table tr + tr {
    margin-top: 12px;
  }
}

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