:root {
  --paper: #eef3ec;
  --surface: #fbfcf7;
  --surface-strong: #ffffff;
  --ink: #243235;
  --muted: #657273;
  --line: rgba(45, 65, 66, 0.16);
  --pine: #31584f;
  --pine-dark: #183833;
  --theme-title: #b76068;
  --aqua: #7da9ae;
  --sakura: #c67980;
  --amber: #c79343;
  --violet: #7a6f99;
  --sprite: url("img/game-sprite.svg");
  --shadow: 0 22px 55px rgba(27, 47, 48, 0.13);
  --shadow-hover: 0 26px 64px rgba(24, 56, 51, 0.2);
  --focus-ring: 0 0 0 4px rgba(183, 96, 104, 0.18);
  --radius: 8px;
  --rail: 248px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

section,
#top {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(125, 169, 174, 0.18), transparent 34rem),
    linear-gradient(315deg, rgba(198, 121, 128, 0.12), transparent 30rem),
    var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(49, 88, 79, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 88, 79, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

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

ol,
ul,
dl {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.65rem 0.9rem;
  clip: auto;
  color: #fff;
  background: var(--pine-dark);
  border-radius: var(--radius);
}

.topbar {
  display: none;
}

.page-shell {
  display: block;
  min-height: 100vh;
}

.side-rail {
  position: fixed;
  z-index: 45;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 28px 24px;
  color: #f7fbf7;
  background:
    linear-gradient(180deg, rgba(24, 56, 51, 0.96), rgba(49, 88, 79, 0.92)),
    var(--pine-dark);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.rail-brand,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 800;
}

.rail-brand img,
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.rail-nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.rail-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rail-nav a::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #f1d48a, #f8d6dc);
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.rail-nav a::before,
.button::before,
.quick-facts div::before,
.feature-list article::before,
.guide-card h3::before,
.faq-list summary::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-image: var(--sprite);
  background-repeat: no-repeat;
  background-size: 192px 24px;
}

.rail-nav a:nth-child(1)::before,
.guide-card:nth-child(1) h3::before {
  background-position: 0 0;
}

.rail-nav a:nth-child(2)::before {
  background-position: -48px 0;
}

.rail-nav a:nth-child(3)::before,
.guide-card:nth-child(2) h3::before {
  background-position: -24px 0;
}

.rail-nav a:nth-child(4)::before,
.quick-facts .fact-platform::before,
.guide-card:nth-child(3) h3::before {
  background-position: -72px 0;
}

.rail-nav a:nth-child(5)::before {
  background-position: -120px 0;
}

.rail-nav a:nth-child(6)::before,
.faq-list summary::before {
  background-position: -144px 0;
}

.quick-facts .fact-release::before {
  background-position: -120px 0;
}

.rail-nav a:hover,
.rail-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.rail-nav a:hover::after,
.rail-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleY(1);
}

.nav-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.35rem;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.rail-nav a:hover .nav-arrow,
.rail-nav a:focus-visible .nav-arrow {
  color: #f1d48a;
  transform: translateX(3px);
}

.rail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.65rem 0.9rem;
  color: #172f2b;
  background: #f1d48a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(10, 26, 23, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rail-action:hover,
.rail-action:focus-visible {
  background: #f8dc92;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(10, 26, 23, 0.32);
}

.rail-action::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-right: 0.45rem;
  background-image: var(--sprite);
  background-repeat: no-repeat;
  background-size: 176px 22px;
  background-position: -154px 0;
}

main {
  min-width: 0;
  margin-left: var(--rail);
  padding: 36px clamp(22px, 4vw, 64px) 72px;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  grid-template-areas:
    "copy media"
    "facts facts";
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 72px);
}

.lead-copy {
  position: relative;
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(251, 252, 247, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lead-copy::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 160px;
  height: 160px;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 96, 104, 0.12) 0 34%, transparent 35%),
    conic-gradient(from 45deg, transparent 0 12.5%, rgba(183, 96, 104, 0.18) 12.5% 15%, transparent 15% 25%, rgba(49, 88, 79, 0.12) 25% 27.5%, transparent 27.5% 100%);
  border: 1px solid rgba(183, 96, 104, 0.12);
  border-radius: 50%;
}

.lead-copy::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 54px);
  bottom: 22px;
  width: 136px;
  height: 6px;
  background: linear-gradient(90deg, var(--theme-title), var(--amber), transparent);
  border-radius: 999px;
  opacity: 0.68;
}

.kicker,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--sakura);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--pine-dark);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  color: var(--theme-title);
  font-size: clamp(2.9rem, 6vw, 5.4rem);
}

h2 {
  color: var(--theme-title);
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
}

