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

:root {
  --color-bg: #333333;
  --color-bg-light: #3a3a3a;
  --color-bg-dark: #2a2a2a;
  --color-text: #eeeeee;
  --color-muted: rgba(238, 238, 238, 0.65);
  --color-link: #eeeeee;
  --color-link-hover: #ffffff;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-bg);
  background-image: radial-gradient(
    ellipse at 50% 0%,
    var(--color-bg-light) 0%,
    var(--color-bg) 45%,
    var(--color-bg-dark) 100%
  );
  color: var(--color-text);
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
  animation: fade-in 0.8s ease-out both;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 32rem;
}

.logo {
  width: min(280px, 75vw);
  height: auto;
}

.heading {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dots span {
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.subtext {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-muted);
  line-height: 1.6;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.contact {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.contact a {
  color: var(--color-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 238, 238, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact a:hover {
  color: var(--color-link-hover);
  border-color: rgba(255, 255, 255, 0.6);
}

.footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer a {
  color: var(--color-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 238, 238, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover {
  color: var(--color-link-hover);
  border-color: rgba(255, 255, 255, 0.6);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dot-pulse {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }

  40% {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 1.25rem;
  }

  .content {
    gap: 1.25rem;
  }

  .footer {
    margin-top: 2rem;
  }
}

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

  .dots span {
    animation: none;
    opacity: 1;
  }

  .social a {
    transition: none;
  }

  .social a:hover {
    transform: none;
  }
}
