:root {
  --paper: #f3f0e8;
  --card: #fffdf8;
  --ink: #1d1e1a;
  --muted: #73746d;
  --line: rgba(29, 30, 26, 0.12);
  --accent: #f05a36;
  --accent-deep: #c94224;
  --olive: #53634f;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(29, 30, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 30, 26, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  overflow-x: hidden;
}

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

.glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.glow-a {
  top: -250px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(240, 90, 54, 0.14), transparent 68%);
}

.glow-b {
  bottom: -260px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(83, 99, 79, 0.12), transparent 68%);
}

.topbar {
  width: min(1240px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  width: 43px;
  height: 43px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-mark i {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 3px;
  background: #fff8ef;
}

.brand-mark i:first-child {
  height: 42%;
  opacity: 0.55;
}

.brand-mark i:nth-child(2) {
  height: 74%;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 22px;
  letter-spacing: 0.14em;
}

.brand small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.top-download {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.65);
  font-size: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-jimeng {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--accent-deep);
  font-size: 12px;
}

.top-jimeng:hover {
  background: rgba(240, 90, 54, 0.08);
}

main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 660px;
  padding: 86px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.87fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: flex;
  gap: 17px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.eyebrow span:first-child {
  color: var(--accent-deep);
}

h1 {
  margin: 0;
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(55px, 6.1vw, 88px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.lead {
  max-width: 630px;
  margin: 30px 0 0;
  color: #5f6059;
  font-size: 16px;
  line-height: 1.9;
}

.actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary {
  min-height: 50px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 13px 28px rgba(29, 30, 26, 0.16);
  font-size: 13px;
  font-weight: 700;
}

.primary:hover {
  background: #000;
}

.primary span {
  color: var(--accent);
  font-size: 19px;
}

.version {
  color: var(--muted);
  font-size: 10px;
}

.trust {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
}

.trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--olive);
}

.download-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 26px 70px rgba(43, 42, 35, 0.14);
  backdrop-filter: blur(18px);
}

.window-bar {
  height: 38px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}

.window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3cec2;
}

.window-bar span {
  margin-left: 7px;
}

.download-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.package-meta {
  padding: 13px 4px 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.package-meta div {
  padding: 9px;
  border-radius: 9px;
  background: var(--paper);
}

.package-meta span,
.package-meta strong {
  display: block;
}

.package-meta span {
  color: var(--muted);
  font-size: 8px;
}

.package-meta strong {
  margin-top: 4px;
  font-size: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 76px;
}

.feature-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.64);
}

.feature-grid article > span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
}

.feature-grid h2 {
  margin: 43px 0 9px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 23px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.install {
  padding: 58px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}

.install .eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.install .eyebrow span:first-child {
  color: var(--accent);
}

.install h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: 42px;
  font-weight: 600;
}

.install ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
  list-style: none;
}

.install li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}

.install li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--accent);
  font-family: Georgia, serif;
}

.install strong {
  font-size: 13px;
}

.install p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.7;
}

.checksum {
  margin: 18px 0 70px;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.46);
  color: var(--muted);
  font-size: 9px;
}

.checksum code {
  overflow-wrap: anywhere;
  color: #595a53;
  font-size: 9px;
}

footer {
  width: min(1240px, calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .install {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .topbar,
  main,
  footer {
    width: calc(100% - 24px);
  }

  .topbar {
    height: 76px;
  }

  .top-jimeng {
    display: none;
  }

  .top-download {
    padding: 10px 13px;
    font-size: 10px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

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

  .install {
    padding: 30px 20px;
    border-radius: 20px;
  }

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

  footer {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
