*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t); }

/* ── Контейнер ── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── Секции ── */
.section       { padding: 96px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark {
  background: var(--c-bg-dark);
  color: #fff;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-sub   { color: #94a3b8; }

/* ── Теги/метки ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-primary);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r-full);
  padding: 4px 14px;
  margin-bottom: 16px;
  background: var(--c-bg-blue);
}

/* ── Заголовки секций ── */
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--c-text);
}
.section-sub {
  font-size: 17px;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Градиентный текст ── */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}

/* Основная синяя */
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-primary:hover {
  background: var(--c-primary-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,.35);
}

/* Градиентная синий→фиолет */
.btn-grad {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-grad:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,.4);
}

/* Обводка синяя */
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-bg-blue);
  color: var(--c-primary-d);
}

/* Обводка серая */
.btn-outline-dark {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-outline-dark:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* Белая на тёмном фоне */
.btn-white {
  background: #fff;
  color: var(--c-primary);
  box-shadow: var(--sh-md);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-lg);
}

.btn-lg { font-size: 16px; padding: 16px 32px; border-radius: var(--r-xl); }
.btn-sm { font-size: 13px; padding: 8px 16px; }

/* ── Карточки ── */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(37,99,235,.15);
  transform: translateY(-3px);
}

/* ── Сетки ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ── Чеклист ── */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--c-text-2);
  align-items: flex-start;
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Утилиты ── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-0 { margin-top: 0; }
