
.download-page {
  min-height: 100svh;
  color: var(--ink);
  background: #0c0f12;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  position: relative;
}

.download-page::before,
.download-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.download-page::before {
  z-index: 0;
  background: url("../images/features/features-bg.webp") 57% top/cover no-repeat;
  filter: saturate(.50) brightness(.49) contrast(.98);
  transform: scale(1.025);
}

.download-page::after {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(164,146,116,.006), transparent 34%),
    linear-gradient(90deg, rgba(8,10,12,.80) 0%, rgba(8,10,12,.33) 24%, rgba(14,15,17,.14) 54%, rgba(10,11,13,.29) 100%),
    linear-gradient(180deg, rgba(8,10,12,.17) 0%, rgba(8,10,12,.22) 56%, rgba(8,10,12,.57) 100%);
}

.download-main,
.download-page .site-footer {
  position: relative;
  z-index: 1;
}

.download-main { flex: 1; }

.desktop-nav a[aria-current="page"] {
  color: var(--brand-ivory);
}
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
  opacity: .72;
}
.mobile-menu a[aria-current="page"] { color: var(--brand-ivory); }

.download-center {
  min-height: calc(100svh - 88px);
  padding: calc(var(--header-h) + 70px) 0 88px;
  display: flex;
  align-items: flex-start;
}

.download-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.download-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.download-kicker {
  margin: 0 0 15px;
  color: var(--bronze);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.download-heading h1 {
  margin: 0;
  color: var(--brand-ivory);
  font: 500 clamp(42px, 4.6vw, 68px)/.98 var(--display);
  letter-spacing: -.035em;
}

.download-heading > p:not(.download-kicker) {
  margin: 18px auto 0;
  color: rgba(236,232,223,.60);
  font-size: 13px;
  line-height: 1.7;
}

.download-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.utility-panel {
  position: relative;
  min-height: 455px;
  padding: 34px;
  border: 1px solid rgba(216,208,190,.14);
  background: linear-gradient(180deg, rgba(7,9,10,.66), rgba(7,9,10,.56));
  box-shadow: 0 34px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(13px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.utility-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.018), transparent 34%);
}

.utility-panel__topline {
  position: absolute;
  left: 34px;
  top: -1px;
  width: 74px;
  height: 1px;
  background: var(--bronze);
}

.utility-panel__header {
  position: relative;
  z-index: 1;
  text-align: center;
}

.utility-panel__eyebrow {
  margin: 0 0 13px;
  color: rgba(175,152,120,.74);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.utility-panel h2 {
  margin: 0;
  color: var(--brand-ivory);
  font: 500 clamp(26px, 2.1vw, 32px)/1.05 var(--display);
  letter-spacing: -.026em;
}

.panel-access-note {
  margin: 18px 0 0;
  color: rgba(175,152,120,.62);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.release-panel__body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.release-panel__body { padding: 38px 0 3px; }

.release-panel .release-meta {
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
  margin: 0 auto;
}

.release-panel .release-meta > div {
  min-width: 0;
  text-align: center;
}

.release-meta span {
  display: block;
  color: rgba(236,232,223,.30);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.release-panel .release-meta strong {
  display: block;
  margin-top: 8px;
  color: rgba(236,232,223,.74);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
}

.release-panel .release-meta [data-release-version] {
  color: rgba(246,240,229,.94);
  font-size: 11px;
  font-weight: 600;
}

.release-action {
  width: 100%;
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.release-panel .release-action {
  text-align: center;
}

.panel-loading {
  color: rgba(236,232,223,.36);
  font-size: 9px;
  letter-spacing: .08em;
}

.download-action {
  appearance: none;
  position: relative;
  overflow: hidden;
  min-height: 58px;
  width: min(80%, 430px);
  margin-inline: auto;
  padding: 12px 22px;
  border: 1px solid rgba(216,208,190,.08);
  background: rgba(216,208,190,.018);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ivory);
  font-family: var(--body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.download-action::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  width: 34%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgba(221,209,184,.11), transparent);
}

.download-action:hover,
.download-action:focus-visible {
  border-color: rgba(175,152,120,.28);
  background: rgba(175,152,120,.052);
  box-shadow: inset 0 0 22px rgba(175,152,120,.025), 0 0 18px rgba(7,8,10,.12);
  transform: translateY(-1px);
}

.download-action:hover::after,
.download-action:focus-visible::after {
  opacity: 1;
  animation: downloadActionSheen 1.55s ease-out both;
}

.download-action:focus-visible {
  outline: 1px solid rgba(209,195,176,.48);
  outline-offset: 2px;
}

.download-action__label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
}

.mirror-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mirror-actions .download-action { width: 100%; min-width: 0; }

.mirror-link {
  appearance: none;
  min-height: 62px;
  padding: 0 15px;
  border: 1px solid rgba(216,208,190,.13);
  background: rgba(255,255,255,.018);
  color: rgba(236,232,223,.58);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--body);
  cursor: pointer;
}


.micro-sha {
  width: min(430px, 100%);
  margin-top: 20px;
  padding-top: 11px;
  border-top: 1px solid rgba(216,208,190,.055);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  position: relative;
  z-index: 1;
  opacity: .66;
}

.micro-sha[hidden] { display: none; }

.micro-sha span {
  flex: 0 0 auto;
  color: rgba(236,232,223,.20);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.micro-sha code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(236,232,223,.24);
  font: 500 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .01em;
}

.alpha-gate {
  width: min(470px, calc(100% - 36px));
  max-width: 100%;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(216,208,190,.16);
  background: rgba(7,9,10,.96);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  overflow: visible;
}

.alpha-gate::backdrop {
  background: rgba(3,4,5,.74);
  backdrop-filter: blur(4px);
}

.alpha-gate[open] {
  animation: alphaGateIn .16s ease-out both;
}

.alpha-gate__panel {
  position: relative;
  padding: 34px 36px 36px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.018), transparent 34%),
    linear-gradient(180deg, rgba(13,15,17,.98), rgba(7,9,10,.98));
}

