:root {
  --ink: #6b7280;
  --link: #2563eb;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 24px 72px;
}

.logo {
  width: min(340px, 72vw);
  height: auto;
  display: block;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both, float 5.5s ease-in-out 900ms infinite;
}

.credit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}

.credit a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.credit a:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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