/*
  Стили страницы «Для бизнеса» (site/business.html).

  Содержание — блоки идут в том же порядке, что и на странице:
    1. Сброс и переменные
    2. Базовые элементы
    3. Раскладка: колонки и сетки
    4. Типографика и мелкие элементы
    5. Кнопки
    6. Главный блок (hero)
    7. Цифры («Почему это важно»)
    8. Калькуляторы и ползунки
    9. Схема «Зарплата → Денег нет → Аванс»
   10. Календари «Решение»
   11. Блок «Как это работает»
   12. Макеты интерфейса
   13. Лимит сотрудника
   14. Тарифы

  Стили шапки и футера здесь не лежат: они вставляются в страницу скриптом
  scripts/sync-footer.mjs из scripts/partials/. Стили формы входа и регистрации —
  в auth-modal.css.

  Адаптив: медиазапросы лежат сразу под правилами своего блока, от широкого
  экрана к узкому (1080 → 900 → 600 px).
*/

/* ============================================================
   Сброс и переменные
   ============================================================ */

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

:root {
  --ink: #1e1333;
  --mut: #6b5c87;
  --line: #e3d9f0;
  --acc: #7c3aed;
  --bg2: #f4f0fb;
  --ok: #15803d;
  --warn: #b45309;
  color-scheme: light;
}

/* Переменные для общего футера сайта */
:root {
  --ink-2: #ffffff;
  --paper-2: #ffffff;
  --line-lo: #e3d9f0;
  --line-hi: #e3d9f0;
  --text-lo: #1e1333;
  --text-lo-dim: #6b5c87;
  --text-hi: #1e1333;
  --text-hi-dim: #6b5c87;
  --yellow: #7c3aed;
  --accent-text: #6d28d9;
}

/* ============================================================
   Базовые элементы
   ============================================================ */

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #faf8ff;
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: inherit;
}

h1 {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

p {
  margin-bottom: 12px;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 600px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 24px;
  }
}

/* ============================================================
   Раскладка: колонки и сетки
   ============================================================ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.col {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.mid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.blk {
  margin: 22px 0 20px;
}

/* Абзацы после сетки из карточек: в «Как добавить сотрудников» и «Сколько стоит» */
#add .mid--after-cards {
  margin-top: 10px;
}

#pricing .mid--after-cards {
  margin-top: 22px;
}

.three {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 22px auto 0;
  padding: 0 32px;
  align-items: start;
}

.three h3 {
  font-size: 20px;
  margin: 16px 0 6px;
}

.three p {
  font-size: 16px;
}

