:root {
  color-scheme: light;
  color: #102742;
  background: #f9fbfe;
  font: 16px/1.55 "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --ink: #102742;
  --muted: #4f637c;
  --line: #d9e4ef;
  --blue: #105ac7;
}

* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #387ee3; outline-offset: 4px; border-radius: 5px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid #e2ebf4; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 70px; gap: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 730; font-size: 1.025rem; text-decoration: none; white-space: nowrap; }
.brand img { display: block; }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); }
.site-header nav a { color: #344e6b; font-size: .91rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: #0d59c6; text-decoration: underline; text-underline-offset: .22em; }

.hero {
  padding: clamp(3rem, 6vw, 5.2rem) 0 clamp(2.7rem, 5vw, 4.3rem);
  border-bottom: 1px solid #e1ebf5;
  background: radial-gradient(ellipse at 84% 12%, #dcecff 0, #eaf3ff 36%, transparent 66%), linear-gradient(115deg, #f5faff, #edf8f9);
}
.hero-grid { display: grid; grid-template-columns: minmax(330px, .9fr) minmax(0, 1.16fr); align-items: center; gap: clamp(2rem, 5vw, 4.6rem); }
.download-intro h1 { color: #102742; font-size: clamp(2.2rem, 4.1vw, 3.8rem); line-height: 1.22; font-weight: 750; }
.lead { max-width: 35ch; margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; }
.release {
  margin-top: 1.8rem;
  padding: 1.18rem 1.28rem 1.08rem;
  border: 1px solid #cdddf0;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 14px 28px #143c6812;
}
.release-heading { display: flex; align-items: center; gap: .85rem; }
.release-icon { width: 50px; height: 50px; border-radius: 12px; flex: none; }
.release h2 { font-size: 1.36rem; font-weight: 725; line-height: 1.25; }
.release-name { color: #425e7d; margin-top: .23rem; font-size: .92rem; }
.release-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .7rem;
  margin-block: 1rem;
  padding-top: .83rem;
  border-top: 1px solid #e6edf5;
  font-size: .89rem;
  font-variant-numeric: tabular-nums;
}
.release-meta dt { color: var(--muted); font-weight: 500; }
.release-meta dd { margin-top: .15rem; color: #17314c; font-weight: 650; }
.download-button {
  display: flex;
  min-height: 49px;
  padding: .65rem 1rem;
  justify-content: center;
  align-items: center;
  border: 1px solid #0f55ba;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.download-button:hover { background: #084cae; }
.checksum { color: #4e647d; margin-top: .75rem; font-size: .84rem; }
.checksum summary { width: fit-content; cursor: pointer; }
.checksum code { display: block; margin-top: .5rem; color: #17314c; overflow-wrap: anywhere; user-select: all; }
.release-empty { margin-top: .95rem; color: var(--muted); }

.preview {
  padding: clamp(.85rem, 2vw, 1.65rem);
  padding-top: clamp(1rem, 2.4vw, 1.9rem);
  border: 1px solid #cedff2;
  border-radius: 24px;
  background: radial-gradient(ellipse at 0 8%, #eef8ff, transparent 60%), linear-gradient(141deg, #c8dffa, #d9f0ee);
}
.preview-frame { overflow: hidden; border: 1px solid #b8d0eb; border-radius: 12px; background: #fff; box-shadow: 0 12px 25px #12396320; }
.preview img { display: block; width: 100%; height: auto; }
.preview figcaption { text-align: center; color: #375773; font-size: .85rem; margin-top: .83rem; }

.install { padding-block: clamp(2.5rem, 5vw, 4.3rem); scroll-margin-top: 1rem; }
.install-heading h2 { font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.3; }
.install-heading p, .install-note { margin-top: .58rem; color: var(--muted); }
.install code { padding: .14rem .35rem; border-radius: 4px; color: #204d84; background: #edf4fd; font-size: .93em; }
.instruction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.3rem 1rem; }
.instruction {
  padding: 1.1rem 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.instruction h3 { font-size: 1.075rem; margin-bottom: .45rem; }
.instruction p, .instruction ol { color: var(--muted); }
.instruction ol { padding-inline-start: 1.35rem; margin-block: 0; }
.instruction li + li { margin-top: .26rem; }

@media (max-width: 940px) {
  .wrap { width: min(760px, calc(100% - 56px)); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .lead { max-width: 100%; }
  .release { max-width: 520px; margin-top: 1.32rem; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 58px; }
  .brand { gap: .35rem; font-size: .89rem; }
  .brand img { width: 29px; height: 29px; }
  .site-header nav { gap: .68rem; }
  .site-header nav a { font-size: .82rem; }
  .hero { padding-block: 2.25rem 1.75rem; }
  .lead { font-size: 1rem; }
  .release { padding: 1.02rem; border-radius: 14px; }
  .preview { border-radius: 16px; }
  .preview-frame { border-radius: 8px; }
  .instruction-grid { grid-template-columns: 1fr; gap: .7rem; }
}
