html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

[hidden] {
  display: none !important;
}

.download-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 64px) var(--gutter);
}

.download-shell {
  width: min(100%, 520px);
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.download-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #050505;
}

.download-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-wordmark {
  width: 94px;
  height: auto;
  object-fit: contain;
}

.download-card {
  border: 1px solid var(--border);
  padding: clamp(28px, 7vw, 52px);
  background: var(--bg-card);
}

.download-card h1 {
  margin-top: 14px;
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: 0.98;
}

.download-status {
  min-height: 48px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

#download-primary {
  min-width: 170px;
}

.download-secondary {
  color: var(--text-2);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
}

.download-secondary:hover {
  color: var(--text);
  border-color: var(--text-2);
}

.download-help,
.download-noscript {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.download-help strong {
  color: var(--text-2);
  font-weight: 500;
}

.download-noscript a {
  color: var(--text);
  border-bottom: 1px solid var(--text-3);
}

@media (max-width: 420px) {
  .download-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-actions .btn {
    width: 100%;
  }
}
