:root {
  color-scheme: light;
  --ink: #172522;
  --muted: #61706c;
  --paper: #f3f1e9;
  --surface: #fffdf8;
  --forest: #173f3a;
  --line: #d8d6cc;
  --accent: #d9b34c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--forest);
  color: white;
  font-family: SimSun, serif;
}

.channel {
  padding: 4px 12px;
  border: 1px solid #aeb7b4;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.14;
  letter-spacing: -.045em;
}

.lead {
  max-width: 650px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 9px 0 #0d2e2a;
  transition: transform .15s ease, box-shadow .15s ease;
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 #0d2e2a; }
.primary-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.file-meta { color: var(--muted); font-size: 14px; }

.release-card {
  position: relative;
  padding: 30px;
  border: 1px solid #c8ccc6;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 18px 18px 0 #dfe4d9;
}

.release-card::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 6px;
  top: -1px;
  left: 30px;
  background: var(--accent);
}

.release-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.release-heading span { color: var(--muted); }
.release-heading strong { color: var(--forest); font-size: 30px; }
.release-card dl { margin: 20px 0; }
.release-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.release-card dt { color: var(--muted); }
.release-card dd { margin: 0; text-align: right; font-weight: 650; }

.hash {
  padding: 14px;
  border-radius: 8px;
  background: #eef0e9;
}

.hash span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.hash code { display: block; overflow-wrap: anywhere; font-size: 11px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article { min-height: 240px; padding: 38px 32px; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid span { color: #8a938e; font: 700 12px/1 monospace; }
.feature-grid h2 { margin: 36px 0 10px; font-size: 23px; }
.feature-grid p { margin: 0; color: var(--muted); }

.install-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 90px 0;
  padding: 48px;
  border-radius: 16px;
  background: var(--forest);
  color: white;
}

.install-note .eyebrow { color: #e7ca78; }
.install-note h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; }
.install-note ol { margin: 0; padding-left: 24px; color: #dce6e2; }
.install-note li + li { margin-top: 12px; }
.install-note code { color: white; }

footer {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .topbar, main, footer { width: min(100% - 30px, 680px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 60px 0 76px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; padding: 32px 12px; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .install-note { grid-template-columns: 1fr; gap: 34px; margin: 60px 0; padding: 32px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 42px; }
  .release-card { padding: 24px; box-shadow: 10px 10px 0 #dfe4d9; }
  .actions, .primary-button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
