.download-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  padding: 22px;
  place-items: center;
  background: rgba(3, 27, 19, 0.72);
  backdrop-filter: blur(14px);
}
.download-modal.open {
  display: grid;
}
.download-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 30px;
  background: white;
  box-shadow: 0 40px 120px rgba(0, 28, 19, 0.35);
}
.download-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #dbe6e1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #173128;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.download-close:hover {
  transform: rotate(5deg);
  border-color: #a9cabb;
}
.download-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 590px;
}
.download-visual {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 28px;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(99, 232, 166, 0.23),
      transparent 29%
    ),
    linear-gradient(155deg, #053c2b, #062c21);
  color: white;
}
.download-visual::before,
.download-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}
.download-visual::before {
  top: -95px;
  right: -120px;
  width: 300px;
  height: 300px;
}
.download-visual::after {
  bottom: 80px;
  left: -130px;
  width: 270px;
  height: 270px;
}
.download-visual-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    800 17px "Manrope",
    sans-serif;
}
.download-visual-brand img {
  width: 34px;
  height: 34px;
}
.download-phone {
  position: absolute;
  z-index: 2;
  top: 82px;
  left: 50%;
  width: 190px;
  height: 346px;
  padding: 9px;
  transform: translateX(-50%) rotate(2.5deg);
  border: 4px solid #031a13;
  border-radius: 35px;
  background: #061b14;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.3);
}
.download-screen {
  height: 100%;
  padding: 22px 12px 12px;
  border-radius: 24px;
  background: #f3f8f5;
}
.download-appbar {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #152d24;
  font-size: 10px;
  font-weight: 800;
}
.download-appbar img {
  width: 26px;
  height: 26px;
}
.download-appbar b {
  margin-left: auto;
  color: #7b8b83;
  letter-spacing: 1px;
}
.download-balance {
  margin-top: 15px;
  padding: 15px;
  border-radius: 15px;
  background: linear-gradient(135deg, #075a3f, #0a9c67);
  color: white;
}
.download-balance small,
.download-action small {
  display: block;
  font-size: 7px;
}
.download-balance small {
  color: #c4ded2;
}
.download-balance strong {
  display: block;
  margin-top: 5px;
  font:
    800 14px/1.25 "Manrope",
    sans-serif;
}
.download-action {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #e5ece8;
  border-radius: 12px;
  background: white;
  color: #172f25;
}
.download-action i {
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 8px;
  background: #def3e8;
}
.download-action b {
  display: block;
  font-size: 9px;
}
.download-action small {
  margin-top: 2px;
  color: #819088;
}
.download-visual-copy {
  position: relative;
  z-index: 3;
  margin-top: auto;
}
.download-visual-copy strong {
  display: block;
  margin-bottom: 7px;
  font:
    800 19px/1.25 "Manrope",
    sans-serif;
}
.download-visual-copy span {
  display: block;
  max-width: 260px;
  color: #bcd1c7;
  font-size: 12px;
  line-height: 1.6;
}
.download-content {
  display: flex;
  padding: 58px 48px 34px;
  flex-direction: column;
}
.download-content .eyebrow {
  align-self: flex-start;
}
.download-content h2 {
  margin: 20px 0 13px;
  color: #112b21;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -2px;
}
.download-content > .muted {
  margin: 0;
  color: #66786f;
  font-size: 15px;
  line-height: 1.7;
}
.app-only-points {
  display: grid;
  gap: 9px;
  margin: 23px 0;
}
.app-only-point {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 1px solid #e2ece7;
  border-radius: 13px;
  background: #f6faf7;
  color: #27443a;
  font-size: 12px;
  font-weight: 700;
}
.app-only-point i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #d9f2e5;
}
.app-only-point i::after {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 4px;
  height: 8px;
  transform: rotate(45deg);
  border: solid #087b51;
  border-width: 0 2px 2px 0;
  content: "";
}
.download-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.download-store {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #0b1712;
  color: white;
  box-shadow: 0 10px 22px rgba(5, 31, 22, 0.12);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.download-store:hover {
  transform: translateY(-2px);
  background: #000;
}
.download-store.play {
  background: #087b51;
}
.download-store.play:hover {
  background: #075a3f;
}
.download-store-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 800;
}
.download-store small {
  display: block;
  font-size: 8px;
  opacity: 0.7;
}
.download-store strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}
.download-dismiss {
  min-height: 45px;
  margin-top: 11px;
  border: 1px solid #dce7e2;
  border-radius: 13px;
  background: white;
  color: #284139;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.download-dismiss:hover {
  background: #f5faf7;
}
.download-security {
  margin: auto 0 0;
  padding-top: 14px;
  color: #829088;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 720px) {
  .download-modal {
    padding: 10px;
  }
  .download-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 24px;
  }
  .download-grid {
    display: block;
    min-height: 0;
  }
  .download-visual {
    display: none;
  }
  .download-content {
    padding: 56px 22px 22px;
  }
  .download-content h2 {
    margin-top: 17px;
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .download-content > .muted {
    font-size: 14px;
  }
  .download-close {
    top: 12px;
    right: 12px;
  }
  .app-only-points {
    margin: 19px 0;
  }
}
@media (max-width: 430px) {
  .download-stores {
    grid-template-columns: 1fr;
  }
}
