:root {
  color-scheme: dark;
  --bg: #0c1018;
  --bg-soft: #111827;
  --bg-panel: #151d2a;
  --text: #eef3f8;
  --muted: #aeb8c5;
  --line: rgba(255, 255, 255, 0.12);
  --red: #e25757;
  --cyan: #63d5e6;
  --gold: #e0b96a;
  --green: #6ed19c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
}

body::before {
  top: 84px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 213, 230, 0.2) 0%, rgba(99, 213, 230, 0) 72%);
}

body::after {
  right: -140px;
  bottom: 80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 87, 87, 0.18) 0%, rgba(226, 87, 87, 0) 74%);
}

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--cyan);
  color: #071018;
  border-radius: var(--radius);
  transform: translateY(-140%);
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(8, 12, 18, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(8, 12, 18, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  outline: none;
}

.brand:hover img,
.brand:focus-visible img {
  transform: scale(1.04);
  border-color: rgba(99, 213, 230, 0.48);
  box-shadow: 0 10px 24px rgba(99, 213, 230, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d7dde6;
  font-size: 15px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  isolation: isolate;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a span {
  line-height: 1;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: -6px -8px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transform: scale(0.72);
  transform-origin: center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  transform: scale(1);
  opacity: 1;
}

.nav-download {
  color: var(--cyan) !important;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(99, 213, 230, 0.22);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(99, 213, 230, 0.38);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease, margin 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: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 72px;
  border-bottom: 1px solid var(--line);
}

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

.hero-bg {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 9, 14, 0.9), rgba(6, 9, 14, 0.62) 48%, rgba(6, 9, 14, 0.22)),
    linear-gradient(0deg, rgba(12, 16, 24, 0.96), rgba(12, 16, 24, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding-top: 44px;
}

.hero-content > * {
  animation: rise-in 640ms ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 70ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 140ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 210ms;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: 12px;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text);
  background: linear-gradient(90deg, #ffffff 0%, var(--cyan) 54%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 720px;
  color: #dbe3ec;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-135%);
  transition: transform 320ms ease;
  pointer-events: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 34px rgba(226, 87, 87, 0.32);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

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

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(226, 87, 87, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(99, 213, 230, 0.36);
  background: rgba(99, 213, 230, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: currentColor;
}

.btn .icon,
.site-nav .icon,
.lightbox-close .icon {
  opacity: 0.95;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  gap: 12px;
}

.hero-meta div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 22, 32, 0.72);
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.hero-meta div:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 213, 230, 0.34);
  background: rgba(17, 28, 40, 0.82);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-meta dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.intro-section,
.guide-section,
.faq-section {
  background: var(--bg);
}

.content-section,
.gallery-section {
  background: var(--bg-soft);
}

.updates-section {
  background: #0d141f;
}

.two-column,
.guide-grid,
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

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

.section-heading.compact {
  max-width: 720px;
}

h2 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--cyan);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.feature-block p,
.route-grid p,
.timeline p,
.faq-list p,
.download-band p,
.site-footer p {
  color: var(--muted);
}

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

.fact-grid div,
.feature-block,
.guide-aside,
.route-grid article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.fact-grid div {
  padding: 16px;
}

.fact-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.fact-grid span {
  color: var(--muted);
  font-size: 14px;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.media-panel figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
  transition: color 220ms ease;
}

.media-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 213, 230, 0.32);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

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

.media-panel:hover figcaption {
  color: #dfe8f1;
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.feature-block {
  padding: 24px;
}

.fact-grid div:hover,
.feature-block:hover,
.guide-aside:hover,
.route-grid article:hover,
.timeline article:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 213, 230, 0.28);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #071018;
  background: var(--gold);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(224, 185, 106, 0.24);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1fr;
  gap: 16px;
}

.screenshot-strip figure {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: 8px;
  background: #000;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.screenshot-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.screenshot-strip figure:first-child img {
  object-position: center top;
}

.screenshot-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.74);
  color: #fff;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease;
}

.screenshot-strip figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.screenshot-strip figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.screenshot-strip figure:hover figcaption {
  transform: translateY(-2px);
  background: rgba(12, 20, 30, 0.84);
}

.guide-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: var(--muted);
}

.guide-list strong {
  color: #fff;
}

.guide-aside {
  padding: 28px;
  background: rgba(99, 213, 230, 0.08);
}

.guide-aside ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.route-section {
  padding-top: 0;
  background: var(--bg);
}

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

.route-grid article {
  padding: 22px;
}

.route-grid article:nth-child(2) {
  border-color: rgba(226, 87, 87, 0.32);
}

.route-grid article:nth-child(3) {
  border-color: rgba(224, 185, 106, 0.36);
}

.gallery-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

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

.gallery-item {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.74);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 438px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:first-child img {
  object-position: center 22%;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(99, 213, 230, 0.3);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  outline: none;
}

.gallery-item:hover .gallery-badge,
.gallery-item:focus-visible .gallery-badge {
  transform: scale(1.08);
  background: rgba(99, 213, 230, 0.16);
  border-color: rgba(99, 213, 230, 0.36);
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline article {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline time {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 900;
}

.download-section {
  background: #111722;
  padding: 52px 0;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(99, 213, 230, 0.24);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(99, 213, 230, 0.12), rgba(226, 87, 87, 0.1));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.download-band:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 213, 230, 0.4);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.download-band h2 {
  margin-bottom: 10px;
}

.download-band p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 800;
  transition: color 180ms ease;
}

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

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

.site-footer {
  padding: 40px 0 34px;
  background: #080c12;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  transform: translateY(-2px);
  background: rgba(99, 213, 230, 0.12);
  color: #fff;
  outline: none;
}

.footer-links-band {
  margin-top: 28px;
  padding: 46px 0 50px;
  background:
    radial-gradient(circle at 25% 30%, rgba(99, 213, 230, 0.16), rgba(99, 213, 230, 0) 42%),
    radial-gradient(circle at 78% 62%, rgba(226, 87, 87, 0.12), rgba(226, 87, 87, 0) 40%),
    linear-gradient(90deg, #122535 0%, #182532 52%, #161d29 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.friend-links-wrap h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 34px;
}

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

.friend-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce7f2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.friend-links a:hover,
.friend-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(99, 213, 230, 0.12);
  border-color: rgba(99, 213, 230, 0.28);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  outline: none;
}

.footer-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-note p {
  margin-bottom: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 56px 24px 24px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 74px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 12, 18, 0.98);
  }

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

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

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 9, 14, 0.92), rgba(6, 9, 14, 0.7)),
      linear-gradient(0deg, rgba(12, 16, 24, 0.96), rgba(12, 16, 24, 0.04) 48%);
  }

  .two-column,
  .guide-grid,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

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

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

  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .container,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 18px;
  }

  .hero {
    min-height: 760px;
    padding: 104px 0 54px;
  }

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

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

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

  .hero-meta,
  .fact-grid,
  .feature-layout,
  .route-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .btn span,
  .site-nav a span,
  .lightbox-close span {
    min-width: 0;
  }

  .section {
    padding: 64px 0;
  }

  .gallery-item.tall,
  .gallery-item {
    min-height: 260px;
  }

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

  .friend-links-wrap h2 {
    font-size: 28px;
  }

}

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

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