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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #ff8a3d;          /* NOOMA orange */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow: hidden;
}

#stage {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

#brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

#wordmark {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ff8a3d;
  text-shadow: 0 0 30px rgba(255, 138, 61, 0.4);
}

#pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

body.state-listening #pulse {
  background: #ff8a3d;
  box-shadow: 0 0 16px rgba(255, 138, 61, 0.7);
  animation: breathe 2.5s ease-in-out infinite;
}

body.state-speaking #pulse {
  background: #4ade80;          /* green */
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.9);
  transform: scale(1.8);
}

body.state-error #pulse {
  background: #dc2626;
}

@keyframes breathe {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%      { transform: scale(1.5); opacity: 1; }
}

#status {
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8a3d;
  opacity: 0.85;
  min-height: 28px;
}

#hint {
  font-size: 14px;
  color: #888;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

#debug {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-height: 30vh;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 14px;
  color: #888;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  overflow-y: auto;
  z-index: 1000;
}

#debug pre {
  white-space: pre-wrap;
  word-break: break-word;
}
