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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000000;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

.brand-logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  user-select: none;
  cursor: pointer;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: #9ca3af;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.typewriter {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: white;
  overflow: hidden;
  border-right: 2px solid white;
  white-space: nowrap;
  animation: 
    typing 15s steps(15, end) infinite,
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  0%, 67% { width: 0; }
  8%, 58% { width: 100%; }
  100% { width: 0; }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

.footer {
  margin-top: auto;
  text-align: center;
  padding-top: 2rem;
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }

  .brand-logo {
    font-size: 1.75rem;
    top: 1.5rem;
    left: 1.5rem;
  }

  .title {
    font-size: 2.25rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .typewriter {
    font-size: 1.5rem;
  }

  .footer {
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .brand-logo {
    font-size: 1.5rem;
    top: 1rem;
    left: 1rem;
  }

  .typewriter {
    font-size: 1.25rem;
  }

  .footer {
    padding-top: 0.5rem;
  }
}

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

*:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}