:root {
  --bg: #101013;
  --ink: #d8d5cc;
  --muted: #6f6c64;
  --accent: #d8d5cc;
  --line: rgba(216, 213, 204, 0.1);
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Mono", "Fira Code", "JetBrains Mono", Menlo, Consolas, monospace;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

#terrain {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.prompt-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  opacity: 0;
  animation: fade 1.2s ease 0.2s forwards;
}

.prompt-line .path {
  color: var(--ink);
}

.headline {
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.headline .line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line:nth-child(1) {
  animation-delay: 0.3s;
}

.headline .line:nth-child(2) {
  animation-delay: 0.55s;
}

.accent {
  color: var(--accent);
}

.bottom-line {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--muted);
  padding: 0 24px 28px;
  opacity: 0;
  animation: fade 1.4s ease 0.9s forwards;
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  animation: fade 1.4s ease 1.3s forwards;
}

.logo {
  color: var(--ink);
}

.logo span {
  color: var(--muted);
}

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

@keyframes fade {
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
