:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --primary: hsl(200 100% 50%);
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  /* Matches the serif of the BaySys wordmark. */
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 16px;
  background-image: radial-gradient(ellipse 60% 45% at 50% 0%, hsl(200 100% 50% / 0.16), transparent 70%);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 0;
}

.logo-link {
  display: block;
  width: 180px;
  max-width: 100%;
  margin-bottom: 40px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 hsl(200 100% 50% / 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 hsl(200 100% 50% / 0.6); }
  70% { box-shadow: 0 0 0 10px hsl(200 100% 50% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(200 100% 50% / 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}

h1 {
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}

h1 span {
  color: var(--primary);
}

.message {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.footer {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}
