:root {
  color-scheme: light;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --ink: #172019;
  --muted: #667068;
  --line: #dce2dc;
  --green: #247452;
  --green-dark: #185d40;
  --green-soft: #e7f2eb;
  --red: #c84b57;
  --shadow: 0 18px 50px rgba(25, 39, 29, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }
.site-head {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(1160px, calc(100% - 48px));
  height: 76px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(21, 31, 23, .12); }
.head-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.head-link:hover { color: var(--green); }

.hero {
  position: relative;
  min-height: min(720px, 84vh);
  padding: 150px max(24px, calc((100vw - 1160px) / 2)) 70px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}
.hero-mark {
  position: absolute;
  right: max(24px, calc((100vw - 1160px) / 2));
  top: 50%;
  width: min(42vw, 470px);
  aspect-ratio: 1;
  transform: translateY(-48%) rotate(3deg);
  opacity: .96;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid #cdd8cf;
  border-radius: 34% 42% 37% 44%;
  transform: rotate(-8deg);
}
.hero-mark img { position: absolute; inset: 18%; width: 64%; height: 64%; filter: drop-shadow(0 26px 34px rgba(24, 42, 29, .18)); }
.hero-copy { position: relative; z-index: 1; width: min(610px, 58vw); }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 700; }
.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(60px, 8vw, 104px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-lead { max-width: 530px; margin: 26px 0 30px; color: #4f5b52; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.download-primary {
  min-width: 228px;
  min-height: 62px;
  padding: 11px 20px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--green-dark);
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 116, 82, .2);
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
.download-primary:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 13px 28px rgba(36, 116, 82, .25); }
.download-primary span { font-size: 15px; font-weight: 700; }
.download-primary small { color: rgba(255,255,255,.74); font-size: 11px; }
.download-primary.is-disabled { pointer-events: none; border-color: #a6afa8; background: #929d95; box-shadow: none; }
.version-link { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.version-link:hover { color: var(--green); }
.hero-status {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - 1160px) / 2));
  bottom: 28px;
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.hero-status span { display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.downloads, .release-notes, .install-note, footer { width: min(1060px, calc(100% - 48px)); margin-inline: auto; }
.downloads { padding: 78px 0 88px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; margin-bottom: 30px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.section-heading h2, .release-body h2, .install-note h2 { margin: 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: 32px; letter-spacing: 0; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: right; }
.platform-grid { border-top: 1px solid var(--ink); }
.platform-row {
  min-height: 116px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.platform-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); }
.windows-icon { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 5px; transform: skewY(-4deg); }
.windows-icon i { display: block; width: 100%; height: 100%; background: currentColor; }
.apple-icon { position: relative; font-family: serif; font-size: 44px; line-height: 1; }
.apple-icon::before { content: ""; position: absolute; top: 1px; left: 22px; width: 9px; height: 14px; border-radius: 9px 1px 9px 1px; background: currentColor; transform: rotate(32deg); }
.platform-copy h3 { margin: 0 0 6px; font-size: 17px; }
.platform-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.platform-download {
  min-width: 112px;
  height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
}
.platform-download:hover { background: var(--green-soft); }
.platform-download.is-disabled { pointer-events: none; border-color: var(--line); color: #9ba39d; background: transparent; }

.release-notes { padding: 70px 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--ink); }
.release-label { display: grid; align-content: start; gap: 8px; }
.release-label span { color: var(--green); font: 700 10px/1.2 ui-monospace, SFMono-Regular, monospace; }
.release-label strong { font: 700 24px/1.2 ui-monospace, SFMono-Regular, monospace; }
.release-label time { color: var(--muted); font-size: 11px; }
.release-body ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.release-body li { position: relative; padding-left: 18px; color: #49534b; font-size: 13.5px; line-height: 1.65; }
.release-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--red); }
.install-note { padding: 64px 0 76px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--line); }
.install-note > div { display: grid; gap: 18px; }
.install-note p { margin: 0; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.install-note strong { color: var(--ink); }
footer { min-height: 86px; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 11.5px; }
footer span:first-child { color: var(--ink); font-weight: 700; }
footer a { margin-left: auto; text-decoration: none; }
footer a:hover { color: var(--green); }

@media (max-width: 760px) {
  .site-head { width: calc(100% - 32px); height: 64px; }
  .head-link { display: none; }
  .hero { min-height: 720px; padding: 104px 20px 54px; justify-content: flex-start; }
  .hero-mark { top: auto; right: -46px; bottom: 36px; width: 330px; transform: rotate(3deg); opacity: .5; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 60px; }
  .hero-lead { margin: 20px 0 26px; font-size: 15px; }
  .download-primary { width: 100%; }
  .version-link { padding: 4px 0; }
  .hero-status { left: 20px; right: 20px; bottom: 22px; gap: 12px; justify-content: space-between; }
  .downloads, .release-notes, .install-note, footer { width: calc(100% - 40px); }
  .downloads { padding: 56px 0 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .section-heading > p:last-child { text-align: left; }
  .platform-row { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  .platform-download { grid-column: 2; width: 100%; }
  .release-notes, .install-note { padding: 52px 0; grid-template-columns: 1fr; gap: 28px; }
  .install-note p { grid-template-columns: 1fr; gap: 3px; }
}

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