/* Главная freepos.ru. Свой файл, а не правки темы: страница одна, и её вид не должен зависеть от
   демки Falcon. Bootstrap темы остаётся под окна входа, регистрации и формы связи. Картинок почти
   нет — экраны продукта нарисованы разметкой (.ld-ui): они чёткие на любом экране, весят килобайты
   и не несут чужих данных */

:root {
  --ld-ink: #0e1b2c;
  --ld-ink-2: #3b4a5e;
  --ld-mute: #6b7a8e;
  --ld-line: #e3e8ef;
  --ld-soft: #f4f7fb;
  --ld-blue: #2c7be5;
  --ld-blue-d: #1d62c4;
  --ld-green: #12a36d;
  --ld-amber: #e8930c;
  --ld-red: #e14b4b;
  --ld-night: #0b1524;
  --ld-night-2: #13233a;
  --ld-radius: 14px;
}

body.ld {
  background: #fff;
  color: var(--ld-ink-2);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
.ld h1, .ld h2, .ld h3, .ld h4 { color: var(--ld-ink); letter-spacing: -.01em; }
/* user.min.css гасит вес заголовков темы до 400 через !important — главной нужна иерархия:
   крупные заголовки 500, мелкие (карточки, условия) 600, иначе они теряются в тексте */
.ld h1, .ld h2 { font-weight: 500 !important; }
.ld h3, .ld h4, .ld h5 { font-weight: 600 !important; }
.ld a { text-decoration: none; }
.ld section { padding: 4rem 0; }
@media (max-width: 767.98px) { .ld section { padding: 2.75rem 0; } }

.ld-kicker {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ld-blue); margin-bottom: .75rem;
}
.ld-h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.15; margin-bottom: 1rem; }
.ld-lead { font-size: 1.12rem; line-height: 1.6; color: var(--ld-ink-2); }
.ld-soft { background: var(--ld-soft); }

