/* Shared Android / iOS download presentation for the homepage and download centre. */
.hero-visual { min-height: 525px; }
.hero-phone-scene { position: relative; height: 510px; }
.hero-device {
  position: absolute;
  width: 244px;
  height: 456px;
  padding: 32px 15px 17px;
  overflow: hidden;
  border: 7px solid #33344d;
  border-radius: 40px;
  background: #fcfbff;
  box-shadow: 0 30px 55px rgba(46, 40, 105, .27), inset 0 0 0 1px #fff;
}
.hero-device-notch { position: absolute; top: 9px; left: 50%; width: 74px; height: 16px; transform: translateX(-50%); border-radius: 14px; background: #33344d; }
.hero-device-back { top: 18px; left: 15%; transform: rotate(-12deg); background: linear-gradient(145deg, #faf7ff, #f5f1fe); }
.hero-device-front { top: 39px; right: 14%; transform: rotate(10deg); z-index: 1; }
.hero-device-heading { display: flex; justify-content: space-between; padding: 8px 3px 18px; font-size: 21px; font-weight: 850; }
.hero-device-heading span { color: #ae82dc; }
.hero-device-item { display: flex; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #ece8f3; }
.hero-device-item b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 12px; background: #b5a6f3; color: white; font-size: 12px; }
.hero-device-item:nth-child(4) b { background: #e7a7c7; }
.hero-device-item:nth-child(5) b { background: #93ace9; }
.hero-device-item strong, .hero-device-item small { display: block; white-space: nowrap; }
.hero-device-item strong { font-size: 12px; }
.hero-device-item small { margin-top: 4px; color: #9993a6; font-size: 10px; }
.hero-chat-heading { display: flex; align-items: center; justify-content: space-between; padding: 9px 1px 17px; border-bottom: 1px solid #ece8f3; }
.hero-chat-heading b { color: #6955db; font-size: 13px; }
.hero-chat-heading span { font-size: 13px; font-weight: 800; text-align: center; }
.hero-chat-heading small { display: block; margin-top: 3px; color: #66bb92; font-size: 9px; }
.hero-chat-date { margin: 17px 0; color: #a7a3ad; font-size: 9px; text-align: center; }
.hero-chat-bubble { max-width: 83%; margin: 10px 0; padding: 10px 12px; border-radius: 13px; font-size: 10px; line-height: 1.55; }
.hero-chat-bubble.other { background: #eeeaf7; }
.hero-chat-bubble.self { margin-left: auto; background: #dcd3fb; }
.hero-chat-compose { position: absolute; right: 13px; bottom: 20px; left: 13px; display: flex; justify-content: space-between; padding: 10px 11px; border: 1px solid #eae4f2; border-radius: 11px; color: #aaa6b2; font-size: 10px; }
.hero-chat-compose b { color: #6955db; }

.phones-art { position: relative; height: 235px; margin: auto; width: min(100%, 300px); }
.phone-mockup { position: absolute; width: 116px; height: 205px; padding: 27px 9px 12px; border: 6px solid #424563; border-radius: 23px; background: #fbfaff; box-shadow: 0 16px 25px rgba(73, 66, 125, .18); }
.phone-mockup span { position: absolute; top: 8px; left: 50%; width: 36px; height: 6px; transform: translateX(-50%); border-radius: 8px; background: #424563; }
.phone-mockup i { display: block; height: 22px; margin: 10px 0; border-radius: 9px; background: #e4defa; }
.phone-mockup i:nth-child(3) { width: 72%; margin-left: auto; background: #b9a8f0; }
.phone-mockup i:nth-child(4) { width: 82%; }
.phone-mockup-back { top: 8px; left: 42px; transform: rotate(-13deg); background: #f4f0ff; }
.phone-mockup-front { top: 17px; right: 42px; transform: rotate(12deg); }
.phone-spark { position: absolute; top: 6px; right: 14px; color: #8c7add; font-size: 31px; }

.qr-code {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 9px 9px 10px;
  border: 1px solid #e8e3ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(54, 44, 99, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.qr-code:hover { transform: translateY(-3px); box-shadow: 0 17px 30px rgba(54, 44, 99, .14); }
.qr-code img { width: 144px; height: 144px; image-rendering: auto; }
.qr-code span { color: #7a7488; font-size: 11px; font-weight: 700; }

.qr-install-section { padding-top: 32px; padding-bottom: 82px; }
.qr-install-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.qr-install-heading h2 { margin: 10px 0 0; font-size: clamp(30px, 3.3vw, 43px); line-height: 1.24; letter-spacing: -.06em; }
.qr-install-heading h2 span { color: #6955db; }
.qr-install-heading>p { max-width: 325px; margin: 0 0 4px; color: #777886; font-size: 14px; line-height: 1.75; }
.qr-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qr-install-card { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px; border: 1px solid #e7e1ef; border-radius: 23px; background: linear-gradient(125deg, #f2efff, #fff 82%); }
.qr-install-card:nth-child(2) { background: linear-gradient(125deg, #fbf0f7, #fff 82%); border-color: #f0e2eb; }
.qr-install-copy { min-width: 0; }
.qr-install-platform { color: #8e80bb; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.qr-install-copy h3 { margin: 14px 0 7px; font-size: 27px; letter-spacing: -.045em; }
.qr-install-copy p { margin: 0 0 18px; color: #747583; font-size: 13px; line-height: 1.7; }
.qr-install-link { color: #5c48ca; font-size: 13px; font-weight: 750; text-decoration: underline; text-decoration-color: #c4b9f3; text-underline-offset: 5px; }
.qr-install-link:hover { color: #4231a6; }
.download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mobile-download-card { min-width: 0; min-height: 350px; padding: 28px; }
.ios-download-card { background: #fbf0f7; border-color: #f0e0eb; }
.ios-symbol { color: #d76fac; }
.mobile-download-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 18px 0 22px; }
.mobile-download-copy { min-width: 0; align-self: center; }
.mobile-download-copy h3 { margin: 0 0 8px; }
.mobile-download-copy p { max-width: 250px; }
.mobile-download-caption { display: block; margin-top: 14px; color: #817b8d; font-size: 11px; font-weight: 700; }
.mobile-download-footer { display: flex; flex-direction: column; }
.mobile-download-footer .button { width: 100%; justify-content: space-between; }

@media (max-width: 900px) {
  .qr-install-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-visual { min-height: 0; }
  .hero-phone-scene { height: 420px; }
  .hero-device { width: 202px; height: 382px; padding: 27px 12px 14px; border-width: 6px; border-radius: 32px; }
  .hero-device-back { left: 15%; top: 9px; }
  .hero-device-front { right: 15%; top: 22px; }
  .hero-device-heading { font-size: 18px; }
  .hero-device-item { padding: 9px 2px; }
  .qr-install-section { padding-top: 8px; padding-bottom: 58px; }
  .qr-install-heading { display: block; margin-bottom: 20px; }
  .qr-install-heading>p { margin-top: 11px; }
  .qr-install-card { padding: 19px; }
  .mobile-download-card { min-height: 0; }
}
@media (max-width: 480px) {
  .hero-phone-scene { height: 350px; }
  .hero-device { width: 172px; height: 330px; padding: 27px 9px 11px; border-width: 5px; border-radius: 29px; }
  .hero-device-back { left: 5%; top: 9px; }
  .hero-device-front { right: 5%; top: 14px; }
  .hero-device-item { gap: 6px; }
  .hero-device-item b { width: 25px; height: 25px; font-size: 9px; }
  .hero-device-item strong { font-size: 10px; }
  .hero-device-item small { font-size: 8px; }
  .hero-chat-bubble { font-size: 8px; }
  .qr-install-heading h2 { font-size: 33px; }
  .qr-install-card { gap: 12px; padding: 16px; border-radius: 19px; }
  .qr-install-copy h3 { font-size: 24px; margin-top: 10px; }
  .qr-install-copy p { font-size: 12px; margin-bottom: 14px; }
  .qr-install-link { font-size: 12px; }
  .qr-install-card .qr-code { padding: 6px; border-radius: 12px; }
  .qr-install-card .qr-code img { width: 105px; height: 105px; }
  .qr-install-card .qr-code span { font-size: 10px; }
  .mobile-download-card { padding: 21px; }
  .mobile-download-content { gap: 12px; }
  .mobile-download-content .qr-code img { width: 112px; height: 112px; }
  .mobile-download-copy h3 { font-size: 25px; }
}
@media (max-width: 350px) {
  .qr-install-card .qr-code img { width: 90px; height: 90px; }
  .mobile-download-content .qr-code img { width: 94px; height: 94px; }
}
