/* ── ОБЩЕЕ ───────────────────────────────────────────────── */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f0f0f0;
  color: #1a1a2e;
}

/* ── ШАПКА ───────────────────────────────────────────────── */
header {
  background: #0d0d0d;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 9999;
}

header .logo img {
  max-height: 40px;
  width: auto;
}

header a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 48px;
  transition: all 0.3s ease;
}

header a:hover {
  opacity: 0.85;
}

header ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Login — белая обводка */
header li:first-child a {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
}

header li:first-child a:hover {
  border-color: #ffffff;
}

/* Registre-se — зелёная кнопка */
header li:last-child a {
  background: #00c853;
  color: #ffffff;
  font-weight: 600;
  border: none;
}

header li:last-child a:hover {
  background: #00e676;
}

/* ── КОНТЕНТ ─────────────────────────────────────────────── */
section.text {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px;
}

div.text1 {
  background: #ffffff;
  border-radius: 14px;
  padding: 48px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── ЗАГОЛОВОК H2 ────────────────────────────────────────── */
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid #00c853;
}

/* ── ПОДЗАГОЛОВКИ H3 ────────────────────────────────────── */
h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 36px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #00c853;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── ПАРАГРАФЫ ───────────────────────────────────────────── */
p {
  font-size: 15px;
  line-height: 1.85;
  color: #4a4a6a;
  margin-bottom: 14px;
}

/* ── ЖИРНЫЙ ТЕКСТ ────────────────────────────────────────── */
strong, b {
  font-weight: 700;
  color: #1a1a2e;
}

/* ── СПИСКИ ──────────────────────────────────────────────── */
ol, ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

li {
  font-size: 15px;
  line-height: 1.85;
  color: #4a4a6a;
  margin-bottom: 8px;
}

ol li::marker {
  color: #00c853;
  font-weight: 600;
}

ul li::marker {
  color: #00c853;
}

/* ── ССЫЛКИ ──────────────────────────────────────────────── */
section.text a {
  color: #00c853;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

section.text a:hover {
  color: #00e676;
}

/* ── МОБИЛЬНЫЙ ───────────────────────────────────────────── */
@media (max-width: 768px) {
  div.text1 {
    padding: 24px 18px;
  }

  header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  h2 {
    font-size: 24px;
  }
}