.alpha-gate__panel::before {
  content: "";
  position: absolute;
  left: 36px;
  top: -1px;
  width: 72px;
  height: 1px;
  background: var(--bronze);
}

.alpha-gate__close {
  appearance: none;
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(236,232,223,.40);
  font: 400 22px/1 var(--body);
  cursor: pointer;
  transition: color .18s ease;
}

.alpha-gate__close:hover,
.alpha-gate__close:focus-visible {
  color: var(--brand-ivory);
}

.alpha-gate__close:focus-visible {
  outline: 1px solid rgba(209,195,176,.38);
  outline-offset: 1px;
}

.alpha-gate__eyebrow {
  margin: 0 0 10px;
  color: rgba(175,152,120,.76);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .20em;
}

.alpha-gate h2 {
  margin: 0;
  color: var(--brand-ivory);
  font: 500 29px/1.08 var(--display);
  letter-spacing: -.025em;
}

.alpha-gate__copy {
  margin: 13px auto 0;
  max-width: 330px;
  color: rgba(236,232,223,.48);
  font-size: 12px;
  line-height: 1.6;
}

.alpha-gate__field {
  display: block;
  width: min(340px, 100%);
  margin: 27px auto 0;
  text-align: left;
}

.alpha-gate__field > span {
  display: block;
  margin: 0 0 8px;
  color: rgba(236,232,223,.34);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.alpha-gate__field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(216,208,190,.13);
  border-radius: 0;
  outline: 0;
  background: rgba(0,0,0,.24);
  color: rgba(246,240,229,.92);
  font: 500 14px var(--body);
  letter-spacing: .04em;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.alpha-gate__field input:focus {
  border-color: rgba(175,152,120,.42);
  background: rgba(0,0,0,.32);
  box-shadow: 0 0 0 1px rgba(175,152,120,.08);
}

.alpha-gate__error {
  width: min(340px, 100%);
  min-height: 16px;
  margin: 9px auto 0;
  color: rgba(205,151,137,.86);
  font-size: 9px;
  line-height: 1.45;
  text-align: left;
}

.alpha-gate__error[hidden] {
  visibility: hidden;
  display: block;
}

.alpha-gate__submit {
  width: min(340px, 100%);
  min-height: 52px;
  margin-top: 10px;
}

.alpha-gate__submit:disabled {
  opacity: .42;
  cursor: wait;
  transform: none;
}


.smartscreen-guide {
  width: min(640px, calc(100% - 36px));
  max-width: 100%;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(216,208,190,.16);
  background: rgba(7,9,10,.97);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
  overflow-y: auto;
  overflow-x: hidden;
}

.smartscreen-guide::backdrop {
  background: rgba(3,4,5,.78);
  backdrop-filter: blur(4px);
}

.smartscreen-guide[open] {
  animation: alphaGateIn .16s ease-out both;
}

.smartscreen-guide__panel {
  position: relative;
  padding: 28px 30px 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.018), transparent 34%),
    linear-gradient(180deg, rgba(13,15,17,.985), rgba(7,9,10,.985));
}

