:root {
  --bg: #ffffff;
  --glow: rgba(168, 84, 74, 0.07);
  --fg: #17191c;
  --muted: #6b7280;
  --rule: rgba(0, 0, 0, 0.1);
  --brand: #a8544a;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --glow: rgba(212, 131, 122, 0.16);
    --fg: #f2f4f7;
    --muted: #939aa5;
    --rule: rgba(255, 255, 255, 0.1);
    --brand: #d4837a;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background-color: var(--bg);
  background-image: radial-gradient(
    75% 55% at 50% 34%,
    var(--glow) 0%,
    transparent 70%
  );
  color: var(--fg);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.domain {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

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

.footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
}

.footer a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule);
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
