/* Rainzon — homepage app-download banner */

.rz-app-band {
  position: relative;
  padding: 34px 0 18px;
  background: transparent;
}

.rz-app-band-in {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: 46px;
  min-height: 408px;
  padding: 44px 46px;
  border-radius: 28px;
  background:
    radial-gradient(58% 100% at 96% 0%, rgba(215, 242, 106, .17), rgba(215, 242, 106, 0) 62%),
    radial-gradient(45% 80% at 0% 100%, rgba(36, 153, 108, .22), rgba(36, 153, 108, 0) 70%),
    linear-gradient(135deg, #0c3b2b 0%, #072e23 52%, #061f18 100%);
  box-shadow: 0 36px 70px -48px rgba(7, 46, 35, .85);
  isolation: isolate;
}

.rz-app-band-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image:
    linear-gradient(rgba(246, 242, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 230, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 100% at 78% 40%, #000, transparent 72%);
}

.rz-app-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rz-app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 242, 106, .22);
  border-radius: 99px;
  background: rgba(215, 242, 106, .08);
  color: #d7f26a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rz-app-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7f26a;
  box-shadow: 0 0 0 3px rgba(215, 242, 106, .12);
}

.rz-app-copy h2 {
  margin: 0;
  color: #f6f2e6;
  font-family: var(--font-display, "Bricolage Grotesque"), Georgia, serif;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 650;
}

.rz-app-copy h2 em {
  display: inline-block;
  color: #d7f26a;
  font-family: var(--h-serif, Georgia), serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
}

.rz-app-copy > p {
  max-width: 44ch;
  margin: 13px 0 0;
  color: rgba(246, 242, 230, .63);
  font-size: 12px;
  line-height: 1.65;
}

.rz-app-proof {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: rgba(246, 242, 230, .48);
  font-size: 9.5px;
}

.rz-app-stars {
  color: #d7f26a;
  font-size: 10.5px;
  letter-spacing: .08em;
}

.rz-app-proof strong {
  color: #f6f2e6;
  font-size: 10px;
  font-weight: 800;
}

.rz-app-download {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.rz-app-qr {
  flex: 0 0 auto;
  width: 108px;
  margin: 0;
  padding: 7px 7px 6px;
  border-radius: 13px;
  background: #fffdf8;
  text-align: center;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .7);
}

.rz-app-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.rz-app-qr figcaption {
  margin-top: 3px;
  color: #52665a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rz-app-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.rz-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 238px;
  padding: 9px 14px 9px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s, background .18s, border-color .18s;
}

.rz-app-btn:hover { transform: translateY(-1px); }

.rz-app-btn-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: 0 0 auto;
}

.rz-app-btn > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.rz-app-btn small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: .62;
}

.rz-app-btn strong {
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.rz-app-btn-primary {
  background: #d7f26a;
  border-color: #d7f26a;
  color: #071b13;
}

.rz-app-btn-primary .rz-app-btn-ic {
  background: rgba(7, 27, 19, .1);
}

.rz-app-btn-primary:hover { background: #e2f78c; }

.rz-app-btn-ghost {
  background: rgba(246, 242, 230, .055);
  border-color: rgba(246, 242, 230, .15);
  color: #f6f2e6;
}

.rz-app-btn-ghost .rz-app-btn-ic {
  background: rgba(246, 242, 230, .08);
  color: #d7f26a;
}

.rz-app-btn-ghost:hover {
  background: rgba(246, 242, 230, .1);
  border-color: rgba(246, 242, 230, .28);
}

.rz-app-note {
  color: rgba(246, 242, 230, .36);
  font-size: 7.5px;
  letter-spacing: .06em;
}

.rz-app-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 330px;
}

.rz-app-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(215, 242, 106, .11);
  pointer-events: none;
}

.rz-app-orbit-a {
  width: 390px;
  height: 390px;
  right: -62px;
  top: -40px;
}

.rz-app-orbit-b {
  width: 510px;
  height: 510px;
  right: -120px;
  top: -100px;
}

.rz-app-phone {
  position: absolute;
  right: 44px;
  top: 50%;
  width: 222px;
  height: 452px;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #213a30, #071b13 62%);
  box-shadow:
    0 34px 60px -30px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
  transform: translateY(-50%) rotate(2.2deg);
}

.rz-app-phone::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 27px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
  pointer-events: none;
  z-index: 2;
}

.rz-app-notch {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 3;
  width: 64px;
  height: 15px;
  border-radius: 99px;
  background: #071b13;
  transform: translateX(-50%);
}

.rz-app-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
}

.rz-app-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 242, 230, .13);
  border-radius: 10px;
  background: rgba(7, 35, 26, .76);
  color: rgba(246, 242, 230, .75);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .01em;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .8);
}

.rz-app-float i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7f26a;
}

.rz-app-float-a {
  left: 8px;
  top: 58px;
}

.rz-app-float-b {
  left: 0;
  bottom: 54px;
}

@media (max-width: 1100px) {
  .rz-app-band-in {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 36px 34px;
  }

  .rz-app-phone {
    width: 205px;
    height: 418px;
    right: 18px;
  }

  .rz-app-float-a { left: -4px; }
  .rz-app-float-b { left: -10px; }
}

@media (max-width: 900px) {
  .rz-app-band { padding: 22px 0 12px; }

  .rz-app-band-in {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .rz-app-copy h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .rz-app-copy > p {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.55;
  }

  .rz-app-proof { margin-top: 11px; }

  .rz-app-download {
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
  }

  .rz-app-qr { width: 88px; }
  .rz-app-btn { min-width: 0; width: 100%; padding: 8px 10px; }
  .rz-app-btns { flex: 1; }
  .rz-app-btn strong { font-size: 10.5px; }

  .rz-app-visual { display: none; }
}

@media (max-width: 380px) {
  .rz-app-band-in { padding: 22px 18px; }
  .rz-app-qr { display: none; }
  .rz-app-btns { width: 100%; }
}
