html.site-download {
  --site-background: url("/site/assets/light/stella-core-2x.webp");
}

html.site-download.site-theme-dark {
  --site-background: url("/site/assets/dark/stella-core.webp");
}

html.site-download .download-nav {
  grid-template-columns: minmax(0, 1fr) auto;
}

html.site-download .download-main {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding: 132px 24px 72px;
  place-items: center;
}

html.site-download .download-panel {
  min-width: 0;
  width: min(1040px, 100%);
  text-align: center;
  transform: translateY(-18px);
}

html.site-download .download-eyebrow {
  margin: 0 0 18px;
  color: var(--site-accent-strong);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(.36rem, 1.95vw, .68rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: clamp(.02em, .08vw, .16em);
  white-space: nowrap;
}

html.site-download h1 {
  max-width: 980px;
  margin: 0 auto 84px;
  color: var(--site-ink);
  font-size: clamp(1rem, 5vw, 4rem);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -.052em;
  white-space: nowrap;
}

html.site-download .download-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

html.site-download .download-button {
  display: flex;
  min-height: 76px;
  padding: 15px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--site-line);
  border-radius: 20px;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  appearance: none;
}

html.site-download .download-platform-content {
  display: inline-grid;
  grid-template-columns: 36px auto 36px;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
}

html.site-download .download-platform-content::after {
  width: 36px;
  height: 1px;
  grid-column: 3;
  grid-row: 1;
  content: '';
}

html.site-download .download-button-copy {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  gap: 7px;
  text-align: center;
}

html.site-download .download-button-title {
  font-size: .96rem;
  font-weight: 650;
  letter-spacing: .01em;
}

html.site-download .download-platform-logo {
  display: block;
  flex: 0 0 auto;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  object-fit: contain;
}

html.site-download .download-platform-logo-windows {
  opacity: .88;
}

html.site-download .download-platform-logo-apple {
  opacity: .84;
}

html.site-download .download-platform-logo-web {
  opacity: .88;
}

html.site-download .download-button small {
  font: 600 .61rem/1 'Sora', system-ui, sans-serif;
  letter-spacing: .08em;
}

html.site-download .download-button-secondary {
  color: var(--site-ink);
  border-color: rgba(54, 96, 115, .2);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 46px rgba(16, 43, 58, .08);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

html.site-download .download-button-secondary small {
  color: var(--site-ink-faint);
}

html.site-download .download-button-secondary:hover {
  color: var(--site-accent-strong);
  border-color: rgba(65, 111, 131, .38);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 54px rgba(16, 43, 58, .12);
  transform: translateY(-3px);
}

html.site-download .download-button-secondary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--site-accent) 48%, transparent);
  outline-offset: 4px;
}

html.site-download.site-theme-dark .download-button-secondary {
  color: rgba(241, 251, 254, .9);
  border-color: rgba(177, 226, 242, .16);
  background: rgba(24, 41, 54, .62);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .18);
}

html.site-download.site-theme-dark .download-button-secondary small {
  color: rgba(209, 230, 239, .5);
}

html.site-download.site-theme-dark .download-platform-logo-apple {
  filter: invert(1);
  opacity: .88;
}

html.site-download.site-theme-dark .download-platform-logo-web {
  filter: invert(1);
  opacity: .82;
}

html.site-download.site-theme-dark .download-button-secondary:hover {
  color: #ffffff;
  border-color: rgba(177, 226, 242, .34);
  background: rgba(37, 58, 72, .78);
}

html.site-download.site-theme-dark .download-platform-logo-windows {
  opacity: .9;
}

@media (max-width: 760px) {
  html.site-download {
    --site-background: url("/site/assets/light/stella-core.webp");
  }

  html.site-download.site-theme-dark {
    --site-background: url("/site/assets/dark/stella-core.webp");
  }

  html.site-download .download-main {
    padding: 104px 20px 44px;
  }

  html.site-download h1 {
    margin-bottom: 64px;
    line-height: 1.08;
  }

  html.site-download .download-panel {
    transform: translateY(-12px);
  }

  html.site-download .download-actions {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.site-download .download-button-secondary {
    transition: none;
  }
}
