@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #16211b;
  --panel: #1f2e26;
  --panel-raised: #263a30;
  --ink: #f3f1e7;
  --ink-dim: #a9b6ac;
  --hairline: #33473b;
  --amber: #e8a33d;
  --teal: #4fb6a5;
  --red: #c1554b;
  --font-display: 'IBM Plex Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

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

body {
  display: flex;
  flex-direction: column;
}

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

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-dim);
}

.card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

button {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
button:active { transform: scale(0.97); }

.btn-primary {
  background: var(--amber);
  color: #1a1206;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}
.btn-primary:hover { background: #f0ae4d; }
.btn-primary:disabled { background: #6b5a3a; color: #a99d81; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--ink-dim);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-dim); }

input[type="text"], input[type="password"] {
  font-family: var(--font-body);
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  width: 100%;
}
input[type="text"]:focus, input[type="password"]:focus {
  outline: none;
  border-color: var(--teal);
}
input[type="text"]::placeholder, input[type="password"]::placeholder { color: #6f7d73; }

.hairline-divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: 0;
}

.mono { font-family: var(--font-display); }

::selection { background: var(--amber); color: #1a1206; }
