:root {
  --ivory: #f9f8f3;
  --marble: #ece9e4;
  --paper: #fffdf8;
  --wine: #610411;
  --wine-bright: #8b0016;
  --wine-dark: #30030b;
  --gold: #d4af37;
  --gold-soft: #c5a059;
  --ink: #2a2421;
  --muted: #6f625c;
  --line: rgba(97, 4, 17, 0.18);
  --shadow: 0 20px 50px rgba(48, 3, 11, 0.14);
  --content: 1180px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav-icon,
.button-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon {
  font-size: 15px;
}

.button-icon {
  font-size: 17px;
}

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

button,
.button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--wine);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: #fff;
  background: rgba(48, 3, 11, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(48, 3, 11, 0.98);
  box-shadow: 0 8px 26px rgba(28, 0, 6, 0.24);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 700;
  line-height: 1.2;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid rgba(243, 217, 117, 0.8);
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(48, 3, 11, 0.38);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 26px 0 22px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.primary-nav > a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  top: 14px;
  right: -10px;
  bottom: 11px;
  left: -10px;
  border: 1px solid rgba(212, 175, 55, 0);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-cta):hover,
.primary-nav > a:not(.nav-cta).is-active {
  color: #fff;
}

.primary-nav > a:not(.nav-cta):hover {
  color: #fff8dc;
  text-shadow: 0 0 7px rgba(255, 229, 139, 0.9), 0 0 15px rgba(212, 175, 55, 0.42);
}

.primary-nav > a:not(.nav-cta):hover::before {
  border-color: rgba(239, 207, 101, 0.9);
  box-shadow: 0 0 7px rgba(239, 207, 101, 0.46), inset 0 0 7px rgba(239, 207, 101, 0.14);
  opacity: 1;
  transform: scale(1);
}

.primary-nav > a:not(.nav-cta):hover .nav-icon {
  filter: drop-shadow(0 0 4px rgba(255, 229, 139, 0.9));
}

.primary-nav > a:not(.nav-cta):hover::after,
.primary-nav > a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.primary-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(0);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  color: var(--wine-dark);
  background: var(--gold);
  border: 1px solid #edcf70;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.nav-cta:hover {
  color: var(--wine-dark);
  background: var(--gold);
  transform: translateY(-3px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 620px;
  height: 88svh;
  max-height: 780px;
  overflow: hidden;
  color: #fff;
  background: var(--wine-dark);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(30, 5, 11, 0.64), rgba(30, 5, 11, 0.50));
  box-shadow: none;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 24px;
  left: 24px;
  height: 1px;
  background: rgba(212, 175, 55, 0.55);
}

.hero::before {
  top: calc(var(--header-height) + 20px);
}

.hero::after {
  bottom: 22px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 108px);
}

.hero-content > * {
  max-width: 640px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--wine-bright);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: #f0d77d;
}

.section-kicker.light {
  color: #efd774;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 68px;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--wine-dark);
  background: var(--gold);
  border-color: #f1d471;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
}

.button-primary:hover {
  background: #e1bf4d;
}

