/* Лендинг v3 (/v3/) — только дополнения к /assets/landing.css: герой «веб + телефон сотрудника»,
   плитки платформы, «руководителю / сотруднику», чат Telegram, прозрачная оплата, небольшой кейс.
   Пузыри и окно чата — те же классы, что в презентации (deck/build_deck.py). */
.section-head.wide { max-width: 52em; }

.hero.v3h h1 { font-size: clamp(30px, 3vw, 40px); }

/* hero: окно графика (менеджер) + телефон сотрудника, подписи «кому» */
.hero-art.v3 .device { right: -20px; top: 96px; width: 230px; }
.hero-art.v3 .tag { position: absolute; z-index: 3; background: var(--rail); color: #fff; font-size: 13px; font-weight: 600;
                    border-radius: 999px; padding: 6px 12px 6px 10px; display: flex; align-items: center; gap: 7px; white-space: nowrap;
                    box-shadow: 0 8px 20px rgba(21,24,28,.18); }
.hero-art.v3 .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.hero-art.v3 .t-mgr { left: 18px; top: 0; }
.hero-art.v3 .t-emp { right: 40px; top: 66px; }
@media (max-width: 960px) {
  /* на телефоне и планшете — тоже оба экрана: окно во всю ширину, телефон поверх справа снизу */
  .hero-art.v3 { display: block; height: auto; padding: 0 0 56px; max-width: 640px; width: 100%; margin: 0 auto; }
  .hero-art.v3 .window { display: block; position: static; width: 100%; }
  .hero-art.v3 .device { position: absolute; right: 2%; top: auto; bottom: 0; width: 34%; min-width: 120px; border-radius: 24px; padding: 5px; }
  .hero-art.v3 .device .screen { border-radius: 20px; padding-top: 16px; }
  .hero-art.v3 .device .notch { width: 44px; height: 11px; top: 4px; }
  .hero-art.v3 .tag { display: none; }
}

/* одна платформа: плитки-ссылки */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
        padding: 20px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--signal); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,24,28,.08); }
.tile .ic { width: 36px; height: 36px; border-radius: var(--r); background: var(--signal-soft); display: grid; place-items: center; font-size: 18px; margin-bottom: 6px; }
.tile b { font-size: 17px; }
.tile b::after { content: " →"; color: var(--muted); font-weight: 400; }
.tile span:last-child { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; gap: 10px; } .tile { padding: 16px; } }

