:root {
  --bg: #11150f;
  --bg-soft: #172017;
  --surface: #f4ead8;
  --surface-strong: #fff8ec;
  --surface-muted: #e2d0b2;
  --ink: #241b12;
  --ink-soft: #5d4b35;
  --text-on-dark: #f6ead8;
  --text-muted-dark: #d3c2a3;
  --line: rgba(59, 45, 27, .18);
  --line-dark: rgba(246, 234, 216, .16);
  --accent: #b97832;
  --accent-strong: #d9923a;
  --forest: #263c2c;
  --moss: #738856;
  --clay: #8a4d32;
  --shadow: 0 18px 50px rgba(18, 14, 9, .24);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
  --font-cn: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

a,
button,
img,
details,
article,
figure {
  -webkit-tap-highlight-color: transparent;
}

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

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: .45rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(17, 21, 15, .88);
  color: var(--text-on-dark);
  backdrop-filter: blur(14px);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(17, 21, 15, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  opacity: .96;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .36);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted-dark);
  font-size: .78rem;
  line-height: 1.2;
}

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

.site-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--text-muted-dark);
  font-size: .95rem;
  line-height: 1.2;
  overflow: hidden;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: .7;
  transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .nav-download {
  margin-left: 10px;
  background: var(--accent-strong);
  border: 1px solid rgba(0, 0, 0, .08);
  color: #1b130d;
  font-weight: 800;
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  color: #1b130d;
  background: #edaa4c;
  box-shadow: 0 10px 22px rgba(217, 146, 58, .28);
}

.site-nav .nav-download::after {
  display: none;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--text-on-dark);
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(540px, 72svh, 660px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  color: var(--text-on-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.88) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 12, .92), rgba(13, 17, 12, .66) 46%, rgba(13, 17, 12, .24)),
    linear-gradient(180deg, rgba(13, 17, 12, .2), rgba(13, 17, 12, .62));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 74px 0 54px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: #fff7e8;
  font-size: clamp(1.95rem, 4.8vw, 3.95rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--text-muted-dark);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, .2) 50%, transparent 82%);
  transform: translateX(-120%);
  transition: transform .45s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--accent-strong);
  color: #1b130d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #edaa4c;
  box-shadow: 0 18px 34px rgba(217, 146, 58, .24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08);
  color: var(--text-on-dark);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, .15);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .14);
}

.inline-cta {
  margin-top: 12px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
}

.hero-facts div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .24);
}

.hero-facts dt {
  color: var(--text-muted-dark);
  font-size: .78rem;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--text-on-dark);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-light {
  background: var(--surface);
}

.section-muted {
  background: #e9dcc7;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
    var(--bg-soft);
  color: var(--text-on-dark);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

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

.section-copy p:first-of-type {
  color: var(--ink);
  font-size: 1.05rem;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.9vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.section h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

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

.section-dark .section-heading p,
.section-dark article p {
  color: var(--text-muted-dark);
}

.media-block {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #2d241a;
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.media-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease, filter .28s ease;
}

.media-block.tall img {
  aspect-ratio: 4 / 3;
}

.media-block:hover,
.media-block:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(26, 19, 12, .22);
}

.media-block:hover img,
.media-block:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

figcaption {
  padding: 12px 14px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  font-size: .9rem;
  line-height: 1.55;
}

.map-grid,
.release-list,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.map-grid article,
.release-list article,
.tips-grid article,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, .72);
  padding: 22px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.section-dark .map-grid article,
.section-dark .release-list article {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .055);
}

.map-grid article:hover,
.release-list article:hover,
.tips-grid article:hover,
.feature-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 120, 50, .4);
  box-shadow: 0 18px 38px rgba(35, 24, 14, .14);
}

.section-dark .map-grid article:hover,
.section-dark .release-list article:hover {
  border-color: rgba(217, 146, 58, .34);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.map-grid p,
.release-list p,
.tips-grid p,
.feature-list p {
  color: var(--ink-soft);
}

.section-dark .map-grid p,
.section-dark .release-list p {
  color: var(--text-muted-dark);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 12px 34px rgba(50, 34, 18, .16);
  transition: transform .28s ease, box-shadow .28s ease;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
}

.gallery-grid figure:hover,
.gallery-grid figure:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(50, 34, 18, .2);
}

.gallery-grid figure:hover img,
.gallery-grid figure:focus-within img {
  transform: scale(1.04);
  filter: contrast(1.03) saturate(1.04);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
  margin-bottom: 30px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 10px 28px rgba(49, 35, 20, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #283b28;
  color: var(--text-on-dark);
  font-weight: 800;
  transition: transform .24s ease, background-color .24s ease;
}

.timeline article:hover {
  transform: translateY(-4px);
  border-left-color: var(--accent-strong);
  box-shadow: 0 18px 38px rgba(49, 35, 20, .14);
}

.timeline article:hover span {
  transform: scale(1.06);
  background: #335038;
}

.timeline h3 {
  margin-top: 0;
}

.timeline p,
.tips-grid li {
  color: var(--ink-soft);
}

.tips-grid {
  margin-top: 24px;
}

.release-list article {
  min-height: 160px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  line-height: 1.35;
  transition: background-color .2s ease, color .2s ease;
}

summary::marker {
  color: var(--accent);
}

details p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

details:hover,
details[open] {
  transform: translateY(-2px);
  border-color: rgba(185, 120, 50, .34);
  box-shadow: 0 14px 30px rgba(44, 30, 16, .1);
}

details:hover summary,
details[open] summary {
  background: rgba(185, 120, 50, .06);
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(23, 32, 23, .94), rgba(38, 60, 44, .9)),
    var(--forest);
  color: var(--text-on-dark);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta p {
  max-width: 720px;
  color: var(--text-muted-dark);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.site-footer {
  padding: 26px 0;
  background: #0e120d;
  color: var(--text-muted-dark);
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .section-grid,
  .feature-layout,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .map-grid,
  .release-list,
  .tips-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .final-cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(17, 21, 15, .98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .34);
  }

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

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

  .site-nav .nav-download {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: clamp(520px, 78svh, 620px);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(13, 17, 12, .72), rgba(13, 17, 12, .9)),
      linear-gradient(90deg, rgba(13, 17, 12, .82), rgba(13, 17, 12, .46));
  }

  .hero-content {
    padding: 46px 0 34px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 6.8vw, 2.05rem);
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: .98rem;
    line-height: 1.62;
    margin-bottom: 20px;
  }

  .hero-actions,
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts div {
    padding: 9px 8px;
  }

  .hero-facts dt {
    font-size: .72rem;
  }

  .hero-facts dd {
    font-size: .86rem;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
  }

  .map-grid,
  .release-list,
  .tips-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .section-heading,
  .section-copy,
  .media-block,
  .map-grid article,
  .feature-list article,
  .gallery-grid figure,
  .timeline article,
  .tips-grid article,
  .release-list article,
  details {
    animation: rise-in .5s ease both;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
