:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6a75;
  --line: #d8e1e7;
  --surface: #ffffff;
  --soft: #f3f6f8;
  --blue: #176ea6;
  --blue-dark: #11547e;
  --green: #267154;
  --gold: #8d650c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a { color: inherit; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner,
.footer-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border-radius: 6px;
  font-weight: 700;
}

.brand strong,
.brand small { display: block; }
.brand strong { line-height: 1.15; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }

.topbar-nav { display: flex; align-items: center; gap: 22px; }
.manual-link { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.manual-link:hover { text-decoration: underline; }

.download-band {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.download-grid {
  min-height: 550px;
  padding: 62px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}

h1, h2, p { margin-top: 0; }
h1 { font-size: 40px; line-height: 1.25; margin-bottom: 18px; }
h2 { font-size: 27px; line-height: 1.35; margin-bottom: 18px; }
.summary { color: var(--muted); font-size: 18px; max-width: 620px; }
.install-entry { color: var(--muted); font-size: 14px; margin: -10px 0 22px; }
.install-entry code { color: var(--green); overflow-wrap: anywhere; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.primary,
.secondary {
  min-height: 46px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.primary { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.secondary { color: var(--blue-dark); background: #fff; border: 1px solid #a9bfcc; }
.secondary:hover { border-color: var(--blue); }

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
}

.release-meta div { border-top: 1px solid var(--line); padding-top: 9px; }
.release-meta dt { color: var(--muted); font-size: 12px; }
.release-meta dd { margin: 2px 0 0; font-weight: 700; }

.product-shot { margin: 0; }
.product-shot img { width: 100%; height: auto; display: block; border: 1px solid #bbc8d1; border-radius: 6px; box-shadow: 0 14px 35px rgba(18,42,58,.12); }
.product-shot figcaption { color: var(--muted); font-size: 13px; margin-top: 9px; text-align: center; }

.content-section { padding: 68px 0; }
.section-heading { max-width: 720px; margin-bottom: 26px; }

.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps span { color: var(--gold); font-weight: 700; }
.steps strong { display: block; font-size: 18px; }
.steps p { color: var(--muted); margin: 3px 0 0; }

.prerequisites-band {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.prerequisites-inner { padding: 68px 0; }
.prerequisites-inner > .section-heading p:last-child { color: var(--muted); }

.prerequisite-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.prerequisite-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.item-number { color: var(--gold); font-weight: 700; }
.item-copy strong { display: block; font-size: 18px; }
.item-copy p { margin: 3px 0 5px; color: var(--muted); }
.item-copy code { display: block; overflow-wrap: anywhere; color: var(--green); }
.secondary.compact { min-width: 126px; }
.status-label { color: var(--green); font-weight: 700; }

.admin-procedure {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 20px 48px;
}

.admin-procedure ol { margin: 0; padding-left: 22px; }
.admin-procedure li { margin-bottom: 8px; }
.admin-procedure pre {
  grid-column: 2;
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid #b9c8d1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.admin-procedure pre code { font-size: 13px; line-height: 1.65; }
.procedure-note,
.terminology-note { grid-column: 2; color: var(--muted); margin: 0; }
.terminology-note { padding-top: 12px; border-top: 1px solid var(--line); }

.requirements-band { background: #162832; color: #eef5f8; }
.requirements-grid { padding: 58px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.requirements-band .eyebrow { color: #6cc4ad; }
.requirements-band h2 { color: #fff; }
.requirements-band p,
.requirements-band li { color: #cbd9df; }
.requirements-band ul { margin: 0; padding-left: 22px; }

.integrity { padding: 46px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.integrity h2 { margin-bottom: 7px; }
.integrity code { display: block; max-width: 720px; overflow-wrap: anywhere; color: var(--green); font-family: Consolas, monospace; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

code { font-size: .92em; }

@media (max-width: 860px) {
  .download-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 42px; gap: 34px; }
  .product-shot { order: -1; }
  h1 { font-size: 32px; }
  .requirements-grid { grid-template-columns: 1fr; gap: 34px; }
  .admin-procedure { grid-template-columns: 1fr; gap: 18px; }
  .admin-procedure pre,
  .procedure-note,
  .terminology-note { grid-column: 1; }
  .integrity { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 28px, 1160px); }
  .manual-link { font-size: 14px; }
  .topbar-nav { gap: 14px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .release-meta { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .primary, .secondary { width: 100%; }
  .steps li { grid-template-columns: 42px 1fr; gap: 10px; }
  .prerequisite-list li { grid-template-columns: 34px 1fr; gap: 10px; }
  .prerequisite-list .compact,
  .prerequisite-list .status-label { grid-column: 2; justify-self: stretch; }
  .prerequisite-list .status-label { text-align: left; }
  .admin-procedure pre code { font-size: 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
}