.button-secondary {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0 6px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.text-link:hover {
  color: #f2d77b;
  border-color: var(--gold);
}

.hero-facts {
  margin: 45px 0 0;
  padding: 18px 0 0;
  display: flex;
  gap: 0;
  list-style: none;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.hero-facts li {
  min-width: 120px;
  display: grid;
  gap: 1px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts li:last-child {
  border-right: 0;
}

.hero-facts strong {
  color: #f0d77d;
  font-size: 20px;
  line-height: 1.3;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 50%;
  bottom: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  transform: translateX(50%);
  font-size: 24px;
}

.scroll-cue .button-icon {
  font-size: 21px;
}

.section {
  padding: 104px 0;
}

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

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

.section-heading h2,
.section-copy h2,
.feature-lead h2,
.gallery-copy h2,
.faq-intro h2 {
  margin: 0 0 22px;
  color: var(--wine);
  font-size: 40px;
  line-height: 1.32;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.feature-lead > p,
.gallery-copy > p,
.faq-intro > p {
  color: var(--muted);
}

.lead {
  font-size: 18px;
  line-height: 2;
}

figure {
  margin: 0;
}

figcaption {
  padding-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.intro-section {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}

.intro-section::before {
  content: "EMILY";
  position: absolute;
  top: 30px;
  right: 3%;
  color: rgba(97, 4, 17, 0.04);
  font-family: Georgia, serif;
  font-size: 142px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 72px;
}

.portrait-frame {
  position: relative;
  padding: 13px;
  background: var(--paper);
  border: 1px solid rgba(197, 160, 89, 0.6);
  box-shadow: var(--shadow);
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: var(--gold);
}

.portrait-frame::before {
  top: -7px;
  left: -7px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.portrait-frame::after {
  right: -7px;
  bottom: -7px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.info-list {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.info-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:nth-child(odd) {
  margin-right: 24px;
}

.info-list dt {
  color: var(--wine-bright);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

.content-section {
  background: var(--marble);
  border-top: 1px solid rgba(97, 4, 17, 0.08);
  border-bottom: 1px solid rgba(97, 4, 17, 0.08);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: start;
  gap: 54px;
}

.wide-media img,
.route-media img,
.guide-media img,
.feature-media img,
.gallery-large img {
  width: 100%;
  background: #ded8d3;
  object-fit: cover;
  border: 1px solid rgba(197, 160, 89, 0.66);
  box-shadow: var(--shadow);
}

.wide-media img {
  aspect-ratio: 16 / 9;
}

.system-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(97, 4, 17, 0.28);
}

.system-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.system-list > li > span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.system-list h3,
.route-steps h3,
.guide-timeline h3,
.feature-list h3,
.updates-grid h3 {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 18px;
  line-height: 1.45;
}

.system-list p,
.route-steps p,
.guide-timeline p,
.feature-list p,
.updates-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.routes-section {
  color: #fff;
  background: var(--wine-dark);
}

.routes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 64px;
}

.routes-section h2,
.routes-section .lead {
  color: #fff;
}

.route-steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.route-steps > div {
  position: relative;
  padding: 20px 0 0 44px;
  border-top: 1px solid rgba(212, 175, 55, 0.42);
}

.route-steps span {
  position: absolute;
  top: 18px;
  left: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--wine-dark);
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.route-steps h3 {
  color: #f3d879;
}

.route-steps p {
  color: rgba(255, 255, 255, 0.7);
}

.route-media img {
  aspect-ratio: 16 / 9;
}

.route-media figcaption {
  color: rgba(255, 255, 255, 0.62);
}

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

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 64px;
}

.guide-timeline {
  position: relative;
}

.guide-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 1px;
  background: rgba(197, 160, 89, 0.55);
}

.guide-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 0 0 28px;
}

.guide-timeline article:last-child {
  padding-bottom: 0;
}

.guide-index {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.guide-media {
  position: sticky;
  top: 112px;
}

.guide-media img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.features-section {
  color: #fff;
  background: var(--wine);
}

.feature-lead {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  align-items: end;
  justify-content: space-between;
  gap: 80px;
}

.feature-lead h2,
.feature-lead > p {
  color: #fff;
}

.feature-lead > p {
  margin: 0;
}

.feature-media img {
  aspect-ratio: 16 / 7;
  object-position: center 35%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(212, 175, 55, 0.46);
  border-left: 1px solid rgba(212, 175, 55, 0.46);
}

.feature-list article {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid rgba(212, 175, 55, 0.46);
  border-bottom: 1px solid rgba(212, 175, 55, 0.46);
}

.feature-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1;
}

.feature-list h3 {
  color: #fff;
}

.feature-list p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-section {
  background: var(--ivory);
}

.gallery-heading {
  margin-bottom: 42px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(260px, 0.42fr);
  align-items: start;
  gap: 24px;
}

.gallery-large {
  min-width: 0;
}

.gallery-large img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(197, 160, 89, 0.72);
  box-shadow: var(--shadow);
}

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

.gallery-thumb {
  position: relative;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(197, 160, 89, 0.58);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-selected {
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(48, 3, 11, 0.2), 0 0 0 2px rgba(212, 175, 55, 0.18);
  transform: translateY(-3px);
}

.gallery-thumb:hover img,
.gallery-thumb.is-selected img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.035);
}

.updates-section {
  background: var(--marble);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(97, 4, 17, 0.24);
  border-left: 1px solid rgba(97, 4, 17, 0.24);
}

.updates-grid article {
  min-height: 220px;
  padding: 28px 24px;
  background: rgba(255, 253, 248, 0.38);
  border-right: 1px solid rgba(97, 4, 17, 0.24);
  border-bottom: 1px solid rgba(97, 4, 17, 0.24);
}

.updates-grid time {
  display: block;
  margin-bottom: 30px;
  color: var(--wine-bright);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

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

.faq-layout {
  display: block;
}

.faq-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.faq-intro .button {
  margin-top: 20px;
}

.faq-list {
  max-width: 920px;
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.faq-list details[open] summary {
  color: var(--wine);
}

.faq-list details p {
  margin: -4px 52px 23px 0;
  color: var(--muted);
}

.partner-links {
  padding: 54px 20px 58px;
  color: #fff;
  background: var(--wine-dark);
  border-top: 1px solid rgba(212, 175, 55, 0.42);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.partner-links-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.partner-kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.partner-links h2 {
  margin: 0 0 26px;
  color: #f4d875;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: 0;
}

.partner-links-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.partner-links-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 999px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-links-list a:hover {
  color: var(--wine-dark);
  background: var(--gold);
  border-color: #f1d471;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.22), 0 0 18px rgba(212, 175, 55, 0.22);
  transform: translateY(-3px);
}

.site-footer {
  padding: 42px 0 30px;
  color: rgba(255, 255, 255, 0.68);
  background: #1c0207;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px 36px;
}

.footer-brand {
  color: #fff;
}

.footer-inner > p {
  margin: 0;
}

.footer-inner nav {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

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

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-inner nav .nav-icon {
  font-size: 13px;
}

.copyright {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-column: 1 / -1;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: var(--wine);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--wine-bright);
}

.floating-cta {
  position: fixed;
  z-index: 890;
  right: 22px;
  bottom: 82px;
  min-height: 46px;
  padding: 10px 17px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(48, 3, 11, 0.24), 0 0 0 1px rgba(243, 212, 113, 0.2);
  animation: floating-cta-bob 3.8s ease-in-out infinite;
}

.floating-cta:hover {
  animation-play-state: paused;
}

@keyframes floating-cta-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.noscript-note {
  margin: 0;
  padding: 10px;
  color: #fff;
  background: var(--wine);
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (hover: hover) and (pointer: fine) {
  .hero:hover .hero-image {
    transform: scale(1.015);
    filter: saturate(1.05) contrast(1.02);
  }

  .button:hover::before {
    left: 125%;
  }

  .button:hover .button-icon,
  .text-link:hover .button-icon {
    transform: translateX(3px);
  }

  .button-icon {
    transition: transform 180ms ease, filter 180ms ease;
  }

  .text-link:hover .button-icon {
    filter: drop-shadow(0 0 4px rgba(242, 215, 123, 0.75));
  }

  .portrait-frame,
  .wide-media img,
  .route-media img,
  .guide-media img,
  .feature-media img,
  .gallery-large img {
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 320ms ease, filter 320ms ease, border-color 320ms ease;
  }

  .portrait-frame:hover,
  .wide-media:hover img,
  .route-media:hover img,
  .guide-media:hover img,
  .feature-media:hover img,
  .gallery-large:hover img {
    transform: translateY(-7px) scale(1.008);
    border-color: rgba(212, 175, 55, 0.95);
    box-shadow: 0 28px 65px rgba(48, 3, 11, 0.24), 0 0 0 1px rgba(212, 175, 55, 0.16);
    filter: saturate(1.07) contrast(1.025);
  }

  .portrait-frame:hover::before,
  .portrait-frame:hover::after {
    width: 72px;
    height: 72px;
  }

  .portrait-frame::before,
  .portrait-frame::after {
    transition: width 280ms ease, height 280ms ease, filter 280ms ease;
  }

  .portrait-frame:hover::before,
  .portrait-frame:hover::after {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.55));
  }

  .info-list div,
  .system-list li,
  .route-steps > div,
  .guide-timeline article,
  .feature-list article,
  .updates-grid article,
  .faq-list details {
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .info-list div:hover {
    background: rgba(212, 175, 55, 0.08);
    box-shadow: inset 3px 0 0 var(--gold);
    transform: translateX(5px);
  }

  .system-list li:hover {
    padding-left: 14px;
    background: rgba(255, 253, 248, 0.72);
    box-shadow: inset 3px 0 0 var(--gold-soft);
    transform: translateX(4px);
  }

  .system-list li {
    transition: padding-left 220ms ease, transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  }

  .system-list li:hover > span {
    color: var(--wine-bright);
    transform: scale(1.08);
  }

  .system-list > li > span,
  .route-steps span,
  .guide-index,
  .feature-list span {
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  }

  .route-steps > div:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
  }

  .route-steps > div:hover span {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.38);
  }

  .guide-timeline article:hover {
    transform: translateX(7px);
  }

  .guide-timeline article:hover .guide-index {
    color: #fff;
    background: var(--wine);
    border-color: var(--wine);
    box-shadow: 0 7px 20px rgba(97, 4, 17, 0.22);
    transform: scale(1.08);
  }

  .feature-list article:hover {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(212, 175, 55, 0.08));
    border-color: rgba(243, 217, 117, 0.88);
    box-shadow: inset 0 0 0 1px rgba(243, 217, 117, 0.24), 0 18px 38px rgba(30, 0, 7, 0.24);
    transform: translateY(-6px);
  }

  .feature-list article:hover span {
    color: #f3d975;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
    transform: translateX(5px);
  }

  .updates-grid article {
    position: relative;
    overflow: hidden;
  }

  .updates-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wine-bright), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 260ms ease;
  }

  .updates-grid article:hover {
    z-index: 1;
    background: var(--paper);
    border-color: rgba(197, 160, 89, 0.78);
    box-shadow: 0 18px 45px rgba(48, 3, 11, 0.15);
    transform: translateY(-7px);
  }

  .updates-grid article:hover::before {
    transform: scaleX(1);
  }

  .updates-grid article:hover time {
    color: var(--gold-soft);
  }

  .updates-grid time {
    transition: color 220ms ease, letter-spacing 220ms ease;
  }

  .updates-grid article:hover time {
    letter-spacing: 0.08em;
  }

  .faq-list details:hover {
    background: rgba(212, 175, 55, 0.06);
    box-shadow: inset 3px 0 0 rgba(197, 160, 89, 0.72);
  }

  .faq-list summary {
    transition: color 180ms ease, padding-left 180ms ease;
  }

  .faq-list details:hover summary {
    padding-left: 14px;
    color: var(--wine-bright);
  }

  .faq-list summary::after {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  }

  .faq-list details:hover summary::after {
    color: #fff;
    background: var(--wine);
    border-color: var(--wine);
    box-shadow: 0 5px 15px rgba(97, 4, 17, 0.2);
    transform: rotate(90deg);
  }

  .faq-list details[open]:hover summary::after {
    transform: none;
  }

  .scroll-cue:hover,
  .back-to-top:hover {
    color: var(--wine-dark);
    background: var(--gold);
    border-color: #f1d471;
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.42);
  }
}

