:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #000000;
  --online: #2fb344;
  --offline: #d92d20;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --online: #32d74b;
    --offline: #ff453a;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    sans-serif;
}

.landing {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.name,
.server-state {
  margin: 0;
  letter-spacing: -0.06em;
}

.name {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  line-height: 0.94;
  font-weight: 500;
}

.server-state {
  font-size: clamp(1rem, 3vw, 1.35rem);
  line-height: 1.1;
  font-weight: 500;
}

.server-state.is-loading {
  color: color-mix(in srgb, var(--text) 62%, transparent);
}

.server-state.is-online {
  color: var(--online);
}

.server-state.is-offline {
  color: var(--offline);
}
