:root {
  color-scheme: light;
  --ink: #17251e;
  --green: #14251d;
  --gold: #d8a455;
  --paper: #f2eee5;
  --paper-deep: #e7dfd1;
  --line: #cfc4b2;
  --muted: #6e746b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: #f4d79c; background: var(--green);
  font-family: "Songti SC", "STSong", serif; font-size: 21px; font-weight: 700;
}
.brand strong { display: block; font: 700 24px/1 "Songti SC", "STSong", serif; letter-spacing: .12em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .32em; }
nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav-download { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 5px; }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 720px;
  margin: auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
  padding: 74px 0 88px;
}
.eyebrow, .section-heading p { margin: 0 0 18px; color: #8d6226; font-weight: 700; font-size: 13px; letter-spacing: .24em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font: 700 clamp(48px, 5.4vw, 78px)/1.12 "Songti SC", "STSong", serif; letter-spacing: -.045em; }
h1 em { color: #966522; font-style: normal; }
.lead { max-width: 28em; margin: 32px 0; color: #525b54; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px; padding: 11px 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px; font-weight: 700; font-size: 15px; transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { color: #fff9ed; background: var(--green); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.platforms { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; color: #3c4941; font-size: 13px; }
.platforms li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
.platforms .muted { color: var(--muted); }
.hero-shot { margin: 0; position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: 9% -4% -5% 8%; z-index: -1; background: #ded3c2; }
.hero-shot img { border: 1px solid #beb19e; box-shadow: 0 28px 70px rgba(48, 34, 18, .18); }
.hero-shot figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.hero-shot figcaption span { display: inline-block; width: 28px; height: 1px; margin-right: 8px; background: var(--gold); vertical-align: middle; }

.statement { padding: 90px 24px; color: #f3eadc; background: var(--green); text-align: center; }
.statement p { margin: 0; font: 500 clamp(30px, 4vw, 54px)/1.45 "Songti SC", "STSong", serif; letter-spacing: .03em; }
.statement p + p { color: #d7b981; }

.features {
  width: min(1180px, calc(100% - 48px)); margin: auto; padding: 110px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line);
}
.features article { padding: 0 28px; border-left: 1px solid var(--line); }
.features article:first-child { padding-left: 0; border-left: 0; }
.features article:last-child { padding-right: 0; }
.features span { color: #a37839; font: 700 13px/1 monospace; }
.features h2 { margin: 24px 0 12px; font: 700 28px/1.2 "Songti SC", "STSong", serif; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 110px 0 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.section-heading p { margin: 0; }
.section-heading h2 { max-width: 16em; margin: 0; font: 700 clamp(36px, 4vw, 54px)/1.18 "Songti SC", "STSong", serif; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: end; }
.gallery figure { margin: 0; }
.gallery figure:not(.gallery-large) img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: left center; }
.gallery img { border: 1px solid #c6baa8; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

.download { padding: 110px max(24px, calc((100% - 1180px) / 2)) 70px; color: #f5efe3; background: var(--green); }
.section-heading.light p { color: #d8b06f; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #516158; border-bottom: 1px solid #516158; }
.download article { min-height: 360px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid #516158; }
.download article:first-child { border-left: 0; }
.system { color: #d8b06f; font: 700 12px/1 monospace; letter-spacing: .14em; text-transform: uppercase; }
.download h3 { margin: 24px 0 10px; font: 700 27px/1.25 "Songti SC", "STSong", serif; }
.download article p { margin: 0; color: #b9c1bc; font-size: 15px; }
.download-button { align-self: flex-start; color: var(--green); background: #f1e8d9; }
.coming-soon { opacity: .66; }
.disabled { align-self: flex-start; color: #c3cbc6; border: 1px solid #718078; cursor: default; }
.disabled:hover { transform: none; }
.release-note { margin: 24px 0 0; color: #9faaa3; text-align: center; font-size: 13px; }

footer {
  padding: 38px max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); background: #e7dfd1; font-size: 13px;
}
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 17px; }
.footer-brand strong { font-size: 19px; }
footer p { margin: 0; }
footer div { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 54px; padding-top: 60px; }
  .hero-copy { max-width: 680px; }
  .features { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .features article:nth-child(3) { padding-left: 0; border-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery figure:not(.gallery-large) img { aspect-ratio: auto; object-fit: contain; }
  .download-grid { grid-template-columns: 1fr; }
  .download article { min-height: 260px; border-left: 0; border-top: 1px solid #516158; }
  .download article:first-child { border-top: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { width: calc(100% - 32px); min-height: 70px; }
  nav a:not(.nav-download) { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 21px; }
  .hero, .features, .gallery { width: calc(100% - 32px); }
  .hero { padding: 54px 0 70px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .lead { font-size: 17px; }
  .statement { padding: 70px 20px; }
  .features { grid-template-columns: 1fr; gap: 0; padding: 72px 0; }
  .features article, .features article:first-child, .features article:nth-child(3) { padding: 28px 0; border: 0; border-top: 1px solid var(--line); }
  .features article:first-child { border-top: 0; }
  .gallery { padding: 72px 0 90px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .download { padding-top: 76px; }
  .download article { padding: 28px 18px; }
  footer { align-items: flex-start; flex-direction: column; gap: 24px; }
}

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