:root {
  --bg: #ffffff;
  --text: #111111;
  --font: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font);
}

.stage {
  min-height: 100vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.line {
  margin: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  font-size: clamp(0.95rem, 1.3vw + 0.7rem, 1.35rem);
  line-height: 1.4;
}

.line.is-visible {
  opacity: 1;
}

.line.pulse {
  animation: pulse-in 700ms ease;
}

.prompt {
  max-width: 92vw;
}

.cursor {
  display: inline-block;
  margin-left: 0.08em;
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse-in {
  0% {
    transform: scale(0.98);
    opacity: 0;
  }

  60% {
    transform: scale(1.01);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}
