:root {
  --bg: #3551a2;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px;
}

.logo-mark {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoZoomIn 3s ease-out 1s both;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wordmark {
  font-size: clamp(20px, 4vw, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: fadeIn 0.8s ease-out 4.5s both;
  transition: transform 0.15s ease-out;
}

.wordmark-prefix {
  transition: opacity 0.8s ease-out;
  margin-right: 0.3em;
}

.wordmark-prefix.fade-out {
  opacity: 0;
}

.typed {
  display: inline-flex;
}

.typed-char {
  opacity: 0;
  transition: opacity 0.25s ease-in;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1em;
  border-left: 2px solid var(--text);
  margin-left: 6px;
  animation: blink 0.9s steps(2, start) infinite;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes logoZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

@media (max-width: 480px) {
  .logo-mark {
    width: 120px;
    height: 120px;
  }
}