h3 {
  font-size: 1.18rem;
}

.lead-text {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before {
  margin-right: 0.5rem;
}

.button.primary::before {
  background-position: -168px 0;
}

.button.secondary::before {
  background-position: -24px 0;
}

.button.primary {
  color: #fff;
  background: var(--pine);
  border-color: var(--pine);
  box-shadow: 0 14px 28px rgba(49, 88, 79, 0.22);
}

.button.secondary {
  color: var(--pine-dark);
  background: var(--surface-strong);
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--pine-dark);
  border-color: var(--pine-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(183, 96, 104, 0.36);
  background: #fff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.lead-media {
  position: relative;
  grid-area: media;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-media::after,
.image-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, transparent 62%, rgba(24, 56, 51, 0.34));
}

.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.lead-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.quick-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick-facts div {
  position: relative;
  padding: 1.1rem;
  padding-left: 3.35rem;
  background: rgba(251, 252, 247, 0.9);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quick-facts div:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(27, 47, 48, 0.12);
}

.quick-facts div::before {
  position: absolute;
  left: 1rem;
  top: 1.12rem;
  width: 28px;
  height: 28px;
  background-size: 224px 28px;
}

.quick-facts .fact-type::before {
  background-position: 0 0;
}

.quick-facts .fact-maker::before {
  background-position: -56px 0;
}

.quick-facts .fact-platform::before {
  background-position: -84px 0;
}

.quick-facts .fact-release::before {
  background-position: -140px 0;
}

.feature-novel::before {
  background-position: 0 0;
}

.feature-route::before {
  background-position: -38px 0;
}

.feature-scene::before {
  background-position: -76px 0;
}

.feature-music::before {
  background-position: -152px 0;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-facts dd {
  margin: 0.22rem 0 0;
  color: var(--pine-dark);
  font-size: 1.02rem;
  font-weight: 900;
}

.content-block,
.feature-band,
.guide-section,
.timeline-section,
.faq-section,
.image-strip {
  margin-top: 58px;
}

.content-block {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: clamp(26px, 5vw, 56px);
  background: rgba(251, 252, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-block:hover {
  border-color: rgba(183, 96, 104, 0.22);
  box-shadow: 0 18px 46px rgba(27, 47, 48, 0.1);
}

.content-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(183, 96, 104, 0.16), transparent 24%),
    repeating-linear-gradient(135deg, transparent 0 15px, rgba(49, 88, 79, 0.035) 15px 16px);
}

.content-block > * {
  position: relative;
}

.content-block.reverse {
  grid-template-columns: 130px minmax(300px, 0.86fr) minmax(0, 0.9fr);
}

.content-block.reverse .text-column {
  grid-column: 3;
}

.content-block.reverse .route-grid {
  grid-column: 2;
  grid-row: 1;
}

.text-column p {
  color: var(--muted);
  font-size: 1.02rem;
}

.text-column h2 {
  margin-bottom: 1.2rem;
}

.info-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.info-table div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.info-table span {
  color: var(--muted);
  font-size: 0.84rem;
}

.info-table strong {
  font-size: 1rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 1.3rem;
}

.section-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.section-head p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.feature-list article {
  position: relative;
  min-height: 280px;
  padding: 1.2rem;
  padding-top: 4.2rem;
  background: var(--surface);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.feature-list article::before {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 38px;
  height: 38px;
  background-size: 304px 38px;
}

.feature-list article::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(183, 96, 104, 0.16);
  border-radius: 50%;
}

.feature-list article:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 16px 34px rgba(27, 47, 48, 0.14);
}

.feature-list article:hover::after {
  border-color: rgba(183, 96, 104, 0.32);
}

.feature-list span {
  position: absolute;
  right: 1.15rem;
  top: 1rem;
  display: block;
  color: var(--sakura);
  font-weight: 900;
}

.feature-list p,
.route-grid p,
.guide-card p,
.timeline p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.image-strip figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.image-strip figure:first-child {
  border-color: rgba(183, 96, 104, 0.32);
}

.image-strip figure:nth-child(2) {
  border-color: rgba(49, 88, 79, 0.32);
}

.image-strip figure:nth-child(3) {
  border-color: rgba(199, 147, 67, 0.38);
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.image-strip figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.image-strip figure:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.02);
}

.image-strip figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.32rem 0.55rem;
  color: #fff;
  background: rgba(24, 56, 51, 0.76);
  border-radius: var(--radius);
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.image-strip figure:hover figcaption {
  background: rgba(183, 96, 104, 0.88);
  transform: translateY(-2px);
}

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

