:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { display: flex; justify-content: center; overflow: hidden; background: #000; }

.landing {
  position: relative;
  isolation: isolate;
  width: min(100%, 470px);
  height: var(--viewport-height, 100dvh);
  overflow: hidden;
  background: #000;
}

.design-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 402px;
  height: 874px;
  transform: translate(-50%, -50%) scale(var(--design-scale, 1));
  transform-origin: center;
}
.image-wall {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.image {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}
.image-top { top: 28px; left: 21px; width: 360px; height: 187px; }
.image-upper-middle { top: 234px; left: 27px; width: 354px; height: 187px; }
.image-lower-middle { top: 429px; left: 21px; width: 360px; height: 187px; }
.image-bottom { top: 624px; left: 21px; width: 360px; height: 203px; border-radius: 16px; }

.image-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.screen-offer { position: absolute; z-index: 2; inset: 0; cursor: pointer; }

.dialog {
  position: absolute;
  z-index: 3;
  top: calc(50% + 40.5px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: min(356px, calc(100% - 46px));
  height: 277px;
  padding: 32px 17px 17px;
  border-radius: 32px;
  background: #fff;
  color: #000;
  text-align: center;
  -webkit-backdrop-filter: blur(10.65px);
  backdrop-filter: blur(10.65px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.dialog-copy { display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 0; }
.dialog h1 { margin: 0; font-size: 24px; font-weight: 700; line-height: 29px; }
.dialog p {
  width: min(284px, 100%);
  margin: 16px 0 0;
  font-size: var(--copy-size, 20px);
  font-weight: 400;
  line-height: var(--copy-line, 24px);
}
.dialog strong { font-weight: 600; }
.install-button {
  display: flex;
  flex: 0 0 59px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 59px;
  border-radius: 49px;
  background: #306bff;
  color: #fff;
  font-size: var(--button-size, 22px);
  font-weight: 400;
  line-height: 27px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}
.screen-offer:focus-visible, .install-button:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
