:root {
  --ink: #171922;
  --ink-soft: #252834;
  --paper: #ffffff;
  --canvas: #f6f7f9;
  --line: #e6e8ed;
  --muted: #626777;
  --coral: #ff5b6e;
  --coral-dark: #e83f55;
  --mint: #2cc9a4;
  --sun: #ffc857;
  --shadow: 0 18px 45px rgba(23, 25, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 232, 237, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: #3f4350;
  font-size: 15px;
  font-weight: 700;
}

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

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

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

.nav-download,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: var(--paper);
  background: var(--coral);
  box-shadow: 0 8px 22px rgba(255, 91, 110, 0.24);
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-download {
  padding: 0 20px;
}

.button {
  min-width: 154px;
  padding: 12px 24px;
}

.nav-download:hover,
.button:hover {
  background: var(--coral-dark);
  box-shadow: 0 12px 28px rgba(232, 63, 85, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid #424653;
  color: var(--paper);
  background: transparent;
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  background-color: #20232e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 64px;
  padding: 70px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 {
  max-width: 520px;
  font-size: 68px;
}

.hero-copy > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d6d8df;
  font-size: 18px;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 24px 0 0;
  padding: 0;
  color: #afb3bf;
  font-size: 14px;
  list-style: none;
}

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

.hero-visual {
  display: grid;
  min-height: 470px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
}

.hero-visual img {
  width: min(100%, 230px);
  max-width: 400px;
  margin: auto 0;
  border: 7px solid #0f1118;
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
}

.hero-visual img:nth-child(1) {
  transform: translateY(28px);
}

.hero-visual img:nth-child(2) {
  transform: translateY(-22px);
}

.hero-visual img:nth-child(3) {
  transform: translateY(38px);
}

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

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

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

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

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

.quick-item strong {
  font-size: 18px;
}

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

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

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

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

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

.section h2,
.section-head h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.25;
  font-size: 42px;
}

.section-index {
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 700;
}

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

.feature-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

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

.feature-card:first-child {
  border-top: 4px solid var(--coral);
}

.feature-card .number {
  color: #adb1bb;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 700;
}

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

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

.schedule-board {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.schedule-copy h2 {
  margin-bottom: 24px;
}

.schedule-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-copy li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.schedule-copy time {
  color: var(--mint);
  font-family: Consolas, Monaco, monospace;
  font-weight: 700;
}

.schedule-copy strong,
.schedule-copy span {
  display: block;
}

.schedule-copy span {
  margin-top: 3px;
  color: #aeb2be;
  font-size: 14px;
}

.schedule-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.schedule-image img {
  width: min(100%, 318px);
  max-width: 400px;
  border: 7px solid #0e1017;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: min(100%, 358px);
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid #20232b;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.gallery figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

.path-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink-soft);
  transition: transform 180ms ease;
}

.path-card:hover {
  transform: translateY(-4px);
}

.path-card.accent {
  color: var(--ink);
  background: var(--mint);
}

.path-card span {
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 700;
}

.path-card h3 {
  margin: 30px 0 8px;
  font-size: 28px;
}

.path-card p {
  margin: 0;
  opacity: 0.78;
}

.path-card b {
  margin-top: 32px;
  font-size: 15px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  position: relative;
  padding: 21px 58px 21px 22px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  color: var(--coral);
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
}

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

.faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 12px;
}

.download-band {
  overflow: hidden;
  color: var(--paper);
  background: var(--coral);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
}

.download-grid h2 {
  margin: 0;
  font-size: 46px;
}

.download-grid p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #fff3f5;
}

.download-grid .button {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(104, 19, 30, 0.2);
}

.page-hero {
  color: var(--paper);
  background: var(--ink);
}

.page-hero-inner {
  display: grid;
  min-height: 360px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 62px 0;
}

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

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

.page-mark {
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--mint);
  background: #20232e;
  font-family: Consolas, Monaco, monospace;
  font-size: 52px;
  font-weight: 800;
}

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

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

.article-section + .article-section {
  margin-top: 68px;
}

.article-section h2 {
  margin-bottom: 26px;
}

.article-section h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.article-section p {
  margin: 0;
  color: #505563;
}

.article-section p + p {
  margin-top: 14px;
}

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

.step-list li {
  position: relative;
  padding: 24px 24px 24px 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 25px;
  left: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral);
  content: counter(steps, decimal-leading-zero);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 800;
}

.tip-box {
  margin-top: 22px;
  padding: 22px 24px;
  border-left: 4px solid var(--mint);
  background: #eafbf6;
}

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

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

.inline-figure figure {
  margin: 0;
}

.inline-figure img {
  width: min(100%, 358px);
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.inline-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-top: 4px solid var(--coral);
  background: var(--paper);
}

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

.toc a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

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

.detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-card h3 {
  margin-top: 0;
}

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

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

.device-table th {
  background: #f0f1f4;
}

.site-footer {
  color: #c7cad3;
  background: #101117;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 48px 0 28px;
}

.footer-brand p {
  max-width: 580px;
  margin: 16px 0 0;
  color: #8f94a2;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

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

.disclaimer {
  margin: 0;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777d8c;
  font-size: 13px;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-download {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links.is-open {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 20px;
    background: var(--paper);
  }

  .nav-links.is-open a {
    padding: 18px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .hero-grid,
  .schedule-board,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
    padding-bottom: 86px;
  }

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

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

  .section h2,
  .section-head h2 {
    font-size: 36px;
  }

  .hero::before {
    top: auto;
    width: 100%;
    height: 48%;
  }

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

  .schedule-image {
    order: -1;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0 74px;
  }

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

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

  .section h2,
  .section-head h2,
  .download-grid h2 {
    font-size: 32px;
  }

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

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

  .hero-visual {
    min-height: 330px;
    gap: 7px;
  }

  .hero-visual img {
    border-width: 4px;
    border-radius: 14px;
  }

  .hero-visual img:nth-child(1),
  .hero-visual img:nth-child(2),
  .hero-visual img:nth-child(3) {
    transform: none;
  }

  .quick-grid,
  .feature-grid,
  .gallery,
  .path-grid,
  .feature-detail-grid,
  .inline-figure,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 0;
  }

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

  .gallery {
    gap: 40px;
  }

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

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

  .page-mark {
    display: none;
  }

  .page-hero-inner {
    min-height: 310px;
    padding: 48px 0;
  }

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

  .step-list li::before {
    top: 22px;
    left: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

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