:root {
  --bg: #f7f1e6;
  --bg-soft: #fbf7ef;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: #fffaf1;
  --line: rgba(106, 138, 164, 0.18);
  --line-strong: rgba(106, 138, 164, 0.32);
  --text: #33414f;
  --text-soft: #677687;
  --heading: #2e4357;
  --accent: #6e97b2;
  --accent-deep: #567f99;
  --accent-warm: #d79b6e;
  --shadow: 0 24px 60px rgba(108, 129, 151, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 188, 210, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(215, 155, 110, 0.12), transparent 22%),
    linear-gradient(180deg, #f8f3ea 0%, #f4efe5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.78);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 12px 24px rgba(86, 127, 153, 0.28);
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.02rem;
  color: var(--heading);
}

.brand-copy span {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topnav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--heading);
  background: rgba(110, 151, 178, 0.14);
  transform: translateY(-1px);
}

.hero,
.download-hero,
.section,
.stats-band,
.download-grid {
  margin-top: 26px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 42px 8px 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--accent-deep);
  background: rgba(110, 151, 178, 0.12);
  border: 1px solid rgba(110, 151, 178, 0.18);
}

.hero h1,
.download-hero h1,
.section-heading h2,
.release-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.08;
  color: var(--heading);
  letter-spacing: -0.04em;
}

.lead,
.section-heading p,
.release-card ul,
.download-copy p,
.download-card p,
.faq-card p,
.feature-card p,
.scene-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-actions,
.download-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 28px rgba(86, 127, 153, 0.22);
}

.button-secondary {
  color: var(--heading);
  border-color: var(--line-strong);
  background: rgba(255, 251, 244, 0.76);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-points span,
.platform-callout {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.74);
}

.platform-callout {
  display: inline-flex;
  margin-top: 22px;
}

.platform-callout strong {
  color: var(--heading);
}

.hero-card,
.download-card,
.release-card,
.feature-card,
.scene-card,
.faq-card,
.stats-band article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.traffic {
  display: inline-flex;
  gap: 8px;
}

.traffic i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.traffic i:nth-child(1) {
  background: #ef6b5a;
}

.traffic i:nth-child(2) {
  background: #f1bd4f;
}

.traffic i:nth-child(3) {
  background: #64c466;
}

.hero-card-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(110, 151, 178, 0.16);
}

.hero-card img {
  border-radius: 24px;
  border: 1px solid rgba(110, 151, 178, 0.12);
}

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

.stats-band article,
.feature-card,
.scene-card,
.faq-card {
  padding: 24px;
}

.stats-band strong,
.feature-card h3,
.scene-card h3,
.faq-card h3,
.download-card h2,
.release-card h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.25rem;
}

.section {
  padding: 24px 0 0;
}

.section-alt {
  padding-top: 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}

.feature-grid,
.scene-grid,
.faq-list,
.story-grid,
.requirement-grid {
  display: grid;
  gap: 18px;
}

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

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

.faq-list {
  grid-template-columns: repeat(3, 1fr);
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.requirement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.scene-tag,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--accent-deep);
  background: rgba(110, 151, 178, 0.12);
  border: 1px solid rgba(110, 151, 178, 0.16);
  margin-bottom: 14px;
}

.pill-soft {
  color: #6b7f8f;
}

.pill-warm {
  color: #a26f46;
  background: rgba(215, 155, 110, 0.14);
  border-color: rgba(215, 155, 110, 0.2);
}

.download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(110, 151, 178, 0.12), rgba(255, 251, 244, 0.76)),
    var(--surface);
  box-shadow: var(--shadow);
}

.story-card,
.requirement-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.story-card h3,
.requirement-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.2rem;
}

.story-card p,
.requirement-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-soft);
}

.download-strip-copy {
  max-width: 640px;
}

.download-strip h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  color: var(--heading);
}

.download-hero {
  padding: 56px 8px 8px;
}

.download-hero h1 {
  max-width: 780px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.download-card-top {
  margin-bottom: 12px;
}

.download-card ul,
.release-card ul {
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.download-card .button {
  margin-top: auto;
}

.download-card.is-recommended {
  border-color: rgba(86, 127, 153, 0.48);
  box-shadow:
    0 24px 60px rgba(108, 129, 151, 0.2),
    0 0 0 4px rgba(110, 151, 178, 0.14);
}

.download-card.is-recommended .pill {
  background: rgba(86, 127, 153, 0.16);
}

.faq-section,
.release-summary {
  padding-top: 12px;
}

.release-card {
  padding: 32px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 22px 8px 6px;
  color: var(--text-soft);
}

.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--heading);
}

@media (max-width: 1080px) {
  .hero,
  .download-strip,
  .stats-band,
  .feature-grid,
  .download-grid,
  .faq-list,
  .story-grid,
  .requirement-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

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

  .faq-list,
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    border-radius: 28px;
    padding: 12px;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .download-hero {
    padding-top: 28px;
  }

  .stats-band,
  .feature-grid,
  .scene-grid,
  .faq-list,
  .story-grid,
  .requirement-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .download-hero h1,
  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .site-footer {
    padding-bottom: 18px;
  }
}