/* руководителю / сотруднику */
.both { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.both .side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.both .side.mgr { border-top: 4px solid var(--rail); }
.both .side.emp { border-top: 4px solid var(--signal); }
.both .who { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.both .who .ic { width: 44px; height: 44px; border-radius: var(--r-lg); background: var(--canvas); display: grid; place-items: center; font-size: 22px; flex: none; }
.both .who h3 { font-size: 22px; }
.both .who small { color: var(--muted); font-size: 14px; }
.both ul { list-style: none; display: grid; gap: 16px; }
.both li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.both li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.both li b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.both-foot { margin-top: 22px; text-align: center; color: var(--ink-2); font-size: 17px; }
@media (max-width: 820px) { .both { grid-template-columns: 1fr; } .both .side { padding: 22px; } }

/* окно чата с ботом */
.tgw { border-radius: 30px; padding: 7px; background: var(--rail); border: 1px solid #3a4048; }
.section.dark .tgw { background: #0E1012; border-color: #4a515b; }
.tgw.panel { border-radius: 14px; padding: 0; overflow: hidden; border: 1px solid var(--line-2); }
.section.dark .tgw.panel { border-color: #3a4048; }
.tgs { border-radius: 24px; overflow: hidden; background: #fff; display: flex; flex-direction: column; height: 100%; }
.tgw.panel .tgs { border-radius: 0; }
.tgh { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; background: #fff; border-bottom: 1px solid #E3E7EB; color: var(--ink); }
.tgh .bk { color: #2481CC; font-size: 24px; line-height: 1; }
.tgh .av { width: 34px; height: 34px; border-radius: 50%; background: var(--signal); color: var(--rail); display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: -0.03em; flex: none; }
.tgh .nm { font-weight: 600; font-size: 15px; line-height: 1.15; color: var(--ink); }
.tgh .nm small { display: block; font-weight: 400; font-size: 12px; color: #6B7580; }
.tgb { background: #C9D7E2; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 14px 14px;
       padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.tgm { align-self: flex-start; max-width: 100%; }
.tgm .bub { background: #fff; border-radius: 12px 12px 12px 4px; padding: 8px 11px 6px; font-size: 14px; line-height: 1.42; color: #111;
            white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.08); overflow-wrap: anywhere; }
.section.dark .tgm .bub { color: #111; }
.tgm .bub time { display: block; text-align: right; font-size: 11.5px; color: #6B7580; margin-top: 2px; }
.tgm .kb { display: grid; gap: 4px; margin-top: 4px; }
.tgm .kb div { display: flex; gap: 4px; flex-wrap: wrap; }
.tgm .kb span { flex: 1; text-align: center; background: rgba(36, 56, 78, .62); color: #fff; border-radius: 8px; padding: 7px 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.tgday { align-self: center; background: rgba(36, 56, 78, .55); color: #fff; font-size: 12px; font-weight: 500; border-radius: 10px; padding: 2px 10px; }
.lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.lbl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.section.dark .lbl { color: var(--rail-ink); }

/* уведомления: два чата сотрудника, ниже — сводка руководителю */
.nt3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.nt3 .ticks { margin-top: 20px; }
.nt-mgr { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px; margin-top: 52px; padding-top: 40px; border-top: 1px solid #343a42; align-items: start; }
.nt-mgr p { font-size: 16.5px; }
.nt-mgr .ticks { margin-top: 16px; }
@media (max-width: 960px) { .nt3, .nt-mgr { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 560px) { .tgw.panel .tgm .bub, .tgm .bub { font-size: 13px; } }

/* прозрачная оплата */
.grid4.pay .card { padding: 22px; }

/* кейс — тише и меньше */
.section.slim { padding: 56px 0; }
.case-sm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; }
.case-sm h3 { font-size: 24px; margin: 4px 0 10px; }
.case-sm p { color: var(--ink-2); font-size: 16px; }
.kpis-sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.kpi b { display: block; font-size: 28px; white-space: nowrap; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 4px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
@media (max-width: 960px) { .case-sm { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .kpis-sm { grid-template-columns: 1fr; } }

/* строка о кассах */
.pos-line { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.pos-line .wrap { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; font-size: 15.5px; color: var(--ink-2); text-align: center; }
.pos-line b { color: var(--ink); }
.pos-line a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }

/* цены (12.10.2026): тарифы точки, условия сети и года, интеграции, примеры */
.plans.tiers .plan .price { margin-top: 14px; }
.plans.tiers .plan .per { min-height: 0; margin-bottom: 18px; }
.pterms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pterm { background: var(--head); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.pterm b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.pterm h3 { font-size: 15.5px; margin: 6px 0 4px; }
.pterm p { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.pbottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; margin-top: 28px; align-items: start; }
.pbottom h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.pint ul { list-style: none; display: grid; gap: 10px; }
.pint li { padding-left: 20px; position: relative; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.pint li b { color: var(--ink); }
.pint li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.pex table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 15px; overflow: hidden; }
.pex th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--head); }
.pex td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pex tr:last-child td { border-bottom: 0; }
.pex .r { text-align: right; white-space: nowrap; }
.pex td.r { font-weight: 700; color: var(--ink); }
.pex td.y { color: var(--ok); }
.pnote { margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .pterms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pbottom { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) {
  .plans.tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plans.tiers .plan { padding: 14px; }
  .plans.tiers .plan.hot { padding: 13px; }
  .plans.tiers .plan .name { font-size: 16px; }
  .plans.tiers .plan .people { font-size: 13px; min-height: 2.8em; }
  .plans.tiers .plan .price { font-size: 30px; margin-top: 8px; }
  .plans.tiers .plan .price small { font-size: 13px; }
  .plans.tiers .plan .per { font-size: 13px; margin-bottom: 12px; }
  .plans.tiers .plan .btn { height: 40px; padding: 0 8px; font-size: 14px; }
  .pterms { grid-template-columns: 1fr; gap: 10px; }
  .pterm { padding: 14px 16px; }
  .pex table { font-size: 14px; }
  .pex th, .pex td { padding: 9px 10px; }
  .pex th { white-space: normal; }
}

/* 21.10.2026: блок «Новое: планирование и связь с командой» */
#new .card h3 { margin-top: 4px; }
.new-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
