:root {
  color-scheme: light dark;
  font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
  background: #f5f7f6;
  color: #18211e;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: #f5f7f6; color: #18211e; }
.inner { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.topbar { border-bottom: 1px solid #dce3e0; background: #fff; }
.brand-row { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; min-width: 0; align-items: center; gap: 15px; }
.brand img { flex: 0 0 auto; border-radius: 12px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; font-size: 28px; line-height: 1.15; letter-spacing: 0; }
h1 span { color: #176b52; font-weight: 650; }
.brand p, .muted, .meta { margin-bottom: 0; color: #63716c; }
.channel { flex: 0 0 auto; border: 1px solid #b8c6c0; border-radius: 999px; padding: 7px 12px; background: #eef7f3; color: #176b52; font-size: 13px; font-weight: 700; }

.release-band { padding: 54px 0 62px; background: #eef3f1; border-bottom: 1px solid #d6dfdc; }
.release-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); align-items: end; gap: 40px; margin-bottom: 30px; }
.eyebrow { margin-bottom: 7px; color: #176b52; font-size: 12px; font-weight: 800; }
h2 { margin-bottom: 0; font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.release-copy, .guide-copy { margin-bottom: 0; color: #53625d; line-height: 1.75; }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.release-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px 15px; min-width: 0; padding: 22px; border: 1px solid #d6dfdc; border-radius: 8px; background: #fff; }
.release-icon { grid-row: span 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 8px; background: #17332b; color: #e7fff6; font-size: 12px; font-weight: 800; }
.firmware-icon { background: #833c31; color: #fff3f0; }
.release-body { min-width: 0; }
.label { display: block; margin-bottom: 5px; color: #53625d; font-size: 13px; font-weight: 700; }
.release-body strong { display: block; margin-bottom: 5px; color: #17332b; font-size: 30px; line-height: 1.1; letter-spacing: 0; overflow-wrap: anywhere; }
.meta { display: block; font-size: 12px; }
.download { grid-column: 1 / -1; display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; padding: 9px 15px; background: #176b52; color: #fff; font-weight: 700; text-decoration: none; }
.download.secondary { background: #bc4e3c; }
.download:hover, .download:focus-visible { background: #10523e; }
.download.secondary:hover, .download.secondary:focus-visible { background: #963e31; }

.status-band { padding: 26px 0; background: #17332b; color: #fff; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.status-grid > div { min-width: 0; }
.status-label { display: block; margin-bottom: 5px; color: #a9c2b9; font-size: 12px; }
.status-grid strong { display: block; overflow-wrap: anywhere; }
.guide-band { padding: 54px 0 66px; background: #fff; }
.guide-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr); gap: 70px; align-items: start; }
.guide-layout h2 { margin-bottom: 16px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; padding: 15px 0; border-bottom: 1px solid #e1e7e4; }
.steps li:first-child { padding-top: 0; }
.steps li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eef7f3; color: #176b52; font-weight: 800; }
.steps strong { display: block; margin-bottom: 3px; }
.steps p { margin-bottom: 0; color: #63716c; line-height: 1.6; }
.error-band { padding: 24px 0; border-top: 1px solid #e9b8af; background: #fff0ed; color: #8a2e24; }
.error-band p { margin: 5px 0 0; }
footer { padding: 22px 0; border-top: 1px solid #dce3e0; background: #f5f7f6; color: #63716c; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.hidden { display: none; }

@media (max-width: 720px) {
  .inner { width: min(100% - 28px, 1080px); }
  .brand-row { min-height: 88px; }
  .brand img { width: 46px; height: 46px; }
  h1 { font-size: 22px; }
  .brand p { font-size: 13px; }
  .release-band { padding: 38px 0 44px; }
  .release-heading, .release-grid, .guide-layout { grid-template-columns: 1fr; }
  .release-heading, .guide-layout { gap: 18px; }
  .release-grid { gap: 12px; }
  .status-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-band { padding: 40px 0 50px; }
}

@media (max-width: 430px) {
  .brand-row { align-items: flex-start; padding: 16px 0; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  h1 { font-size: 20px; }
  .brand p { display: none; }
  .channel { padding: 6px 9px; font-size: 12px; }
  h2 { font-size: 22px; }
  .release-item { grid-template-columns: 44px minmax(0, 1fr); padding: 17px; }
  .release-icon { width: 44px; height: 44px; }
  .release-body strong { font-size: 25px; }
}

@media (prefers-color-scheme: dark) {
  :root, body { background: #151918; color: #edf4f1; }
  .topbar, .guide-band, .release-item { background: #1c211f; border-color: #343b39; }
  .release-band, footer { background: #171c1a; border-color: #343b39; }
  h1 span, .eyebrow, .release-body strong { color: #70d5b2; }
  .brand p, .muted, .meta, .release-copy, .guide-copy, .steps p, footer { color: #aebbb6; }
  .channel, .steps li > span { border-color: #476259; background: #233a32; color: #8fe1c4; }
  .steps li { border-color: #343b39; }
  .error-band { border-color: #70443d; background: #351f1c; color: #ffb8ac; }
}
