.download-page {
  background: radial-gradient(ellipse at 15% 45%, #17323b40, transparent 60%);
  padding-bottom: 12px;
}
.client-download-hero {
  padding: 40px 0 34px;
  border-bottom: 1px solid #9e793c;
  background: linear-gradient(90deg, #030f18f2 8%, #07121cb3 45%, #07101b24 100%),
    url("artwork/news-citadel-v1.c97432c72dc5.png") center 44% / cover;
}
.client-download-hero h1 { margin: 8px 0 12px; color: #ffe3a2; font-size: clamp(34px, 4vw, 52px); }
.client-download-hero h2 { font-size: 20px; color: #f0d493; margin-bottom: 12px; }
.client-download-hero p:not(.eyebrow) { max-width: 620px; font-size: 14px; line-height: 1.85; color: #d1d5d3; }
.client-hero-link { display: inline-flex; gap: 14px; margin-top: 20px; color: #f0ce88; font-size: 13px; }
.client-download-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 24px;
  padding-top: 28px;
  align-items: start;
}
.download-page .ornate-panel { background: linear-gradient(135deg, #12222be6, #071117f5); min-width: 0; }
.client-package, .client-install, .client-requirements, .client-questions { padding: 30px; }
.client-package-heading { display: flex; align-items: center; gap: 20px; }
.client-package-emblem {
  display: grid; place-items: center; width: 62px; height: 62px; flex-shrink: 0;
  background: radial-gradient(ellipse at 50% 0, #a46a1a45, #a67a2114); border: 1px solid #b2904e;
}
.client-package-emblem .ui-icon { color: #efc16d; width: 34px; height: 34px; }
.client-package-heading .eyebrow { font-size: 10px; margin-bottom: 8px; }
.client-package h2, .client-install h2 { font-size: 27px; color: #f5d994; overflow-wrap: anywhere; }
.client-package-state {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; margin: 25px 0 16px;
  border: 1px solid #a28b4d60; background: #9d812d14; color: #dfca95; font-size: 12px; line-height: 1.5;
}
.client-package-notice { line-height: 1.9; font-size: 14px; color: #b2bec2; }
.download-page .client-download-action {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px;
  margin-top: 24px; padding: 14px 20px; font-size: 17px; text-align: center; white-space: normal;
  background: linear-gradient(145deg, #c42b10, #7d160b); border-color: #d5a14e; color: #fff0c8;
  box-shadow: inset 0 0 0 3px #6d180d66, 0 0 18px #a56c1921;
}
.download-page .client-download-action:hover { background: linear-gradient(145deg, #d53b16, #9d2611); }
.download-page .client-download-action:disabled {
  color: #b6ab94; background: #242824; border-color: #736648; box-shadow: inset 0 0 0 3px #11191c;
  cursor: not-allowed; opacity: 1;
}
.client-download-action .ui-icon { width: 21px; height: 21px; }
.client-file-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
  border-top: 1px solid #62533970; padding-top: 22px; margin: 28px 0 0;
}
.client-file-facts > div { min-width: 0; }
.client-file-facts dt { color: #93a6ad; font-size: 12px; line-height: 1.7; margin-bottom: 8px; }
.client-file-facts dd { color: #dfd6bf; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.client-file-facts .client-checksum { grid-column: 1 / -1; border-top: 1px solid #4a535a66; padding-top: 18px; }
.client-checksum code { display: block; padding: 12px 14px; background: #040e1499; color: #b3c9cf;
  border: 1px solid #42505880; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; user-select: all; }
.client-install .eyebrow { margin-bottom: 10px; font-size: 10px; }
.client-install-steps { list-style: none; padding: 0; margin: 26px 0 0; }
.client-install-steps li { position: relative; display: flex; align-items: start; gap: 20px; padding-bottom: 26px; }
.client-install-steps li:not(:last-child)::before {
  content: ''; position: absolute; top: 42px; left: 21px; bottom: 0; width: 1px; background: #8e723f55;
}
.client-install-steps li:last-child { padding-bottom: 0; }
.client-step-number { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid #9e7e4180; background: #bd88321c; color: #e5c17b; font-size: 15px; font-family: var(--serif); }
.client-install-steps h3 { margin: 3px 0 10px; font-size: 17px; color: #e9d5a6; }
.client-install-steps p { font-size: 13px; line-height: 1.9; }
.client-install-steps a { display: inline-flex; gap: 14px; margin-top: 12px; font-size: 13px; color: #e8c681; }
.client-section-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 20px;
  border-bottom: 1px solid #64563770; }
.client-section-heading h2 { font-size: 22px; color: #f5d994; }
.client-section-heading .ui-icon { width: 22px; height: 22px; color: #dfba6e; }
.client-requirements ul { list-style: none; padding: 0; margin: 20px 0 0; }
.client-requirements li { position: relative; padding-left: 20px; line-height: 2; font-size: 14px; color: #bdc7c8; }
.client-requirements li + li { margin-top: 12px; }
.client-requirements li::before { content: '◇'; position: absolute; left: 0; color: #d1ac65; font-size: 11px; }
.client-questions details { padding: 0; margin: 0; border: 0; border-bottom: 1px solid #43515980; }
.client-questions details:last-child { border-bottom: 0; }
.client-questions summary { position: relative; list-style: none; padding: 19px 28px 19px 0; font-size: 14px;
  color: #ded5bd; line-height: 1.8; cursor: pointer; }
.client-questions summary::-webkit-details-marker { display: none; }
.client-questions summary::after { content: '+'; position: absolute; right: 2px; top: 19px;
  font-size: 20px; color: #d6b877; line-height: 1.2; }
.client-questions details[open] summary::after { content: '−'; }
.client-questions details p { padding: 0 0 20px; margin: 0; font-size: 13px; line-height: 1.9; color: #aebcc1; }
.client-questions summary:focus-visible { outline: 2px solid #f2d99a; outline-offset: 4px; }
.client-download-help { display: flex; align-items: center; gap: 22px; padding: 26px 30px; margin-top: 24px; }
.client-help-icon { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px;
  border: 1px solid #ac853f70; background: #b1822020; color: #e5be71; }
.client-help-icon .ui-icon { width: 30px; height: 30px; }
.client-download-help h2 { font-size: 22px; color: #f0d89d; margin-bottom: 10px; }
.client-download-help p { font-size: 13px; line-height: 1.8; }
.client-help-links { display: flex; gap: 12px; margin-left: auto; flex-shrink: 0; }
.client-help-links .button { gap: 14px; min-height: 42px; padding: 9px 18px; font-size: 13px; }
@media (max-width: 1050px) {
  .client-package, .client-install, .client-requirements, .client-questions { padding: 24px; }
  .client-package h2, .client-install h2 { font-size: 24px; }
  .client-package-heading { gap: 14px; }
  .client-package-emblem { width: 50px; height: 54px; }
  .client-download-help { flex-wrap: wrap; }
  .client-help-links { margin-left: 76px; }
}
@media (max-width: 820px) {
  .client-download-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .client-download-hero { padding: 28px 0; background-position: 58% center; }
  .client-download-hero h2 { font-size: 18px; }
  .client-download-hero p:not(.eyebrow) { font-size: 13px; }
  .client-download-shell { padding-top: 20px; }
  .client-package, .client-install, .client-requirements, .client-questions { padding: 24px 20px; }
  .client-package h2 { font-size: 23px; }
  .client-section-heading h2 { font-size: 21px; }
  .client-file-facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .client-install-steps li { gap: 16px; }
  .client-download-help { margin-top: 20px; padding: 24px 20px; gap: 16px; }
  .client-download-help > div:not(.client-help-links) { flex: 1; min-width: 0; }
  .client-download-help h2 { font-size: 20px; }
  .client-help-links { margin-left: 0; flex-direction: column; width: 100%; }
  .client-help-links .button { width: 100%; }
}
