:root {
  --paper: #f7f4ec;
  --snow: #fffdf8;
  --celadon: #dcebe5;
  --mist: #8d9a97;
  --ink: #24302e;
  --soft-ink: #5f6a67;
  --gold: #b99757;
  --deep-gold: #7c5f26;
  --line: rgba(123, 95, 38, 0.22);
  --shadow: 0 20px 60px rgba(39, 48, 45, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.96), rgba(255, 253, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(185, 151, 87, 0.04) 0, rgba(185, 151, 87, 0.04) 1px, transparent 1px, transparent 48px);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--snow);
  background: var(--ink);
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: 72px;
  padding: 12px max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(185, 151, 87, 0.18);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  border-bottom-color: rgba(185, 151, 87, 0.32);
  box-shadow: 0 12px 34px rgba(39, 48, 45, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: #41504c;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #7c5f26;
  background: rgba(241, 217, 155, 0.24);
  border-color: rgba(185, 151, 87, 0.78);
  box-shadow: 0 0 0 3px rgba(185, 151, 87, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: #241b0a;
  font-weight: 800;
  background: linear-gradient(180deg, #f1d99b, #b99757);
  border: 1px solid rgba(124, 95, 38, 0.35);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff8df;
  background: linear-gradient(180deg, #cda957, #7c5f26);
  border-color: rgba(255, 248, 223, 0.92);
  box-shadow: 0 0 0 3px rgba(241, 217, 155, 0.26), 0 10px 26px rgba(124, 95, 38, 0.24);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  color: #7c5f26;
  background: rgba(241, 217, 155, 0.24);
  border-color: rgba(185, 151, 87, 0.78);
  box-shadow: 0 0 0 3px rgba(185, 151, 87, 0.14);
  outline: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: 108px 20px 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 27, 25, 0.72), rgba(18, 27, 25, 0.44) 44%, rgba(247, 244, 236, 0.16)),
    linear-gradient(0deg, rgba(247, 244, 236, 0.7), transparent 26%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: var(--snow);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--deep-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: #f4d991;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 800;
  color: #f4d991;
  background: linear-gradient(180deg, #fff8df 0%, #f1d99b 42%, #b99757 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.1rem;
  line-height: 1.25;
  color: #7c5f26;
  background: linear-gradient(90deg, #24302e 0%, #7c5f26 42%, #b99757 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  h1 {
    color: #f1d99b;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  h2 {
    color: #7c5f26;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.hero-copy {
  width: min(720px, 100%);
  margin-bottom: 26px;
  font-size: 1.1rem;
}

.hero-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn.primary {
  color: #241b0a;
  background: linear-gradient(180deg, #f1d99b, #b99757);
  border-color: rgba(124, 95, 38, 0.35);
  text-shadow: none;
}

.btn.ghost {
  color: inherit;
  background: rgba(255, 253, 248, 0.14);
}

.btn:hover,
.btn:focus-visible {
  color: #7c5f26;
  border-color: rgba(241, 217, 155, 0.9);
  box-shadow: 0 0 0 3px rgba(241, 217, 155, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.btn:active,
.site-nav a:active,
.route-tabs button:active,
.gallery-control:active {
  transform: translateY(0);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  color: #fff8df;
  background: linear-gradient(180deg, #cda957, #7c5f26);
  border-color: rgba(255, 248, 223, 0.92);
  box-shadow: 0 0 0 3px rgba(241, 217, 155, 0.28), 0 12px 28px rgba(124, 95, 38, 0.26);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  color: #f6dfa1;
  background: rgba(255, 253, 248, 0.2);
}

.hero-facts {
  width: min(760px, 100%);
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.3);
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-facts div {
  padding: 14px;
  background: rgba(22, 31, 29, 0.38);
}

.hero-facts dt {
  color: #ead8aa;
  font-size: 0.82rem;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

section {
  scroll-margin-top: 88px;
}

.intro-band,
.analysis-band,
.gallery-band,
.faq-band,
.cta-band {
  background: var(--snow);
}

.systems-band,
.guide-band,
.updates-band {
  background: var(--paper);
}

.friend-links-band {
  background:
    linear-gradient(135deg, rgba(36, 48, 46, 0.96), rgba(84, 112, 132, 0.9) 42%, rgba(191, 182, 196, 0.88) 72%, rgba(234, 201, 214, 0.94)),
    var(--paper);
  color: var(--snow);
}

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

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 48px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
}

.section-copy p {
  color: var(--soft-ink);
}

.section-inner > .section-kicker,
.section-inner > h2,
.section-copy > .section-kicker,
.section-copy > h2,
.section-head .section-kicker,
.section-head h2 {
  text-align: center;
}

.section-copy > .section-kicker,
.section-copy > h2 {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.quality-list {
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.quality-list li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
}

.feature-media {
  margin: 0;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.feature-media:hover img {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(185, 151, 87, 0.58);
  box-shadow: 0 26px 70px rgba(39, 48, 45, 0.18);
  filter: saturate(1.06) contrast(1.03);
}

figcaption {
  margin-top: 12px;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.system-grid article,
.insight-list article,
.route-panel,
.faq-list details {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(39, 48, 45, 0.08);
}

.system-grid article {
  min-height: 218px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.system-grid article:hover,
.system-grid article:focus-within {
  transform: translateY(-5px);
  border-color: rgba(185, 151, 87, 0.62);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 48px rgba(39, 48, 45, 0.13);
}

.system-grid article:hover .mark {
  color: #7c5f26;
}

.mark {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--deep-gold);
  font-weight: 800;
}

.system-grid p,
.insight-list p,
.route-panel p,
.timeline span,
.note,
.faq-list p,
.cta-inner p {
  color: var(--soft-ink);
}

.insight-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.insight-list article {
  padding: 18px 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.insight-list article:hover {
  transform: translateX(4px);
  border-color: rgba(185, 151, 87, 0.56);
  box-shadow: 0 18px 38px rgba(39, 48, 45, 0.12);
}

.insight-list p {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--soft-ink);
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.route-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.route-tabs button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--snow);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.route-tabs button:hover,
.route-tabs button:focus-visible {
  color: #7c5f26;
  outline: none;
  background: rgba(241, 217, 155, 0.24);
  border-color: rgba(185, 151, 87, 0.78);
  box-shadow: 0 0 0 3px rgba(185, 151, 87, 0.14);
  transform: translateY(-1px);
}

.route-tabs button[aria-selected="true"] {
  color: #241b0a;
  background: #e8cf8d;
  border-color: rgba(124, 95, 38, 0.44);
}

.route-panel {
  padding: 28px;
  animation: panelFade 220ms ease;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.route-panel ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.gallery-frame {
  margin: 0;
}

.gallery-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.gallery-frame:hover img {
  transform: scale(1.012);
  border-color: rgba(185, 151, 87, 0.62);
  box-shadow: 0 28px 72px rgba(39, 48, 45, 0.2);
  filter: saturate(1.06);
}

.gallery-control {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--deep-gold);
  background: var(--snow);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  outline: none;
  color: #7c5f26;
  background: rgba(241, 217, 155, 0.32);
  border-color: rgba(185, 151, 87, 0.78);
  box-shadow: 0 0 0 3px rgba(185, 151, 87, 0.14);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thumb-row button {
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.thumb-row button:hover,
.thumb-row button:focus-visible {
  border-color: rgba(185, 151, 87, 0.88);
  box-shadow: 0 0 0 3px rgba(185, 151, 87, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.thumb-row button img {
  transition: transform 220ms ease, filter 220ms ease;
}

.thumb-row button:hover img,
.thumb-row button:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.thumb-row button.is-current {
  border-color: var(--gold);
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.timeline li:hover {
  transform: translateX(5px);
  border-color: rgba(185, 151, 87, 0.56);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 16px 34px rgba(39, 48, 45, 0.1);
}

.timeline time {
  color: var(--deep-gold);
  font-weight: 800;
}

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

.faq-list details {
  padding: 0;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(185, 151, 87, 0.54);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 42px rgba(39, 48, 45, 0.1);
}

.faq-list summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: #7c5f26;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
}

.cta-inner {
  text-align: center;
}

.cta-inner p {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .source-links {
  justify-content: center;
  margin-top: 24px;
}

.site-footer {
  background: #27302d;
  color: rgba(255, 253, 248, 0.82);
}

.friend-links-inner {
  text-align: center;
}

.friend-links-inner .section-kicker,
.friend-links-inner h2 {
  color: #f4d991;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.friend-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: rgba(255, 253, 248, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(12, 18, 30, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.friend-links a:hover,
.friend-links a:focus-visible {
  color: #fff8df;
  background: rgba(255, 248, 223, 0.22);
  border-color: rgba(255, 248, 223, 0.54);
  box-shadow: 0 0 0 3px rgba(241, 217, 155, 0.16), 0 14px 28px rgba(12, 18, 30, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.footer-inner {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #f1d99b;
}

@media (max-width: 920px) {
  .site-header {
    min-height: 66px;
    padding: 8px 18px;
  }

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

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: var(--snow);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero {
    min-height: 84svh;
    padding-top: 96px;
  }

  .hero-facts,
  .two-col,
  .two-col.reverse,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.48rem;
  }

  .hero {
    min-height: 82svh;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 27, 25, 0.78), rgba(18, 27, 25, 0.52)),
      linear-gradient(0deg, rgba(247, 244, 236, 0.72), transparent 24%);
  }

  .hero-facts,
  .system-grid,
  .thumb-row {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
    padding: 60px 0;
  }

  .system-grid article {
    min-height: auto;
  }

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

  .gallery-control {
    display: none;
  }

  .route-panel {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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