/* ==========================================================================
   Stellereum — design tokens
   Только переменные. Никаких селекторов компонентов.
   Брейкпоинты (mobile-first, как у ethereum.org):
   480 / 768 / 992 / 1280 / 1536  — см. responsive.css
   ========================================================================== */

:root {
  color-scheme: dark;

  /* --- surfaces --------------------------------------------------------- */
  --bg-0: #04060c;              /* страница */
  --bg-1: #070b14;              /* секция-альтерната */
  --bg-2: #0b1120;              /* панель */
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);

  /* --- text ------------------------------------------------------------- */
  --text-1: #eaf0fb;            /* заголовки (15.9:1 на --bg-0) */
  --text-2: #9aa6bf;            /* основной текст (8.1:1) */
  --text-3: #616d87;            /* мутный — только декор */

  /* --- accent ----------------------------------------------------------- */
  --accent: #3fa9ff;
  --accent-2: #8b6cff;
  --accent-3: #5ef0c8;
  --danger: #ff6b8a;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-text: linear-gradient(120deg, #7cc7ff 0%, #a99bff 100%);

  /* --- radii ------------------------------------------------------------ */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* --- elevation -------------------------------------------------------- */
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 60px -30px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(63, 169, 255, .25), 0 20px 80px -30px rgba(63, 169, 255, .55);
  --glow-violet: 0 0 0 1px rgba(139, 108, 255, .25), 0 20px 80px -30px rgba(139, 108, 255, .5);

  /* --- typography ------------------------------------------------------- */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* --- layout ----------------------------------------------------------- */
  --max: 1240px;
  --gutter: 16px;               /* боковой отступ контейнера */
  --header-h: 64px;             /* высота шапки */
  --section-y: 64px;            /* вертикальный ритм секций */

  /* --- spacing scale ---------------------------------------------------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 56px;
  --sp-11: 64px;
  --sp-12: 72px;
  --sp-13: 80px;
  --sp-14: 96px;
  --sp-15: 112px;
  --sp-16: 128px;

  /* --- motion ----------------------------------------------------------- */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 600ms;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* --- z-index ---------------------------------------------------------- */
  --z-header: 60;
  --z-drawer: 70;
  --z-backdrop: 55; /* ниже шапки: шапка с backdrop-filter — containing block */
}
