/* Explicit install buttons only; header and text download links keep their own rules. */
.dl-btn[data-os],
.landing-x .landing-hero-actions .dl-btn[data-os],
.rel-cta .btn.dl-btn[data-os],
.rel-list .rel-dl.dl-btn[data-os],
.products-hub .ph-actions .dl-btn[data-os] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: .72rem 1.15rem;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--wt-font-sans);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, .1), 0 4px 6px -4px rgba(255, 255, 255, .1);
  transition: transform 300ms var(--wt-ease), border-color 300ms var(--wt-ease), background 300ms var(--wt-ease), color 300ms var(--wt-ease), box-shadow 300ms var(--wt-ease);
}
.dl-btn[data-os]:hover,
.landing-x .landing-hero-actions .dl-btn[data-os]:hover,
.rel-cta .btn.dl-btn[data-os]:hover,
.rel-list .rel-dl.dl-btn[data-os]:hover,
.products-hub .ph-actions .dl-btn[data-os]:hover {
  transform: translateY(-1px);
  border-color: #fff;
  background: rgba(255, 255, 255, .9);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, .08), 0 4px 12px rgba(255, 255, 255, .06);
}
.dl-btn[data-os]:active,
.landing-x .landing-hero-actions .dl-btn[data-os]:active,
.rel-cta .btn.dl-btn[data-os]:active,
.rel-list .rel-dl.dl-btn[data-os]:active,
.products-hub .ph-actions .dl-btn[data-os]:active { transform: scale(.98); }
.dl-btn[data-os] > .x-download-icon { width: 1.125rem; height: 1.125rem; flex: 0 0 1.125rem; }

/* Keep desktop card actions balanced; only narrow layouts may stack the CTAs. */
@media (min-width: 1100px) {
  .products-hub .ph-actions .dl-btn[data-os] { gap: .375rem; padding-inline: .4rem; }
}
@media (max-width: 1099px) {
  .products-hub .ph-actions .dl-btn[data-os] { flex-basis: max-content; }
}

/* Latest release labels may occupy two lines; their version remains in the label. */
.rel-cta .btn.dl-btn[data-os] { min-width: min(100%, 21rem); max-width: 100%; }
.rel-cta .dl-btn[data-os] > .dl-label { min-width: 0; white-space: normal; line-height: 1; text-align: center; }
@media (max-width: 640px) {
  .rel-cta .btn.dl-btn[data-os]:has(> .dl-label) { padding-block: .375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-btn[data-os] { transition: none; }
}
