:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

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

body {
  background: #e83032;
  color: #122137;
}

.landing {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(to right, #e83032 50%, #0061d4 50%) top / 100% 58% no-repeat,
    linear-gradient(to right, #f7b000 50%, #86ba00 50%) bottom / 100% 42% no-repeat;
}

#wallpaper {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.logo-fallback {
  position: absolute;
  inset: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.logo-fallback svg {
  display: block;
  width: 100%;
  height: 100%;
}

.canvas-ready .logo-fallback { display: none; }

.site-status {
  position: absolute;
  z-index: 1;
  left: max(20px, env(safe-area-inset-left, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(clamp(24px, 4vh, 52px), env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.site-status h1 {
  margin: 0;
  color: #122137;
  font-size: clamp(17px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
  text-wrap: balance;
  overflow-wrap: normal;
}

@media (max-height: 420px) {
  .site-status { bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
  .site-status h1 { font-size: clamp(16px, 2.3vw, 20px); }
  .logo-fallback { bottom: 64px; }
}
