/* Nexard — общие стили статических страниц корня домена (заглушка, юр. страницы, 404). */

@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/GolosText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/GolosText-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --brand-cyan: #1ec9ff;
  --brand-blue: #047ffe;
  --brand-violet: #4f4bff;
  --ink: #0e1b27;
  --bg-dark: #070b14;
  --gradient: linear-gradient(90deg, #1ec9ff 0%, #047ffe 50%, #4f4bff 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Golos Text', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Onest', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

a {
  color: inherit;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Кнопка в стиле сайта: градиент + подъём при наведении (не сжатие) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: var(--gradient);
  box-shadow: 0 14px 34px -12px rgba(4, 127, 254, 0.6);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -12px rgba(4, 127, 254, 0.7);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
