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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f7f5;
  color: #1a2e1d;
  line-height: 1.6;
  font-size: 16px;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e0e8e0;
  padding: 0 20px;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #1a7a3a;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: #aaa; font-weight: 400; margin-left: 6px; font-size: 14px; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Плашка с платформой */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f5ec;
  border: 1px solid #c0dfc8;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1a7a3a;
  margin-bottom: 16px;
}

h1 {
  font-size: 26px;
  font-weight: 800;
  color: #0f1f12;
  margin-bottom: 8px;
  line-height: 1.2;
}

.subtitle {
  color: #5a7a62;
  font-size: 15px;
  margin-bottom: 32px;
}

/* Шаги */
.steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #edf2ee;
}
.step:last-child { border-bottom: none; }

.step::before {
  content: counter(steps);
  min-width: 32px;
  height: 32px;
  background: #1a7a3a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.step-body { flex: 1; }

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f1f12;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 14px;
  color: #4a6650;
  line-height: 1.6;
}

/* Кнопка скачать/установить */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  background: #1a7a3a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.dl-btn:hover { background: #155f2d; }
.dl-btn.secondary {
  background: #fff;
  color: #1a7a3a;
  border: 1.5px solid #1a7a3a;
}
.dl-btn.secondary:hover { background: #e8f5ec; }

/* Заметка */
.note {
  margin-top: 10px;
  background: #fff8e8;
  border-left: 3px solid #e6a817;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #6b4c10;
}

/* Альтернатива */
.alt-block {
  margin-top: 32px;
  background: #fff;
  border: 1px solid #e0e8e0;
  border-radius: 12px;
  padding: 20px 24px;
}
.alt-block h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0f1f12;
  margin-bottom: 14px;
}

/* Навигация между платформами */
.nav-platforms {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e0e8e0;
}
.nav-platforms p {
  font-size: 13px;
  color: #8aaa90;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nav-item {
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #d0ddd2;
  border-radius: 20px;
  font-size: 13px;
  color: #2a5a34;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.nav-item:hover { background: #e8f5ec; border-color: #1a7a3a; }
.nav-item.active { background: #1a7a3a; color: #fff; border-color: #1a7a3a; }

/* Код / ссылка подписки */
code {
  background: #e8f0e8;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13px;
  font-family: monospace;
  color: #1a5a2a;
}
