:root {
  --canvas-width: 960;
  --canvas-height: 2700;
  --letterbox-top: #faf9f9;
  --letterbox-bottom: #eccf47;
  --letterbox-bg: linear-gradient(
    180deg,
    var(--letterbox-top) 0%,
    #fff8e3 48%,
    #f3d052 78%,
    var(--letterbox-bottom) 100%
  );
  --letterbox-overlay: rgba(255, 255, 255, 0.28);
}

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

html {
  margin: 0;
  min-height: 100%;
  background: transparent;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--letterbox-bg);
  background-attachment: fixed;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--letterbox-overlay);
  pointer-events: none;
}

.letterbox-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.lp-scale-host {
  flex: 0 0 auto;
  width: calc(var(--canvas-width) * 1px);
  height: calc(var(--canvas-height) * 1px);
  transform-origin: center center;
}

.lp-stage {
  position: relative;
  width: calc(var(--canvas-width) * 1px);
  height: calc(var(--canvas-height) * 1px);
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lp-bg {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.lp-hit {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.lp-hit img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.lp-hit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (hover: hover) {
  .lp-hit:hover {
    filter: brightness(1.06);
  }
}

.lp-hit:active {
  filter: brightness(0.95);
}

.lp-hit--main {
  left: 80px;
  top: 1101px;
  transform-origin: center center;
}

.lp-hit--main img {
  width: 800px;
  height: 136px;
}

.lp-hit--apple {
  left: 111px;
  top: 1265px;
}

.lp-hit--google {
  left: 449px;
  top: 1265px;
}

body.lp-width-fit {
  overflow-x: hidden;
  overflow-y: auto;
}

body.lp-width-fit .letterbox-viewport {
  height: auto;
  min-height: 100dvh;
  align-items: flex-start;
  overflow: visible;
}

body.lp-width-fit .lp-scale-host {
  transform-origin: top center;
}
