/* Free downloads: keep the page white and use the native pointer for reliable forms. */
html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input,
html.has-custom-cursor label {
  cursor: auto !important;
}

.cursor-dot {
  display: none !important;
}

.download-grid,
.download-card,
.download-card.is-free,
.download-card img {
  background: #fff;
}

.download-card button,
.download-dialog button,
.download-dialog input[type="checkbox"],
.download-dialog label,
.download-dialog a {
  cursor: pointer !important;
}

.download-dialog input[type="email"] {
  cursor: text !important;
}

.download-dialog {
  overflow: auto;
  overscroll-behavior: contain;
}

.download-dialog-close {
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

body.download-dialog-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .download-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .download-dialog-close {
    position: sticky;
    float: right;
    top: 0;
    right: 0;
    margin: 4px 4px -48px 0;
    background: #fffdf8;
  }
}
