/* Keep platform controls independent and keyboard accessible within each CTA. */
body .platform-cta .cta-main,
body .platform-cta .platform-choice {
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 3px;
  padding: 0;
  font: inherit;
  text-decoration: none;
}

body .platform-cta .cta-main {
  display: inline-block;
}

body .platform-cta .platform-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 24px;
  min-height: 24px;
  cursor: pointer;
}

body .platform-cta .cta-main:hover,
body .platform-cta .platform-choice:hover {
  color: inherit;
  background: transparent;
  opacity: .8;
}

.platform-cta a:focus-visible,
.platform-cta button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.lern-landing .hero-content .store-badge {
  pointer-events: auto;
}

button.store-badge {
  text-align: left;
}

.app-download-dialog {
  width: min(420px, calc(100% - 40px));
  box-sizing: border-box;
  padding: 32px;
  border: 0;
  border-radius: 18px;
  color: #17171b;
  background: #fff;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 20px 80px #0004;
}

.app-download-dialog::backdrop {
  background: #0009;
}

.app-download-dialog .app-download-title {
  margin: 0;
  color: #17171b;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.app-download-dialog .app-download-message {
  margin: 16px 0 24px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.app-download-dialog .app-download-close {
  min-height: 44px;
  padding: 10px 28px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(90deg, #fc4825, #e00197);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.app-download-dialog .app-download-close:focus-visible {
  outline: 3px solid #4355ff;
  outline-offset: 4px;
}
