*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  height: 100vh;
  height: 100dvh;
  background: #590626;
  font-family: system-ui, sans-serif;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg1, .figure, .hero-title, .logo, .partner-links, .download-actions {
  position: absolute;
}

.bg1 {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure, .hero-title, .logo {
  object-fit: contain;
}

.logo, .partner-links, .download-actions {
  z-index: 1;
}

.partner-links, .download-actions {
  display: flex;
}

.partner-links img, .download-actions img {
  display: block;
  width: 100%;
  height: auto;
}

.download-qr {
  box-sizing: content-box;
  aspect-ratio: 1;
  background: #fff;
}

.download-qr canvas, .download-qr table {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.download-qr img {
  display: none !important;
}

.desktop .logo {
  top: 2.96%;
  left: 3.33%;
  width: 15.52%;
  height: 17.22%;
  object-position: top left;
}

.desktop .partner-links {
  top: 4.63%;
  right: 4.90%;
  width: min(33.44%, 70vh);
  gap: 3.1%;
}

.desktop .partner-links a {
  flex: 1;
  min-width: 0;
}

.desktop .figure {
  left: 14.06%;
  top: 7.78%;
  width: 34.38%;
  height: 94.81%;
  object-position: left bottom;
}

.desktop .hero-title {
  left: 46.88%;
  top: 18.52%;
  width: 52.08%;
  height: 58.33%;
  object-position: center;
}

.desktop .download-qr {
  position: absolute;
  right: 6.77%;
  bottom: 5.19%;
  width: min(8.4vw, 14.9vh);
  padding: min(0.62vw, 1.1vh);
}

.mobile .logo {
  top: 1.85%;
  left: 3.73%;
  width: 32.53%;
  height: 9.24%;
  object-position: top left;
}

.mobile .partner-links {
  top: 2.59%;
  right: 3.47%;
  width: 26.4%;
  height: 13.92%;
  flex-direction: column;
  justify-content: space-between;
}

.mobile .partner-links a {
  align-self: flex-end;
  width: 100%;
  max-width: 12.2vh;
  max-width: 12.2dvh;
}

.mobile .figure {
  top: 9.85%;
  left: -1.2%;
  width: 100%;
  height: 64.04%;
  object-position: center top;
}

.mobile .hero-title {
  top: 56.4%;
  left: 0;
  width: 100%;
  height: 27.71%;
  object-position: center top;
}

.download-actions {
  inset: 88.3% 3.73% auto;
  gap: 5.91%;
  justify-content: center;
}

.download-actions > * {
  width: min(47.05%, 35vh);
  width: min(47.05%, 35dvh);
}
