:root {
  --ink: #101416;
  --muted: #5b6569;
  --line: #d8dddf;
  --paper: #f4f6f5;
  --white: #ffffff;
  --cyan: #37d8ef;
  --green: #9ded69;
  --header-h: 68px;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; min-width: 320px; background: var(--paper); }
.single-screen { overflow: hidden; background: #0b0f11; }
.single-screen .site-header { grid-template-columns: 1fr auto 1fr; }
.single-screen main { height: 100vh; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
code { font-family: "Cascadia Code", Consolas, monospace; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 72px);
  color: #f7faf9;
  background: rgba(10, 13, 15, .92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; font-size: 14px; font-weight: 800; letter-spacing: 0; }
.brand img { border-radius: 6px; }
.site-header nav { display: flex; gap: 28px; font-size: 13px; color: #bdc5c7; }
.site-header nav a:hover { color: var(--white); }
.header-download { justify-self: end; padding: 10px 16px; color: #091012; background: var(--cyan); border: 1px solid var(--cyan); font-size: 13px; font-weight: 800; }
.header-download:hover { background: #83eaf8; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #0b0f11;
}
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 9, .9) 0%, rgba(3, 7, 9, .62) 45%, rgba(3, 7, 9, .12) 74%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 5px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-content { position: relative; z-index: 2; width: min(760px, calc(100% - 40px)); margin: 0 0 clamp(56px, 8vh, 92px) clamp(20px, 8vw, 150px); }
.hero-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin: 0 0 22px; }
.status { display: flex; align-items: center; gap: 10px; margin: 0; color: #dce5e6; font-size: 13px; font-weight: 650; }
.status span { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 5px rgba(157,237,105,.13); border-radius: 50%; }
.clock-stack {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 2px;
}
.beijing-time {
  justify-self: center;
  color: var(--cyan);
  font: 700 18px "Cascadia Code", Consolas, monospace;
  text-shadow: 0 0 16px rgba(55,216,239,.42);
  white-space: nowrap;
}
.clock-status { color: #b8c7c9; font-size: 10px; font-weight: 700; }
.clock-status i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px rgba(157,237,105,.7); }
h1 { margin: 0; max-width: 100%; font-size: clamp(58px, 10vw, 132px); line-height: .9; letter-spacing: 0; font-weight: 760; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.download-button { display: grid; min-width: 220px; padding: 15px 20px; color: #071012; background: var(--cyan); border: 1px solid var(--cyan); }
.download-button:hover { background: #83eaf8; transform: translateY(-1px); }
.download-button span { font-size: 16px; font-weight: 800; }
.download-button small { margin-top: 4px; font-size: 11px; font-weight: 650; color: #26373b; }
.text-link { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 38px 0 0; }
.hero-meta div { min-width: 150px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.25); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta dt { color: #9eaaad; font-size: 11px; }
.hero-meta dd { margin: 7px 0 0; font-size: 14px; font-weight: 700; }
.hero-side-label { position: absolute; right: 26px; bottom: 74px; z-index: 2; color: rgba(255,255,255,.47); font: 11px "Cascadia Code", monospace; writing-mode: vertical-rl; }

.release-band, .integrity-band { padding: clamp(72px, 9vw, 130px) clamp(20px, 8vw, 150px); }
.section-heading { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; align-items: end; padding-bottom: 30px; border-bottom: 1px solid #bfc6c8; }
.section-heading p { margin: 0 0 5px; color: #647074; font: 12px "Cascadia Code", monospace; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: 0; }
.release-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: clamp(42px, 7vw, 110px); padding-top: 50px; }
.release-notes h3 { margin: 0 0 26px; font-size: 14px; color: #697477; }
.release-notes ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.release-notes li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.release-notes li > span { color: #7d888c; font: 12px "Cascadia Code", monospace; }
.release-notes strong { font-size: 17px; }
.release-notes p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.release-notes code { color: #247a85; }
.package-panel { align-self: start; padding: 26px; color: #eef3f3; background: #111719; border-top: 3px solid var(--cyan); }
.package-title { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid #364044; }
.package-title img { border-radius: 7px; }
.package-title strong, .package-title span { display: block; }
.package-title strong { font-size: 16px; }
.package-title span { margin-top: 5px; color: #92a0a4; font-size: 12px; }
.package-panel dl { margin: 15px 0 24px; }
.package-panel dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 12px; }
.package-panel dt { color: #879498; }
.package-panel dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.panel-download { display: block; padding: 14px 16px; color: #081011; background: var(--cyan); text-align: center; font-size: 14px; font-weight: 800; }
.panel-download:hover { background: #83eaf8; }
.external-note { margin: 12px 0 0; color: #7f8d91; text-align: center; font-size: 11px; }

.requirements-band { padding: clamp(72px, 9vw, 130px) clamp(20px, 8vw, 150px); color: #edf2f2; background: #111719; }
.section-heading.light { border-color: #394347; }
.section-heading.light p { color: #879598; }
.requirements-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #3a4447; margin-top: 48px; }
.requirements-grid article { min-height: 210px; padding: 25px; border-right: 1px solid #3a4447; }
.requirements-grid span { color: var(--cyan); font: 12px "Cascadia Code", monospace; }
.requirements-grid h3 { margin: 58px 0 10px; font-size: 17px; }
.requirements-grid p { margin: 0; color: #98a6a9; font-size: 13px; line-height: 1.7; }

.integrity-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: clamp(40px, 8vw, 120px); padding-top: 48px; }
.integrity-copy { max-width: 640px; margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.command { display: block; padding: 17px; overflow-x: auto; color: #cfdbdd; background: #12181a; font-size: 12px; }
.hash-box { min-width: 0; padding: 24px; border: 1px solid #bfc6c8; background: #fff; }
.hash-box > div { display: flex; align-items: center; justify-content: space-between; }
.hash-box span { color: #657175; font: 12px "Cascadia Code", monospace; }
.hash-box button { padding: 7px 13px; color: #172023; background: transparent; border: 1px solid #aeb8bb; cursor: pointer; font-weight: 700; }
.hash-box button:hover { border-color: #263437; background: #f0f3f2; }
.hash-box code { display: block; margin-top: 22px; overflow-wrap: anywhere; color: #172023; font-size: 13px; line-height: 1.7; }
.hash-box p { min-height: 17px; margin: 10px 0 0; color: #297238; font-size: 12px; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; padding: 34px clamp(20px, 8vw, 150px); color: #839094; background: #080b0c; font-size: 11px; }
.footer-brand { color: #f1f5f5; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .release-layout, .integrity-layout { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid #3a4447; }
  .requirements-grid article { border-top: 1px solid #3a4447; }
  footer { grid-template-columns: 1fr; gap: 10px; }
  footer p { margin: 0; }
}

@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .site-header { gap: 10px; padding: 0 16px; }
  .brand span { font-size: 12px; }
  .header-download { padding: 9px 11px; font-size: 12px; }
  .beijing-time { font-size: 12px; }
  .single-screen { overflow: hidden; }
  .single-screen main, .hero { min-height: 100svh; height: 100svh; }
  .hero-backdrop { object-position: 66% center; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 44px; }
  h1 { font-size: 58px; }
  .hero-status-row { align-items: flex-start; flex-direction: column; gap: 11px; }
  .hero-actions { align-items: stretch; gap: 16px; }
  .download-button { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-meta div { min-width: 0; padding: 0 10px; }
  .hero-meta dd { overflow-wrap: anywhere; font-size: 12px; }
  .hero-side-label { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-heading h2 { font-size: 38px; }
  .release-band, .integrity-band, .requirements-band { padding: 68px 18px; }
  .release-layout { padding-top: 34px; }
  .requirements-grid { grid-template-columns: 1fr; }
  .requirements-grid article { min-height: 170px; }
  .requirements-grid h3 { margin-top: 38px; }
  .integrity-layout { grid-template-columns: minmax(0, 1fr); }
  .hash-box { padding: 18px; }
  footer { padding: 30px 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .download-button, .header-download, .panel-download { transition: background-color .18s ease, transform .18s ease; }
}
