:root {
  color-scheme: light;
  --ink: #151923;
  --ink-2: #263041;
  --muted: #677082;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --panel-2: #edf4f1;
  --rail: #151923;
  --coral: #e65361;
  --teal: #2f8f83;
  --gold: #d99a2b;
  --blue: #4866c8;
  --shadow: 0 18px 46px rgba(21, 25, 35, 0.12);
  --shadow-strong: 0 28px 70px rgba(21, 25, 35, 0.18);
  --radius: 8px;
  --rail-w: 264px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 143, 131, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 102, 200, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

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

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

p {
  margin: 0;
}

strong {
  color: var(--ink);
  font-weight: 900;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  transition: top 0.2s ease;
}

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

.site-shell {
  min-height: 100vh;
}

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--rail-w);
  padding: 24px 18px;
  color: #fff;
  background: var(--rail);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 22px;
  box-shadow: 14px 0 36px rgba(21, 25, 35, 0.18);
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rail-brand img {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rail-brand span {
  display: grid;
  min-width: 0;
}

.rail-brand strong {
  color: #fff;
  font-size: 1.02rem;
}

.rail-brand small {
  color: #b8c0cf;
  font-size: 0.76rem;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before {
  top: -6px;
}

.menu-bars::after {
  top: 6px;
}

.rail-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.rail-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius);
  color: #dce2ee;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rail-nav a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: 0;
}

.rail-nav a:hover,
.rail-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.rail-nav a.is-active::before {
  opacity: 1;
}

.rail-cta,
.button {
  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: 900;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rail-cta {
  min-height: 42px;
  padding: 10px 12px;
}

.rail-cta,
.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(230, 83, 97, 0.28);
}

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

.rail-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.rail-brand:focus-visible,
.rail-nav a:focus-visible,
.rail-cta:focus-visible,
.button:focus-visible,
.menu-button:focus-visible,
.thumb:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 143, 131, 0.45);
  outline-offset: 3px;
}

.page-stack {
  width: calc(100% - var(--rail-w));
  margin-left: var(--rail-w);
}

.section-anchor {
  scroll-margin-top: 28px;
}

.cover {
  width: min(100% - 44px, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 44px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.cover-media,
.cover-copy,
.story-board,
.content-map,
.route-section,
.gallery-stage,
.release-log,
.faq-dock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.cover-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.cover-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.version-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.version-strip span {
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(21, 25, 35, 0.84);
  text-align: center;
  font-weight: 900;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cover-copy {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 900;
}

h2 {
  max-width: 860px;
  font-size: clamp(1.62rem, 3.1vw, 2.65rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.13rem, 2vw, 1.42rem);
  font-weight: 900;
}

.lead {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(1.04rem, 1.65vw, 1.28rem);
}

.action-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fact-strip {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact-strip div {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  background: #fff;
}

.fact-strip div + div {
  border-top: 1px solid var(--line);
}

.fact-strip dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.fact-strip dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.section {
  width: min(100% - 44px, var(--max));
  margin: 0 auto 28px;
  padding: clamp(24px, 4vw, 44px);
}

.section-heading {
  max-width: 890px;
}

.section-heading p:not(.label) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 28px;
}

.story-copy {
  display: grid;
  gap: 16px;
  color: var(--ink-2);
  font-size: 1.03rem;
}

.story-visual,
.wide-scene,
.stage-main {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.story-visual img,
.wide-scene img,
.stage-main img {
  width: 100%;
  object-fit: cover;
}

.story-visual img {
  aspect-ratio: 16 / 9;
}

.keyword-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.keyword-board span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid #c8ddd7;
  font-weight: 800;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.map-cell {
  grid-column: span 2;
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.map-cell:nth-child(2),
.map-cell:nth-child(5) {
  background: #eef6f5;
}

.map-cell:nth-child(3),
.map-cell:nth-child(6) {
  background: #fff7e6;
}

.map-cell span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.map-cell p,
.route-step p,
.guide-note p,
.loop-list,
.version-note,
.release-row p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.wide-scene {
  margin-top: 18px;
}

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

.route-board {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.route-step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.route-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 16px;
  margin-top: 18px;
}

.guide-note,
.version-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.guide-note h3 + p,
.guide-note h3 + .loop-list {
  margin-top: 12px;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.step-flow span {
  min-height: 42px;
  padding: 10px 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.loop-list {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.loop-list li + li {
  margin-top: 8px;
}

.version-note {
  margin-top: 16px;
  background: #f2f4ff;
}

.stage-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  margin-top: 28px;
}

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

.stage-main figcaption {
  padding: 14px 16px;
  color: var(--ink-2);
  font-weight: 800;
}

.thumb-strip {
  display: grid;
  gap: 10px;
  align-content: start;
}

.thumb {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.thumb img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.thumb.is-active {
  border-color: var(--coral);
  background: #fff0f1;
}

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

.release-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.release-row time {
  color: var(--coral);
  font-weight: 900;
}

.release-row p {
  margin-top: 8px;
}

.faq-dock {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 22px;
  align-items: start;
}

.faq-intro p:not(.label) {
  margin: 14px 0 22px;
  color: var(--muted);
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

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

details p {
  padding: 0 18px 18px;
}

.site-footer {
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  color: var(--muted);
}

.site-footer strong {
  display: inline-flex;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

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

@media (hover: hover) and (pointer: fine) {
  .map-cell:hover,
  .route-step:hover,
  .guide-note:hover,
  .release-row:hover,
  details:hover,
  .thumb:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 143, 131, 0.42);
    box-shadow: var(--shadow);
  }

  .cover-media:hover,
  .story-visual:hover,
  .wide-scene:hover,
  .stage-main:hover {
    box-shadow: var(--shadow-strong);
  }
}

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

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

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

@media (max-width: 1060px) {
  :root {
    --rail-w: 100%;
  }

  .site-rail {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    min-height: auto;
    padding: 12px 16px;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
  }

  .rail-brand img {
    width: 48px;
    height: 34px;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .rail-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 4px;
  }

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

  .rail-nav a {
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .rail-nav a::before,
  .rail-cta {
    display: none;
  }

  .page-stack {
    width: 100%;
    margin-left: 0;
  }

  .section-anchor {
    scroll-margin-top: 96px;
  }

  .cover,
  .story-layout,
  .guide-split,
  .faq-dock {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: auto;
    padding-top: 24px;
  }

  .cover-media,
  .cover-media img {
    min-height: 360px;
  }

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

  .map-cell {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .cover,
  .section,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-rail {
    padding-inline: 12px;
  }

  .rail-brand small {
    display: none;
  }

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

  .cover-copy,
  .section {
    padding: 22px;
  }

  .cover-media,
  .cover-media img {
    min-height: 300px;
  }

  .version-strip,
  .map-grid,
  .stage-shell,
  .release-row,
  .site-footer,
  .step-flow {
    grid-template-columns: 1fr;
  }

  .action-line {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .fact-strip div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

  .stage-shell {
    gap: 12px;
  }

  .thumb-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .thumb {
    min-width: 152px;
    grid-template-columns: 1fr;
  }

  .thumb img {
    width: 100%;
    height: 74px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