@media (max-width: 1060px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    padding: 22px 28px 36px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    background: #30030b;
    border-left: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: -18px 20px 40px rgba(20, 0, 5, 0.32);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav > a:not(.nav-cta) {
    width: 100%;
    justify-content: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 22px;
    width: 100%;
    text-align: center;
  }

  .hero-shade {
    width: 100%;
  }

  .intro-grid,
  .content-split,
  .routes-grid,
  .guide-layout,
  .gallery-grid,
  .faq-layout {
    gap: 42px;
  }

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

@media (max-width: 820px) {
  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: 600px;
    height: 84svh;
    max-height: 700px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    width: 100%;
    background: rgba(34, 4, 10, 0.72);
    box-shadow: none;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 86px);
  }

  .hero h1 {
    max-width: 530px;
    font-size: 50px;
  }

  .hero-subtitle {
    max-width: 540px;
    font-size: 17px;
  }

  .intro-grid,
  .content-split,
  .routes-grid,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

  .portrait-frame {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .section-copy h2,
  .section-heading h2,
  .feature-lead h2,
  .gallery-copy h2,
  .guide-media {
    position: static;
  }

  .guide-media img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

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

  .feature-media img {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 560px) {
  :root {
    --header-height: 62px;
  }

  .nav-shell,
  .section-inner,
  .hero-content,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 570px;
    height: 82svh;
    max-height: 650px;
  }

  .hero::before,
  .hero::after {
    right: 14px;
    left: 14px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 64px);
  }

  .eyebrow {
    max-width: 300px;
  }

  .hero h1 {
    max-width: 340px;
    margin-bottom: 15px;
    font-size: 40px;
  }

  .hero-subtitle {
    max-width: 400px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: auto;
  }

  .hero-facts {
    margin-top: 28px;
    padding-top: 13px;
  }

  .hero-facts li {
    min-width: 0;
    padding-right: 15px;
    margin-right: 15px;
  }

  .hero-facts strong {
    font-size: 17px;
  }

  .scroll-cue {
    bottom: 18px;
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .section-copy h2,
  .section-heading h2,
  .feature-lead h2,
  .gallery-copy h2,
  .faq-intro h2 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.42;
    letter-spacing: 0;
    font-weight: 700;
  }

  .lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .intro-section::before {
    font-size: 68px;
  }

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

  .info-list div:nth-child(odd) {
    margin-right: 0;
  }

  .content-split,
  .routes-grid,
  .guide-layout,
  .faq-layout {
    gap: 34px;
  }

  .screenshot-gallery {
    gap: 18px;
  }

  .gallery-thumbs {
    gap: 9px;
  }

  .system-list li {
    grid-template-columns: 38px 1fr;
  }

  .route-steps,
  .feature-list,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .route-steps {
    gap: 18px;
  }

  .guide-timeline article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .guide-timeline::before {
    left: 20px;
  }

  .guide-index {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .feature-list article,
  .updates-grid article {
    min-height: 0;
    padding: 24px 20px;
  }

  .updates-grid time {
    margin-bottom: 14px;
  }

  .faq-list summary {
    padding-right: 42px;
    font-size: 16px;
  }

  .faq-list details p {
    margin-right: 0;
  }

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

  .footer-inner nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .floating-cta {
    right: 14px;
    bottom: 70px;
    width: auto;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .partner-links {
    padding: 42px 14px 46px;
  }

  .partner-links h2 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .partner-links-list {
    gap: 10px;
  }

  .partner-links-list a {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 13px;
  }
}

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

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

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

@media print {
  .site-header,
  .hero-actions,
  .scroll-cue,
  .back-to-top,
  .floating-cta {
    display: none !important;
  }

  .hero {
    min-height: 0;
    height: auto;
    padding: 50px 0;
  }

  .section {
    padding: 36px 0;
  }

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