/* Margo Group — сайт из презентации «Продвижение техники на Avito».
   Принцип презентации: тёмный блок — вопрос или проблема клиента, светлый — ответ.
   Цвета — брендбук логотипа (#F26A1B, #1C1915, #F4EFE9, #16130F) и производные из deck_core.py. */

@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #16130F; --night2: #221E19; --nline: #3A342D;
  --fog: #F4EFE9; --fog2: #B5ADA3; --fog3: #958C82;
  --ink: #1C1915; --ink2: #5E574F; --ink3: #776F67;
  --line: #E6E1DA; --plate: #F1EEEA; --white: #FFFFFF;
  --sig: #F26A1B; --sigink: #C24E0C;
  --head: "Unbounded", "Arial", sans-serif;
  --body: "Manrope", "Arial", sans-serif;
  --mono: "JetBrains Mono", "Consolas", monospace;
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(56px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 500 17px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--sigink); text-underline-offset: 3px; }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--sig); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

h2 { font: 600 clamp(26px, 3.1vw, 40px)/1.15 var(--head); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h2.on-night { color: var(--fog); }
.lead { margin-top: 18px; color: var(--ink2); font-size: clamp(17px, 1.4vw, 19px); max-width: 36em; }
.lead--wide { max-width: 52em; }
.note { margin-top: 18px; font-size: 13px; line-height: 1.45; color: var(--ink3); }
.note--night { color: var(--fog3); }
.strong { margin-top: 18px; font-weight: 600; color: var(--ink); }

/* Кнопки: тёмный текст на оранжевом — контраст 6,6:1 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px;
  border-radius: 12px; background: var(--sig); color: var(--night); font: 600 16px/1.2 var(--body);
  text-decoration: none; border: 1.5px solid var(--sig); transition: background .15s, color .15s; }
.btn:hover { background: #FF7D33; border-color: #FF7D33; }
.btn--ghost { background: transparent; color: var(--fog); border-color: var(--nline); }
.btn--ghost:hover { background: var(--night2); border-color: var(--fog3); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(22, 19, 15, .94); border-bottom: 1px solid var(--nline);
  backdrop-filter: saturate(140%) blur(8px); }
/* Логотип в шапке — 168 px: буквы «GROUP» = 4,76 % ширины знака (замер 24.10). При 132 px они 6 px и на мониторе
   с масштабом 100 % прорисовываются рвано (снимок владельца); при 168 px — около 8 px, чисто. */
/* 24.10 (вторая правка): PNG 184×63 (1x/2x/3x) вместо вектора; высота строки 79 → отступ сверху ровно 8 px,
   без дробных координат картинка не размывается */
.top__row { display: flex; align-items: center; gap: 28px; min-height: 79px; }
.top__logo img { width: 184px; height: 63px; }
.top__nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.top__nav a { color: var(--fog2); text-decoration: none; font-size: 15px; font-weight: 600; }
.top__nav a:hover { color: var(--fog); }
.top__nav a.btn { color: var(--night); margin-left: 4px; }
.top__nav a.btn:hover { color: var(--night); }

/* Секции */
.sec { padding: var(--sec) 0; }
.sec--night { background: var(--night); color: var(--fog); }
.sec--line { border-top: 1px solid var(--nline); }
.sec--plate { background: var(--plate); }
.sec--light + .sec--light { border-top: 1px solid var(--line); }
.sec--top-line { border-top: 1px solid var(--line); }

/* 1. Обложка */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
/* Unbounded очень широкий: «Продвижение» = 9,15 em (замер PIL 24.10). Колонка текста при контейнере 1160 — 630 px,
   поэтому предел 66 px (≈ 604 px); при 82 px слово заходило под листы отчёта (снимок владельца, экран 1920). */
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__title { font: 600 clamp(36px, 5vw, 66px)/1.04 var(--head); letter-spacing: -0.015em; color: var(--fog); }
h1, h2, .asks__q, .asks__answer, .contacts__line { overflow-wrap: break-word; }
.hero__lead { margin-top: 26px; max-width: 30em; color: var(--fog2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stack { position: relative; height: clamp(340px, 42vw, 560px); }
.sheet { position: absolute; width: 48%; background: var(--white); border-radius: 2px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.sheet--1 { left: 0; top: 0; transform: rotate(-9deg); }
.sheet--2 { left: 23%; top: 5%; transform: rotate(-2.5deg); }
.sheet--3 { left: 46%; top: 11%; transform: rotate(5deg); }

/* Две колонки: текст и фрагменты отчёта на светлой подложке */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--plate { align-items: start; }
.split__fig { display: grid; gap: 30px; background: var(--plate); border-radius: 20px; padding: clamp(18px, 2.6vw, 36px); }
.split__text h2 { max-width: 15em; }

.crop img { width: 100%; }
.crop figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink3); }
.crop--card { background: var(--white); border-radius: 14px; padding: 16px 16px 14px; box-shadow: 0 6px 22px rgba(28, 25, 21, .08); }
.crop--card figcaption b { color: var(--ink); }

/* 2 и 10. Вопросы клиенту */
.asks { display: grid; gap: 22px; }
.asks__q { font: 500 clamp(21px, 2.3vw, 28px)/1.22 var(--head); color: var(--fog); }
.asks__q--dim { color: var(--fog2); }
.asks__answer { margin-top: clamp(32px, 4vw, 52px); font: 600 clamp(21px, 2.3vw, 28px)/1.22 var(--head); color: var(--sig); max-width: 20em; }

/* Чек списаний — зубчатый низ, наклон как на слайде 2 */
.receipt-fig { justify-self: center; width: min(340px, 100%); }
.receipt-fig .note { text-align: center; }
.receipt { position: relative; padding: 24px 24px 42px; color: var(--ink); transform: rotate(-3deg);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, .5)); }
.receipt > * { position: relative; }
.receipt::before { content: ""; position: absolute; inset: 0; background: var(--white);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.receipt__title { font: 600 15px/1.3 var(--body); }
.receipt__sub { font-size: 12px; color: var(--ink3); margin-bottom: 14px; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 12px; font: 400 13.5px/1.9 var(--mono); }
.receipt__rows dt { color: var(--ink2); }
.receipt__rows dd { white-space: nowrap; }
.receipt__total { display: flex; justify-content: space-between; margin: 8px 0 18px; padding-top: 10px;
  border-top: 1px dashed var(--ink); font: 600 14.5px/1.5 var(--mono); }
.receipt__rows--unknown dd { font: 600 16px/1.6 var(--head); color: var(--sig); }

/* 3. Особенности */
.feats { display: grid; gap: 18px; margin-top: 30px; }
.feats li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.feats img { width: 24px; height: 24px; margin-top: 1px; }
.feats b { display: block; font-size: 17px; line-height: 1.35; }
.feats span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.feats--compact { gap: 14px; margin-top: 24px; }
.feats--compact .t { margin: 0; font-size: 16px; color: var(--ink); }

/* 4. Выводы */
.checks { display: grid; gap: 18px; margin-top: 30px; }
.checks li { padding-left: 34px; background: url("/img/icons/circle-check.svg") no-repeat 0 2px / 21px 21px; font-size: 17px; }

/* 5. Затраты — номера как маркеры на слайде */
.marks { display: grid; gap: 16px; margin-top: 28px; counter-reset: m; }
.marks li { counter-increment: m; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.marks li::before { content: counter(m); width: 26px; height: 26px; border-radius: 50%; background: var(--sig);
  color: var(--white); font: 600 13px/26px var(--body); text-align: center; margin-top: 1px; }

/* 6. Факты */
.facts { display: grid; gap: 22px; margin-top: 28px; }
.facts p { font-size: 16px; line-height: 1.5; color: var(--ink); max-width: 28em; }
.big { display: block; margin-bottom: 4px; font: 600 clamp(28px, 3vw, 36px)/1.1 var(--head); color: var(--sig); }

/* 7. Средние за день */
.table-scroll { overflow-x: auto; margin-top: 26px; }
.avg { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; }
.avg caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.avg th, .avg td { padding: 8px 10px 8px 0; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.avg thead th { font-size: 13px; font-weight: 600; color: var(--ink3); border-bottom-color: var(--ink); }
.avg th[scope="row"], .avg thead th:first-child { text-align: left; font-weight: 500; }

/* 8. Разрезы */
.cuts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 40px; }

/* 9. Автоматизация */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; counter-reset: f; }
.flow li { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; }
/* стрелка от круга к следующему кругу: учитываем промежуток колонок 24px */
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 46px); right: calc(-50% - 24px + 46px);
  height: 0; border-top: 1.5px solid var(--ink3); }
