:root {
  --bg-primary: #060A14;
  --bg-secondary: #0A1020;
  --bg-card: #0B1530;
  --bg-input: #0E1A38;
  --bg-card-hover: #122048;
  --orange: #fb923c;
  --orange-glow: rgba(251, 146, 60, 0.15);
  --cyan: #3FC1FF;
  --cyan-glow: rgba(63, 193, 255, 0.12);
  --accent: #3F8DFF;
  --accent-dim: #2F7DFF;
  --accent-glow: rgba(47, 125, 255, 0.15);
  --accent-glow-strong: rgba(63, 193, 255, 0.35);
  --text-primary: #E8EEF7;
  --text-secondary: #9AA4B2;
  --text-dim: #5F6977;
  --border: rgba(154, 164, 178, 0.08);
  --border-accent: rgba(47, 125, 255, 0.3);
  --gradient: linear-gradient(135deg, #2F7DFF, #3FC1FF);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Сетка 60px */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 176, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 176, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Лёгкий шум */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

main, footer { position: relative; z-index: 1; }

/* Отступ под фиксированную шапку */
.page { padding-top: 72px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6FA8FF; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
