:root {
  color-scheme: dark;
  --background-start: #031644;
  --background-middle: #06194e;
  --background-end: #071c54;
  --white: #f9f9fd;
  --muted: #b8c5de;
  --pill: #204590;
}

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

html {
  min-height: 100%;
  background-color: var(--background-middle);
}

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--background-start) 0%,
    var(--background-middle) 47%,
    var(--background-end) 100%
  );
  font-family: 'Poppins', 'Avenir Next', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.landing {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px 18px;
}

.message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  transform: translateY(-16px);
}

.wordmark {
  display: block;
  width: 145px;
  max-width: 55vw;
  height: auto;
  margin-bottom: 14px;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  min-height: 33px;
  margin-top: 24px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

/* Maintain readable text on compact phones without losing the minimal look. */
@media (max-width: 420px) {
  .wordmark { width: 143px; }
  h1 { font-size: clamp(22px, 6.5vw, 26px); }
  p { font-size: 12px; }
}

@media (max-height: 380px) {
  .landing { padding-top: 16px; padding-bottom: 16px; }
  .message { transform: none; }
  .wordmark { width: 110px; margin-bottom: 7px; }
  h1 { font-size: 21px; }
  p { margin-top: 5px; font-size: 12px; }
  .status { margin-top: 13px; }
}
