:root {
  --bg: #14141f;
  --bg-raised: #1c1c2b;
  --amber: #e8a33d;
  --amber-dim: #a9762b;
  --text: #f4f2ec;
  --text-dim: #9c9aab;
  --border: #2c2c40;
  --good: #5fb98a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 600;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  font-weight: 600;
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--amber);
  color: #1a1206;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}
.btn-primary:disabled { background: #5a4a2c; color: #8a7a5c; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 1rem;
}

.bar-row { margin: 0.9rem 0; }
.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.bar-track {
  background: var(--border);
  border-radius: 8px;
  height: 22px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dim), var(--amber));
  transition: width 0.5s ease;
  border-radius: 8px;
}