.smartscreen-guide__panel::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -1px;
  width: 72px;
  height: 1px;
  background: var(--bronze);
}

.smartscreen-guide__close {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(236,232,223,.40);
  font: 400 22px/1 var(--body);
  cursor: pointer;
  transition: color .18s ease;
}

.smartscreen-guide__close:hover,
.smartscreen-guide__close:focus-visible {
  color: var(--brand-ivory);
}

.smartscreen-guide__close:focus-visible {
  outline: 1px solid rgba(209,195,176,.38);
  outline-offset: 1px;
}

.smartscreen-guide__eyebrow {
  margin: 0 0 7px;
  color: rgba(175,152,120,.76);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .20em;
}

.smartscreen-guide h2 {
  margin: 0;
  color: var(--brand-ivory);
  font: 500 27px/1.08 var(--display);
  letter-spacing: -.025em;
}

.smartscreen-guide__copy {
  margin: 10px auto 0;
  max-width: 480px;
  color: rgba(236,232,223,.50);
  font-size: 11px;
  line-height: 1.55;
}

.smartscreen-guide__step {
  margin: 17px 0 9px;
  color: rgba(175,152,120,.72);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}

.smartscreen-guide__media {
  width: 100%;
  min-width: 0;
}

.smartscreen-guide__figure {
  margin: 0;
}

.smartscreen-guide__figure[hidden] {
  display: none;
}

