* {
  box-sizing: border-box;
}

:root {
  --brand-green: #054e2f;
}

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

body {
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
}

.centerpiece {
  position: absolute;
  top: 48%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 720px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.logo {
  display: block;
  width: clamp(210px, 27vw, 360px);
  max-width: 78vw;
  height: auto;
}

.site-joke {
  margin: 22px 0 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 400;
  line-height: 1.25;
}

.store-links {
  position: absolute;
  bottom: max(30px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.store-link {
  display: block;
  line-height: 0;
}

.store-link img {
  display: block;
  width: auto;
  height: 40px;
}

.store-link.is-disabled {
  cursor: default;
}

.floor-link {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  color: #777777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-decoration: none;
}

.floor-link:hover,
.floor-link:focus-visible {
  color: var(--brand-green);
  text-decoration: underline;
}

.legal-links {
  position: absolute;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(10px, env(safe-area-inset-bottom));
  color: #777777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.legal-links a {
  color: #777777;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--brand-green);
  text-decoration: underline;
}

@media (max-width: 520px) {
  .centerpiece {
    top: 46%;
  }

  .logo {
    width: min(240px, 76vw);
  }

  .site-joke {
    margin-top: 18px;
    font-size: 17px;
  }

  .store-links {
    bottom: max(42px, calc(env(safe-area-inset-bottom) + 28px));
    gap: 10px;
  }

  .store-link img {
    height: 36px;
  }

  .floor-link {
    font-size: 10px;
  }
}
