:root {
  --ink: #0b1020;
  --ink-soft: #47506b;
  --line: #e3e6ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --accent: #4a3aff;
  --accent-soft: #eceaff;
  --good: #14a06a;
  --warn: #b26a00;
  --bad: #c2382b;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 16, 32, 0.16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}

.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 13px;
}

.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
