/* ============================================
   BRDZ.NET — Base Reset & Typography
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Типографика */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 500; }

p { color: var(--text-2); line-height: 1.7; }

a { color: inherit; text-decoration: none; }

/* Контейнер */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* Секции */
.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }

/* Разделитель */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* Метка над заголовком */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Тег/Badge */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  font-family: 'Space Mono', monospace;
}

/* Числа/метрики */
.metric {
  font-family: 'Space Mono', monospace;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}
