* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #00091f;
}

button {
  font: inherit;
}

.landing-page-shell {
  --landing-mobile-ratio-width: 375;
  --landing-mobile-ratio-height: 812;
  --landing-desktop-ratio-width: 1920;
  --landing-desktop-ratio-height: 1080;

  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #00091f;
  -webkit-overflow-scrolling: touch;
}

.landing-page-shell__stage {
  position: relative;
  overflow: hidden;
}

.landing-page-shell__stage--mobile {
  width: 100vw;
  height: auto;
  aspect-ratio: var(--landing-mobile-ratio-width) / var(--landing-mobile-ratio-height);
  overflow: visible;
}

.landing-page-shell__stage--desktop {
  display: none;
  width: min(100vw, calc(100vh * var(--landing-desktop-ratio-width) / var(--landing-desktop-ratio-height)));
  width: min(100vw, calc(100dvh * var(--landing-desktop-ratio-width) / var(--landing-desktop-ratio-height)));
  max-width: 1920px;
  height: auto;
  aspect-ratio: var(--landing-desktop-ratio-width) / var(--landing-desktop-ratio-height);
}

.landing-page-shell__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.landing-qrcode {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
  pointer-events: none;
}

.landing-qrcode img,
.landing-qrcode canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-hotspot {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.landing-page-shell--loading .landing-hotspot {
  pointer-events: none;
  cursor: wait;
}

.landing-hotspot:disabled {
  pointer-events: none;
  cursor: wait;
}

.landing-hotspot:focus-visible {
  outline: 2px solid rgba(255, 212, 0, 0.9);
  outline-offset: 2px;
}

.landing-hotspot--mobile-business {
  left: 46.6667%;
  top: 93.4729%;
  width: 23.2%;
  height: 3.9409%;
}

.landing-hotspot--mobile-telegram {
  left: 73.3333%;
  top: 93.4729%;
  width: 23.2%;
  height: 3.9409%;
}

.landing-hotspot--mobile-ios {
  left: 3.7333%;
  top: 2.7094%;
  width: 28.7172%;
  height: 3.9966%;
}

.landing-hotspot--mobile-android {
  left: 35.6506%;
  top: 2.7094%;
  width: 28.7172%;
  height: 3.9966%;
}

.landing-hotspot--mobile-android-backup {
  left: 67.5678%;
  top: 2.5862%;
  width: 28.772%;
  height: 4.1197%;
}

.landing-hotspot--desktop-android {
  left: 52.3958%;
  top: 62.7778%;
  width: 45.2604%;
  height: 28.4259%;
}

.landing-qrcode--desktop {
  left: 54.0625%;
  top: 65.3704%;
  width: 13.0729%;
  height: 23.2407%;
}

.landing-hotspot--desktop-business {
  left: 79.4271%;
  top: 2.7778%;
  width: 9.0625%;
  height: 5.9259%;
}

.landing-hotspot--desktop-telegram {
  left: 89.375%;
  top: 2.7778%;
  width: 9.0625%;
  height: 5.9259%;
}

.landing-standalone-error {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .landing-page-shell {
    height: 100dvh;
  }

  .landing-page-shell__stage--desktop {
    display: none;
  }
}

@media (min-width: 768px) {
  html,
  body,
  .landing-page-shell {
    background: #e8f8ff;
  }

  .landing-page-shell {
    align-items: center;
  }

  .landing-page-shell__stage--desktop {
    display: block;
  }

  .landing-page-shell__stage--mobile {
    display: none;
  }
}
