:root {
  --bg: #15161a;
  --bg-card: #1f2128;
  --fg: #ececec;
  --fg-dim: #a0a4ad;
  --accent: #5fbf73;
  --accent-strong: #4aa05f;
  --danger: #e94f4f;
  --border: #2c2e36;
  --radius: 8px;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Solway', Georgia, serif;
  --font-stack: var(--font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
}

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: var(--accent);
  color: #0a0b0d;
  border: none;
  border-radius: var(--radius);
  padding: 0.55em 1em;
  font-weight: 600;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

button.danger {
  background: var(--danger);
  color: #0a0b0d;
}

input[type='text'] {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5em 0.75em;
  color: var(--fg);
}

input[type='text']:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

a {
  color: var(--accent);
}
