:root {
  --primary: #1C2431;
  --accent: #A27FF5;
  --highlight: #FFD58A;
  --background: #F9FAFC;
  --text: #2C2C2C;
}

button,
button * {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: block;
}

.welcome-container {
  max-width: 500px;
  width: 90%;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin: 2rem auto;
}

.logo {
  width: 80px;
  margin-bottom: 1rem;
}

h1, h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

p {
  color: #555;
  font-size: 0.95rem;
}

select, button {
  width: 100%;
  padding: 0.65rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  transition: all 0.2s ease;
}

button {
  background: var(--primary);
  color: var(--highlight); !important;
  border: none;
  font-weight: bold;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  margin-top: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease
}

button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:active {
  transform: scale(0.98);
  background-color: #151B25; /* subtle press effect */
 
}

button:hover {
  background: #151B25; /* deeper navy on hover */
}

.video-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

video, canvas.overlay {
  width: 100%;
  border-radius: 8px;
}

canvas.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  pointer-events: none;
}

#swatch {
  border: 2px solid var(--primary);
}

#feedback {
  font-size: 0.9rem;
  color: #888;
}

