:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #151916;
  color: #eff2ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #151916;
}

a { color: inherit; }

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1040px) / 2));
  border-bottom: 1px solid #343a35;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img, .product-icon { object-fit: cover; }
.brand img { border-radius: 10px; }

.top-link {
  color: #c1c9c0;
  font-size: 14px;
  text-decoration: none;
}

.top-link:hover { color: #fff; }

main {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
  padding: 72px 0 64px;
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: 64px;
  min-height: 390px;
}

.product {
  display: flex;
  align-items: center;
  gap: 24px;
}

.product-icon {
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #9aaa8d;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
}

.product-subtitle {
  margin: 10px 0 0;
  color: #b9c1b8;
  font-size: 16px;
}

.download-panel {
  padding: 25px 0 0;
  border-top: 2px solid #83a878;
}

.release-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.release-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.platform {
  flex: none;
  padding-bottom: 3px;
  color: #c1c9c0;
  font-size: 13px;
}

.version-line {
  margin: 24px 0 8px;
  color: #aeb7ad;
  font-size: 14px;
}

.version-line strong {
  margin-left: 6px;
  color: #eff2ed;
  font-size: 16px;
}

.release-notes {
  min-height: 24px;
  margin: 0 0 22px;
  color: #bbc3ba;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 1px solid #9ab88d;
  border-radius: 6px;
  background: #9ab88d;
  color: #142014;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover:not([aria-disabled="true"]) { background: #b2cca7; }
.button[aria-disabled="true"] { cursor: wait; opacity: 0.72; }
.arrow { font-size: 20px; line-height: 1; }

.status {
  min-height: 40px;
  margin: 13px 0 0;
  color: #9ea99d;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.status.error { color: #ed9d85; }

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid #343a35;
  border-bottom: 1px solid #343a35;
}

.detail {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 14px 22px;
}

.detail:first-child { padding-left: 0; }
.detail + .detail { border-left: 1px solid #343a35; }
.detail-label { color: #9ba69a; font-size: 12px; }
.detail strong { font-size: 14px; font-weight: 600; }

footer {
  width: min(100% - 48px, 1040px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 20px 0;
  color: #9ba69a;
  font-size: 12px;
  line-height: 1.6;
}

footer span:last-child { text-align: right; }

@media (max-width: 720px) {
  .topbar { height: 64px; padding: 0 20px; }
  main { width: min(100% - 40px, 500px); padding: 52px 0 44px; }
  .release { grid-template-columns: 1fr; gap: 42px; min-height: 0; }
  .product { gap: 18px; }
  .product-icon { width: 72px; height: 72px; border-radius: 15px; }
  h1 { font-size: 32px; }
  .download-panel { padding-top: 21px; }
  .details { grid-template-columns: 1fr; margin-top: 42px; }
  .detail, .detail:first-child { min-height: 68px; padding: 13px 0; }
  .detail + .detail { border-top: 1px solid #343a35; border-left: 0; }
  footer { width: min(100% - 40px, 500px); flex-direction: column; gap: 6px; }
  footer span:last-child { text-align: left; }
}
