:root {
  --ink: #141318;
  --ink-soft: #24212a;
  --paper: #f4f1ea;
  --paper-deep: #e7e1d5;
  --plum: #4b285f;
  --plum-deep: #311a3d;
  --gold: #d4a72c;
  --coral: #e85f4d;
  --white: #ffffff;
  --muted: #67616c;
  --line: #cfc7b8;
  --shadow: 8px 8px 0 rgba(20, 19, 24, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

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

.site-nav a:not(.button) {
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

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

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

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

.button--dark {
  background: var(--plum);
}

.button--light {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}



.hero__layout {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: center;
  gap: 74px;
  padding: 72px 0 82px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
}

.hero__visual::before {
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 3px solid var(--ink);
  content: "";
  background: var(--coral);
}

.hero__visual img {
  width: 100%;
  max-width: 360px;
  border: 3px solid var(--paper);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(20, 19, 24, 0.36);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  color: var(--gold);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 28px;
  color: #f2ede5;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #ded5c7;
  font-size: 14px;
}

.hero__meta li::before {
  color: var(--gold);
  content: "◆";
  margin-right: 8px;
}

.signal-strip {
  border-bottom: 2px solid var(--ink);
  background: var(--gold);
}

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

.signal-item {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px;
  border-right: 2px solid var(--ink);
}

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

.signal-item strong {
  font-size: 24px;
  line-height: 1.2;
}

.signal-item span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

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

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

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  border-bottom: 2px solid currentColor;
}

.section-head h2,
.content-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-index {
  color: var(--coral);
  font-weight: 900;
}

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

.feature-card {
  min-height: 260px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) {
  background: #f7e5df;
}

.feature-card:nth-child(3) {
  background: #eee4f2;
}

.feature-card:nth-child(4) {
  background: #e5eee8;
}

.feature-card:nth-child(5) {
  background: #f1ead1;
}

.feature-card:nth-child(6) {
  background: #e7e5ef;
}

.feature-card__number {
  display: block;
  margin-bottom: 24px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 900;
}

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

.feature-card p {
  margin: 0;
  color: #4f4a52;
}

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

.preview-figure {
  margin: 0;
}

.preview-figure img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border: 2px solid var(--paper);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(212, 167, 44, 0.36);
}

.preview-figure figcaption {
  max-width: 380px;
  margin: 24px auto 0;
}

.preview-figure strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
}

.preview-figure span {
  color: #cec7d1;
  font-size: 14px;
}

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

.route-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.route-card--dark {
  color: var(--white);
  background: var(--plum);
}

.route-card__mark {
  position: absolute;
  right: 24px;
  top: 8px;
  color: rgba(232, 95, 77, 0.2);
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

.route-card h3 {
  position: relative;
  margin: 30px 0 16px;
  font-size: 30px;
  line-height: 1.25;
}

.route-card p {
  position: relative;
  margin: 0 0 26px;
}

.route-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid currentColor;
  color: var(--coral);
  font-weight: 800;
}

.route-card--dark .text-link {
  color: var(--gold);
}

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

.quote {
  margin: 0;
  padding: 26px;
  border-left: 5px solid var(--coral);
  background: rgba(255, 255, 255, 0.08);
}

.quote p {
  margin: 0 0 18px;
  font-size: 17px;
}

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

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 2px solid var(--ink);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.faq-question span:last-child {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

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

.faq-answer[hidden] {
  display: none;
}

.download-band {
  padding: 74px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
  background: var(--gold);
}

.download-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-band h2 {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.download-band__note {
  display: block;
  margin: 0;
  font-weight: 600;
}

.page-hero {
  padding: 96px 0 76px;
  border-bottom: 3px solid var(--ink);
  color: var(--white);
  background: var(--plum-deep);
}

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

.page-hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 18px;
}

.breadcrumb {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  border-bottom: 1px solid currentColor;
}

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

.content-section {
  padding: 70px 0;
}

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

.content-section h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.content-section h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.content-section p {
  margin: 12px 0;
}

.content-section ul,
.content-section ol {
  padding-left: 24px;
}

.content-section li {
  margin: 8px 0;
}

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

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.step__number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--white);
  background: var(--coral);
  font-size: 20px;
  font-weight: 900;
}

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

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

.check-panel,
.note-panel {
  margin: 26px 0;
  padding: 24px;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--gold);
  background: var(--white);
}

.note-panel {
  border-left-color: var(--coral);
  background: #f7e5df;
}

.inline-preview {
  margin: 34px 0;
}

.inline-preview img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inline-preview figcaption {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

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

.side-nav {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.side-nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

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

.feature-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin: 24px 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature-detail__label {
  color: var(--plum);
  font-weight: 900;
}

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

.feature-detail p {
  margin: 0;
}

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

.related-link {
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 800;
}

.related-link:hover {
  color: var(--white);
  background: var(--plum);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 34px;
}

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

.footer-brand p {
  max-width: 480px;
  margin: 18px 0 0;
  color: #bdb6c1;
}

.footer-title {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.footer-links a {
  display: block;
  margin: 8px 0;
}

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

.disclaimer {
  padding: 22px 0;
  border-top: 1px solid #3b3840;
  border-bottom: 1px solid #3b3840;
  color: #aaa4ae;
  font-size: 13px;
}

.copyright {
  margin: 24px 0 0;
  color: #8e8991;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

  .site-nav a:not(.button) {
    padding: 14px 4px;
  }

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

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(-n+2) {
    border-bottom: 2px solid var(--ink);
  }

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

  .preview-figure img {
    max-width: 340px;
  }

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

  .side-nav {
    position: static;
    grid-row: 1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

  .brand {
    font-size: 18px;
  }

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

  .site-nav {
    top: 68px;
  }

  .hero,
  .hero__layout {
    min-height: 650px;
  }

  .hero::before {
    width: 21%;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 14px;
    padding: 64px 0 72px;
  }

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

  .hero__lead,
  .page-hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    width: 190px;
  }

  .hero__actions .button {
    width: 190px;
  }

  .hero__visual {
    align-self: end;
    width: 145px;
    margin-bottom: 16px;
  }

  .hero__visual::before {
    inset: 10px -8px -10px 8px;
  }

  .hero__visual img {
    max-width: 145px;
    box-shadow: 6px 6px 0 rgba(20, 19, 24, 0.36);
  }

  .hero__meta {
    max-width: 190px;
  }

  .section {
    padding: 68px 0;
  }

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

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

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

  .signal-item {
    min-height: 94px;
    padding: 16px;
  }

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

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

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

  .page-hero {
    padding: 68px 0 56px;
  }

  .content-section {
    padding: 52px 0;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }
}
