/*
 * Общие токены оформления RAKETA.
 * Тёмная неоново-лаймовая палитра, шрифты без внешних CDN:
 * Montserrat раздаётся с собственного хоста, остальное — системный стек.
 */

:root {
  --bg-deep: #040407;
  --bg-panel: #0c0c17;
  --bg-card: #111122;
  --bg-input: #07070f;
  --bg-landing: #0f0519;

  --lime: #bdfb1e;
  --lime-bright: #d0ff4a;
  --lime-soft: rgba(189, 251, 30, 0.14);

  --purple: #9333ea;
  --purple-bright: #c084fc;
  --purple-soft: rgba(147, 51, 234, 0.18);
  --purple-ring: rgba(168, 85, 247, 0.55);

  --cyan: #34d399;
  --gold: #fbbf24;
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.14);
  --muted-bar: #475569;

  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-xl: 24px;

  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Inter", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-landing: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;

  --container: 1340px;
  --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.25);

  --timing: 0.16s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body {
  min-height: 100dvh;
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

code,
pre {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--lime);
  color: #050508;
}

.sr-only {
  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) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
