.download-hub {
  padding-top: clamp(44px, 6vw, 80px);
}
#download-title {
  position: static;
  width: auto;
  max-width: none;
  text-align: center;
  white-space: normal;
  margin-bottom: 40px;
}
.download-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #ffffff1a;
}
.download-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 8px;
  border: 0;
  background: transparent;
  color: #929aa7;
  font: inherit;
  font-size: clamp(15px, 1.6vw, 20px);
  cursor: pointer;
  transition: color 240ms;
}
.download-tabs button:hover, .download-tabs button[aria-selected="true"] {
  color: #e0eaff;
}
.download-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 33.333333%;
  height: 2px;
  background: linear-gradient(90deg, #90b6e000, #b4cff0 25%, #b4cff0 75%, #90b6e000);
  transform: translateX(calc(var(--tab-index, 0) * 100%));
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}
.download-stage {
  margin-top: 36px;
  display: grid;
  border: 1px solid #4799d650;
  border-radius: 22px;
  background: radial-gradient(ellipse at 4% 0%, #168bdb38, transparent 52%), radial-gradient(ellipse at 100% 100%, #1957b01a, transparent 50%), linear-gradient(125deg, #102d49, #0b2037 55%, #0a1729);
  box-shadow: inset 0 1px 0 #81d7ff30, 0 24px 64px #0004;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.download-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 420px;
  padding: clamp(24px, 4vw, 56px);
}
.download-panel[hidden] {
  display: none;
}
.download-intro h2 {
  margin: 18px 0 !important;
  font-size: clamp(26px, 3vw, 40px) !important;
}
.download-intro p {
  max-width: 26em;
  color: #c2ccd7;
}
.download-options {
  display: grid;
  gap: 12px;
}
button.download-option {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.download-version-dialog {
  width: min(480px, calc(100% - 32px));
  background: radial-gradient(ellipse at 4% 0%, #168bdb38, transparent 52%), radial-gradient(ellipse at 100% 100%, #1957b01a, transparent 50%), linear-gradient(125deg, #102d49, #0b2037 55%, #0a1729);
  border-color: #4799d650;
  box-shadow: inset 0 1px 0 #81d7ff30, 0 24px 72px #0006;
  isolation: isolate;
}
.download-version-dialog .download-options {
  margin-top: 24px;
  text-align: left;
}
.download-version-dialog .download-option {
  background: #15191f66;
  border-color: #b4cff024;
  box-shadow: inset 0 1px 0 #ffffff04;
}
.download-version-dialog .download-option:hover {
  background: #b4cff00d;
  border-color: #b4cff05c;
}
.download-version-dialog .download-option strong {
  color: #e4eaf2;
}
.download-version-dialog .download-arrow {
  background: #b4cff012;
  color: #c4d8f0;
}
.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
  padding: 20px 22px;
  border: 1px solid #c5d5e32b;
  border-radius: 12px;
  background: #101c294d;
  color: #f0f4fa;
  text-decoration: none;
  transition: background-color 220ms, border-color 220ms;
}
.download-option:hover {
  background: #c4ddf21a;
  border-color: #bfd7ee70;
}
.download-option strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.download-option small {
  display: block;
  margin-top: 7px;
  color: #b0bfce;
  font-size: 12px;
}
.download-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c4d9f014;
  color: #bed4ed;
  font-size: 22px;
}
.download-options .download-note {
  margin: 0;
  text-align: right;
  color: #a1b1c1;
  font-size: 12px;
}
.download-panel:focus-visible, .download-tabs button:focus-visible {
  outline: 2px solid #abc8ea;
  outline-offset: -4px;
}
@media (max-width: 768px) {
  .download-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }
  .download-tabs button {
    gap: 6px;
    padding: 20px 4px;
  }
  .download-stage {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .download-tab-indicator, .download-tabs button, .download-option {
    transition: none;
  }
}
.download-stage .download-intro h2 {
  color: #edf2f8;
}
.download-stage .download-intro p {
  color: #b8c2ce;
}
.download-stage .download-option {
  background: #15191f66;
  border-color: #b4cff024;
  color: #edf2f8;
  box-shadow: inset 0 1px 0 #ffffff04;
}
.download-stage .download-option:hover {
  background: #b4cff00d;
  border-color: #b4cff05c;
}
.download-stage .download-arrow {
  background: #b4cff012;
  color: #c4d8f0;
}
.download-stage .download-panel:focus-visible, .download-stage .download-option:focus-visible {
  outline: 2px solid #b4cff0;
  outline-offset: -4px;
}
.download-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16.666667%;
  width: 66.666667%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent 6%, #478cf252 28%, #83d9ffb3 50%, #478cf252 72%, transparent 94%);
  transform: translateX(calc(var(--light-index, 0) * 50%));
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.download-stage::after {
  content: "";
  position: absolute;
  top: 0;
  height: 170px;
  left: -33.333333%;
  width: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% -30%, #e0e6ed14 0%, #c4ced808 30%, #c4ced802 52%, transparent 72%);
  transform: translateX(calc(var(--light-index, 0) * 33.333333%));
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .download-stage::before, .download-stage::after {
    transition: none;
  }
}
.download-grid-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#7ac7ff07 1px, transparent 1px), linear-gradient(90deg, #7ac7ff07 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, #000, transparent 65%);
}
.download-version-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#7ac7ff07 1px, transparent 1px), linear-gradient(90deg, #7ac7ff07 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, #000, transparent 65%);
}
