:root {
  --mint: #f0fdf4;
  --ice: #e0f2fe;
  --deep: #1d4ed8;
  --deep-900: #0f2f78;
  --pool: #0891b2;
  --line: #bfdbfe;
  --yellow: #facc15;
  --pink: #ec4899;
  --paper: #ffffff;
  --text: #16345f;
  --muted: #4b6b93;
  --shadow: 0 18px 50px rgba(15, 47, 120, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--mint) 0%, var(--ice) 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.icon {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

p {
  margin-bottom: 0;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--deep);
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: rgba(29, 78, 216, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid rgba(250, 204, 21, 0.8);
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible,
.site-nav a:not(.nav-cta).is-active {
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.86);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--deep-900);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 8px 18px rgba(250, 204, 21, 0.26);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--deep-900);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: #fff;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, 84svh);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.92;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 40, 96, 0.86) 0%, rgba(10, 70, 150, 0.48) 42%, rgba(10, 40, 96, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 145, 178, 0.02) 0%, rgba(15, 47, 120, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, 84svh);
  padding: 82px 0 54px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--deep-900);
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(4, 22, 64, 0.36);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  color: var(--deep-900);
  background: var(--yellow);
  box-shadow: 0 16px 30px rgba(250, 204, 21, 0.28);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.quick-facts {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.facts-grid div {
  padding: 16px;
  color: var(--deep-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.facts-grid strong,
.facts-grid span {
  display: block;
}

.facts-grid strong {
  margin-bottom: 5px;
  color: var(--pool);
  font-size: 14px;
}

.facts-grid span {
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section-light {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(224, 242, 254, 0.96));
}

.section-band {
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(29, 78, 216, 0.08);
  border-bottom: 1px solid rgba(29, 78, 216, 0.08);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.section-copy h2 {
  margin-bottom: 14px;
  color: var(--deep-900);
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p,
.section-copy p,
.info-card p,
.feature-card p,
.guide-steps p,
.timeline p,
.faq-panel p {
  color: var(--muted);
}

.section-copy p + p {
  margin-top: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 44px;
}

.split-reverse {
  grid-template-columns: minmax(320px, 0.98fr) minmax(0, 1.02fr);
}

.split-reverse .section-copy {
  order: 2;
}

.media-frame,
.wide-media,
.gallery-slide {
  margin: 0;
}

.media-frame img,
.wide-media img,
.gallery-slide img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(29, 78, 216, 0.14);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

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

.wide-media {
  margin-top: 30px;
}

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

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.content-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.info-card,
.feature-card {
  position: relative;
  min-height: 190px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 47, 120, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.screenshots-block {
  margin-top: 36px;
}

.screenshots-block h2 {
  margin-bottom: 18px;
  color: var(--deep-900);
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.screenshot-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 18px;
  align-items: stretch;
}

.screenshot-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.screenshot-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(8, 145, 178, 0.12));
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.screenshot-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.screenshot-thumb {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(29, 78, 216, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(15, 47, 120, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.screenshot-thumb:hover,
.screenshot-thumb:focus-visible,
.screenshot-thumb.is-active {
  border-color: var(--yellow);
  outline: none;
}

.screenshot-thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(250, 204, 21, 0.74);
  pointer-events: none;
}

.info-card h3,
.feature-card h3,
.guide-steps h3,
.timeline h3 {
  margin-bottom: 8px;
  color: var(--deep-900);
  font-size: 20px;
  line-height: 1.3;
}

.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.route-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: var(--deep-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 34px;
}

.guide-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-steps li {
  position: relative;
  padding: 20px 20px 20px 68px;
  background: #fff;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 47, 120, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.guide-steps li::before {
  counter-increment: guide;
  content: counter(guide);
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--deep-900);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.sticky-media {
  position: sticky;
  top: 96px;
}

.gallery {
  position: relative;
  margin-top: 30px;
}

.gallery-track {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-slide {
  grid-area: 1 / 1;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-slide img {
  aspect-ratio: 16 / 9;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: var(--deep);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-control:focus-visible {
  outline: 3px solid var(--yellow);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #93c5fd;
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--deep);
}

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

.timeline article {
  position: relative;
  min-height: 150px;
  padding: 20px 20px 20px 74px;
  background: #fff;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 47, 120, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.timeline span {
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--deep-900);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

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

.faq-item {
  background: #fff;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 47, 120, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--deep-900);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.faq-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.faq-label .icon {
  color: var(--pool);
}

.faq-label span {
  min-width: 0;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: 16px;
  color: var(--pool);
  font-size: 24px;
  line-height: 1;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.is-open .faq-panel {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .facts-grid div:hover,
  .info-card:hover,
  .feature-card:hover,
  .guide-steps li:hover,
  .timeline article:hover,
  .faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.34);
    box-shadow: 0 18px 42px rgba(15, 47, 120, 0.16);
  }

  .facts-grid div:hover,
  .info-card:hover,
  .feature-card:hover {
    background: linear-gradient(180deg, #fff 0%, rgba(224, 242, 254, 0.74) 100%);
  }

  .media-frame:hover img,
  .wide-media:hover img,
  .screenshot-main:hover img {
    transform: translateY(-3px);
    border-color: rgba(250, 204, 21, 0.72);
    box-shadow: 0 22px 56px rgba(15, 47, 120, 0.2);
    filter: saturate(1.06) contrast(1.02);
  }

  .screenshot-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 47, 120, 0.16);
  }

  .screenshot-thumb:hover img {
    transform: scale(1.04);
    filter: saturate(1.08);
  }

  .route-list span:hover {
    transform: translateY(-2px);
    color: var(--deep-900);
    background: var(--yellow);
    border-color: var(--yellow);
  }

  .faq-item:hover button {
    color: var(--deep);
    background: rgba(224, 242, 254, 0.55);
  }

  .button-primary:hover,
  .button-primary:focus-visible {
    box-shadow: 0 18px 34px rgba(250, 204, 21, 0.34);
  }

  .button-ghost:hover,
  .button-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 28px rgba(4, 22, 64, 0.16);
  }
}

.friend-links {
  padding: 52px 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.12), transparent 34%),
    linear-gradient(110deg, var(--deep) 0%, var(--deep-900) 54%, #16435a 100%);
}

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

.friend-links h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 26px rgba(6, 20, 52, 0.18);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  color: var(--deep-900);
  background: var(--yellow);
  border-color: var(--yellow);
  outline: none;
  transform: translateY(-1px);
}

.floating-detail {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  color: var(--deep-900);
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(15, 47, 120, 0.24), 0 8px 20px rgba(250, 204, 21, 0.28);
  font-size: 16px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.floating-detail:hover,
.floating-detail:focus-visible {
  transform: translateY(-3px);
  border-color: #fff;
  box-shadow: 0 22px 46px rgba(15, 47, 120, 0.3), 0 10px 24px rgba(250, 204, 21, 0.34);
  outline: none;
}

.site-footer {
  color: #dbeafe;
  background: var(--deep-900);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

.footer-inner p {
  color: #dbeafe;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--yellow);
  outline: none;
}

@media (max-width: 1024px) {
  .site-nav {
    gap: 0;
    font-size: 14px;
  }

  .site-nav a {
    padding: 0 9px;
  }

  .facts-grid,
  .content-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .split-reverse,
  .guide-layout,
  .screenshot-viewer {
    grid-template-columns: 1fr;
  }

  .split-reverse .section-copy {
    order: initial;
  }

  .sticky-media {
    position: static;
  }
}

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

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

  .brand span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100svh - 64px);
    padding: 14px;
    overflow: auto;
    background: rgba(29, 78, 216, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .site-nav a,
  .site-nav .nav-cta {
    justify-content: center;
    margin-left: 0;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-bg {
    object-position: 54% top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 40, 96, 0.66) 0%, rgba(10, 60, 128, 0.42) 46%, rgba(10, 40, 96, 0.78) 100%);
  }

  .hero-content {
    min-height: 74svh;
    padding: 72px 0 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .quick-facts {
    margin-top: 0;
    padding: 16px 0 0;
  }

  .facts-grid,
  .content-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .section-copy h2,
  .screenshots-block h2 {
    font-size: 24px;
  }

  .screenshot-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-steps li,
  .timeline article {
    padding-left: 20px;
  }

  .guide-steps li::before,
  .timeline span {
    position: static;
    margin-bottom: 12px;
  }

  .gallery-control {
    width: 38px;
    height: 38px;
  }

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

  .floating-detail {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 15px;
  }

  .friend-links {
    padding: 42px 0;
  }

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

  .friend-link-list {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-link-list a {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
