:root {
  color-scheme: light;
  --night: #12251e;
  --paper: #f3f5ef;
  --ink: #172a22;
  --muted: #4c6257;
  --light: #f4f9ef;
  --sage: #bdd2c4;
  --line: #cad7cc;
  --green: #ccf58e;
  font-family: "Instrument Sans", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(1192px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 10px; top: 10px; transform: translateY(-160%); padding: 12px; color: var(--ink); background: var(--green); }
.skip:focus { transform: none; }
.opening { color: var(--light); background: var(--night); }

.masthead {
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ffffff24;
}

.brand { display: inline-flex; gap: 10px; align-items: center; letter-spacing: .12em; font-size: 15px; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 6px; background: var(--green); color: var(--night); font-size: 23px; font-weight: 850; letter-spacing: 0; }
.masthead nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 37px); font-size: 14px; color: var(--sage); }
.masthead nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.masthead nav a:hover, .install-link:hover { color: var(--green); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); align-items: center; gap: 25px; padding-block: 51px 64px; }
.hero-copy { position: relative; z-index: 1; padding-block: 13px; }
.product-type { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; color: var(--sage); font-size: 14px; letter-spacing: .07em; font-weight: 620; }
.product-type::before { content: ""; height: 2px; width: 18px; background: var(--green); }
.hero h1 { font-size: clamp(47px, 6vw, 88px); font-weight: 850; letter-spacing: -.04em; line-height: 1.08; }
.hero-line { margin-top: 21px; color: var(--green); font-size: clamp(21px, 2.45vw, 34px); font-weight: 680; letter-spacing: -.035em; }
.intro { max-width: 24em; margin-top: 16px; color: var(--sage); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; min-height: 55px; margin-top: 29px; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 53px; padding: 0 17px 0 20px; border-radius: 7px; color: #15291b; background: var(--green); font-size: 15px; font-weight: 800; }
.download:hover { background: #e0ffb3; }
.download:focus-visible { outline-color: var(--green); }
.download span { font-size: 20px; line-height: 1; }
.install-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--light); font-size: 14px; font-weight: 650; }
.release-wait { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--sage); font-size: 14px; }
.release-wait button { min-height: 40px; padding: 0 8px; color: var(--green); background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
.compatibility { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; color: var(--sage); font-size: 13px; }
#release-version { color: var(--light); font-weight: 700; }
#release-version::after { content: "·"; padding-left: 10px; color: var(--sage); }
.checksum { margin-top: 14px; max-width: 100%; color: var(--sage); font-size: 12px; }
.checksum summary { width: fit-content; cursor: pointer; line-height: 1.8; }
.checksum code { display: block; margin-top: 8px; overflow-wrap: anywhere; color: var(--light); line-height: 1.6; }
.hero-image { position: relative; min-width: 0; align-self: center; }
.hero-image img { display: block; width: 100%; height: auto; border: 1px solid #ffffff27; border-radius: 12px; }
.hero-image figcaption { position: absolute; left: 17px; bottom: 14px; color: #c9ded1; font-size: 11px; }

.content { color: var(--ink); background: var(--paper); }
.features { padding-block: 67px 62px; }
h2 { font-size: clamp(28px, 4vw, 47px); font-weight: 820; letter-spacing: -.035em; line-height: 1.2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 31px; }
.feature-grid article { border-top: 2px solid #557660; padding: 19px 13px 15px 0; }
.feature-grid h3, .product-view h3 { font-size: clamp(18px, 2vw, 23px); font-weight: 780; }
.feature-grid p, .product-view p, .installation p { margin-top: 8px; color: var(--muted); line-height: 1.85; font-size: 15px; }
.product-view { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .65fr); align-items: center; gap: clamp(22px, 4vw, 60px); margin-top: 39px; padding: clamp(16px, 3vw, 36px); border: 1px solid #d5e0d5; border-radius: 13px; background: #e6eee4; }
.product-view figure { min-width: 0; overflow: hidden; border: 1px solid #ced8ce; border-radius: 8px; background: #f9faf7; box-shadow: 0 13px 28px #16332516; }
.product-view img { display: block; width: 100%; height: auto; }
.installation { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(27px, 6vw, 77px); padding-block: 35px 67px; border-top: 1px solid var(--line); }
.installation ol { display: grid; gap: 16px; margin: 0; padding-left: 1.35em; line-height: 1.8; color: #263d31; font-size: 15px; }
.installation li { padding-left: .35em; }
.installation li::marker { color: #426650; font-weight: 800; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 72px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 20px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 63px; }
  .masthead nav { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 27px 26px; }
  .hero-copy { padding: 0; }
  .product-type { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(45px, 9.5vw, 65px); }
  .hero-line { margin-top: 14px; }
  .intro { margin-top: 10px; }
  .actions { margin-top: 20px; }
  .hero-image figcaption { left: 12px; bottom: 11px; }
  .features { padding-block: 42px; }
  .feature-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 23px; }
  .feature-grid article { padding-top: 14px; }
  .product-view { grid-template-columns: 1fr; margin-top: 24px; padding: 13px; gap: 13px; }
  .product-view > div { padding: 0 3px 4px; }
  .installation { grid-template-columns: 1fr; padding-block: 26px 42px; }
}

@media (max-width: 360px) {
  .masthead nav { gap: 9px; }
  .masthead { gap: 9px; }
  .brand { gap: 6px; font-size: 13px; }
  .brand-mark { width: 31px; height: 31px; font-size: 19px; }
  .actions { column-gap: 12px; }
}