.flow li:not(:last-child)::before { content: ""; position: absolute; top: 27.5px; right: calc(-50% - 24px + 46px); width: 9px; height: 9px;
  border-top: 1.5px solid var(--ink3); border-right: 1.5px solid var(--ink3); transform: rotate(45deg); }
.flow__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--plate); margin-bottom: 6px; }
.flow__icon img { width: 30px; height: 30px; }
.flow b { font-size: 17px; }
.flow span:not(.flow__icon) { font-size: 14px; line-height: 1.45; color: var(--ink2); max-width: 15em; }

.band { margin-top: var(--sec); padding: clamp(36px, 5vw, 56px) 0; background: var(--plate); }
.sec > .band:last-child { margin-bottom: calc(-1 * var(--sec)); }
.band__title { font: 600 clamp(18px, 1.7vw, 21px)/1.35 var(--body); max-width: 40em; }
.band__text { margin-top: 6px; color: var(--ink2); }
.sale { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; font-size: 15px; box-shadow: 0 5px 18px rgba(28, 25, 21, .08); }
.sale th, .sale td { padding: 12px 16px; text-align: left; white-space: nowrap; }
.sale th { font-size: 13px; font-weight: 600; color: var(--ink3); border-bottom: 1px solid var(--line); }
.tick { display: inline-block; width: 20px; height: 20px; border-radius: 5px; background: var(--sig); position: relative; vertical-align: middle; }
.tick::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 10px;
  border-right: 2px solid var(--fog); border-bottom: 2px solid var(--fog); transform: rotate(45deg); }

