.mobile-app-download-page {
  background: #edf2f7;
}

.mobile-app-download-page .site-shell {
  min-height: 100vh;
}

.app-download-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 72px;
}

.app-download-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 30px 34px;
  color: #fff;
  background: #0c4f8a;
  border-top: 5px solid #d7aa46;
  box-shadow: 0 14px 34px rgba(20, 47, 76, .13);
}

.app-download-hero span {
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.app-download-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.app-download-hero p {
  margin: 0;
  color: #e8f2fb;
  line-height: 1.7;
}

.app-download-hero ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-download-hero li {
  padding: 8px 11px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  font-weight: 700;
}

.app-download-card {
  display: grid;
  grid-template-areas: "cover copy";
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e0ea;
  box-shadow: 0 22px 56px rgba(20, 47, 76, .12);
}

.app-download-cover {
  display: flex;
  grid-area: cover;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  background: var(--app-ad-frame-background, #0f1f33);
}

.app-download-cover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 12px;
  color: #fff;
}

.app-download-cover-head strong {
  font-size: 15px;
}

.app-download-cover-detail {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 4px;
  margin: -10px -10px -10px 0;
  padding: 0 10px;
  color: #dbeafe;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.app-download-cover-detail:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-download-cover-detail:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 1px;
}

.app-download-cover-detail svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-download-cover-link {
  display: grid;
  width: 100%;
  min-height: 520px;
  flex: 1;
  place-items: center;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: var(--app-ad-frame-background, #0f1f33);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
}

.app-download-cover-link:focus-visible {
  outline: 4px solid #60a5fa;
  outline-offset: -4px;
}

.app-download-cover-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.app-download-copy {
  grid-area: copy;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 46px 54px;
}

.app-download-kicker {
  color: #0c67aa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.app-download-copy h2 {
  margin: 10px 0 10px;
  color: #101828;
  font-size: 38px;
  line-height: 1.28;
}

.app-download-summary {
  margin: 0;
  color: #536273;
  line-height: 1.8;
}

.app-download-version {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 22px;
}

.app-download-version span {
  padding: 7px 11px;
  color: #344054;
  background: #f1f5f9;
  border: 1px solid #dbe4ed;
  font-size: 13px;
}

.app-download-qr {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 16px;
  background: #f7fbff;
  border: 1px solid #cfe0ef;
}

.app-download-qr-image {
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid #d3dce6;
}

.app-download-qr-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.app-download-qr strong {
  display: block;
  color: #172b4d;
  font-size: 20px;
  line-height: 1.4;
}

.app-download-qr span {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.app-download-button {
  display: grid;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  color: #fff !important;
  background: #075f9d;
  border-bottom: 4px solid #034b7d;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.app-download-button:hover {
  background: #064f84;
}

.app-download-button-copy strong,
.app-download-button-copy small {
  display: block;
}

.app-download-button-copy strong {
  font-size: 17px;
}

.app-download-button-copy small {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 500;
}

.app-download-button-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  font-size: 14px;
  white-space: nowrap;
}

.app-download-button-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-download-device-tip {
  margin: 10px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.app-download-home {
  margin-top: 18px;
  color: #344054;
  text-align: center;
}

.app-download-waiting {
  padding: 16px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #f5d78e;
  text-align: center;
}

.app-download-trust {
  margin-top: 24px;
  padding: 16px 18px;
  background: #f8fafc;
  border-left: 4px solid #d7aa46;
}

.app-download-trust strong {
  color: #1f2937;
  font-size: 14px;
}

.app-download-trust p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.app-download-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: #d6e0ea;
  border: 1px solid #d6e0ea;
}

.app-download-notes > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 20px;
  background: #fff;
}

.app-download-notes span {
  color: #0c67aa;
  font-size: 22px;
  font-weight: 900;
}

.app-download-notes p {
  margin: 0;
  color: #5b6878;
  font-size: 14px;
  line-height: 1.75;
}

.app-download-notes strong {
  display: block;
  margin-bottom: 3px;
  color: #1f2937;
}

@media (max-width: 820px) {
  .app-download-shell {
    width: min(100% - 20px, 560px);
    margin: 16px auto 42px;
  }

  .app-download-hero {
    display: block;
    padding: 24px 22px;
  }

  .app-download-hero h1 {
    font-size: 30px;
  }

  .app-download-hero ul {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .app-download-card {
    grid-template-areas:
      "copy"
      "cover";
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .app-download-copy {
    background: #fff;
    border: 1px solid #d6e0ea;
    box-shadow: 0 14px 34px rgba(20, 47, 76, .1);
    padding: 30px 22px 32px;
  }

  .app-download-copy h2 {
    font-size: 29px;
  }

  .app-download-cover {
    overflow: hidden;
    padding: 0;
    border: 1px solid #d6e0ea;
    box-shadow: 0 14px 34px rgba(20, 47, 76, .1);
  }

  .app-download-cover-head {
    padding: 10px 14px;
  }

  .app-download-cover-detail {
    margin: 0 -6px 0 0;
  }

  .app-download-cover-link {
    display: block;
    height: auto;
    min-height: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .app-download-cover-link img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .app-download-qr {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .app-download-qr strong {
    font-size: 17px;
  }

  .app-download-qr span {
    font-size: 12px;
  }

  .app-download-notes {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 390px) {
  .app-download-qr {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .app-download-button {
    padding: 0 16px;
    min-height: 76px;
  }

  .app-download-button-copy strong {
    font-size: 15px;
  }

  .app-download-button-action {
    padding-left: 12px;
    font-size: 13px;
  }
}
