:root {
    --teal:        #3bb4c1;  /* фирменный бирюзовый  */
    --teal-dark:   #2a8f9a;
    --green:       #7bc043;  /* фирменный зелёный    */
    --green-dark:  #6ab035;
    --text:        #333;     /* основной текст       */
    --text-muted:  #666;     /* приглушённый текст   */
    --line:        #e2e6e8;  /* линии / разделители  */
    --bg-soft:     #f9f9f9;  /* мягкий фон блоков    */
    --bg-row:      #f4fafb;  /* фон чётных строк     */
  }

  /* ============================================================
     БАЗА
     ============================================================ */
  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
  }

  /* Контейнер контента — задаёт читаемую ширину строки */
  .content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 24px 80px;
  }

  /* ============================================================
     ЗАГОЛОВКИ
     ============================================================ */
  .content h1,
  .content h2,
  .content h3,
  .content h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
  }

  .content h1 {
    font-size: 34px;
    font-weight: 300;       /* лёгкий — как в шапке сайта */
    color: var(--teal);
    margin-bottom: 24px;
  }

  .content h2 {
    font-size: 26px;
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--green);  /* фирменная зелёная черта */
  }

  .content h3 {
    font-size: 20px;
    color: var(--teal);
    margin: 32px 0 12px;
  }

  .content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 24px 0 10px;
  }

  /* ============================================================
     АБЗАЦЫ И ИНЛАЙН-ЭЛЕМЕНТЫ
     ============================================================ */
  .content p { margin-bottom: 18px; }

  .content a {
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid rgba(59,180,193,.35);
    transition: color .2s, border-color .2s;
  }
  .content a:hover {
    color: var(--teal-dark);
    border-bottom-color: var(--teal-dark);
  }

  .content strong { font-weight: 700; }
  .content em     { font-style: italic; }

  .content small  { font-size: 13px; color: var(--text-muted); }

  .content mark {
    background: rgba(123,192,67,.25);
    padding: 1px 4px;
    border-radius: 3px;
  }

  /* Цитата */
  .content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    background: var(--bg-soft);
    border-left: 4px solid var(--teal);
    color: var(--text-muted);
    font-style: italic;
  }
  .content blockquote p:last-child { margin-bottom: 0; }

  /* ============================================================
     СПИСКИ
     ============================================================ */
  .content ul,
  .content ol {
    margin: 0 0 18px 0;
    padding-left: 0;
    list-style: none;
  }

  .content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
  }

  /* Маркированный список — зелёная «галочка»-точка */
  .content ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
  }

  /* Нумерованный список — бирюзовые номера */
  .content ol { counter-reset: item; }
  .content ol > li {
    counter-increment: item;
  }
  .content ol > li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Вложенные списки */
  .content li ul,
  .content li ol { margin: 10px 0 0; }
  .content li ul > li::before { background: var(--teal); }

  /* ============================================================
     ТАБЛИЦЫ
     ============================================================ */
  .table-wrap { overflow-x: auto; margin: 24px 0; }

  .content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .content thead th {
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: none;
  }
  .content thead th:first-child { border-top-left-radius: 6px; }
  .content thead th:last-child  { border-top-right-radius: 6px; }

  .content tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }

  .content tbody tr:nth-child(even) { background: var(--bg-row); }
  .content tbody tr:hover           { background: #eef8f9; }

  /* Числовые колонки удобно выравнивать вправо */
  .content td.num,
  .content th.num { text-align: right; font-variant-numeric: tabular-nums; }

  .content table caption {
    caption-side: bottom;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: left;
  }

  /* ============================================================
     ПОЛЕЗНЫЕ МЕЛОЧИ
     ============================================================ */
  .content hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 40px 0;
  }

  /* Бейдж/метка статуса для таблиц */
  .badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
  }
  .badge.ok   { background: rgba(123,192,67,.18); color: var(--green-dark); }
  .badge.warn { background: rgba(231,76,60,.15);  color: #c0392b; }

  @media (max-width: 600px) {
    body { font-size: 15px; }
    .content h1 { font-size: 27px; }
    .content h2 { font-size: 22px; }
  }