@media (max-width: 900px) {
  .three {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .col,
  .mid {
    padding: 0 16px;
  }

  .three {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

/* ============================================================
   Типографика и мелкие элементы
   ============================================================ */

.on {
  color: var(--ink);
  font-weight: 700;
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.lead {
  font-size: 20px;
  color: #3d3352;
  margin-top: 18px;
}

.cap {
  font-size: 14px;
  color: var(--mut);
  margin-top: 10px;
}

ul.l {
  list-style: none;
}

ul.l li {
  padding: 8px 0 8px 26px;
  position: relative;
}

ul.l li:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 9px;
  margin-left: 6px;
  color: var(--mut);
  vertical-align: 2px;
}

@media (max-width: 600px) {
  .lead {
    font-size: 17px;
  }
}

/* ============================================================
   Кнопки
   ============================================================ */

.btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.b {
  display: inline-block;
  background: var(--acc);
  color: #fff;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 17px;
  text-decoration: none;
}

.b:hover {
  background: #9061f9;
}

.b2 {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 17px;
  text-decoration: none;
}

/* Уменьшенная кнопка внутри макета интерфейса */
.b--sm {
  font-size: 13px;
  padding: 8px 12px;
}

/* ============================================================
   Главный блок (hero)
   ============================================================ */

.hero2 {
  background: #1e1333;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.h2in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);
  grid-template-areas: "head art" "body art";
  grid-template-rows: auto auto;
  column-gap: 24px;
}

.h2head {
  grid-area: head;
  align-self: end;
  position: relative;
  z-index: 2;
}

.h2body {
  grid-area: body;
  align-self: start;
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

.hero2 .tag {
  color: #c4b5fd;
}

.hero2 h1 {
  font-size: 38px;
  line-height: 1.15;
  color: #fff;
}

.hero2 .lead {
  color: #e6dff3;
  margin-top: 20px;
  font-size: 18px;
}

.hero2 .b2 {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero2 .b2:hover {
  background: rgba(255,255,255,.12);
}

.hero2 .cap {
  color: #b3a6cc;
  margin-top: 28px;
}

.h2art {
  grid-area: art;
  position: relative;
  height: 600px;
  min-width: 0;
}

.h2circle {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: linear-gradient(160deg,#9061f9 0%,#7c3aed 55%,#5b21b6 100%);
  left: 50%;
  top: -40px;
  transform: translateX(-46%);
}

.h2dots {
  position: absolute;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle,#c4b5fd 2.5px,transparent 3px) 0 0/11px 11px;
  opacity: .9;
}

.h2dots.d1 {
  left: 14%;
  top: 36%;
}

.h2dots.d2 {
  left: 6%;
  top: 62%;
  width: 33px;
  height: 33px;
}

.h2win {
  position: absolute;
  left: 172px;
  top: 70px;
  width: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(8,4,20,.45);
  overflow: hidden;
}

.h2win img {
  display: block;
  width: 100%;
  height: auto;
}

.h2phone {
  position: absolute;
  left: 0;
  top: 131px;
  width: 160px;
  filter: drop-shadow(0 24px 40px rgba(8,4,20,.5));
}

.h2phone img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1080px) {
  .hero2 h1 {
    font-size: 34px;
  }

  .h2win {
    left: 150px;
    width: 600px;
    top: 70px;
  }

  .h2phone {
    width: 140px;
    top: 130px;
  }

  .h2circle {
    width: 680px;
    height: 680px;
  }
}

@media (max-width: 900px) {
  .h2in {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "head" "art" "body";
    padding: 44px 16px 0;
    column-gap: 0;
  }

  .hero2 h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero2 .lead {
    font-size: 16px;
    margin-top: 0;
  }

  .h2head {
    align-self: start;
  }

  .h2body {
    padding-bottom: 48px;
  }

  .h2art {
    height: 340px;
    margin: 24px -16px 28px;
  }

  .h2circle {
    width: 440px;
    height: 440px;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
  }

  .h2win {
    left: 150px;
    width: 420px;
    top: 40px;
    border-radius: 10px;
  }

  .h2phone {
    width: 130px;
    left: 16px;
    top: 70px;
  }

  .h2dots {
    display: none;
  }

  .hero2 .btns .b,
  .hero2 .btns .b2 {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   Цифры («Почему это важно»)
   ============================================================ */

.stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.why2 {
  display: block;
  font-size: 13px;
  color: var(--mut);
  margin-top: 4px;
  line-height: 1.4;
}

.stat b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 700;
  min-width: 230px;
  white-space: nowrap;
  letter-spacing: -.02em;
}

@media (max-width: 600px) {
  .stat {
    flex-direction: column;
    gap: 2px;
  }

  .stat b {
    min-width: 0;
  }
}

/* ============================================================
   Калькуляторы и ползунки
   ============================================================ */

.calc {
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 28px;
  background: #fff;
}

.calc label {
  display: block;
  font-size: 15px;
  color: var(--mut);
  margin-top: 16px;
}

.calc .inp {
  border: 1px solid #d9d0ea;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
}

.res {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  margin-top: 26px;
  letter-spacing: -.02em;
}

input.inp {
  width: 100%;
  font-family: inherit;
  color: var(--ink);
}

.calc .two2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.res2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 8px;
}

.res2 span {
  color: var(--mut);
  font-weight: 400;
  font-size: 15px;
}

.sl {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.slh {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--mut);
}

.slh b {
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  white-space: nowrap;
}

input[type=range] {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--acc);
}

@media (max-width: 600px) {
  .res {
    font-size: 34px;
  }

  .calc .two2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Схема «Зарплата → Денег нет → Аванс»
   ============================================================ */

.flow {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.st5 {
  flex: 1;
  background: var(--bg2);
  border-radius: 12px;
  padding: 18px 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
}

.st5 b {
  display: block;
  color: var(--acc);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

/* Шаг «Денег нет» — тёплый акцент */
.st5--warn {
  background: #fdf3e7;
}

.st5--warn b {
  color: var(--warn);
}

.arr {
  width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mut);
  font-size: 20px;
}

@media (max-width: 900px) {
  .flow {
    flex-direction: column;
  }

  .flow .arr {
    width: auto;
    height: 24px;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .flow {
    flex-direction: column;
  }

  .arr {
    width: auto;
    height: 24px;
    transform: rotate(90deg);
  }
}

/* ============================================================
   Календари «Решение»
   ============================================================ */

.cal {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 6px;
  max-width: 460px;
}

.cal div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #efeaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #9a8db3;
}

.cal .on {
  background: var(--acc);
  color: #fff;
  font-weight: 700;
}

.cal .off {
  background: #fff;
  border: 1px dashed #e3d9f0;
}

.calw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.calw h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.calw .k {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin: 6px 0 12px;
}

.calw .k span {
  font-size: 17px;
  font-weight: 600;
  color: var(--mut);
}

@media (max-width: 600px) {
  .calw {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Блок «Как это работает»
   ============================================================ */

.tl {
  position: relative;
  margin-top: 26px;
}

.tl:before {
  content: '';
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 40px;
  width: 2px;
  background: var(--line);
}

.ts {
  position: relative;
  padding-left: 66px;
  margin-bottom: 44px;
}

.ts:last-child {
  margin-bottom: 0;
}

.ts .n {
  position: absolute;
  left: 0;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #faf8ff;
}

.ts h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.ts p {
  font-size: 17px;
}

.ts .more {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
  text-decoration: none;
}

.tv {
  margin-bottom: 14px;
}

.tbud {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg2);
  border-radius: 14px;
  padding: 18px 20px;
}

.tbud b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--acc);
  white-space: nowrap;
  line-height: 1;
}

.tbud span {
  font-size: 14px;
  color: var(--mut);
  line-height: 1.45;
}

.tpush {
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(30,19,51,.08);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.tpush i {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 4px;
}

.tph {
  width: 240px;
  border: 7px solid var(--ink);
  border-radius: 26px;
  background: #fff;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 32px rgba(30,19,51,.12);
  font-size: 13px;
}

.tph .t {
  font-size: 11px;
  color: var(--mut);
}

.tph .ph {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.tph .big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 2px 0 12px;
}

.tph .go {
  background: var(--acc);
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px;
}

.tsal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.tsal h4 {
  font-size: 16px;
  margin-bottom: 14px;
}

.tbar {
  display: flex;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.tbar .tx {
  width: 14%;
  background: repeating-linear-gradient(135deg,#ddd5ea 0 6px,#efeaf7 6px 12px);
}

.tbar .ad {
  width: 26.67%;
  background: var(--acc);
}

.tbar .rs {
  flex: 1;
  background: var(--ink);
}

.tleg {
  display: grid;
  grid-template-columns: 14% 26.67% 1fr;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--mut);
}

.tleg div {
  border-left: 3px solid #ddd5ea;
  padding: 0 10px 0 9px;
}

.tleg div:nth-child(2) {
  border-color: var(--acc);
}

.tleg div:nth-child(3) {
  border-color: var(--ink);
}

.tleg b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.tleg div:nth-child(2) b {
  color: var(--acc);
}

.tfee {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--mut);
}

.tfee b {
  color: var(--ok);
  border: 1.5px dashed var(--ok);
  border-radius: 999px;
  padding: 2px 9px;
  margin-right: 6px;
  white-space: nowrap;
}

.trc {
  max-width: 400px;
  background: #fbf9ff;
  border: 1px dashed #c7b9e0;
  border-radius: 14px;
  padding: 4px 18px;
  font-size: 15px;
}

.trc div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.trc div:last-child {
  border: 0;
  color: var(--ok);
  font-weight: 700;
}

.trc b {
  white-space: nowrap;
}

.tnote {
  margin-top: 40px;
  background: var(--bg2);
  border-left: 4px solid var(--acc);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  font-size: 17px;
}

@media (max-width: 600px) {
  .ts {
    padding-left: 56px;
  }

  .tl:before {
    left: 17px;
  }

  .ts .n {
    width: 36px;
    height: 36px;
    font-size: 17px;
    top: -2px;
  }

  .ts h3 {
    font-size: 19px;
  }

  .tbud {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tleg {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tleg b {
    display: inline;
    margin-right: 6px;
  }
}

/* ============================================================
   Разделитель «Описание функционала сервиса»
   ============================================================ */

#extra {
  background: var(--bg2);
  padding: 44px 0;
  border-bottom: 0;
}

#extra h2 {
  font-size: 36px;
  margin: 0;
}

/* ============================================================
   Макеты интерфейса («Как добавить сотрудников», «Три способа проводить выплаты»)
   ============================================================ */

.ui {
  background: #fff;
  border: 1px solid #d9d0ea;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(30,19,51,.08);
  overflow: hidden;
  font-size: 14px;
}

.ui .bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbf9ff;
  align-items: center;
}

.ui .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3d9f0;
  display: block;
}

.ui .bar span {
  margin-left: 12px;
  color: var(--mut);
  font-size: 13px;
}

.ui .in {
  padding: 18px 20px;
}

/* Макет на всю ширину ячейки / с более плотными отступами */
.ui--full {
  width: 100%;
}

.ui-actions {
  margin-top: 12px;
}

.ui .in--compact {
  padding: 12px 14px;
}

.fld {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.fld b {
  background: #f6f3fb;
  border: 1px solid #e3d9f0;
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 600;
}

/* Последняя строка отчёта: без линии, ошибки — красным */
.fld--last {
  border: 0;
}

.fld b.fld-err {
  color: #b91c1c;
}

pre {
  background: var(--ink);
  color: #ece4f7;
  border-radius: 12px;
  padding: 18px;
  font-size: 13px;
  line-height: 1.6;
  overflow: auto;
  font-family: 'JetBrains Mono', monospace;
}

/* Пример CSV-файла в блоке «Файлом» */
pre.csv-sample {
  margin: 0;
  font-size: 11px;
}

.vis {
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fbf9ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Содержимое в столбик, на всю ширину ячейки */
.vis--stack {
  flex-direction: column;
  align-items: stretch;
}

.vis--gap {
  gap: 10px;
}

.vis .fld {
  font-size: 13px;
}

.vis .fld b {
  background: none;
  border: 0;
  padding: 0;
}

.apisch {
  min-height: 250px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fbf9ff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Схема внутри текстового блока, под абзацами */
.apisch--inline {
  margin-top: 14px;
}

.ab {
  background: #fff;
  border: 1px solid #e3d9f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.ab.hi {
  border: 2px solid var(--acc);
}

.ab.dk {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.aa {
  text-align: center;
  color: var(--mut);
  font-size: 16px;
  line-height: 1.3;
}

/* Скриншот таблицы заявок в «Автоматически» и «Вручную» */
.pay-shot {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: left top;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}

/* ============================================================
   Лимит сотрудника
   ============================================================ */

.lim {
  margin-bottom: 0;
}

.lim h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.lbar {
  height: 30px;
  border-radius: 8px;
  background: #efeaf7;
  overflow: hidden;
}

.lbar .full {
  height: 100%;
  background: var(--acc);
}

.lsegs {
  display: grid;
  grid-template-columns: repeat(31,1fr);
  gap: 2px;
}

.sg {
  height: 30px;
  border-radius: 4px;
  background: #efeaf7;
}

.sg.on {
  background: var(--acc);
}

.ltxt {
  font-size: 15px;
  margin-top: 8px;
}

/* ============================================================
   Тарифы
   ============================================================ */

.four {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 22px auto 0;
  padding: 0 32px;
  align-items: stretch;
}

.tc {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  background: #fff;
}

.tc.rec {
  border: 2px solid var(--acc);
}

.tc.rec:before {
  content: "рекомендуем";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--acc);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.tc h3 {
  font-size: 19px;
  margin: 0;
}

.tp {
  font-size: 21px;
  font-weight: 800;
  margin: 6px 0 2px;
  white-space: nowrap;
}

.tn {
  font-size: 14px;
  color: var(--mut);
  margin-bottom: 12px;
}

ul.ck {
  list-style: none;
}

ul.ck li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 15px;
  line-height: 1.4;
}

ul.ck li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-weight: 700;
}

@media (max-width: 900px) {
  .four {
    grid-template-columns: repeat(2,minmax(0,1fr));
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .four {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

