.app-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.app-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #ffffff36;
  border-radius: 999px;
  background: #ffffff08;
  color: #f1f2f3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.app-install-button img { flex: none; width: 18px; height: 18px; }
.app-install-button--ios { border-color: #1d9bf075; background: #1d9bf026; }

@media (hover: hover) {
  .app-install-button:hover { border-color: var(--site-blue); background: #1d9bf03d; color: #fff; }
}

.app-install-button:focus-visible { outline: 2px solid var(--site-blue-text); outline-offset: 3px; }

.app-download-qr {
  flex: none;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--app-download-qr-size, 112px);
  aspect-ratio: 1;
  padding: calc(var(--app-download-qr-size, 112px) * .07);
  border-radius: 12px;
  background: #fff;
  color: #333945;
  font-size: 12px;
}

.app-download-qr[hidden] { display: none; }
.app-download-qr :is(canvas, img) { display: block; width: 100%; height: auto; image-rendering: pixelated; }

.home-download-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: var(--site-content);
  margin: 18px auto 0;
  padding: 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-download-eyebrow { display: block; margin-bottom: 12px; color: var(--site-blue); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; }
.home-download-copy h2 { margin: 0 0 12px; color: var(--site-text); font-size: clamp(20px, 2vw, 26px); font-weight: 650; line-height: 1.35; }
.home-download-description { margin: 0; color: #9c9ca5; font-size: 12px; line-height: 1.7; }
.home-download-banner .app-install-actions { margin-top: 12px; gap: 12px; }
.home-download-banner .app-install-button { min-height: 40px; font-weight: 500; }
.home-download-note { margin: 12px 0 0; color: #80808b; font-size: 12px; line-height: 1.7; }
.home-download-banner .app-install-button--ios { border-color: var(--site-blue); background: var(--site-blue); color: var(--site-blue-on-primary); }
.home-download-banner .app-install-button--ios:hover { background: var(--site-blue-hover); }
.home-download-scan { display: flex; align-items: center; gap: 40px; color: var(--site-text); font-size: 13px; }
.home-download-scan:has(.app-download-qr[hidden]) { display: none; }
.home-download-scan small { display: block; margin-top: 5px; color: var(--site-muted); font-size: 12px; }

@media (max-width: 560px) {
  .home-download-banner { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 12px; padding-block: 24px; }
  .home-download-banner .app-install-actions { gap: 8px; margin-top: 12px; }
  .home-download-banner .app-install-button { gap: 5px; padding-inline: 10px; font-size: 12px; }
  .home-download-scan { justify-content: space-between; gap: 16px; }
}
