:root {
  --ink: #0D0E11;
  --surface: #17181D;
  --surface-translucent: rgba(23, 24, 29, 0.88);
  --violet: #8A7FE0;
  --paper: #EDEEF0;
  --ash: #8B909A;
  --ash-dim: #6B707A;
  --border: #2A2C33;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
}

.screen { min-height: 100vh; position: relative; overflow: hidden; }
.screen[hidden] { display: none; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  background: var(--violet);
  opacity: .45;
  pointer-events: none;
}

.hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 28px 0;
  position: relative;
  z-index: 1;
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 28px;
}

.wordmark .beta-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  vertical-align: super;
  margin-left: 3px;
  color: var(--ash);
  text-transform: lowercase;
}

.hdr-note { font-size: 12px; color: var(--ash); display: flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #6FD19B; }

.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--violet); color: var(--ink); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--paper); }

.mono { font-family: 'JetBrains Mono', monospace; }
.muted { color: var(--ash); }

.footer-link { transition: color .15s ease; }
.footer-link:hover { color: var(--violet); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.label {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ash-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.error-inline {
  color: #E88585;
  font-size: 13px;
  margin-top: 8px;
}

#video-wrap:fullscreen,
#video-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#video-wrap:fullscreen video,
#video-wrap:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