.route-grid article {
  position: relative;
  padding: 1rem;
  padding-left: 1.35rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.route-grid article::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  background: linear-gradient(180deg, var(--theme-title), var(--amber));
  border-radius: 0 999px 999px 0;
}

.route-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 96, 104, 0.28);
  box-shadow: 0 16px 34px rgba(27, 47, 48, 0.12);
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.guide-card {
  position: relative;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 96, 104, 0.28);
  box-shadow: 0 18px 38px rgba(27, 47, 48, 0.12);
}

.guide-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.guide-card:last-child {
  grid-column: 1 / -1;
}

.guide-card ol {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  counter-reset: guide;
}

.guide-card li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.guide-card li:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.guide-card li::before {
  counter-increment: guide;
  content: counter(guide, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--amber);
  font-weight: 900;
}

.timeline-section {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
  background: var(--pine-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-section::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 180px;
  height: 180px;
  background-image: var(--sprite);
  background-size: 1440px 180px;
  background-position: -900px 0;
  opacity: 0.08;
}

.timeline-section > * {
  position: relative;
}

.timeline-section .section-label {
  color: #fff;
}

.timeline-section h2 {
  color: #f1d48a;
}

.timeline {
  display: grid;
  gap: 1px;
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, transform 180ms ease;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #f1d48a;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(241, 212, 138, 0.14);
}

.timeline li:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.timeline time {
  padding-left: 1.1rem;
}

.timeline time {
  color: #f1d48a;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

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

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  background: #fff;
  border-color: rgba(183, 96, 104, 0.26);
  box-shadow: 0 14px 30px rgba(27, 47, 48, 0.08);
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--pine-dark);
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--theme-title);
  font-size: 1.25rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary::before {
  background-position: -144px 0;
}

.faq-list p {
  padding: 0 1.1rem 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-left: var(--rail);
  padding: 26px clamp(22px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 780px;
  margin: 0;
}

.site-footer a {
  color: var(--pine-dark);
  font-weight: 900;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--theme-title);
}

.floating-download {
  position: fixed;
  z-index: 70;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.76rem 1rem;
  color: #172f2b;
  background:
    linear-gradient(135deg, #f8dc92, #f1d48a 56%, #f7e7b0),
    #f1d48a;
  border: 1px solid rgba(49, 88, 79, 0.18);
  border-radius: 999px;
  font-weight: 900;
  box-shadow:
    0 18px 42px rgba(24, 56, 51, 0.22),
    0 0 0 6px rgba(241, 212, 138, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-download::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(183, 96, 104, 0.28), rgba(49, 88, 79, 0.18));
  opacity: 0;
  transition: opacity 180ms ease;
}

.floating-download-icon {
  width: 24px;
  height: 24px;
  background-image: var(--sprite);
  background-repeat: no-repeat;
  background-size: 192px 24px;
  background-position: -168px 0;
}

.floating-download:hover,
.floating-download:focus-visible {
  transform: translateY(-4px);
  filter: saturate(1.05);
  box-shadow:
    0 24px 52px rgba(24, 56, 51, 0.3),
    0 0 0 8px rgba(241, 212, 138, 0.22);
}

.floating-download:hover::before,
.floating-download:focus-visible::before {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  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-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  :root {
    --rail: 218px;
  }

  .lead-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "facts";
    min-height: auto;
  }

  .lead-media {
    min-height: 420px;
  }

  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
  }

  .content-block.reverse .text-column,
  .content-block.reverse .route-grid {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 860px) {
  body {
    padding-top: 68px;
  }

  html {
    scroll-padding-top: 86px;
  }

  section,
  #top {
    scroll-margin-top: 86px;
  }

  .topbar {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(251, 252, 247, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .menu-button {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--pine-dark);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

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

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

  .page-shell {
    display: block;
  }

  .side-rail {
    position: fixed;
    z-index: 55;
    top: 68px;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: calc(100vh - 68px);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .side-rail.is-open {
    transform: translateX(0);
  }

  .rail-brand {
    display: none;
  }

  main {
    margin-left: 0;
    padding: 22px 18px 54px;
  }

  .lead-copy {
    padding: 26px 20px;
  }

  .quick-facts,
  .section-head,
  .guide-layout,
  .image-strip,
  .timeline li {
    grid-template-columns: 1fr;
  }

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

  .feature-list article {
    min-height: auto;
  }

  .feature-list span {
    margin-bottom: 1.2rem;
  }

  .image-strip figure {
    min-height: 220px;
  }

  .site-footer {
    margin-left: 0;
    flex-direction: column;
    padding: 24px 18px;
  }

  .floating-download {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0.68rem 0.9rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .lead-media {
    min-height: 300px;
  }

  .lead-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .content-block {
    padding: 22px 18px;
  }

  .floating-download {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
}
