:root {
  --ink: #182126;
  --ink-soft: #445159;
  --paper: #f7f3eb;
  --surface: #ffffff;
  --teal: #008f86;
  --teal-dark: #006e68;
  --coral: #ef5f4c;
  --yellow: #f2bd39;
  --line: #d8ddd9;
  --muted: #eef1ef;
  --shadow: 0 14px 36px rgba(24, 33, 38, 0.1);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(24, 33, 38, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 33, 38, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

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

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

button,
input {
  font: inherit;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(24, 33, 38, 0.12);
  background: rgba(247, 243, 235, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 8px 13px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nav-menu .nav-download {
  border: 1px solid var(--ink);
  border-bottom-width: 3px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
}

.nav-menu .nav-download:hover {
  border-color: var(--teal-dark);
  color: #fff;
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

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

.hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
  padding-block: 64px 72px;
}

.hero-grid > *,
.page-hero-grid > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 22px;
  height: 4px;
  background: var(--coral);
  content: "";
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 5.2rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-bottom-width: 4px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(24, 33, 38, 0.1);
}

.button-primary {
  color: #fff;
  background: var(--coral);
}

.button-primary:hover {
  color: #fff;
}

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

.button-dark:hover {
  color: #fff;
}

.button-icon {
  font-size: 1.12rem;
  line-height: 1;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 0.9rem;
}

.hero-notes li::before {
  margin-right: 7px;
  color: var(--teal);
  content: "\2713";
  font-weight: 900;
}

.phone-stage {
  position: relative;
  min-height: 530px;
}

.phone-stage::before {
  position: absolute;
  top: 3%;
  right: 0;
  width: 82%;
  height: 92%;
  border: 3px solid var(--ink);
  background: var(--yellow);
  content: "";
  transform: rotate(4deg);
}

.phone-shot {
  position: absolute;
  width: min(54%, 310px);
  max-width: 400px;
  height: auto;
  border: 9px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-shot:first-child {
  z-index: 2;
  top: 0;
  left: 4%;
  transform: rotate(-4deg);
}

.phone-shot:last-child {
  z-index: 3;
  right: 2%;
  bottom: 0;
  transform: rotate(3deg);
}

.issue-label {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 8%;
  padding: 7px 13px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.quick-strip {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

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

.quick-item {
  min-height: 112px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.quick-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

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

.quick-item strong {
  color: var(--yellow);
  font-size: 1.02rem;
}

.quick-item span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.section {
  padding-block: 92px;
}

.section-white {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

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

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

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-number {
  color: var(--coral);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

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

.feature-item {
  min-height: 250px;
  padding: 30px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--surface);
}

.feature-index {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-item h3 {
  margin: 22px 0 10px;
  font-size: 1.2rem;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.gallery-filter {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.gallery-filter[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}

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

.screenshot-item {
  margin: 0;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-bottom: 5px solid var(--ink);
  border-radius: 6px;
  background: var(--surface);
}

.screenshot-item[hidden] {
  display: none;
}

.screenshot-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
}

.screenshot-item figcaption {
  margin-top: 14px;
  font-weight: 900;
}

.screenshot-item small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
}

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

.route-card {
  display: grid;
  min-height: 280px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  grid-template-rows: auto 1fr auto;
}

.route-card:nth-child(2) {
  background: var(--yellow);
}

.route-card:hover {
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--coral);
  transform: translate(-3px, -3px);
}

.route-card h3 {
  margin: 0 0 14px;
  font-size: 1.65rem;
}

.route-card p {
  margin: 0;
  color: var(--ink-soft);
}

.route-link {
  margin-top: 32px;
  font-weight: 900;
}

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

.quote-card {
  margin: 0;
  padding: 28px;
  border-top: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.08);
}

.quote-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.quote-card footer {
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 900;
}

.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.faq-preview details,
.faq-list details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.faq-preview summary,
.faq-list summary {
  position: relative;
  padding: 20px 52px 20px 0;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-preview summary::after,
.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 10px;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--teal);
  content: "+";
  text-align: center;
  line-height: 30px;
}

.faq-preview details[open] summary::after,
.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-preview details p,
.faq-list details p {
  margin: 0;
  padding: 0 40px 20px 0;
  color: var(--ink-soft);
}

.download-band {
  padding-block: 54px;
  border-block: 3px solid var(--ink);
  background: var(--teal);
}

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

.download-band h2 {
  margin: 0;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.2;
}

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

.page-hero {
  padding-block: 76px 64px;
  border-bottom: 3px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 64px;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.page-stamp {
  display: grid;
  width: 250px;
  height: 250px;
  place-items: center;
  justify-self: end;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-size: 4.5rem;
  font-weight: 900;
  transform: rotate(4deg);
}

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

.toc {
  position: sticky;
  top: 94px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  background: var(--surface);
}

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

.toc a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.article-body h2 {
  margin: 72px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--ink);
  font-size: 2.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

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

.article-body h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
}

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

.step-list {
  display: grid;
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  background: var(--surface);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-weight: 900;
}

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

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

.notice {
  margin: 26px 0;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--yellow);
  background: #fff;
}

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

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

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

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--teal);
  content: "\2713";
  font-weight: 900;
}

.inline-shot {
  width: min(100%, 340px);
  max-width: 400px;
  height: auto;
  margin: 24px auto;
  border: 8px solid var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
}

.settings-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: #fff;
}

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

.settings-table th {
  color: #fff;
  background: var(--ink);
}

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

.faq-list details {
  padding-inline: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.related-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.related-links a {
  padding: 20px;
  border: 1px solid var(--ink);
  border-bottom-width: 4px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.site-footer {
  padding-block: 54px 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #11181c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.disclaimer {
  padding: 15px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(17, 24, 28, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: auto;
  max-width: min(400px, 86vw);
  max-height: 82vh;
  border: 8px solid #fff;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

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

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 20px 22px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

  .nav-menu a {
    padding: 12px;
  }

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

  .hero-grid {
    gap: 30px;
    padding-block: 54px;
  }

  .phone-stage {
    width: min(100%, 620px);
    min-height: 500px;
    margin-inline: auto;
  }

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

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

  .page-stamp {
    display: none;
  }

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

  .toc {
    position: static;
  }

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

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

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

  .hero h1 {
    font-size: 2.7rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
    word-break: break-all;
  }

  .page-lead,
  .article-body p,
  .step p,
  .faq-list p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .download-band h2 {
    font-size: 1.8rem;
  }

  .article-body h2 {
    font-size: 1.65rem;
  }

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

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

  .phone-shot {
    width: 56%;
    border-width: 6px;
  }

  .quick-grid,
  .feature-grid,
  .screenshot-grid,
  .route-grid,
  .quote-grid,
  .faq-preview,
  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    min-height: 90px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding-block: 64px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column-reverse;
    gap: 14px;
  }

  .section-number {
    font-size: 2.5rem;
  }

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

  .page-hero {
    padding-block: 54px;
  }

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

  .settings-table {
    font-size: 0.88rem;
  }

  .settings-table th,
  .settings-table td {
    padding: 10px;
  }

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

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

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