/* 10. Профиль Avito с подсветкой «Отвечает за несколько часов» */
.profile { justify-self: center; width: min(400px, 100%); }
.profile__card { position: relative; padding: 22px; background: var(--white); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.profile__hl { position: absolute; border: 2.5px solid var(--sig); border-radius: 9px;
  left: calc(22px + (100% - 44px) * .01553 - 7px); width: calc((100% - 44px) * .7205 + 14px);
  top: calc(22px + (100% - 44px) * .6522 - 5px); height: calc((100% - 44px) * .1232 + 10px); }
.profile figcaption { margin-top: 18px; text-align: center; }
.profile figcaption b { display: block; color: var(--fog); font-size: 16px; }
.profile figcaption span { display: block; margin-top: 3px; font-size: 13px; color: var(--fog3); }

/* 11. Исследования */
.studies { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 44px; }
.study { background: var(--night2); border: 1px solid var(--nline); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.study h3 { font: 600 18px/1.35 var(--body); color: var(--sig); min-height: 2.7em; }
.scale { display: flex; margin: 22px 0 26px; border-top: 2px solid var(--nline); }
.scale li { flex: 1; padding-top: 8px; font-size: 12px; color: var(--fog3); text-align: center; position: relative; white-space: nowrap; }
.scale li::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--nline); }
.scale li.on { color: var(--fog); }
.scale li.on::before { background: var(--sig); }
.num { font: 600 15px/1 var(--body); color: var(--sig); }
.num b { font: 600 clamp(48px, 5vw, 64px)/1 var(--head); letter-spacing: -0.02em; }
.num--sm { margin-top: 26px; }
.num--sm b { font-size: clamp(36px, 3.6vw, 44px); }
.num__desc { margin-top: 8px; color: var(--fog); font-size: 16px; line-height: 1.45; max-width: 24em; }
.study__src { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--nline); font-size: 13px; line-height: 1.45; color: var(--fog2); }
.study__src b { display: block; color: var(--fog); font-size: 14px; margin-bottom: 2px; }

