:root {
  color-scheme: light;
  --navy: #10223f;
  --accent: #17345f;
  --ink: #172033;
  --muted: #536176;
  --canvas: #f4f6f8;
  --paper: #fff;
  --line: #d8dfe7;
  --soft: #e7eef7;
  --gold: #885714;
  --focus: #2368c4;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { min-width: 320px; margin: 0; background: var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.65; }
a { color: var(--accent); }
button, textarea { font: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button { min-height: 44px; padding: 8px 16px; cursor: pointer; color: var(--accent); background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
button:hover { background: var(--soft); }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 5; padding: 12px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { background: var(--navy); color: white; }
.header-inner { width: min(1120px, 100%); min-height: 76px; padding: 14px 32px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 19px; }
.brand small { margin-left: 4px; color: #c1cfdf; font-size: 11px; }
.logo { width: 36px; height: 36px; display: grid; place-items: center; background: white; color: var(--accent); border-radius: 9px; font: 22px "Songti SC", "STSong", Georgia, serif; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #e1e9f3; font-size: 13px; text-decoration: none; }
.back-link:hover { color: white; text-decoration: underline; }
main { width: min(1120px, 100%); min-height: calc(100vh - 160px); padding: 48px 32px 30px; margin: 0 auto; }
main:focus { outline: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 6px; color: var(--gold); font-size: 12px; letter-spacing: .08em; }
h1 { margin: 0; font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; line-height: 1.5; letter-spacing: -.03em; }
.intro { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.updated { flex: 0 0 auto; margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.product-navigation { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 28px; }
.product-navigation a { min-height: 40px; display: inline-flex; align-items: center; padding: 7px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 13px; text-decoration: none; }
.product-navigation a:hover { color: var(--accent); border-color: #9caec5; background: #fafcff; }
.products { display: grid; gap: 30px; }
.product { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; scroll-margin-top: 24px; }
.product-heading { padding: 24px 26px 20px; border-bottom: 1px solid var(--line); }
.product-title { display: flex; align-items: baseline; gap: 12px; }
.product-number { color: #7c8ba0; font-size: 12px; font-variant-numeric: tabular-nums; }
h2 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.5; }
.product-description { margin: 7px 0 0 29px; color: var(--muted); font-size: 13px; }
.platform-list { margin: 0; padding: 0; list-style: none; }
.platform { min-width: 0; padding: 24px 26px; }
.platform + .platform { border-top: 1px solid #e9edf2; }
.platform-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px 30px; }
.platform-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.65; }
.release-level { padding: 2px 8px; border-radius: 4px; color: #68532f; background: #f7f1e6; font-size: 11px; line-height: 1.7; }
.file-meta { display: flex; flex-wrap: wrap; gap: 4px 13px; margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.meta-item { display: inline-flex; gap: 4px; }
.meta-item + .meta-item::before { content: "·"; color: #b0bbc9; margin-right: 7px; }
.meta-item dt, .meta-item dd { margin: 0; }
.meta-item dt { color: #728094; }
.download-button { display: inline-flex; min-height: 44px; min-width: 142px; justify-content: center; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 7px; border: 1px solid var(--accent); background: var(--accent); color: white; text-decoration: none; font-size: 13px; font-weight: 500; }
.download-button:hover { background: var(--navy); border-color: var(--navy); }
.download-icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.platform-notice { max-width: 820px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.unavailable h3 { color: #6c7889; }
.unavailable-status { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 0; color: #7b8796; font-size: 13px; white-space: nowrap; }
.unavailable-status::before { content: ""; width: 6px; height: 6px; margin-right: 8px; background: #a5afbc; border-radius: 50%; }
.install-details { margin-top: 14px; color: var(--muted); font-size: 12px; }
.install-details summary { width: fit-content; min-height: 30px; padding: 3px 0; color: var(--accent); cursor: pointer; }
.install-content { margin-top: 10px; padding: 16px 18px; background: #f7f9fb; border: 1px solid #e3e8ef; border-radius: 7px; }
.install-content h4 { margin: 0 0 8px; color: var(--ink); font-size: 12px; font-weight: 600; }
.install-content ol { margin: 0; padding-left: 20px; }
.install-content li { padding: 2px 0; overflow-wrap: anywhere; }
.file-name { margin: 14px 0 8px; overflow-wrap: anywhere; }
.file-name:first-child { margin-top: 0; }
.checksum-label { display: block; margin: 14px 0 6px; color: var(--ink); font-weight: 500; }
.checksum-label:first-child { margin-top: 0; }
.checksum-row { display: flex; align-items: flex-start; gap: 10px; }
.checksum-value { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 10px 12px; resize: none; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 6px; font: 12px/1.6 Consolas, "SFMono-Regular", monospace; overflow-wrap: anywhere; word-break: break-all; }
.checksum-copy { flex: 0 0 auto; font-size: 12px; white-space: nowrap; }
.copy-feedback { min-height: 20px; margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.load-status { display: flex; align-items: center; gap: 10px; padding: 50px 0; color: var(--muted); font-size: 14px; }
.loading-dot { width: 8px; height: 8px; border-radius: 50%; background: #9eafc5; }
.load-error { padding: 30px; margin-bottom: 24px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.load-error h2 { font-size: 17px; }
.load-error p { color: var(--muted); font-size: 14px; }
footer { width: min(1120px, 100%); min-height: 84px; padding: 24px 32px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #728094; font-size: 12px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .header-inner { min-height: 68px; padding: 12px 20px; }
  .brand { font-size: 17px; gap: 9px; }
  .logo { width: 32px; height: 32px; }
  .back-link { font-size: 12px; gap: 5px; }
  main { padding: 30px 16px 18px; }
  .page-heading { display: block; margin-bottom: 22px; }
  h1 { font-size: 25px; }
  .intro { max-width: 28em; font-size: 13px; }
  .updated { margin-top: 14px; }
  .product-navigation { gap: 7px; padding-bottom: 22px; }
  .product-navigation a { min-height: 38px; padding: 6px 11px; font-size: 12px; }
  .products { gap: 20px; }
  .product-heading { padding: 20px; }
  h2 { font-size: 18px; }
  .product-description { margin-left: 0; font-size: 12px; }
  .platform { padding: 20px; }
  .platform-main { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .download-button { width: 100%; min-height: 44px; }
  .unavailable .platform-main { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .unavailable-status { font-size: 12px; }
  .platform-heading { gap: 7px; }
  .file-meta { gap: 4px 9px; }
  .meta-item + .meta-item::before { margin-right: 3px; }
  .install-content { padding: 14px; }
  .checksum-row { flex-direction: column; gap: 8px; }
  .checksum-copy { min-height: 38px; padding: 6px 12px; }
  footer { padding: 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
