.desktop-download-panel {
  margin-top: 16px;
}

.desktop-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 224px));
  gap: 18px;
  margin-top: 24px;
}

.desktop-download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(20, 36, 60, .07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.desktop-download-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: rgba(13, 27, 42, .045);
  pointer-events: none;
}

.desktop-download-card--windows::after {
  background: rgba(255, 107, 53, .08);
}

.desktop-download-card:hover {
  transform: translateY(-4px);
  border-color: #f6a584;
  box-shadow: 0 18px 36px rgba(20, 36, 60, .12);
}

.desktop-download-card:focus-visible {
  outline: 3px solid rgba(255, 107, 53, .35);
  outline-offset: 3px;
}

.desktop-platform-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 27, 42, .18);
}

.desktop-platform-icon.windows-icon {
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(255, 107, 53, .24);
}

.desktop-platform-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.desktop-download-copy {
  display: grid;
  gap: 4px;
  margin-top: auto;
}

.desktop-download-card strong {
  font: 800 18px/1.25 Manrope;
}

.desktop-download-card small {
  color: var(--muted);
  font: 600 12px/1.4 "DM Sans", sans-serif;
}

.desktop-download-card em {
  margin-top: 5px;
  color: var(--orange);
  font: 700 12px/1.3 "DM Sans", sans-serif;
  font-style: normal;
}

.desktop-download-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f6f8;
  color: var(--ink);
  font: 800 18px/1 Manrope;
}

.desktop-download-note {
  color: var(--muted);
}

.desktop-download-note {
  margin: 14px 0 0 !important;
  font-size: 12px;
}

@media (max-width: 800px) {
  .desktop-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-download-card {
    padding: 18px;
    border-radius: 20px;
  }

  .desktop-platform-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .desktop-platform-icon svg {
    width: 29px;
    height: 29px;
  }

  .desktop-download-arrow {
    display: none;
  }
}

@media (max-width: 430px) {
  .desktop-download-grid {
    grid-template-columns: 1fr;
    max-width: 240px;
  }
}
