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

:root {
  --bg: #f7f5f2;
  --text: #1a1a1a;
  --text-dim: #6b6864;
  --text-muted: #b0aca7;
  --accent: #b8863f;
  --accent-soft: rgba(184, 134, 63, 0.12);
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

canvas#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pre-heading {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: var(--accent-soft);
  margin-bottom: 2.5rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

.status-text {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.apology {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
  }

  main {
    padding: 1.5rem;
  }
}
