/* Общие токены и базовые компоненты */
:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #141414;
  --line: #262626;
  --line-2: #3a3a3a;
  --fg: #ededed;
  --fg-2: #a1a1a1;
  --fg-3: #707070;
  --green: #1ed760;
  --green-2: #3be477;
  --red: #ff6369;
  --paper: #f7f6f3;
  --paper-ink: #37352f;
  --paper-mut: #787774;
  --paper-line: #e6e4df;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green); color: #000; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: var(--green-2); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-2); }
.btn-danger { background: transparent; border-color: #4a2224; color: var(--red); }
.btn-danger:hover { background: #2a1214; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
