@font-face {
  font-family: Lexend;
  src: url('../assets/lexend.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #221f1e;
  --muted: #656362;
  --border: #dbd8d7;
  --divider: #eae7e6;
  --surface: #fff;
  --canvas: #f9f9f9;
  --subtle: #f0efef;
  --accent: #980009;
  --accent-hover: #830000;
  --accent-border: #c83931;
  --input-border: #d0cdcc;
  --status-neutral: #faf8f8;
  --status-info: #e6f4fe;
  --status-info-border: #c2e5ff;
  --status-info-ink: #113264;
  --status-info-dot: #0d74ce;
  --status-positive: #e6f6eb;
  --status-positive-border: #c4e8d1;
  --status-positive-ink: #193b2d;
  --body: 400 14px/20px Lexend, system-ui, sans-serif;
  --body-small: 400 12px/16px Lexend, system-ui, sans-serif;
  --label: 500 12px/16px Lexend, system-ui, sans-serif;
  --heading: 600 16px/24px Lexend, system-ui, sans-serif;
  --title: 500 22px/25px Lexend, system-ui, sans-serif;
  --shadow: 0 2px 6px rgb(34 31 30 / 5%);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: var(--body);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover { background: var(--subtle); }
.button.primary { background: var(--accent); border-color: var(--accent-border); color: var(--surface); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.text-button { background: transparent; border-color: transparent; color: var(--ink); }
.button.text-button:hover { background: var(--subtle); }
.button:disabled { color: #8f8c8b; cursor: default; }

.text-input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: var(--body);
}
