:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #14344b 0%, #04070a 65%, #020203 100%);
  color: #f4f7fb;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

main {
  max-width: 520px;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0;
}

p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(244, 247, 251, 0.8);
}

a {
  color: inherit;
  font-weight: 600;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: rgba(20, 52, 75, 0.55);
  border: 1px solid rgba(244, 247, 251, 0.2);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.action span {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.action:hover,
.action:focus-visible {
  background: rgba(20, 52, 75, 0.82);
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(4, 7, 10, 0.45);
}

.brand-logo {
  width: clamp(120px, 18vw, 160px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-10px) scale(1.04);
    opacity: 1;
  }
}

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

footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(244, 247, 251, 0.55);
}
