/* Public download page. Shares the guide-* building blocks from sysvia-getting-started.css. */
.dl-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 72px; align-items: start; padding-block: 156px 72px; }
.dl-hero h1 { margin: 22px 0; font-size: clamp(44px, 5.4vw, 72px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.dl-hero h1 span { color: #4b6c5f; }
.dl-feature { max-width: 640px; margin-top: 36px; padding: 28px; border: 1px solid #dce5dd; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 #eef3ee; }
.dl-feature h2 { margin: 10px 0 8px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.dl-feature p { margin: 0; color: #626966; font-size: 15px; line-height: 1.7; }
.dl-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.dl-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 8px; background: #4b6c5f; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.dl-button:hover { background: #35594a; color: #fff; }
.dl-button[aria-disabled="true"] { background: #a9bbb1; cursor: not-allowed; }
.dl-button:focus-visible, .dl-installer__links a:focus-visible, .dl-retry:focus-visible { outline: 2px solid #4b6c5f; outline-offset: 3px; }
.dl-file { color: #526258; font-size: 13px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.dl-status { min-height: 0; margin-top: 12px !important; font-size: 13px !important; }
.dl-status:empty { display: none; }
.dl-feature .guide-text-link { margin-top: 12px; }

.dl-licence { padding: 28px; border-radius: 14px; background: #eef3ee; }
.dl-licence h2 { margin: 12px 0 14px; font-size: 26px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.dl-licence p { margin: 0 0 18px; color: #3f4d45; font-size: 15px; line-height: 1.7; }
.dl-licence ul { display: grid; gap: 0; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid #cbd9cf; }
.dl-licence li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #cbd9cf; color: #263c31; font-size: 14px; line-height: 1.5; }
.dl-licence li span:last-child { color: #526258; text-align: right; }
.dl-licence__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.dl-licence .guide-button { min-height: 46px; }

.dl-section { padding-block: 72px; border-top: 1px solid #dce5dd; scroll-margin-top: 96px; }
.dl-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.dl-section h2 { margin: 10px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.17; }
.dl-section__head p { max-width: 520px; margin: 12px 0 0; color: #626966; font-size: 15px; line-height: 1.7; }
.dl-retry { min-height: 44px; padding: 10px 18px; border: 1px solid #cbd9cf; border-radius: 7px; background: #fff; color: #35594a; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.dl-retry:hover:not(:disabled) { background: #eef3ee; }
.dl-retry:disabled { cursor: progress; opacity: .7; }

.dl-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-catalog__message { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #cbd9cf; border-radius: 12px; color: #626966; font-size: 14px; line-height: 1.7; }
.dl-installer { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #dce5dd; border-radius: 12px; background: #fff; }
.dl-installer:focus-visible { outline: 2px solid #4b6c5f; outline-offset: 3px; }
.dl-installer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.dl-installer h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.dl-installer__detected { padding: 4px 10px; border-radius: 20px; background: #e8efea; color: #35594a; font-size: 11px; font-weight: 600; line-height: 1.5; }
.dl-installer > p { margin: 0 0 8px; color: #626966; font-size: 14px; line-height: 1.6; }
.dl-installer__links { display: grid; gap: 8px; margin-top: auto; }
.dl-installer__links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 10px 16px; border: 1px solid #dce5dd; border-radius: 8px; color: #263c31; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.dl-installer__links a:hover { border-color: #4b6c5f; background: #f5f8f5; }
.dl-installer__links a.is-recommended { border-color: #4b6c5f; background: #eef3ee; }
.dl-installer__links a > span:first-child { display: grid; gap: 2px; }
.dl-installer__links strong { font-size: 14px; font-weight: 500; }
.dl-installer__links small { color: #626966; font-size: 12px; font-variant-numeric: tabular-nums; }
.dl-installer__none { margin: 0; color: #626966; font-size: 13px; }

.dl-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.dl-notes li { padding-top: 22px; border-top: 2px solid #cbd9cf; }
.dl-notes h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; letter-spacing: -.025em; line-height: 1.4; }
.dl-notes p { margin: 0; color: #626966; font-size: 14px; line-height: 1.8; }
.dl-notes a, .dl-faq a { color: #35594a; text-decoration: underline; text-underline-offset: 4px; }

.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: dl-step; }
.dl-steps li { position: relative; padding-top: 58px; counter-increment: dl-step; color: #626966; font-size: 14px; line-height: 1.8; }
.dl-steps li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #cbd9cf; border-radius: 50%; color: #4b6c5f; font-size: 13px; font-variant-numeric: tabular-nums; content: counter(dl-step, decimal-leading-zero); }
.dl-steps strong { display: block; margin-bottom: 6px; color: #263c31; font-size: 16px; font-weight: 500; }
.dl-steps a { color: #35594a; text-decoration: underline; text-underline-offset: 4px; }
.dl-faq { max-width: 860px; }
.dl-faq .guide-detail:first-of-type { margin-top: 0; }
.dl-faq .guide-detail + .guide-detail { margin-top: 0; border-top: 0; }
.dl-finish { margin-top: 0; }

@media (max-width: 1100px) {
  .dl-hero { gap: 40px; }
  .dl-catalog { gap: 14px; }
}
@media (max-width: 991px) {
  .dl-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 124px; }
  .dl-hero h1 { font-size: 48px; }
  .dl-feature { max-width: none; }
  .dl-catalog, .dl-notes, .dl-steps { grid-template-columns: minmax(0, 1fr); }
  .dl-notes, .dl-steps { gap: 32px; }
  .dl-section { padding-block: 56px; }
}
@media (max-width: 599px) {
  .dl-hero { padding-block: 108px 44px; }
  .dl-hero h1 { font-size: clamp(37px, 9vw, 48px); }
  .dl-feature, .dl-licence { padding: 22px; }
  .dl-button { width: 100%; }
  .dl-installer { padding: 20px; }
  .dl-section { padding-block: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dl-rise { animation: dl-rise .7s ease-out both; animation-delay: calc(var(--dl-i, 0) * 90ms); }
}
@keyframes dl-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .dl-installer__links a { transition: none; }
}