/* 12. Уведомления: телефон */
.notify { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.phone { padding: 10px; background: var(--ink); border-radius: 42px; box-shadow: 0 14px 34px rgba(28, 25, 21, .25); }
.phone__screen { position: relative; min-height: 420px; padding: 72px 14px 40px; background: #E9E4DE; border-radius: 33px; }
.phone__screen::before { content: ""; position: absolute; top: 16px; left: 50%; width: 76px; height: 16px; margin-left: -38px;
  background: var(--ink); border-radius: 8px; }
.phone__screen img { border-radius: 12px; box-shadow: 0 4px 12px rgba(28, 25, 21, .14); }
.phone__note { display: block; margin-top: 8px; text-align: right; font-size: 11px; color: var(--ink3); }
.notify__text h2 { max-width: 16em; }
.control { margin: 26px 0 18px; font-size: 16px; color: var(--ink2); }
.control b { color: var(--ink); }

/* 13. Услуги — три карточки; сверху тёмное «окно» с предметом продукта (как обложка), снизу — что входит */
/* две основные услуги — большими карточками, поддержка — широкой полосой под ними (у неё короткий текст,
   в ряду из трёх карточек под ним оставалась пустота) */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: 40px; }
.svc__card.svc__card--wide { grid-column: 1 / -1; flex-direction: row; }   /* двойной класс: иначе перебивает .svc__card ниже */
.svc__card--wide .svc__view { flex: 0 0 42%; height: auto; min-height: 190px; }
.svc__card--wide .svc__body { display: flex; flex-direction: column; justify-content: center; }
.svc__card { display: flex; flex-direction: column; background: var(--white); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); }
.svc__view { position: relative; height: 240px; overflow: hidden; background: var(--night);
  background-image: radial-gradient(120% 90% at 85% 0%, #2A241D 0%, var(--night) 60%); }
.svc__body { padding: 26px 26px 30px; }
.svc__body h3 { font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--head); color: var(--ink); text-wrap: balance; }
.svc__body p { margin-top: 12px; color: var(--ink2); font-size: 16px; line-height: 1.5; }
.svc__list { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc__list li { padding-left: 28px; background: url("/img/icons/check.svg") no-repeat 0 3px / 18px 18px; font-size: 15px; line-height: 1.45; }

/* окно 1: два листа отчёта выглядывают снизу, как на обложке */
.svc__sheet { position: absolute; width: 46%; background: var(--white); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
.svc__sheet--back { left: 14%; top: 34px; transform: rotate(-8deg); }
.svc__sheet--front { left: 40%; top: 22px; transform: rotate(4deg); }
.svc__tag { position: absolute; right: 18px; top: 18px; padding: 5px 10px; border-radius: 8px; background: var(--sig);
  color: var(--night); font: 600 12px/1 var(--body); letter-spacing: .04em; }

/* окно 2: уведомление на «экране» */
.svc__msg { position: absolute; left: 28px; top: 44px; width: min(420px, calc(100% - 56px)); border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.svc__bell { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--night2); border: 1.5px solid var(--sig); }

/* окно 3: часы поддержки — число как главный предмет */
.svc__view--care { display: flex; align-items: center; padding: 0 28px; }
.svc__hours { display: flex; align-items: center; gap: 14px; color: var(--sig); position: relative; z-index: 1; }
.svc__hours b { font: 600 112px/1 var(--head); letter-spacing: -0.03em; }
.svc__hours span { font: 600 17px/1.25 var(--body); color: var(--fog); }
.svc__clock { position: absolute; right: 32px; top: 50%; width: 120px; height: 120px; margin-top: -60px; opacity: .22; }   /* целиком внутри окна: обрезанные края читались как дефект (24.10) */

.band--white { background: var(--white); }
.band__title { margin: 0; }
.need { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-top: 22px; }
.need li { display: grid; gap: 6px; align-content: start; }
.need img { width: 24px; height: 24px; margin-bottom: 4px; }
.need b { font-size: 15px; line-height: 1.35; }
.need span { font-size: 13.5px; line-height: 1.4; color: var(--ink2); }

/* 14. Контакты */
.contacts__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contacts h2 { margin-bottom: 26px; }
/* «mail@margogroup.online» = 15,21 em: на телефоне 360 px размер не больше ≈ 21 px */
.contacts__line { font: 500 clamp(18px, 5.6vw, 34px)/1.35 var(--head); }
.contacts__line a { color: var(--fog); text-decoration: none; }
.contacts__line a:hover { color: var(--sig); }
.contacts__files { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contacts__files a { display: inline-flex; flex-direction: column; padding: 12px 18px; border: 1.5px solid var(--nline); border-radius: 12px;
  color: var(--fog); text-decoration: none; font-weight: 600; }
.contacts__files a:hover { border-color: var(--sig); }
.contacts__files span { font-size: 12.5px; font-weight: 500; color: var(--fog3); }
.contacts__req { margin-top: 36px; font-weight: 600; color: var(--fog2); font-size: 15px; }
.contacts__req span { font-weight: 500; color: var(--fog3); }
.contacts__logo { width: clamp(180px, 22vw, 270px); }

/* страница 404 */
.nf { background: var(--night); }
.nf__main { min-height: 100vh; display: grid; align-content: center; }
.nf__title { margin-top: 48px; font: 600 clamp(30px, 5vw, 56px)/1.1 var(--head); color: var(--fog); }

.foot { background: #0E0C0A; color: var(--fog3); font-size: 13px; padding: 22px 0; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }

/* Планшет и телефон */
/* Колонки сеток сжимаются до ширины экрана: без minmax(0, …) колонка не уже самого широкого содержимого
   (таблица средних), и на телефоне страница уезжала вправо (превью 24.10). Таблицы прокручиваются внутри себя. */
.hero__grid > *, .split > *, .notify > *, .contacts__grid > *, .cuts > *, .studies > *, .flow > * { min-width: 0; }

@media (max-width: 960px) {
  .top__nav a:not(.btn) { display: none; }   /* на узком экране в шапке остаётся только «Контакты» */
  .top__logo img { width: 147px; height: 50px; }
  .top__row { min-height: 78px; }   /* (78 − 50) / 2 = 14 — без дробного отступа */
  .svc { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .svc__card.svc__card--wide { flex-direction: column; }
  .svc__card--wide .svc__view { flex: none; height: 200px; }
  .hero__grid, .split, .notify, .contacts__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stack { height: clamp(300px, 70vw, 520px); max-width: 620px; }
  .split__fig { order: 2; }
  .phone { width: min(320px, 100%); justify-self: center; }
  .contacts__logo { justify-self: start; }
}
@media (max-width: 720px) {
  .cuts, .studies { grid-template-columns: minmax(0, 1fr); }
  .study h3 { min-height: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__title { font-size: clamp(28px, 9.4vw, 46px); }
  .flow li:not(:last-child)::after { top: auto; bottom: -26px; left: 50%; right: auto; width: 0; height: 18px; border-top: 0;
    border-left: 1.5px solid var(--ink3); }
  .flow li:not(:last-child)::before { top: auto; bottom: -27px; right: auto; left: calc(50% - 4px); transform: rotate(135deg); }
  .receipt__rows div { font-size: 12.5px; }
  .top__logo img { width: 132px; height: 45px; }
  .top__row { min-height: 65px; }   /* (65 − 45) / 2 = 10 */
  /* таблица средних помещается в 360 px целиком (замер шрифтом Manrope: 298 + отступы 24 из 328), прокрутка — запас для 320 px */
  .avg { min-width: 0; font-size: 13px; }
  .avg thead th { font-size: 11px; }
  .avg th, .avg td { padding-right: 6px; }
  .avg th:last-child, .avg td:last-child { padding-right: 0; }
  .avg th[scope="row"] { white-space: normal; }
  /* строка таблицы продаж на телефоне — карточкой «поле — значение», без обрезки справа */
  .sale { min-width: 0; }
  .sale thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sale tbody, .sale tr, .sale td { display: block; }
  .sale td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 16px;
    border-bottom: 1px solid var(--line); white-space: normal; text-align: right; }
  .sale td:last-child { border-bottom: 0; }
  .sale td::before { content: attr(data-label); flex: none; font-size: 13px; font-weight: 600; color: var(--ink3); text-align: left; }
  .svc__clock { right: 22px; width: 88px; height: 88px; margin-top: -44px; }
}
