.download-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 75% 25%, #f0e6f7 0, transparent 55%), var(--paper);
}
.download-page header, .download-page main {
  margin-inline: auto;
  width: min(100% - 48px, 920px);
}
.download-page header { padding-block: 24px; border-bottom: 1px solid var(--line); }
.download-brand { display: inline-flex; gap: 9px; align-items: center; }
.download-brand img:first-child { width: 32px; }
.download-brand img:last-child { width: 88px; }
.download-page main { display: block; padding-block: clamp(64px, 15vh, 160px); }
.download-page h1 { font-size: var(--text-display); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: var(--leading-display); }
.download-page main > p { margin-top: 20px; }
.download-action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 35px; }
.download-button { display: inline-flex; align-items: center; gap: 20px; padding: 14px 22px; border-radius: 12px; color: white; background: var(--accent); font-size: var(--text-control); font-weight: 650; }
.download-action { display: grid; max-width: 27rem; gap: 8px; }
.download-action label { font-weight: 650; }
.download-action select {
  appearance: none; width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 44px 13px 16px;
  border: 0; border-radius: 24px; background: #eae1f1; color: var(--accent); font: inherit; font-weight: 650;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236d477e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; margin-bottom: 14px; cursor: pointer;
}
.download-action select:disabled { opacity: .65; cursor: default; }
.download-action select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.download-action input { min-width: 0; width: 100%; box-sizing: border-box; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: white; color: inherit; font: inherit; }
.download-action input:focus-visible, .download-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.download-action small { color: var(--muted); font-size: var(--text-caption); }
.download-button { justify-content: center; margin-top: 10px; border: 0; cursor: pointer; }
.download-button:not(:disabled):hover { background: #57336f; }
.download-button:disabled { opacity: .62; cursor: default; }
.platform, #release-status { font-size: var(--text-caption); color: var(--muted); }
.download-page #release-status { margin-top: 12px; }
#retry, .try-workspace { font-size: var(--text-control); font-weight: 650; text-underline-offset: 4px; text-decoration: underline; }
#retry { margin-top: 8px; color: var(--accent); }
.try-workspace { display: inline-block; margin-top: 42px; color: var(--muted); }
.upgrade-note { margin-top: 24px; max-width: 27rem; color: var(--muted); font-size: var(--text-caption); }
.upgrade-note summary { width: fit-content; cursor: pointer; }
.upgrade-note p { margin-top: 8px; line-height: 1.6; }
