:root {
  --bg: #262421;
  --bg-elev: #322f2b;
  --bg-elev2: #403c37;
  --text: #f5f2ea;
  --text-muted: #a89f92;
  --accent: #d4af37;
  --on-accent: #2b2408;
  --border: #4c4740;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --scale: 1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, .tap {
  font-family: var(--font-body);
  cursor: pointer;
  min-height: 44px;
}

.screen { flex: 1; display: flex; flex-direction: column; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  font-weight: 700;
  font-size: calc(16px * var(--scale));
  padding: 16px;
  border-radius: 12px;
  min-height: 44px;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: calc(14px * var(--scale));
  padding: 14px;
  border-radius: 12px;
  min-height: 44px;
}

.card {
  background: var(--bg-elev);
  border-radius: 16px;
  padding: 18px;
}

.muted { color: var(--text-muted); }

.title-xl {
  font-family: var(--font-display);
  font-size: calc(46px * var(--scale));
  line-height: 0.9;
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  color: var(--accent);
  font-size: calc(13px * var(--scale));
}

input, select {
  font-family: var(--font-body);
  background: var(--bg-elev2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: calc(15px * var(--scale));
  width: 100%;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.error-banner {
  background: #4a2020;
  border: 1px solid #7a3838;
  color: #f5c6c6;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 12px 0;
}