.smartscreen-guide__image {
  display: block;
  width: min(532px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(216,208,190,.12);
  box-shadow: 0 14px 36px rgba(0,0,0,.26);
}

.smartscreen-guide__action {
  width: min(340px, 100%);
  min-height: 50px;
  margin-top: 18px;
}

@keyframes alphaGateIn {
  from { opacity: 0; transform: translateY(6px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes downloadActionSheen {
  0% { transform: skewX(-18deg) translateX(0); opacity: 0; }
  18% { opacity: .85; }
  100% { transform: skewX(-18deg) translateX(520%); opacity: 0; }
}


@media (max-width: 900px) {
  .download-center { padding-top: calc(var(--header-h) + 52px); }
  .download-panels { grid-template-columns: 1fr; }
  .utility-panel { min-height: 430px; }
  .download-shell { width: min(100% - 44px, 680px); }
}

@media (max-width: 560px) {
  .download-page::before {
    background-position: 64% top;
    filter: saturate(.42) brightness(.38) contrast(.97);
  }

  .download-page::after {
    background: linear-gradient(90deg, rgba(8,10,12,.30), rgba(8,10,12,.20)), linear-gradient(180deg, rgba(8,10,12,.18), rgba(8,10,12,.52));
  }

  .download-center {
    padding-top: calc(70px + 38px);
    padding-bottom: 62px;
  }

  .download-shell { width: min(100% - 30px, 620px); }
  .download-heading { margin-bottom: 31px; }
  .download-heading h1 { font-size: 43px; }
  .download-heading > p:not(.download-kicker) { font-size: 11px; margin-top: 14px; }
  .download-panels { gap: 15px; }
  .utility-panel { min-height: 390px; padding: 24px 20px; }
  .utility-panel__topline { left: 20px; width: 58px; }
  .utility-panel h2 { font-size: 24px; }
  .panel-access-note { margin-top: 14px; font-size: 8px; }

  .release-panel__body { padding-top: 26px; }
  .release-panel .release-meta { width: min(330px, 100%); gap: 12px; }
  .release-meta span { font-size: 7px; }
  .release-panel .release-meta strong { margin-top: 6px; font-size: 10px; }
  .release-panel .release-meta [data-release-version] { font-size: 10px; }

  .release-action { margin-top: 30px; }
  .download-action { width: min(88%, 360px); min-height: 56px; padding: 9px 13px; }
  .download-action__label { font-size: 10px; }

  .micro-sha span, .micro-sha code { font-size: 9px; }

  .alpha-gate { width: min(430px, calc(100% - 24px)); }
  .alpha-gate__panel { padding: 29px 22px 25px; }
  .alpha-gate__panel::before { left: 22px; width: 58px; }
  .alpha-gate h2 { font-size: 24px; }
  .alpha-gate__copy { margin-top: 10px; font-size: 11px; }
  .alpha-gate__field { margin-top: 21px; }
  .alpha-gate__field input { height: 46px; font-size: 13px; }
  .alpha-gate__submit { min-height: 50px; }

  .smartscreen-guide { width: min(620px, calc(100% - 18px)); max-height: calc(100svh - 18px); }
  .smartscreen-guide__panel { padding: 24px 14px 18px; }
  .smartscreen-guide__panel::before { left: 14px; width: 58px; }
  .smartscreen-guide__close { top: 6px; right: 7px; }
  .smartscreen-guide__eyebrow { font-size: 7px; }
  .smartscreen-guide h2 { font-size: 22px; }
  .smartscreen-guide__copy { max-width: 420px; margin-top: 8px; font-size: 10px; }
  .smartscreen-guide__step { margin-top: 13px; margin-bottom: 7px; }
  .smartscreen-guide__action { min-height: 48px; margin-top: 13px; }
}

@media (max-width: 960px) and (orientation: landscape) and (max-height: 560px) {
  .download-center { padding: 88px 0 34px; }
  .download-shell { width: min(100% - 44px, 980px); }
  .download-heading { margin-bottom: 20px; }
  .download-kicker { margin-bottom: 8px; font-size: 7px; }
  .download-heading h1 { font-size: 34px; }
  .download-heading > p:not(.download-kicker) { margin-top: 8px; font-size: 9px; }
  .download-panels { grid-template-columns: 1fr 1fr; gap: 14px; }
  .utility-panel { min-height: 305px; padding: 20px; }
  .utility-panel__topline { left: 20px; }
  .utility-panel__eyebrow { font-size: 6px; margin-bottom: 7px; }
  .utility-panel h2 { font-size: 19px; }
  .panel-access-note { margin-top: 10px; font-size: 7px; }

  .release-panel__body { padding: 16px 0 0; }
  .release-panel .release-meta { width: min(300px, 100%); gap: 10px; }
  .release-meta span { font-size: 7px; }
  .release-panel .release-meta strong { font-size: 9px; margin-top: 4px; }
  .release-panel .release-meta [data-release-version] { font-size: 9px; }

  .release-action { margin-top: 16px; }
  .download-action { width: min(86%, 340px); min-height: 46px; }
  .download-action__label { font-size: 9px; }
  .micro-sha { margin-top: 8px; padding-top: 6px; }
  .micro-sha span, .micro-sha code { font-size: 8px; }


  .alpha-gate { width: min(430px, calc(100% - 36px)); max-height: calc(100svh - 20px); overflow-y: auto; }
  .alpha-gate__panel { padding: 20px 30px 18px; }
  .alpha-gate__panel::before { left: 30px; width: 58px; }
  .alpha-gate__close { top: 7px; right: 9px; width: 28px; height: 28px; font-size: 19px; }
  .alpha-gate__eyebrow { margin-bottom: 6px; font-size: 6px; }
  .alpha-gate h2 { font-size: 21px; }
  .alpha-gate__copy { margin-top: 7px; font-size: 9px; line-height: 1.45; }
  .alpha-gate__field { margin-top: 13px; }
  .alpha-gate__field > span { margin-bottom: 5px; font-size: 6px; }
  .alpha-gate__field input { height: 38px; font-size: 11px; }
  .alpha-gate__error { min-height: 13px; margin-top: 5px; font-size: 8px; }
  .alpha-gate__submit { min-height: 40px; margin-top: 5px; }
  .alpha-gate__submit .download-action__label { font-size: 8px; }

  .smartscreen-guide { width: min(690px, calc(100% - 24px)); max-height: calc(100svh - 12px); }
  .smartscreen-guide__panel { padding: 14px 24px 14px; }
  .smartscreen-guide__panel::before { left: 24px; width: 58px; }
  .smartscreen-guide__close { top: 3px; right: 5px; width: 28px; height: 28px; font-size: 19px; }
  .smartscreen-guide__eyebrow { margin-bottom: 4px; font-size: 6px; }
  .smartscreen-guide h2 { font-size: 19px; }
  .smartscreen-guide__copy { margin-top: 5px; max-width: 520px; font-size: 8px; line-height: 1.4; }
  .smartscreen-guide__step { margin: 7px 0 5px; font-size: 6px; }
  .smartscreen-guide__image { width: min(360px, 100%); }
  .smartscreen-guide__action { width: min(300px, 100%); min-height: 38px; margin-top: 7px; }
  .smartscreen-guide__action .download-action__label { font-size: 8px; }

  .site-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .download-action { transition: none; }
  .download-action::after { animation: none !important; }
  .alpha-gate[open],
  .smartscreen-guide[open] { animation: none; }
}