/* Кнопки — свои, крупнее темы: на первом экране кнопка — главное действие */
.ld-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  cursor: pointer;
}
.ld-btn:active { transform: translateY(1px); }
.ld-btn--primary { background: var(--ld-blue); color: #fff; }
.ld-btn--primary:hover { background: var(--ld-blue-d); color: #fff; }
.ld-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ld-btn--ghost:hover { border-color: #fff; color: #fff; }
.ld-btn--line { background: #fff; color: var(--ld-ink); border-color: var(--ld-line); }
.ld-btn--line:hover { border-color: var(--ld-blue); color: var(--ld-blue); }
.ld-btn--sm { padding: .55rem 1rem; font-size: .92rem; border-radius: 8px; }

/* Шапка: прозрачная над тёмным первым экраном, сплошная после прокрутки (класс ставит скрипт) */
.ld-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  transition: background-color .2s, box-shadow .2s;
}
.ld-nav.is-solid, .ld-nav.menu-open { background: rgba(11, 21, 36, .96); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.ld-nav .navbar { padding: .9rem 0; }
.ld-nav .navbar-brand { color: #fff; font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.ld-nav .navbar-brand b { color: #6ea8ff; font-weight: 600; }
.ld-nav .nav-link { color: rgba(255,255,255,.78); font-weight: 500; white-space: nowrap; }
.ld-nav .ld-btn { white-space: nowrap; }
.ld-nav .nav-link:hover, .ld-nav .nav-link:focus { color: #fff; }
/* Пункт раздела, который сейчас на экране (главная, по прокрутке), и текущая страница (внутренние) */
.ld-nav .nav-link { position: relative; }
.ld-nav .nav-link.is-active, .ld-nav .nav-link.active { color: #fff; }
@media (min-width: 992px) {
  .ld-nav .nav-link.is-active::after, .ld-nav .nav-link.active::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .1rem;
    height: 2px; border-radius: 2px; background: #6ea8ff; }
}
.ld-nav .navbar-toggler { border-color: rgba(255,255,255,.3); }
.ld-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .ld-nav .navbar-collapse { padding: .5rem 0 1rem; }
}
.ld-nav .dropdown-menu { min-width: 20rem; border: 0; box-shadow: 0 20px 50px rgba(11,21,36,.25); border-radius: 12px; }

/* Первый экран */
/* Фон — живой зал кафе под тёмной вуалью: так теплее, чем голый градиент, а текст читается */
.ld-hero {
  position: relative; overflow: hidden; overflow: clip; color: #fff; /* clip: hidden-блок браузер прокручивает изнутри при возврате прокрутки после обновления */
  background:
    linear-gradient(180deg, rgba(11,21,36,.38) 0%, rgba(11,21,36,.12) 22%, rgba(11,21,36,.22) 70%, rgba(11,21,36,.55) 100%),
    url(../img/landing/hero-cafe.webp) center 60% / cover no-repeat,
    var(--ld-night);
  padding: 8.5rem 0 0 !important;
}
/* В раскладке «текст слева, касса справа» вуаль плотнее под текстом и прозрачнее у кассы */
.ld-hero--split {
  background:
    radial-gradient(ellipse 46% 62% at 22% 48%, rgba(11,21,36,.62) 0%, rgba(11,21,36,.38) 55%, rgba(11,21,36,0) 100%),
    linear-gradient(90deg, rgba(11,21,36,.28) 0%, rgba(11,21,36,0) 55%),
    linear-gradient(180deg, rgba(11,21,36,.38) 0%, rgba(11,21,36,0) 20%),
    url(../img/landing/hero-cafe.webp) center 60% / cover no-repeat,
    var(--ld-night);
}
@media (max-width: 991.98px) {
  .ld-hero--split {
    background:
      linear-gradient(180deg, rgba(11,21,36,.5) 0%, rgba(11,21,36,.62) 100%),
      url(../img/landing/hero-cafe.webp) center top / cover no-repeat,
      var(--ld-night);
  }
}
.ld-hero h1, .ld-typed__ghost {
  color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); line-height: 1.06; margin-bottom: 1.1rem; font-weight: 500;
}
.ld-typed { display: grid; }
.ld-typed > * { grid-area: 1 / 1; }
.ld-typed__ghost { visibility: hidden; letter-spacing: -.01em; }
.ld-hero .typed-cursor { color: #6ea8ff; font-weight: 300; }
.ld-hero h1 span { color: #6ea8ff; }
.ld-hero .ld-sub { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); color: #fff; font-weight: 500; margin-bottom: 1rem; }
.ld-hero .ld-lead { color: rgba(255,255,255,.72); max-width: 40rem; }
.ld-hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.ld-hero-facts li { color: rgba(255,255,255,.75); font-size: .93rem; display: flex; align-items: center; gap: .5rem; }
.ld-hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; flex: 0 0 auto; }
.ld-hero-stage { position: relative; margin-top: 3.5rem; }
.ld-hero-stage .ld-browser { margin: 0 auto; max-width: 980px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Первый экран, пока идёт набор во FreePOS 50: текст с предложением слева, касса справа */
.ld-hero-brand { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8fb9ff; margin-bottom: 1rem; }
.ld-hero--split { padding: 6.75rem 0 5.5rem !important; }
.ld-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 3rem; align-items: center; }
.ld-hero--split h1, .ld-hero--split .ld-typed__ghost { font-size: clamp(2rem, 1rem + 2.1vw, 2.9rem); }
.ld-hero--split .ld-sub { font-size: 1.2rem; }
.ld-hero--split .ld-lead { font-size: 1.02rem; }
.ld-hero-offer {
  margin-top: 1.25rem; padding: 1.15rem 1.3rem 1.1rem; border-radius: 16px;
  background: rgba(11,21,36,.42); border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
/* Вуаль над фото почти прозрачная — читаемость держит тень под буквами, а не затемнение */
.ld-hero h1, .ld-hero .ld-hero-brand, .ld-hero .ld-sub, .ld-hero .ld-lead, .ld-hero .ld-hero-facts li, .ld-hero .ld-hero-more {
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 4px 18px rgba(0,0,0,.55);
}
.ld-hero .ld-lead, .ld-hero .ld-hero-facts li { color: rgba(255,255,255,.88); }
.ld-hero .ld-hero-brand { color: #a9caff; }
.ld-hero h1 span { color: #9cc6ff; }
.ld-hero-offer__tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--ld-blue); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ld-hero-offer p { color: rgba(255,255,255,.82); margin: .6rem 0 1rem; line-height: 1.5; }
.ld-hero-offer p b { color: #fff; font-weight: 600; }
.ld-hero-offer__left { color: #ffd27a; font-weight: 500; font-size: .92rem; }
.ld-hero-more { color: rgba(255,255,255,.7); font-weight: 500; font-size: .95rem; }
.ld-hero-more:hover { color: #fff; }
.ld-hero--split .ld-hero-facts { margin-top: 1.25rem; }
.ld-hero--split .ld-hero-stage { margin-top: 0; }
.ld-hero--split .ld-browser { border-radius: 12px; max-width: none; }
.ld-hero--split .ld-pos { grid-template-columns: minmax(0, 1fr) 220px; min-height: 0; }
.ld-hero--split .ld-pos__grid { grid-template-columns: repeat(3, 1fr); }
.ld-hero--split .ld-pos__grid .ld-tile:nth-child(n+7) { display: none; }
/* Рядом с текстом места мало: остаётся одна карточка — утренняя сводка, над краем кассы */
.ld-hero--split .ld-float--digest { right: -28px; top: -128px; }
.ld-hero--split .ld-float--phone { display: none; }
@media (max-width: 1199.98px) {
  .ld-hero--split .ld-pos__grid { grid-template-columns: repeat(2, 1fr); }
  .ld-hero--split .ld-pos__grid .ld-tile:nth-child(n+5) { display: none; }
}
@media (max-width: 991.98px) {
  .ld-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 767.98px) {
  .ld-hero--split { padding: 6.5rem 0 3rem !important; }
  .ld-hero--split .ld-pos { grid-template-columns: 1fr; }
  .ld-hero--split .ld-pos__grid { grid-template-columns: repeat(2, 1fr); }
  .ld-hero--split .ld-pos__grid .ld-tile:nth-child(n+5) { display: none; }
}

/* Лента «для кого» */
.ld-for { padding: 1.5rem 0 !important; border-bottom: 1px solid var(--ld-line); background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%); }
.ld-for__row { display: flex; align-items: center; justify-content: center; gap: .75rem 1.1rem; flex-wrap: wrap; }
.ld-for__label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ld-mute); white-space: nowrap; }
.ld-for ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ld-for li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem .42rem .7rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--ld-line); color: var(--ld-ink-2); font-weight: 500; font-size: .9rem; white-space: nowrap;
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.ld-for li:hover { border-color: #b9d1f5; color: var(--ld-ink); box-shadow: 0 6px 18px rgba(44,123,229,.08); }
.ld-for li .ld-ico { color: var(--ld-blue); font-size: 1.05rem; }
@media (max-width: 575.98px) { .ld-for li { font-size: .84rem; padding: .36rem .7rem .36rem .6rem; } .ld-for__label { width: 100%; text-align: center; } }

/* Список с галочками — в подробных карточках возможностей */
.ld-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.ld-checks li { position: relative; padding: .38rem 0 .38rem 1.9rem; line-height: 1.5; }
.ld-checks li::before {
  content: ""; position: absolute; left: 0; top: .62rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(44,123,229,.12) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232c7be5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3e%3c/svg%3e") center/70% no-repeat;
}
.ld-checks b { color: var(--ld-ink); font-weight: 600; }
.ld-note { font-size: .9rem; color: var(--ld-mute); margin-top: 1rem; }

/* Нарисованные экраны продукта */
.ld-ui { font-size: 13px; line-height: 1.35; color: #344050; user-select: none; }
.ld-ui * { box-sizing: border-box; }
.ld-browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,21,36,.35), 0 0 0 1px rgba(11,21,36,.06);
}
.ld-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid #e1e7ef; }
.ld-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae4; display: block; }
.ld-browser__bar span {
  margin-left: 14px; flex: 1; max-width: 340px; background: #fff; border-radius: 6px; padding: 3px 10px;
  font-size: 11.5px; color: #8a97a8;
}
.ld-card-ui { background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(11,21,36,.12), 0 0 0 1px rgba(11,21,36,.05); overflow: hidden; }
.ld-ui-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #edf1f6; font-weight: 600; color: #0e1b2c; }
.ld-ui-head small { font-weight: 500; color: #8a97a8; }
.ld-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ld-pill--green { background: #e3f6ee; color: #0e8a5c; }
.ld-pill--amber { background: #fdf1dc; color: #b06e00; }
.ld-pill--blue { background: #e6effc; color: #1d62c4; }
.ld-pill--red { background: #fde8e8; color: #c23434; }
.ld-pill--grey { background: #eef1f5; color: #5e6e82; }

/* Касса в первом экране */
.ld-pos { display: grid; grid-template-columns: 1fr 300px; min-height: 380px; }
.ld-pos__cat { padding: 14px; background: #f5f7fb; }
.ld-pos__crumbs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.ld-pos__crumbs span { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #e3e8ef; font-weight: 500; font-size: 12px; }
.ld-pos__crumbs span.on { background: #2c7be5; border-color: #2c7be5; color: #fff; }
.ld-pos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ld-tile { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #e8edf3; display: flex; flex-direction: column; gap: 6px; min-height: 92px; }
.ld-tile__pic { height: 38px; border-radius: 7px; }
.ld-tile b { font-weight: 600; color: #0e1b2c; font-size: 12.5px; }
.ld-tile em { font-style: normal; color: #5e6e82; font-size: 12px; margin-top: auto; }
.ld-tile .ld-pill { align-self: flex-start; }
.ld-tile.is-stop { opacity: .5; }
.ld-tile.is-stop em { color: #c23434; }
.ld-pos__basket { border-left: 1px solid #e8edf3; display: flex; flex-direction: column; }
.ld-line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; border-bottom: 1px dashed #edf1f6; }
.ld-line small { display: block; color: #8a97a8; font-size: 11.5px; }
.ld-line b { font-weight: 600; color: #0e1b2c; white-space: nowrap; }
.ld-pos__bonus { margin: 10px 16px 0; padding: 8px 10px; border-radius: 8px; background: #f2f7ff; display: flex; justify-content: space-between; font-size: 12px; }
.ld-pos__total { margin-top: auto; padding: 14px 16px; border-top: 1px solid #edf1f6; }
.ld-pos__total div { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; color: #0e1b2c; margin-bottom: 10px; }
.ld-pos__pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ld-pos__pay span { text-align: center; padding: 9px; border-radius: 8px; background: #2c7be5; color: #fff; font-weight: 600; }
.ld-pos__pay span + span { background: #eef2f7; color: #344050; }

/* Всплывающие карточки поверх кассы */
.ld-float { position: absolute; z-index: 2; }
.ld-float--digest { right: max(0px, calc(50% - 690px)); top: -40px; width: 250px; }
.ld-float--phone { left: max(0px, calc(50% - 700px)); bottom: 40px; }
@media (max-width: 1199.98px) { .ld-float { display: none; } }

.ld-tg { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 50px rgba(0,0,0,.3); font-size: 12.5px; }
.ld-tg__from { font-weight: 600; color: #2c7be5; margin-bottom: 4px; }
.ld-tg p { margin: 0 0 6px; color: #344050; }
.ld-tg p:last-child { margin: 0; }
.ld-tg time { display: block; text-align: right; color: #9aa6b5; font-size: 11px; }

.ld-phone {
  width: 200px; border-radius: 30px; padding: 10px; background: #0e1b2c;
  box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08);
}
.ld-phone__screen { background: #fff; border-radius: 22px; overflow: hidden; padding: 16px 14px; min-height: 330px; }
.ld-phone__brand { font-weight: 600; color: #0e1b2c; font-size: 14px; }
.ld-phone__steps { list-style: none; padding: 0; margin: 14px 0 0; }
.ld-phone__steps li { position: relative; padding: 0 0 14px 22px; font-size: 12px; color: #8a97a8; }
.ld-phone__steps li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #d3dae4; background: #fff; }
.ld-phone__steps li::after { content: ""; position: absolute; left: 8px; top: 15px; bottom: 0; width: 2px; background: #e3e8ef; }
.ld-phone__steps li:last-child::after { display: none; }
.ld-phone__steps li.done { color: #344050; }
.ld-phone__steps li.done::before { border-color: #12a36d; background: #12a36d; }
.ld-phone__steps li.now { color: #0e1b2c; font-weight: 600; }
.ld-phone__steps li.now::before { border-color: #2c7be5; background: #fff; box-shadow: 0 0 0 4px rgba(44,123,229,.15); }
.ld-phone__eta { margin-top: 6px; padding: 10px; border-radius: 12px; background: #f2f7ff; font-size: 12px; }
.ld-phone__eta b { display: block; font-size: 18px; color: #0e1b2c; }

/* Технологическая карта */
.ld-table { width: 100%; border-collapse: collapse; }
.ld-table th { text-align: left; font-weight: 500; color: #8a97a8; font-size: 11.5px; padding: 8px 16px; background: #f7f9fc; }
.ld-table td { padding: 9px 16px; border-top: 1px solid #f0f3f7; }
.ld-table td:last-child, .ld-table th:last-child { text-align: right; white-space: nowrap; }
.ld-table tfoot td { font-weight: 600; color: #0e1b2c; background: #fbfcfe; }
.ld-kbju { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #edf1f6; }
.ld-kbju div { padding: 10px 16px; }
.ld-kbju small { display: block; color: #8a97a8; font-size: 11px; }
.ld-kbju b { color: #0e1b2c; font-weight: 600; }

/* Планшет повара */
.ld-kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; background: #1b2738; border-radius: 12px; }
.ld-kds__order { background: #fff; border-radius: 10px; overflow: hidden; }
.ld-kds__top { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-weight: 600; color: #fff; background: #2c7be5; }
.ld-kds__top.late { background: #7c3aed; } /* лиловый, как просрочка в панели оператора и на планшете */
.ld-kds__top.ready { background: #12a36d; }
.ld-kds__top.hall { background: #f7d23e; color: #1b2738; } /* заказ со стола — жёлтым, как на планшете */
.ld-kds__top small { font-weight: 500; opacity: .9; }
.ld-kds__order ul { list-style: none; margin: 0; padding: 6px 10px 10px; }
.ld-kds__order li { padding: 5px 0; border-bottom: 1px dashed #edf1f6; display: flex; justify-content: space-between; gap: 6px; }
.ld-kds__order li:last-child { border-bottom: 0; }
.ld-kds__order li small { color: #8a97a8; display: block; font-size: 11px; }
.ld-kds__order li.done { color: #9aa6b5; text-decoration: line-through; }
@media (max-width: 575.98px) { .ld-kds { grid-template-columns: 1fr 1fr; } .ld-kds__order:nth-child(3) { display: none; } }

/* Гость: бонусы и надёжность */
.ld-guest { padding: 16px; }
.ld-guest__who { display: flex; align-items: center; gap: 12px; }
.ld-guest__ava { width: 42px; height: 42px; border-radius: 50%; background: #e6effc; color: #1d62c4; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ld-guest__who b { color: #0e1b2c; display: block; }
.ld-guest__who small { color: #8a97a8; }
.ld-guest__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ld-guest__nums div { background: #f7f9fc; border-radius: 10px; padding: 10px; }
.ld-guest__nums small { display: block; color: #8a97a8; font-size: 11px; }
.ld-guest__nums b { color: #0e1b2c; font-size: 16px; font-weight: 600; }
.ld-stamps { display: flex; gap: 6px; margin-top: 8px; }
.ld-stamps i { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed #c9d3df; display: block; }
.ld-stamps i.on { border: 0; background: #12a36d; }
.ld-trust { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #e3f6ee; color: #0e6b49; font-size: 12.5px; }
.ld-trust b { display: block; }

/* Деньги */
.ld-money { padding: 4px 0; }
.ld-money .ld-line { border-bottom-style: solid; }
.ld-money .ld-line.sum { background: #f7f9fc; font-weight: 600; color: #0e1b2c; }
.ld-neg { color: #c23434 !important; }
.ld-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 12px 16px 0; }
.ld-bars i { flex: 1; background: #cfe0f8; border-radius: 4px 4px 0 0; display: block; }
.ld-bars i.on { background: #2c7be5; }

/* Отличия: тёмный блок с нумерованными карточками */
.ld-edge { background: linear-gradient(180deg, var(--ld-night) 0%, var(--ld-night-2) 100%); color: rgba(255,255,255,.75); }
.ld-edge .ld-h2 { color: #fff; }
.ld-edge .ld-lead { color: rgba(255,255,255,.7); }
.ld-edge .ld-kicker { color: #6ea8ff; }
.ld-edge-card {
  height: 100%; padding: 1.6rem; border-radius: var(--ld-radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.ld-edge-card__n { font-size: .8rem; font-weight: 600; color: #6ea8ff; letter-spacing: .08em; }
.ld-edge-card h4 { color: #fff; font-size: 1.12rem; margin: .6rem 0 .5rem; line-height: 1.3; }
.ld-edge-card p { margin: 0; font-size: .95rem; line-height: 1.55; }

/* Таблица «как у других и как у нас» */
.ld-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.ld-compare th, .ld-compare td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--ld-line); vertical-align: top; }
.ld-compare thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ld-mute); font-weight: 600; }
.ld-compare td:first-child { color: var(--ld-ink); font-weight: 500; width: 28%; }
.ld-compare td:nth-child(2) { color: var(--ld-mute); }
.ld-compare td:last-child { color: var(--ld-ink); background: rgba(44,123,229,.05); }
.ld-compare thead th:last-child { color: var(--ld-blue); background: rgba(44,123,229,.05); border-top-left-radius: 10px; border-top-right-radius: 10px; }
@media (max-width: 767.98px) {
  .ld-compare thead { display: none; }
  .ld-compare, .ld-compare tbody, .ld-compare tr, .ld-compare td { display: block; width: 100% !important; }
  .ld-compare tr { padding: .75rem 0; border-bottom: 1px solid var(--ld-line); }
  .ld-compare td { border: 0; padding: .2rem 0; background: none !important; }
  .ld-compare td:nth-child(2)::before { content: "Обычно: "; font-weight: 600; }
  .ld-compare td:last-child::before { content: "FreePOS: "; font-weight: 600; color: var(--ld-blue); }
}

/* Модули: компактная сетка «что ещё внутри» */
.ld-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.ld-mod { padding: 1.3rem 1.4rem; border-radius: var(--ld-radius); background: #fff; border: 1px solid var(--ld-line); }
.ld-mod h4 { font-size: 1.02rem; margin-bottom: .45rem; }
.ld-mod p { font-size: .93rem; line-height: 1.55; margin: 0; color: var(--ld-ink-2); }

/* Тарифы */
@media (min-width: 1200px) { .container.ld-wide { max-width: 1300px; } }
.ld-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
.ld-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
@media (max-width: 1199.98px) { .ld-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ld-plans { grid-template-columns: 1fr; } }
.ld-plan {
  position: relative; display: flex; flex-direction: column; padding: 1.25rem 1.2rem 1.3rem;
  border-radius: var(--ld-radius); background: #fff; border: 1px solid var(--ld-line);
}
.ld-plan.is-popular { border: 2px solid var(--ld-blue); box-shadow: 0 18px 50px rgba(44,123,229,.15); background: linear-gradient(180deg, #f3f8ff 0%, #fff 40%); }
.ld-plan__tags { display: flex; flex-wrap: nowrap; gap: .3rem; white-space: nowrap; min-height: 1.45rem; margin-bottom: .7rem; }
.ld-plan__soon, .ld-plan__badge { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: .7rem; font-weight: 500; line-height: 1.45; }
.ld-plan__soon { background: #eef1f5; color: var(--ld-ink-2); }
.ld-plan__badge { background: var(--ld-blue); color: #fff; font-weight: 600; }
.ld-plan__name { font-size: 1.35rem; font-weight: 600; color: var(--ld-ink); letter-spacing: .01em; line-height: 1.2; }
.ld-plan__price { font-size: 1.3rem; font-weight: 600; color: var(--ld-ink); margin: .2rem 0 .1rem; line-height: 1.25; white-space: nowrap; }
.ld-plan__price small { font-size: .85rem; font-weight: 500; color: var(--ld-mute); }
.ld-plan__lead { font-size: .88rem; color: var(--ld-mute); margin: .4rem 0 .9rem; line-height: 1.45; min-height: 2.6em; }
.ld-plan__limit { text-align: center; padding: .55rem .5rem; border-radius: 10px; background: #edf3fd; color: var(--ld-ink-2); font-size: .85rem; line-height: 1.3; }
.ld-plan__limit b { display: block; color: var(--ld-blue-d); font-size: 1.05rem; font-weight: 600; }
.ld-plan__list { list-style: none; padding: 0; margin: 1rem 0 1.2rem; font-size: .86rem; }
.ld-plan__list li { position: relative; padding: .2rem 0 .2rem 1.4rem; line-height: 1.35; }
.ld-plan__list li::before {
  content: ""; position: absolute; left: 0; top: .42rem; width: .85rem; height: .85rem;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2312a36d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 5'/%3e%3c/svg%3e") center/contain no-repeat;
}
.ld-plan .ld-btn, .ld-plan__wait { margin-top: auto; width: 100%; }
.ld-plan__wait { display: block; text-align: center; padding: .6rem .5rem; border-radius: 10px; background: #eef1f5; color: var(--ld-ink-2); font-size: .88rem; font-weight: 500; line-height: 1.3; }

/* Три тезиса под тарифами и пометка о предварительных ценах */
.ld-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 991.98px) { .ld-notes { grid-template-columns: 1fr; gap: 1rem; } }
.ld-note-item { display: flex; gap: .9rem; align-items: flex-start; font-size: .88rem; line-height: 1.5; color: var(--ld-ink-2); }
.ld-note-item + .ld-note-item { border-left: 1px solid var(--ld-line); padding-left: 1.5rem; }
@media (max-width: 991.98px) { .ld-note-item + .ld-note-item { border-left: 0; padding-left: 0; } }
.ld-note-item > span {
  flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%; background: #e6effc; color: var(--ld-blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.ld-note-item b { display: block; color: var(--ld-ink); font-weight: 600; font-size: .95rem; margin-bottom: .15rem; }
.ld-prelim { margin: 2rem auto 0; width: fit-content; max-width: 100%; padding: .55rem 1.2rem; border-radius: 999px; background: #e9eef5; color: var(--ld-mute); font-size: .83rem; text-align: center; }

/* FreePOS 50: программа для первых заведений — текст, карточка цены и фото */
.ld-f50 {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, .8fr); gap: 1.5rem; align-items: center;
  padding: 2.4rem 0 2.4rem 2.4rem; border-radius: 22px; overflow: hidden;
  background: linear-gradient(115deg, #f1f3ff 0%, #eaf2ff 55%, #f3f6fb 100%);
  border: 1px solid #e2e8f5;
}
.ld-f50__tag { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--ld-blue); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ld-f50__title { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem) !important; font-weight: 600 !important; line-height: 1; letter-spacing: -.03em; margin: 1rem 0 .4rem; }
.ld-f50__title span { color: var(--ld-blue); }
.ld-f50__sub { font-size: 1.4rem; font-weight: 600; color: var(--ld-ink); margin: 0 0 .9rem; }
.ld-f50__lead { font-size: 1.05rem; line-height: 1.55; color: var(--ld-ink-2); margin: 0 0 1.4rem; max-width: 30rem; }
.ld-f50__lead b { color: var(--ld-blue); font-weight: 600; }
.ld-f50__feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
.ld-f50__feats li { display: flex; align-items: center; gap: .7rem; font-size: .9rem; line-height: 1.3; color: var(--ld-ink-2); }
.ld-f50__feats i {
  flex: 0 0 2.3rem; height: 2.3rem; border-radius: 50%; background: #dcf3e8; color: #0e8a5c;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-style: normal;
}
.ld-f50__card { background: #fff; border-radius: 18px; padding: 1.7rem 1.6rem; box-shadow: 0 20px 50px rgba(30,60,120,.12); position: relative; z-index: 1; }
.ld-f50__price { font-size: 2.6rem; font-weight: 600; color: var(--ld-ink); line-height: 1.05; letter-spacing: -.02em; }
.ld-f50__price small { font-size: 1.15rem; font-weight: 500; color: var(--ld-ink-2); letter-spacing: 0; }
.ld-f50__price-note { color: var(--ld-ink-2); margin: .25rem 0 1.2rem; }
.ld-f50__cta { width: 100%; justify-content: space-between; padding: .95rem 1.2rem; }
.ld-f50__fine { font-size: .8rem; color: var(--ld-mute); margin: .9rem 0 0; line-height: 1.5; }
.ld-f50__seats { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--ld-line); font-size: .9rem; color: var(--ld-ink-2); }
.ld-f50__seats b { color: var(--ld-ink); font-weight: 600; }
.ld-f50__bar { height: 10px; border-radius: 999px; background: #e7ecf3; margin: .7rem 0; overflow: hidden; }
.ld-f50__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1d62c4, #4a92f0); }
.ld-f50__left b { color: var(--ld-blue); }
.ld-f50__photo { align-self: stretch; margin: -2.4rem 0 -2.4rem -3.5rem; min-height: 420px; background: 100% 35% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
@media (max-width: 1199.98px) {
  .ld-f50 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-right: 2.4rem; }
  .ld-f50__photo { display: none; }
}
@media (max-width: 767.98px) {
  .ld-f50 { grid-template-columns: 1fr; padding: 1.6rem 1.2rem; }
  .ld-f50__feats { grid-template-columns: 1fr; }
  .ld-f50__card { padding: 1.4rem 1.2rem; }
}

.ld-f50-after {
  display: grid; grid-template-columns: 1.6fr 1fr; margin: 1.25rem 2rem 0; padding: 1.2rem 1.6rem;
  border-radius: 16px; background: #e8effb;
}
.ld-f50-after__item { display: flex; align-items: center; gap: 1rem; font-size: .95rem; line-height: 1.5; color: var(--ld-ink-2); }
.ld-f50-after__item + .ld-f50-after__item { border-left: 1px solid #cfdcf0; padding-left: 1.6rem; margin-left: 1.6rem; }
.ld-f50-after__item b { display: block; color: var(--ld-ink); font-weight: 600; font-size: 1.05rem; }
.ld-f50-after__item b.d-inline { display: inline; font-size: inherit; }
.ld-f50-after__ico { flex: 0 0 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff; color: var(--ld-blue); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.ld-f50-after__ico--plain { background: none; font-size: 1.6rem; }
@media (max-width: 991.98px) {
  .ld-f50-after { grid-template-columns: 1fr; margin: 1rem 0 0; }
  .ld-f50-after__item + .ld-f50-after__item { border-left: 0; padding-left: 0; margin-left: 0; margin-top: 1rem; }
}
.mt-6 { margin-top: 4.5rem !important; }

.ld-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
@media (max-width: 1199.98px) { .ld-terms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .ld-terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ld-terms { grid-template-columns: 1fr; } }
.ld-term { padding: 1.3rem 1.4rem; border-radius: var(--ld-radius); background: var(--ld-soft); }
.ld-soft .ld-term { background: #fff; border: 1px solid var(--ld-line); }
.ld-term h4 { font-size: 1rem; margin-bottom: .4rem; }
.ld-term p { font-size: .92rem; line-height: 1.55; margin: 0; }

/* Как начать */
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; counter-reset: st; }
@media (max-width: 767.98px) { .ld-steps { grid-template-columns: 1fr; } }
.ld-step { counter-increment: st; }
.ld-step::before {
  content: "0" counter(st); display: block; font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ld-blue); margin-bottom: .8rem;
}
.ld-step h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.ld-step p { margin: 0; line-height: 1.55; }

/* Вопросы — без скриптов, на details */
.ld-faq { max-width: 820px; margin: 2.5rem auto 0; }
.ld-faq details { border-bottom: 1px solid var(--ld-line); }
.ld-faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; color: var(--ld-ink); font-size: 1.04rem;
}
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ld-mute); border-bottom: 2px solid var(--ld-mute); transform: rotate(45deg); transition: transform .2s;
}
.ld-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ld-faq details p { margin: 0 0 1.2rem; line-height: 1.6; }

/* Призыв и подвал */
.ld-cta { text-align: center; background: linear-gradient(135deg, #1d62c4 0%, #2c7be5 60%, #4a92f0 100%); color: rgba(255,255,255,.85); }
.ld-cta h2 { color: #fff; }
.ld-cta .ld-btn--primary { background: #fff; color: var(--ld-blue-d); }
.ld-cta .ld-btn--primary:hover { background: #eef4fd; }
.ld-foot { background: var(--ld-night); color: rgba(255,255,255,.55); padding: 3.5rem 0 2rem !important; font-size: .93rem; }
.ld-foot h5 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.ld-foot .ld-foot__brand { color: #6ea8ff; display: flex; align-items: center; gap: .1rem; font-size: 1.4rem; letter-spacing: -.01em; text-transform: none; line-height: 1; }
.ld-foot__mark { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; flex-shrink: 0; }
.ld-foot__mark img { width: 68%; height: auto; display: block; }
/* Пара «freepos × Готово!» — логотип приложения на белой плашке той же высоты, что круг знака «F» */
.ld-foot__brands { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ld-foot__brands .ld-foot__brand { margin: 0; }
.ld-foot__x { color: rgba(255,255,255,.4); font-size: 1.2rem; line-height: 1; }
.ld-foot .ld-foot__gotovo { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 .85rem; border-radius: 999px; background: #fff;
  transition: transform .15s, box-shadow .15s; }
.ld-foot .ld-foot__gotovo:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ld-foot__gotovo img { height: 1.55rem; width: auto; display: block; }
.ld-foot a { color: rgba(255,255,255,.65); }
.ld-foot a:hover { color: #fff; }
.ld-foot ul { list-style: none; padding: 0; margin: 0; }
.ld-foot li { margin-bottom: .45rem; }
.ld-foot hr { height: 0; border: 0; border-top: 1px solid rgba(255,255,255,.1); background: none; opacity: 1; margin: 2.5rem 0 1.5rem; }

/* Касса в первом экране на узком экране: корзина под каталогом, плиток меньше */
@media (max-width: 767.98px) {
  .ld-pos { grid-template-columns: 1fr; }
  .ld-pos__basket { border-left: 0; border-top: 1px solid #e8edf3; }
  .ld-pos__grid { grid-template-columns: repeat(2, 1fr); }
  .ld-pos__grid .ld-tile:nth-child(n+5) { display: none; }
  .ld-hero { padding-top: 6.5rem !important; }
}

/* Якоря под фиксированной шапкой */
.ld [id] { scroll-margin-top: 76px; }
.ld-more { font-weight: 600; color: var(--ld-blue); }
.ld-more:hover { color: var(--ld-blue-d); }
.ld-sub-dark { font-size: 1.15rem; font-weight: 600; color: var(--ld-ink); margin: -.25rem 0 .6rem; }

/* Обзор: пять глаголов */
.ld-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .ld-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ld-overview { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) {
  .ld-ov { padding: 1.1rem 1rem; }
  .ld-ov:last-child { grid-column: 1 / -1; }
  .ld-ov b { font-size: 1.02rem; }
  .ld-ov span:last-child { font-size: .85rem; }
}
.ld-ov {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.3rem; border-radius: var(--ld-radius);
  background: #fff; border: 1px solid var(--ld-line); color: var(--ld-ink-2); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ld-ov:hover { border-color: #b9d1f5; box-shadow: 0 12px 30px rgba(44,123,229,.1); transform: translateY(-2px); color: var(--ld-ink-2); }
.ld-ov__ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #e6effc; color: var(--ld-blue); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .45rem; }
.ld-ov b { color: var(--ld-ink); font-size: 1.12rem; font-weight: 600; }
.ld-ov span:last-child { font-size: .92rem; line-height: 1.45; }

/* Экраны продукта переключателями */
.ld-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 1.6rem; }
.ld-tab {
  border: 1px solid var(--ld-line); background: #fff; color: var(--ld-ink-2); font-weight: 500; font-size: .95rem;
  padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.ld-tab:hover { border-color: #b9d1f5; color: var(--ld-ink); }
.ld-tab.is-active { background: var(--ld-ink); border-color: var(--ld-ink); color: #fff; }
.ld-screen { display: none; }
.ld-screen.is-active { display: block; animation: ld-fade .25s ease; }
@keyframes ld-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ld-screen__cap { text-align: center; color: var(--ld-ink-2); font-size: 14.5px; max-width: 46rem; margin: 0 auto 1.2rem; }
.ld-screens .ld-browser { max-width: 1100px; margin: 0 auto; box-shadow: 0 30px 70px rgba(11,21,36,.16), 0 0 0 1px rgba(11,21,36,.06); }


.ld-hall { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 360px; }
.ld-floor { position: relative; background: #f5f7fb; background-image: radial-gradient(#dfe5ee 1px, transparent 1px); background-size: 18px 18px; min-height: 360px; }
.ld-tbl {
  position: absolute; width: 17%; height: 30%; border-radius: 14px; background: #fff; border: 2px solid #dfe5ee;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; font-size: 20px; color: #0e1b2c;
}
.ld-tbl small { font-size: 11px; font-weight: 500; color: #8a97a8; margin-top: 2px; }
.ld-tbl--long { width: 22%; }
.ld-tbl.is-ready { border-color: #12a36d; background: #e9f8f1; } .ld-tbl.is-ready small { color: #0e8a5c; }
.ld-tbl.is-wait { border-color: #e8930c; background: #fdf3e2; } .ld-tbl.is-wait small { color: #b06e00; }
.ld-tbl.is-busy { border-color: #2c7be5; background: #edf3fd; } .ld-tbl.is-busy small { color: #1d62c4; }
.ld-tbl.is-book { border-style: dashed; }
.ld-tbl.is-on { box-shadow: 0 0 0 4px rgba(44,123,229,.25); }
.ld-floor__bar { position: absolute; left: 6%; right: 6%; bottom: 6%; height: 9%; border-radius: 10px; background: #e3e8ef; color: #8a97a8; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ld-hall__bill { border-left: 1px solid #e8edf3; display: flex; flex-direction: column; }

.ld-tablet { max-width: 1100px; margin: 0 auto; padding: 14px; border-radius: 26px; background: #0e1b2c; box-shadow: 0 30px 70px rgba(11,21,36,.25); }
.ld-tablet__chips { display: flex; gap: 6px; padding: 4px 4px 12px; flex-wrap: wrap; }
.ld-tablet__chips span { padding: 6px 12px; border-radius: 999px; background: #22324a; color: #c4cfdd; font-weight: 500; font-size: 12.5px; }
.ld-tablet__chips span.on { background: #fff; color: #0e1b2c; }
.ld-kds--4 { grid-template-columns: repeat(4, 1fr); border-radius: 14px; }
@media (max-width: 991.98px) { .ld-kds--4 { grid-template-columns: 1fr 1fr; } }

.ld-stock { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.ld-stock__side { border-left: 1px solid #e8edf3; display: flex; flex-direction: column; }
.ld-money-screen { padding: 16px; }
.ld-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ld-kpis div { background: #f7f9fc; border-radius: 12px; padding: 12px 14px; }
.ld-kpis small { display: block; color: #8a97a8; font-size: 11.5px; }
.ld-kpis b { display: block; color: #0e1b2c; font-size: 18px; font-weight: 600; margin: 2px 0; }
.ld-kpis em { font-style: normal; font-size: 11.5px; color: #8a97a8; }
.ld-kpis em.up { color: #0e8a5c; }
.ld-money-screen__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin-top: 14px; align-items: end; }
.ld-bars--big { height: 210px; padding: 0; }
.ld-money-screen .ld-money { border: 1px solid #edf1f6; border-radius: 12px; overflow: hidden; padding: 0; }

.ld-deliv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.ld-map { position: relative; min-height: 340px; background: #eef3ee; background-image: linear-gradient(#e2e9e2 1px, transparent 1px), linear-gradient(90deg, #e2e9e2 1px, transparent 1px); background-size: 40px 40px; }
.ld-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-map__lbl { position: absolute; transform: translate(-50%, -50%); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 11.5px; font-weight: 500; color: #344050; box-shadow: 0 4px 14px rgba(0,0,0,.1); white-space: nowrap; }
.ld-deliv__list { border-left: 1px solid #e8edf3; }
.ld-map__pin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #e14b4b; box-shadow: 0 0 0 5px rgba(225,75,75,.22); }
.ld-line > .ld-pill { align-self: center; }

@media (max-width: 991.98px) {
  .ld-hall, .ld-stock, .ld-deliv { grid-template-columns: 1fr; }
  .ld-hall__bill, .ld-stock__side, .ld-deliv__list { border-left: 0; border-top: 1px solid #e8edf3; }
  .ld-kpis { grid-template-columns: 1fr 1fr; }
  .ld-money-screen__row { grid-template-columns: 1fr; }
    }
@media (max-width: 575.98px) {
  .ld-tbl { font-size: 16px; } .ld-tbl small { font-size: 9.5px; }
  .ld-floor, .ld-hall { min-height: 300px; }
  .ld-stock .ld-table th:nth-child(4), .ld-stock .ld-table td:nth-child(4) { display: none; }
  .ld-map__lbl { font-size: 10px; }
}

/* Подробные возможности — карточками */
.ld-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 991.98px) { .ld-details { grid-template-columns: 1fr; } }
.ld-detail { background: #fff; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 1.8rem 1.8rem 1.5rem; }
.ld-detail h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: .6rem; }
.ld-detail > p { color: var(--ld-ink-2); margin-bottom: 0; }
.ld-detail .ld-checks { margin-top: .9rem; font-size: .95rem; }

/* FreePOS Защита */
.ld-protect {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center;
  padding: 2.6rem; border-radius: 22px; background: linear-gradient(120deg, #eafaf2 0%, #eef5ff 100%); border: 1px solid #d7ebe2;
}
.ld-protect .ld-kicker { color: #0e8a5c; }
.ld-protect__zero { font-size: 1.15rem; margin: 1rem 0 0; color: var(--ld-ink-2); }
.ld-protect__zero b { font-size: 1.6rem; color: #0e8a5c; font-weight: 600; }
.ld-protect__months { background: #fff; border-radius: 18px; padding: 1.4rem 1.5rem; box-shadow: 0 18px 50px rgba(20,80,60,.1); }
.ld-pm { display: grid; grid-template-columns: 64px minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 10px 0; }
.ld-pm + .ld-pm { border-top: 1px dashed #e3e8ef; }
.ld-pm__m { font-weight: 600; color: #0e1b2c; }
.ld-pm__bar { position: relative; height: 30px; border-radius: 8px; background: #f2f5f9; overflow: hidden; }
.ld-pm__bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #b9d4f8, #2c7be5); border-radius: inherit; min-width: 6px; }
.ld-pm__bar em { white-space: nowrap; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: #0e1b2c; mix-blend-mode: normal; }
.ld-pm__t { text-align: right; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #8a97a8; }
.ld-pm__t b { display: block; font-size: 17px; color: #0e1b2c; letter-spacing: 0; }
.ld-pm__note { margin: .6rem 0 0; font-size: 13px; color: #0e8a5c; font-weight: 500; }
@media (max-width: 991.98px) { .ld-protect { grid-template-columns: 1fr; gap: 1.8rem; padding: 1.6rem 1.2rem; } }
@media (max-width: 575.98px) {
  .ld-protect__months { padding: 1rem; }
  .ld-pm { grid-template-columns: 54px minmax(0, 1fr) 70px; gap: 10px; }
  .ld-pm__bar em { font-size: 11px; right: 8px; }
  .ld-pm__t b { font-size: 15px; }
}

/* Панель оператора в первом экране — по образцу настоящей (шапка, каталог, заказ, список заказов) */
.ld-op { background: #edf2f9; padding: 10px; font-size: 12px; color: #5e6e82; }
.ld-op * { box-sizing: border-box; }
.ld-op__top { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; }
.ld-op__logo { font-weight: 600; font-size: 17px; color: #2c7be5; letter-spacing: -.02em; }
.ld-op__logo b { display: inline-block; background: #2c7be5; color: #fff; border-radius: 5px; padding: 0 5px; margin-right: 1px; font-weight: 600; }
.ld-op__app { background: #d5e5fa; color: #1d62c4; border-radius: 4px; padding: 2px 7px; font-weight: 600; font-size: 10.5px; }
.ld-op__hint { margin-left: auto; background: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 600; color: #344050; font-size: 11px; white-space: nowrap; }
.ld-op__hint em { font-style: normal; color: #e8930c; margin-right: 6px; }
.ld-op__who { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #344050; white-space: nowrap; }
.ld-op__who i { width: 24px; height: 24px; border-radius: 50%; background: #c7d6ea; color: #344050; font-style: normal; font-size: 10px; display: flex; align-items: center; justify-content: center; position: relative; }
.ld-op__who i::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #12a36d; border: 2px solid #edf2f9; }
.ld-op__main { display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 8px; }
.ld-op__card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(11,21,36,.08); overflow: hidden; }
.ld-op__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.ld-op__seg { display: inline-flex; background: #edf2f9; border-radius: 999px; padding: 3px; }
.ld-op__seg b, .ld-op__seg span { padding: 3px 10px; border-radius: 999px; font-weight: 500; }
.ld-op__seg b { background: #fff; color: #2c7be5; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ld-op__search { border: 1px solid #d8e2ef; border-radius: 4px; padding: 4px 10px; color: #b6c1d2; min-width: 40%; }
.ld-op__thead, .ld-op__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 46px 54px 72px; gap: 8px; align-items: center; padding: 0 12px; }
.ld-op__thead { background: #f5f8fc; height: 32px; font-weight: 600; color: #344050; }
.ld-op__thead span:nth-child(n+3), .ld-op__row span:nth-child(n+3) { text-align: right; }
.ld-op__row { height: 40px; border-top: 1px solid #eef2f7; color: #344050; }
.ld-op__row i { width: 26px; height: 26px; border-radius: 50%; background: #344050; color: #fff; font-style: normal; font-size: 9px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ld-op__row em { font-style: normal; margin-left: 4px; }
.ld-op__row .t-crown { color: #f5803e; } .ld-op__row .t-star { color: #27bcfd; } .ld-op__row .t-hot { color: #e63757; }
.ld-op__row .t-stop { color: #e63757; font-size: 10px; font-weight: 600; }
.ld-op__row.is-stop > *:not(span:nth-child(2)) { opacity: .5; }
.ld-op__row--back { grid-template-columns: 28px 1fr; }
.ld-op__back { color: #27bcfd; font-size: 18px; font-weight: 600; text-align: left !important; }
.ld-op__bhead { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; font-size: 13.5px; color: #344050; }
.ld-op__bhead b { color: #27bcfd; font-weight: 500; }
.ld-op__item { margin: 0 8px 6px; border: 1px solid #edf2f9; border-radius: 6px; padding: 7px 10px; color: #344050; }
.ld-op__item small { color: #9da9bb; font-size: 10px; }
.ld-op__item > div { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.ld-op__item b { font-weight: 600; }
.ld-op__item .t-gift { color: #27bcfd; float: right; }
.ld-op__ctl { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ld-op__ctl i { width: 18px; height: 18px; border-radius: 4px; box-shadow: 0 0 0 1px #d8e2ef; font-style: normal; display: inline-flex; align-items: center; justify-content: center; color: #5e6e82; }
.ld-op__item.is-gift .ld-op__ctl { opacity: .45; }
.ld-op__bfoot { display: flex; align-items: center; gap: 6px; padding: 8px 10px 10px; background: #f9fafd; }
.ld-op__tool { width: 26px; height: 24px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px #d8e2ef; display: inline-flex; align-items: center; justify-content: center; color: #5e6e82; }
.ld-op__next { margin-left: auto; background: #2c7be5; color: #fff; border-radius: 4px; padding: 5px 18px; font-weight: 500; }
.ld-op__orders { margin-top: 8px; }
.ld-op__ohead { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 13.5px; color: #344050; }
.ld-op__btns { display: flex; gap: 5px; font-size: 11px; }
.ld-op__btns i { font-style: normal; box-shadow: 0 0 0 1px #d8e2ef; border-radius: 4px; padding: 3px 8px; color: #344050; }
.ld-op__orow { display: grid; grid-template-columns: 56px minmax(0, 1fr) 96px 72px 84px 92px; gap: 10px; align-items: center; height: 36px; padding: 0 12px; border-top: 1px solid #eef2f7; color: #344050; }
.ld-op__orow--h { height: 30px; background: #f5f8fc; font-weight: 600; }
.ld-op__orow > b { justify-self: start; padding: 1px 9px; border-radius: 999px; background: #fde6d8; color: #932338; font-weight: 600; }
.ld-op__orow > b.n-new { background: #e63757; color: #fff; }
.ld-op__orow .z-del, .ld-op__orow .z-self, .ld-op__orow .z-table { justify-self: stretch; text-align: center; border-radius: 999px; padding: 3px 0; }
.ld-op__orow .z-del, .ld-op__orow .z-self { background: #e3dcfa; color: #5e4fa2; }
.ld-op__orow .z-table { background: #fdf3a2; color: #6b5a00; }
.ld-op__orow span:nth-child(4) { text-align: right; }
.ld-op__orow .p-pay { color: #5e6e82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-op__orow .s-new, .ld-op__orow .s-acc { justify-self: center; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 11px; }
.ld-op__orow .s-new { background: #fbdbe1; color: #932338; }
.ld-op__orow .s-acc { background: #fde6d8; color: #9a4b18; }
.ld-op__orow .s-prog { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.ld-op__orow .s-prog i { flex: 1; height: 4px; border-radius: 9px; background: #2c7be5; }

/* Прижать окно к низу первого экрана и чуть опустить за край: касса «продолжается» ниже */
.ld-hero--split { padding-bottom: 0 !important; }
.ld-hero--split .ld-hero-grid { align-items: end; }
.ld-hero--split .ld-hero-copy { padding-bottom: 2.5rem; align-self: center; }
.ld-hero--split .ld-hero-stage { margin-bottom: -48px; padding-top: 2.5rem; }
.ld-hero--split .ld-browser--op { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ld-hero--split .ld-float--digest { top: -64px; right: -24px; }
/* Окно кассы чуть подпрыгивает при наведении — как картинка на этом месте в шаблоне */
.ld-hero-stage .ld-browser { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s; }
.ld-hero-stage:hover .ld-browser { transform: translateY(-12px); box-shadow: 0 40px 90px rgba(11,21,36,.45), 0 0 0 1px rgba(11,21,36,.06); }
@media (prefers-reduced-motion: reduce) { .ld-hero-stage .ld-browser { transition: none; } .ld-hero-stage:hover .ld-browser { transform: none; } }
/* В первом экране колонка «Кол-во» каталогу не по ширине */
.ld-hero--split .ld-op__qty { display: none; }
.ld-hero--split .ld-op__thead, .ld-hero--split .ld-op__row { grid-template-columns: 26px minmax(0, 1fr) 30px 66px; }
.ld-hero--split .ld-op__main { grid-template-columns: minmax(0, 1fr) 48%; }
@media (max-width: 991.98px) {
  .ld-hero--split .ld-hero-copy { padding-bottom: 0; }
  .ld-hero--split .ld-hero-stage { padding-top: 0; }
}
@media (max-width: 1199.98px) {
  .ld-op__qty { display: none; }
  .ld-op__thead, .ld-op__row { grid-template-columns: 28px minmax(0, 1fr) 40px 68px; }
}
/* Колонка «Оплата» на средних экранах: соседние ужимаются, чтобы «Клиент» не наезжал на «Забор» */
@media (max-width: 1199.98px) {
  .ld-op__orow { grid-template-columns: 50px minmax(0, 1fr) 82px 62px 78px 84px; gap: 8px; }
  .ld-op__orow .z-del, .ld-op__orow .z-self, .ld-op__orow .z-table { font-size: 11px; }
}
@media (max-width: 575.98px) {
  .ld-op__main, .ld-hero--split .ld-op__main { grid-template-columns: 1fr; }
  .ld-op__basket, .ld-op__search, .ld-op__app { display: none; }
  .ld-op__hint, .ld-op__btns { display: none; }
  .ld-op__orow { grid-template-columns: 52px minmax(0, 1fr) 80px; }
  .ld-op__orow > :nth-child(n+4) { display: none; }
  .ld-op__row:nth-child(n+7) { display: none; }
}

/* Касса ниже ростом: позиция заказа — одной строкой, строки каталога плотнее */
.ld-op__row { height: 34px; }
.ld-op__row i { width: 22px; height: 22px; }
.ld-op__bar { padding: 8px 12px; }
.ld-op__bhead { padding: 9px 12px; }
.ld-op__item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin-bottom: 5px; }
.ld-op__item > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-op__item > div { margin-top: 0; gap: 8px; flex: 0 0 auto; }
.ld-op__ctl { gap: 6px; }
.ld-op__item .t-gift { float: none; margin-left: 2px; }
.ld-op__promo { margin: 2px 8px 7px; padding: 5px 10px; border-radius: 6px; background: #e3f6ee; color: #0e8a5c; font-weight: 600; font-size: 11px; display: flex; justify-content: space-between; }
.ld-op__promo span { font-weight: 500; color: #3f8f6e; }
.ld-op__bfoot { padding: 7px 10px 8px; }
.ld-op__orow { height: 32px; }
.ld-op__cat .ld-op__foot { display: flex; justify-content: space-between; padding: 8px 12px; border-top: 1px solid #eef2f7; color: #9da9bb; font-size: 11px; }
.ld-op__cat .ld-op__foot b { color: #344050; font-weight: 600; }

/* Тезисы первого экрана — матовые «таблетки» со значками, и кнопка «Посмотреть возможности» */
.ld-hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ld-hero-pills li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  background: rgba(11,21,36,.48); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .9rem; font-weight: 500;
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
}
.ld-hero-pills li .ld-ico { color: #5ee0a8; font-size: 1.05rem; }
.ld-hero-scroll {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .25rem .3rem .25rem .95rem;
  border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 500; font-size: .92rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, border-color .2s;
}
.ld-hero-scroll:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.45); color: #fff; }
.ld-hero-scroll i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; color: var(--ld-ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 1rem; }
.ld-hero-scroll i .ld-ico { animation: ld-nudge 2.2s ease-in-out infinite; }
@keyframes ld-nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .ld-hero-scroll i .ld-ico { animation: none; } }

/* Ромбик-указатель окна «Войти» (тема рисует его ::after): без обводки, вплотную к окну и
   ровно под стрелкой пункта — иначе он висел отдельным квадратиком со швом */
.ld-nav .dropdown-menu::after {
  border: 0 !important; border-radius: 3px; top: -6px; width: 14px; height: 14px;
  box-shadow: -3px -3px 6px rgba(11,21,36,.05);
}
.ld-nav .dropdown-menu.dropdown-menu-end::after { right: var(--ld-caret-right, 14px); left: auto; }

/* Вкладка «Касса»: прежний рисунок кассы и утренняя сводка поверх него */
.ld-pos--wide { grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.ld-orders { border-top: 1px solid #e8edf3; }
.ld-orders__head, .ld-orders__row { display: grid; grid-template-columns: 70px 1.3fr 80px 90px 1.4fr 140px; gap: 12px; align-items: center; padding: 9px 16px; }
.ld-orders__head { background: #f7f9fc; color: #8a97a8; font-size: 11.5px; }
.ld-orders__row { border-top: 1px solid #f0f3f7; }
.ld-orders__row b { color: #0e1b2c; font-weight: 600; }
.ld-orders__row .ld-pill { justify-self: start; }
.ld-prog { display: block; height: 6px; border-radius: 99px; background: #e7ecf3; overflow: hidden; }
.ld-prog i { display: block; height: 100%; background: #12a36d; border-radius: inherit; }
.ld-screen__stage { position: relative; max-width: 1100px; margin: 0 auto; }
.ld-screen__digest { position: absolute; z-index: 2; right: -72px; top: -26px; width: 260px; }
.ld-screen[data-screen="pos"] .ld-screen__cap { max-width: 38rem; }
@media (max-width: 991.98px) {
  .ld-pos--wide { grid-template-columns: 1fr; }
  .ld-orders__head { display: none; }
  .ld-orders__row { grid-template-columns: 60px 1fr auto; }
  .ld-orders__row > :nth-child(3), .ld-orders__row > :nth-child(4), .ld-orders__row > :nth-child(5) { display: none; }
}
#screens { overflow-x: clip; }

/* Тезисы строкой в карточке FreePOS 50 — под тонкой линией, мелко, со значками */
.ld-offer-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; list-style: none; margin: 1rem 0 0; padding: .85rem 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.ld-offer-facts li { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.88); font-size: .85rem; font-weight: 500; }
.ld-offer-facts .ld-ico { color: #5ee0a8; font-size: 1rem; }

/* Метка рекомендуемого тарифа — на верхней рамке карточки, по центру: в строке с «После запуска»
   длинная подпись вылезала за край */
.ld-plan.is-popular { overflow: visible; }
.ld-plan .ld-plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 3px 12px; font-size: .74rem; white-space: nowrap; box-shadow: 0 4px 12px rgba(44,123,229,.3);
}

/* Плотнее: данных немного, и разносить их по большим блокам незачем */
.ld-h2 { margin-bottom: .7rem; }
.ld-lead { font-size: 1.05rem; }
.ld-plans { margin-top: 2rem; }
.ld-plan__lead { min-height: 0; margin-bottom: 1rem; }
.ld-plan__limit { margin-bottom: 1.1rem; }
.ld-plans-all-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem .6rem; margin-top: 1.4rem; font-size: .9rem; color: var(--ld-ink-2); }
.ld-plans-all-in > span { font-weight: 600; color: var(--ld-ink); }
.ld-plans-all-in ul { display: contents; list-style: none; }
.ld-plans-all-in li { position: relative; padding-left: 1.1rem; }
.ld-plans-all-in li::before { content: ""; position: absolute; left: 0; top: .32em; width: .8rem; height: .8rem;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2312a36d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 5'/%3e%3c/svg%3e") center/contain no-repeat; }
.ld-notes { margin-top: 1.8rem; }
.ld-terms { gap: .75rem; margin-top: 2rem; }
.ld-term { padding: 1rem 1.1rem; }
.ld-term h4 { font-size: .95rem; margin-bottom: .3rem; }
.ld-term p { font-size: .86rem; line-height: 1.5; }
.ld-details { gap: 1rem; }
@media (min-width: 1200px) { .ld-details { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ld-detail { padding: 1.3rem 1.35rem 1.1rem; }
.ld-detail h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.ld-detail > p { font-size: .92rem; line-height: 1.5; }
.ld-detail .ld-checks { margin-top: .6rem; font-size: .86rem; }
.ld-detail .ld-checks li { padding-top: .22rem; padding-bottom: .22rem; }
.ld-detail .ld-checks li::before { top: .42rem; }
.ld-mods { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.ld-mod { padding: 1rem 1.1rem; }
.ld-mod h4 { font-size: .95rem; margin-bottom: .3rem; }
.ld-mod p { font-size: .86rem; line-height: 1.5; }
.ld-edge-card { padding: 1.15rem 1.25rem; }
.ld-edge-card h4 { font-size: 1rem; margin: .35rem 0 .35rem; }
.ld-edge-card p { font-size: .88rem; line-height: 1.5; }
.ld-overview { gap: .75rem; }
.ld-ov { padding: 1.1rem 1.1rem; }
.ld-steps { margin-top: 2rem; }
.ld-faq { margin-top: 1.5rem; }
.ld-faq summary { padding: .9rem 2.5rem .9rem 0; font-size: .98rem; }
.ld-faq details p { margin-bottom: 1rem; font-size: .95rem; }
@media (min-width: 768px) { .ld-compare th, .ld-compare td { padding: .75rem 1rem; } }
.ld-protect { padding: 2rem 2.2rem; gap: 2rem; }
@media (max-width: 767.98px) {
  .ld-plans { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .ld-plan { padding: 1rem .9rem; }
  .ld-plan:last-child { grid-column: 1 / -1; }
  .ld-plan__tags { margin-bottom: .4rem; }
  .ld-plan__name { font-size: 1.05rem; }
  .ld-plan__price { font-size: 1.05rem; }
  .ld-plan__lead { font-size: .8rem; }
  .ld-plan__limit { font-size: .75rem; padding: .45rem .3rem; }
  .ld-plan__limit b { font-size: .92rem; }
  .ld-plan .ld-btn, .ld-plan__wait { font-size: .8rem; padding: .5rem; }
  .ld-terms { grid-template-columns: 1fr 1fr; }
  .ld-term { padding: .8rem .85rem; }
  .ld-mods { grid-template-columns: 1fr 1fr; }
  .ld-mod { padding: .85rem .9rem; }
  .ld-mod p, .ld-term p { font-size: .8rem; }
  .ld-detail .ld-checks { font-size: .84rem; }
}
/* Последнее условие растягивается на пустое место ряда — без дыры в сетке */
@media (min-width: 1200px) { .ld-term:last-child:nth-child(4n+3) { grid-column: span 2; } .ld-term:last-child:nth-child(4n+2) { grid-column: span 3; } .ld-term:last-child:nth-child(4n+1) { grid-column: 1 / -1; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .ld-term:last-child:nth-child(3n+1) { grid-column: 1 / -1; } .ld-term:last-child:nth-child(3n+2) { grid-column: span 2; } }
@media (max-width: 991.98px) { .ld-term:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Полоска продаж — тонкая, подпись над ней: на любой длине они не пересекаются */
.ld-pm__bar { height: 8px; overflow: visible; margin-top: 18px; border-radius: 99px; }
.ld-pm__bar em { top: -19px; left: 0; right: auto; transform: none; font-size: 12px; color: #5e6e82; }
@media (max-width: 575.98px) { .ld-pm__bar em { font-size: 11px; left: 0; right: auto; } }
.ld-faq__list { margin: -.6rem 0 1rem; padding-left: 1.2rem; font-size: .95rem; line-height: 1.6; }
.ld-faq__list li { margin-bottom: .2rem; }

/* Страница дорожной карты */
.rm-hero { background: linear-gradient(180deg, var(--ld-night) 0%, var(--ld-night-2) 100%); color: rgba(255,255,255,.75); padding: 7.5rem 0 3rem !important; text-align: center; }
.rm-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin: .3rem 0 .8rem; }
.rm-hero .ld-kicker { color: #6ea8ff; }
.rm-hero .ld-lead { color: rgba(255,255,255,.75); max-width: 44rem; margin: 0 auto; }
.rm-page { padding: 2.5rem 0 4rem !important; }
.rm-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 2rem; padding: 1.6rem 1.8rem; border-radius: 18px; background: linear-gradient(120deg, #eef4fd 0%, #f4f1ff 100%); border: 1px solid #e0e8f5; }
.rm-cta h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.rm-cta p { margin: 0; max-width: 40rem; font-size: .95rem; }
.rm-cta__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
/* Ссылка в тексте (.ld-tlink) и в списке преимуществ — тонкое подчёркивание с отступом от букв, ярче при наведении */
.ld .ld-f50__link, .ld .ld-tlink { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: color .15s, text-decoration-color .15s; }
.ld .ld-f50__link:hover, .ld .ld-tlink:hover { color: var(--ld-blue); text-decoration-color: currentColor; }

/* Карточка тарифа — по центру: название, цена и подпись читаются одной осью с пределом и кнопкой */
.ld-plan { text-align: center; }
.ld-plan__tags { justify-content: center; }
.ld-plan.is-popular .ld-plan__tags { margin-top: .45rem; }

/* Верхняя плашка внутренних страниц сайта сервиса (всех, кроме главной): тёмный зал и кухня по краям,
   середина свободна под заголовок. Фонов четыре, страница берёт случайный — data-hero="{{ random(1, 4) }}"
   на секции с классом ld-page-hero. Своя плашка страницы затемняет фото под текстом через --hero-shade */
.ld-page-hero {
  --hero-img: url(../img/landing/page-hero-1.webp);
  --hero-pos: center;
  background: var(--hero-shade, linear-gradient(transparent, transparent)), var(--hero-img) var(--hero-pos) / cover no-repeat, var(--ld-night) !important;
  color: rgba(255,255,255,.78);
}
.ld-page-hero[data-hero="2"] { --hero-img: url(../img/landing/page-hero-2.webp); }
.ld-page-hero[data-hero="3"] { --hero-img: url(../img/landing/page-hero-3.webp); }
.ld-page-hero[data-hero="4"] { --hero-img: url(../img/landing/page-hero-4.webp); }
.ld-page-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.ld-page-hero .ld-lead { color: rgba(255,255,255,.8); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
@media (max-width: 767.98px) { .ld-page-hero { --hero-pos: 8% center; --hero-shade: linear-gradient(180deg, rgba(11,21,36,.35), rgba(11,21,36,.6)); } }

/* Рекламный блок приложения «Готово!» на главной — цвета логотипа приложения, не FreePOS */
.ld-gv-wrap { padding: 3rem 0 !important; }
.ld .ld-gv { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
  padding: 2.4rem 3rem; border-radius: 28px; color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(47,201,168,.35), transparent 70%),
              radial-gradient(50% 70% at 75% 110%, rgba(255,138,0,.35), transparent 70%),
              linear-gradient(140deg, #0f3a38 0%, #0b2b2a 100%); }
.ld-gv__logo { display: block; width: 11rem; height: auto; margin-bottom: 1rem; }
.ld .ld-gv h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem; }
.ld .ld-gv p { color: rgba(255,255,255,.8); font-size: .97rem; line-height: 1.55; margin: 0 0 1rem; max-width: 34rem; }
.ld-gv__chips { list-style: none; padding: 0; margin: 0 0 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ld-gv__chips li { padding: .4rem .8rem; border-radius: 999px; font-size: .86rem; color: #fff; background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ld .ld-gv__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d1c); box-shadow: 0 12px 28px rgba(255,90,30,.35); transition: transform .15s; }
.ld .ld-gv__btn:hover { color: #fff; transform: translateY(-2px); }
/* Рядом с призывом — значок магазина: приложение уже опубликовано, а не обещано */
.ld-gv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.ld .ld-gv__play { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1.1rem .5rem .9rem; border-radius: 14px; color: #fff;
  background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); line-height: 1.1; font-weight: 600; transition: background .15s; }
.ld .ld-gv__play:hover { color: #fff; background: rgba(0,0,0,.5); }
.ld-gv__play svg { width: 1.35rem; height: 1.35rem; fill: currentColor; flex: none; }
.ld-gv__play small { display: block; font-size: .68rem; font-weight: 400; opacity: .75; }
/* Высоту блока задаёт текст: колонка с телефоном растягивается на неё (stretch), а сам телефон —
   поверх, по центру колонки, и выступает за верхний и нижний край блока. Поэтому крупный телефон
   не раздвигает баннер, а обрезать его не нужно */
.ld-gv__stage { position: relative; align-self: stretch; }
/* Телефон — тот же, что на первом экране gotovoapp.ru: 300 px, вырез камеры, фото блюда сверху */
.ld-gv__phone { position: absolute; left: 50%; top: calc(50% - 274px); width: 300px; margin-left: -150px; transform: scale(.92); transform-origin: top center; padding: 11px; border-radius: 46px; background: #121a1a;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset; }
.ld-gv__phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 20px;
  background: #121a1a; z-index: 2; }
.ld-gv__screen { position: relative; border-radius: 36px; overflow: hidden; background: #fff; color: #15201f; font-size: 13px; line-height: 1.35; }
.ld-gv__photo { height: 236px; background: #f4eee4 center / cover no-repeat; }
.ld-gv__back { position: absolute; top: 44px; left: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.ld-gv__back svg { width: 16px; height: 16px; fill: none; stroke: #15201f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ld-gv__body { padding: 14px 16px 16px; }
.ld-gv__title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ld-gv__title b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ld-gv__title span { color: #5f6f6d; font-size: 12px; white-space: nowrap; }
.ld-gv__desc { color: #5f6f6d; font-size: 11.5px; margin: 4px 0 4px; }
.ld-gv__label { font-size: 11px; font-weight: 600; color: #5f6f6d; text-transform: uppercase; letter-spacing: .06em; margin: 10px 0 6px; }
.ld-gv__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 12px; background: #f1ede6; }
.ld-gv__seg.two { grid-template-columns: 1fr 1fr; }
.ld-gv__seg span { padding: 6px 0; border-radius: 9px; text-align: center; font-size: 11.5px; color: #5f6f6d; }
.ld-gv__seg .on { background: #fff; color: #15201f; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.ld-gv__addon { display: grid; grid-template-columns: 34px 1fr auto 20px; gap: 9px; align-items: center; padding: 7px 8px; border-radius: 12px; background: #f7f4ef; }
.ld-gv__addon .th { width: 34px; height: 34px; border-radius: 9px; background: center / cover no-repeat; }
.ld-gv__addon b { font-weight: 600; }
.ld-gv__addon small { display: block; color: #5f6f6d; font-size: 11px; }
.ld-gv__addon i { font-style: normal; font-weight: 600; font-size: 12px; }
.ld-gv__check { width: 20px; height: 20px; border-radius: 6px; background: #12897a; display: flex; align-items: center; justify-content: center; }
.ld-gv__check svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ld-gv__cta { display: flex; justify-content: space-between; margin-top: 14px; padding: 12px 16px; border-radius: 999px; color: #fff; font-weight: 600;
  background: linear-gradient(135deg, #12897a, #2fc9a8); }
.ld-gv__push { position: absolute; z-index: 3; right: -18px; top: calc(50% - 250px); display: grid; grid-template-columns: 36px 1fr; gap: 10px;
  width: 248px; padding: 12px 14px; border-radius: 18px; background: #fff; color: #15201f; font-size: 13px; line-height: 1.35;
  box-shadow: 0 22px 50px rgba(0,0,0,.3); }
.ld-gv__ico { width: 36px; height: 36px; border-radius: 10px; background: #0b2b2a center / 78% no-repeat; }
.ld-gv__push small { display: flex; justify-content: space-between; color: #5f6f6d; font-size: 11px; }
.ld-gv__push b { display: block; font-weight: 600; margin-top: 1px; }
.ld-gv__push span { color: #5f6f6d; font-size: 12px; }
/* Наведение на блок — телефон подпрыгивает и приземляется, уведомление качается следом. scale(.92)
   повторён в кадрах: анимация задаёт transform целиком. Кто просил меньше движения — без анимации */
@keyframes ld-gv-hop {
  0%   { transform: translateY(0) scale(.92); }
  30%  { transform: translateY(-22px) scale(.92); }
  55%  { transform: translateY(0) scale(.92); }
  72%  { transform: translateY(-7px) scale(.92); }
  100% { transform: translateY(0) scale(.92); }
}
@keyframes ld-gv-nudge {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  35%      { transform: translate(-4px, -6px) rotate(-2deg); }
  65%      { transform: translate(2px, 1px) rotate(1deg); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ld-gv:hover .ld-gv__phone { animation: ld-gv-hop .75s cubic-bezier(.3, .7, .4, 1); }
  .ld-gv:hover .ld-gv__push { animation: ld-gv-nudge .7s ease .12s; }
}
@media (max-width: 991.98px) {
  .ld .ld-gv { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 1.4rem 1.6rem; }
  .ld-gv__stage { align-self: auto; height: 560px; max-width: 420px; width: 100%; margin: 0 auto; }
  .ld-gv__phone { top: 14px; }
  .ld-gv__push { top: 0; }
  .ld-gv__push { right: 50%; margin-right: -160px; width: 232px; }
}

/* Накладные без ручного ввода: фото бумажной накладной → строки прихода (main.html, #invoices).
   Накладная на «фото» — вёрстка, а не снимок: поставщик и товары вымышленные */
.ld-inv-sec { position: relative; overflow: hidden; overflow: clip; }
.ld-inv-points { list-style: none; padding: 0; margin: 1.5rem 0 1rem; display: grid; gap: 1rem; }
.ld-inv-points li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ld-ink-2); line-height: 1.5; }
.ld-inv-points b { display: block; color: var(--ld-ink); margin-bottom: .1rem; }
.ld-inv-ic { flex: 0 0 2.4rem; height: 2.4rem; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: #e8f1fd; color: var(--ld-blue); }
.ld-inv-ic .ld-ico { width: 1.2rem; height: 1.2rem; }
.ld-inv-price .ld-ico, .ld-plan__ocr .ld-ico, .ld-inv-line .ld-ico, .ld-inv-sum .ld-ico { width: 1em; height: 1em; vertical-align: -.12em; }
.ld-inv-price { display: inline-block; background: #e9f7f0; color: #0d7a52; border-radius: 12px; padding: .6rem .9rem; font-size: .95rem; margin: 0; }

.ld-inv-stage { position: relative; min-height: 540px; }
.ld-inv-photo { position: absolute; left: 0; top: 0; width: 60%; padding: 18px; border-radius: 18px;
  background: linear-gradient(160deg, #6b7380, #3d434d); box-shadow: 0 30px 60px rgba(11,21,36,.28); transform: rotate(-4deg); }
.ld-inv-paper { background: #fbfaf6; border-radius: 4px; padding: 16px 16px 14px; color: #2a2f37; font: 11px/1.35 "Courier New", monospace;
  box-shadow: inset 0 0 40px rgba(120,110,90,.18); transform: rotate(1.5deg); }
.ld-inv-paper__top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.ld-inv-paper__top span { font-weight: 400; }
.ld-inv-paper__who { margin-bottom: 8px; color: #4a515c; }
.ld-inv-paper__row { position: relative; display: grid; grid-template-columns: 1fr 2.2em 4em 5em; gap: 6px; padding: 4px 2px;
  border-top: 1px solid #c9c4b8; }
.ld-inv-paper__row span:not(:first-child) { text-align: right; }
.ld-inv-paper__row.is-head { font-weight: 700; border-top: 1.5px solid #8d877b; }
.ld-inv-paper__row.is-total { font-weight: 700; border-bottom: 1.5px solid #8d877b; }
/* «Ручка»: галочки приёмки и исправленное количество */
.ld-inv-paper__row i, .ld-inv-paper__row em { position: absolute; font: italic 700 15px/1 "Segoe Script", "Comic Sans MS", cursive; color: #2b4fbf; }
.ld-inv-paper__row i { left: -14px; top: 2px; }
.ld-inv-paper__row em { left: calc(100% - 8.6em - 18px); top: -6px; font-size: 17px; transform: rotate(-8deg); }
.ld-inv-paper__sign { margin-top: 10px; color: #4a515c; }
.ld-inv-paper__sign u { font: italic 14px "Segoe Script", "Comic Sans MS", cursive; color: #2b4fbf; text-decoration-color: #8d877b; }
/* Рамка видоискателя телефона поверх фото */
.ld-inv-corner { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: .9; }
.ld-inv-corner--tl { left: 8px; top: 8px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.ld-inv-corner--tr { right: 8px; top: 8px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.ld-inv-corner--bl { left: 8px; bottom: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.ld-inv-corner--br { right: 8px; bottom: 8px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.ld-inv-arrow .ld-ico { width: 1rem; height: 1rem; }
.ld-inv-arrow { position: absolute; left: 34%; top: 340px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: .45rem;
  background: var(--ld-blue); color: #fff; border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; font-weight: 600;
  box-shadow: 0 10px 24px rgba(44,123,229,.35); white-space: nowrap; }
.ld-inv-result { position: absolute; right: 0; top: 175px; width: 52%; z-index: 2; background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 24px 60px rgba(11,21,36,.16), 0 0 0 1px rgba(11,21,36,.05); }
.ld-inv-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #edf1f6; }
.ld-inv-line small { display: block; color: var(--ld-mute); font-size: 11px; }
.ld-inv-line b { white-space: nowrap; }
.ld-inv-line.is-warn small { color: var(--ld-amber); }
.ld-inv-sum { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #edf1f6; font-size: 13px; }
.ld-inv-sum b .ld-ico { color: var(--ld-green); margin-left: 2px; }
.ld-inv-edo { position: absolute; left: 4%; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 14px;
  padding: .7rem 1rem; box-shadow: 0 14px 34px rgba(11,21,36,.14); font-size: 13px; }
.ld-inv-edo > .ld-ico { color: var(--ld-blue); width: 1.5rem; height: 1.5rem; }
.ld-inv-edo b { display: block; color: var(--ld-ink); }
.ld-inv-edo span { color: var(--ld-mute); font-size: 12px; }
.ld-plan__ocr { font-size: .8rem; color: var(--ld-mute); margin: -.25rem 0 .9rem; }
.ld-plan__ocr .ld-ico { color: var(--ld-blue); }

@media (max-width: 991.98px) {
  .ld-inv-stage { min-height: 0; display: grid; gap: 1rem; }
  .ld-inv-photo, .ld-inv-result, .ld-inv-arrow, .ld-inv-edo { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; transform: none; }
  .ld-inv-photo { transform: rotate(-2deg); margin: 0 .5rem; }
  .ld-inv-arrow { justify-self: center; }
  .ld-inv-edo { justify-self: start; }
}
.ld-plan__ocr sup, .ld-plans-note sup { color: var(--ld-blue); font-weight: 600; }
.ld-plans-note { text-align: center; color: var(--ld-mute); font-size: .85rem; margin: -.25rem 0 1.25rem; }
