:root {
  --ink: #202126;
  --ink-soft: #555961;
  --paper: #fffdf9;
  --cream: #fff4e8;
  --orange: #ff5a36;
  --orange-dark: #d93f20;
  --mint: #15866d;
  --mint-soft: #dff5ed;
  --yellow: #ffc857;
  --line: #dedbd4;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(32, 33, 38, 0.1);
  --max: 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;
  font-size: 16px;
  line-height: 1.72;
}

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;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(222, 219, 212, 0.88);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
}

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

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

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

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

.site-nav a {
  padding: 8px 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

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

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

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--yellow);
}

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

.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(600px, calc(100vh - 145px));
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 62px;
  left: 0;
  width: 14px;
  height: 260px;
  background: var(--mint);
}

.hero::after {
  right: 0;
  bottom: 34px;
  width: 120px;
  height: 14px;
  background: var(--yellow);
}

.hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  align-items: center;
  gap: 58px;
  padding-block: 38px 44px;
}

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

.eyebrow::before {
  width: 26px;
  height: 3px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: 76px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 68px;
  white-space: nowrap;
}

@media (min-width: 981px) and (max-width: 1110px) {
  .hero h1 {
    font-size: 56px;
  }
}

.hero h1 + p {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

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

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

.hero-meta li::before {
  margin-right: 7px;
  color: var(--mint);
  content: "●";
}

.hero-visual {
  display: grid;
  min-height: 450px;
  grid-template-columns: 0.72fr 1fr 0.72fr;
  align-items: center;
  gap: 14px;
}

.hero-visual img {
  width: 100%;
  max-width: 400px;
  margin: auto 0;
  border: 6px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.hero-visual img:first-child,
.hero-visual img:last-child {
  border-width: 4px;
}

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

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

.signal-item {
  padding: 22px 28px;
  border-left: 1px solid #45474e;
}

.signal-item:last-child {
  border-right: 1px solid #45474e;
}

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

.signal-item strong {
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: 18px;
}

.signal-item span {
  color: #d7d8dc;
  font-size: 13px;
}

.section {
  padding-block: 92px;
}

.section-tight {
  padding-block: 64px;
}

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

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

.section-kicker {
  margin: 0 0 6px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.section h2,
.section-tight h2,
.content-section h2 {
  margin: 0 0 34px;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-dark .section-kicker {
  color: var(--yellow);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card:first-child {
  grid-row: span 2;
  min-height: 576px;
  color: var(--white);
  background: var(--orange);
}

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

.feature-card:first-child .feature-number {
  color: var(--white);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

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

.feature-card:first-child p {
  color: #fff4ec;
}

.feature-card .feature-mark {
  position: absolute;
  right: 22px;
  bottom: 12px;
  color: rgba(32, 33, 38, 0.08);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}

.feature-card:first-child .feature-mark {
  color: rgba(255, 255, 255, 0.18);
}

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

.gallery-head h2 {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-control {
  width: 42px;
  height: 42px;
  border: 1px solid #5b5e66;
  border-radius: 6px;
  color: var(--white);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.gallery-control:hover {
  color: var(--ink);
  background: var(--yellow);
}

.screenshot-track {
  display: grid;
  grid-auto-columns: minmax(230px, 300px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--yellow) #44464d;
}

.screen-card {
  scroll-snap-align: start;
}

.screen-card img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 319 / 567;
  object-fit: cover;
  border: 1px solid #5b5e66;
  border-radius: 8px;
  background: var(--white);
}

.screen-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #e6e7e9;
  font-size: 14px;
}

.screen-card figcaption span {
  color: var(--yellow);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

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

.route-card {
  display: grid;
  min-height: 280px;
  grid-template-columns: 1fr 170px;
  align-items: end;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--orange);
}

.route-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

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

.route-card img {
  width: 150px;
  max-width: 400px;
  justify-self: end;
  border: 3px solid var(--ink);
  border-radius: 8px;
}

.route-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--orange-dark);
  font-weight: 800;
}

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

.review-card {
  margin: 0;
  padding: 26px;
  border-left: 4px solid var(--orange);
  background: var(--white);
}

.review-card p {
  margin: 0 0 20px;
  font-size: 17px;
}

.review-card cite {
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
}

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

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

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

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

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

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 10px;
  color: var(--orange-dark);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

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

.faq-list details p {
  max-width: 900px;
  margin: -4px 0 22px;
  color: var(--ink-soft);
}

.download-band {
  padding-block: 62px;
  color: var(--white);
  background: var(--orange);
}

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

.download-band h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.2;
}

.download-band p,
.download-band .download-note {
  max-width: 640px;
  margin: 10px 0 0;
  color: #fff1ec;
}

.site-footer {
  color: #d9dade;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 52px;
  padding-block: 52px 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

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

.footer-copy {
  max-width: 480px;
  margin: 16px 0 0;
  color: #b8bac0;
  font-size: 14px;
}

.footer-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #b8bac0;
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 22px;
  border-top: 1px solid #45474e;
  color: #9da0a7;
  font-size: 12px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.page-hero-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 70px;
  padding-block: 68px;
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.page-hero img {
  width: 100%;
  max-width: 300px;
  margin: auto;
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--yellow);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 750;
}

.breadcrumb a:hover {
  color: var(--orange-dark);
}

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

.article-nav {
  position: sticky;
  top: 98px;
  padding-left: 18px;
  border-left: 3px solid var(--mint);
}

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

.article-nav a {
  display: block;
  margin: 9px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--orange-dark);
}

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

.content-section > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

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

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

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

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

.step img {
  width: 130px;
  max-width: 400px;
  justify-self: end;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  background: var(--white);
}

.checklist li::before {
  float: left;
  margin-left: -28px;
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

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

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

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.feature-detail h3 {
  margin: 0 0 8px;
}

.feature-detail p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-groups {
  display: grid;
  gap: 56px;
}

.faq-group {
  scroll-margin-top: 100px;
}

.faq-group h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

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

.related-links a {
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  font-weight: 750;
}

.related-links a:hover {
  color: var(--white);
  background: var(--ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

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

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

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

  .site-nav .button {
    margin-top: 6px;
  }

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

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

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

  .hero-visual {
    min-height: 420px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual img:first-child {
    display: none;
  }

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

  .feature-card:first-child {
    grid-row: auto;
    min-height: 280px;
  }

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

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card img {
    display: none;
  }

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

  .article-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--mint);
  }

  .article-nav strong {
    width: 100%;
  }

  .article-nav a {
    margin: 0;
  }
}

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

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

  .site-nav {
    top: 64px;
  }

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

  .hero {
    min-height: auto;
  }

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

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

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

  .section h2,
  .section-tight h2,
  .content-section h2 {
    font-size: 34px;
  }

  .download-band h2 {
    font-size: 36px;
  }

  .hero h1 + p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 230px;
    grid-template-columns: 0.8fr 1fr 0.8fr;
    gap: 8px;
  }

  .hero-visual img:first-child {
    display: block;
  }

  .hero-visual img {
    border-width: 3px;
  }

  .hero-meta {
    gap: 8px 14px;
  }

  .section {
    padding-block: 68px;
  }

  .section-tight {
    padding-block: 52px;
  }

  .signal-item {
    padding: 18px 14px;
  }

  .feature-grid,
  .route-grid,
  .review-grid,
  .feature-detail-grid,
  .related-links,
  .checklist {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:first-child {
    min-height: 240px;
  }

  .feature-number {
    margin-bottom: 42px;
  }

  .route-card {
    min-height: 230px;
  }

  .gallery-head {
    align-items: start;
  }

  .gallery-controls {
    display: none;
  }

  .screenshot-track {
    grid-auto-columns: 74vw;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .page-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 150px;
    gap: 20px;
    padding-block: 48px;
  }

  .page-hero img {
    max-width: 145px;
    border-width: 3px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .article-layout {
    padding-block: 48px 72px;
  }

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

  .step img {
    display: none;
  }
}

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

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

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

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

  .signal-item strong {
    font-size: 16px;
  }

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

  .page-hero img {
    display: none;
  }

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

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