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

html, body {
  height: 100%;
}

body {
  background: #1a1a1f;
  color: #d4d4d4;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  line-height: 1.7;
}

nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
}

nav a {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.8;
}

main {
  text-align: center;
  transition: opacity 1.5s ease;
}

h1 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

button {
  background: transparent;
  border: 1px solid #4a4a4a;
  color: #d4d4d4;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

button:hover {
  border-color: #6a6a6a;
}

button:focus {
  outline: 1px solid #5a5a5a;
  outline-offset: 2px;
}

footer {
  position: fixed;
  bottom: 2rem;
  font-size: 0.75rem;
  opacity: 0.4;
  text-align: center;
  transition: opacity 1.5s ease;
}

.fade-out {
  opacity: 0;
}

.transcript {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.8;
  max-width: 80%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.transcript.visible {
  opacity: 0.9;
}

body:has(.manifesto) {
  justify-content: flex-start;
  align-items: center;
}

.manifesto {
  max-width: 600px;
  text-align: left;
  padding: 5rem 0 4rem 0;
}

.manifesto h1 {
  margin-bottom: 2.5rem;
}

.manifesto p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
