/* Dolgov AI · дизайн-система · компоненты v0.3. Подключать после tokens.css.
   Логика кабинета VEYRA / INWRAP: меню сайта сверху, страница на сером,
   окно приложения (.window) и карточки (.card) — элементы внутри страниц (решение Саши 26.10.2026). */

/* ── база ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--page-grad) fixed, var(--page); color: var(--fg); font: 400 var(--t-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-tint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* иконки lucide: <svg class="i"><use href="/assets/ds/icons.svg#имя"/></svg> */
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-20 { width: 20px; height: 20px; }

/* ── типографика ──────────────────────────────────── */
.display { font: 700 var(--t-display)/1.08 var(--sans); letter-spacing: -.025em; color: var(--primary); text-wrap: balance; }
.h1 { font: 700 var(--t-h1)/1.15 var(--sans); letter-spacing: -.015em; color: var(--primary); text-wrap: balance; }
.h2 { font: 700 var(--t-h2)/1.25 var(--sans); letter-spacing: -.01em; color: var(--primary); text-wrap: balance; }
.h3 { font: 600 var(--t-h3)/1.3 var(--sans); color: var(--primary); }
.h4 { font: 600 var(--t-h4)/1.35 var(--sans); color: var(--primary); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); line-height: 1.5; }
.xs { font-size: var(--t-xs); line-height: 1.45; color: var(--muted); }
.label { font: 600 var(--t-label)/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mlabel { font: 500 12px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }
.prose { max-width: 42em; }
.prose p + p { margin-top: .9em; }
.dash { list-style: none; padding: 0; display: grid; gap: 6px; font-size: var(--t-sm); line-height: 1.5; color: var(--muted); }
.dash li { display: grid; grid-template-columns: 18px 1fr; }
.dash li::before { content: "—"; color: var(--faint); }
.dash b { color: var(--fg); font-weight: 600; }

/* ── кнопки ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid transparent; background: transparent; color: var(--fg); font: 500 var(--t-sm)/1 var(--sans); white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: rgba(23, 23, 23, .9); }
.btn-outline { background: var(--card); border-color: var(--border); box-shadow: var(--sh-xs); }
.btn-outline:hover { background: #f5f5f5; }
.btn-ghost:hover { background: var(--hover); }
.btn-link { color: var(--accent); padding: 0 4px; height: auto; }
.btn-link:hover { text-decoration: underline; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-icon { width: 36px; padding: 0; }
.btn .kbd { margin-left: 2px; }
.btn-primary .kbd { background: transparent; border-color: rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .8); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vr { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.kbd { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border: 1px solid var(--border); border-radius: 4px; background: #fafafa;
  font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }

/* ── теги и статусы ───────────────────────────────── */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: #f2f2f3; color: var(--fg);
  font: 500 12px/1 var(--sans); white-space: nowrap; }
.tag.mono { font-family: var(--mono); font-weight: 500; }
.tag.accent { background: var(--accent-tint); color: var(--accent); }
.tag.warn { background: var(--warn-tint); color: var(--warn); }
.tag.line { background: var(--card); border: 1px solid var(--border); }
.status { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1.2 var(--sans); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.ok::before { background: var(--accent-dot); }
.status.warn::before { background: #d08a12; }
.qmark { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 10px/1 var(--sans); vertical-align: 1px; }

/* ── шапка сайта: меню сверху ─────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--hair); padding-top: env(safe-area-inset-top, 0px); }
.site-head .in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: baseline; gap: 6px; color: var(--primary); text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
/* знак: «Долгов,» жирным капсом, «Эй Ай и партнеры©» мелкой зелёной припиской — как «VEYRA LAB» */
.brand b { font: 700 15px/1 var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.brand small { font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.brand small sup { font: 500 8px/1 var(--sans); letter-spacing: 0; margin-left: 1px; vertical-align: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; color: var(--fg); font: 400 var(--t-sm)/1 var(--sans); text-decoration: none; white-space: nowrap; }
.nav a .i { color: var(--muted); }
.nav a:hover { background: var(--hover); text-decoration: none; }
.nav a[aria-current="page"] { background: #f2f2f3; font-weight: 500; }
.nav a[aria-current="page"] .i { color: var(--fg); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.site-head .nav { flex: none; }
.cmd { display: flex; align-items: center; gap: 8px; height: 36px; flex: 0 1 260px; min-width: 220px; padding: 0 6px 0 12px; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--card); color: var(--faint); font-size: var(--t-sm); text-decoration: none; }
.cmd:hover { border-color: #d4d4d4; text-decoration: none; }
.cmd .kbd { margin-left: auto; }
.menu-btn { display: none; }
.head-panel { display: none; }
.cmd > span:not(.kbd) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1480px) { .cmd { display: none; } }
@media (max-width: 1180px) {
  .site-head .nav, .site-head .head-cta .btn:not(.menu-btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head.open .head-panel { display: grid; gap: 2px; padding-block: 6px 14px; border-top: 1px solid var(--hair); }
  .head-panel a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: 10px; color: var(--fg); font-size: 16px; text-decoration: none; }
  .head-panel a .i { color: var(--muted); }
  .head-panel a[aria-current="page"] { background: #f2f2f3; font-weight: 500; }
  .head-panel .btn { margin-top: 8px; }
}

/* ── страница на сером ────────────────────────────── */
.wrap { max-width: calc(var(--content) + 2 * var(--pad)); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.page-head { padding-top: 40px; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.title-row .meta { font-size: var(--t-sm); color: var(--muted); }
.page-head .lead { margin-top: 12px; }
.page-head .btns { margin-top: 18px; }
.tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; padding: 10px 12px 12px; color: var(--muted); font-size: var(--t-sm); white-space: nowrap; text-decoration: none; }
.tabs a:hover { color: var(--fg); text-decoration: none; }
.tabs a[aria-current="true"] { color: var(--fg); font-weight: 500; }
.tabs a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--primary); border-radius: 2px; }
.tabs .c { margin-left: 4px; font: 500 11px var(--mono); color: var(--faint); }
.page-body { padding-block: 28px 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.with-aside > * { min-width: 0; }
.aside { position: sticky; top: 84px; display: grid; gap: 22px; padding-top: 4px; }
.aside .label + * { margin-top: 8px; }
.aside p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.stack { display: grid; gap: var(--gap); }
.sec { margin-top: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.sec-head .mlabel + .h2 { margin-top: 6px; }
.sec-head > p { font-size: var(--t-sm); color: var(--muted); max-width: 30em; }
@media (max-width: 1180px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ── окно приложения: компонент внутри страницы ──── */
.window { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-panel), var(--sh-lg), 0 0 0 1px var(--hair); overflow: hidden; min-width: 0; }
.window-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-bottom: 1px solid var(--hair); }
.window-bar .dots { display: flex; gap: 6px; flex: none; }
.window-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; }
.wtabs { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.wtabs span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 9px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.wtabs span.on { background: var(--card); color: var(--fg); font-weight: 500; box-shadow: 0 0 0 1px var(--border); }
.wtabs span.dirty::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d08a12; }
.window-bar .wsearch { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 10px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 12px; color: var(--faint); flex: none; }
.window-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 0; }
.window-nav { padding: 12px 8px; border-right: 1px solid var(--hair); display: grid; align-content: start; gap: 1px; }
.window-nav .wbrand { display: flex; align-items: baseline; gap: 5px; padding: 4px 10px 12px; font: 700 13px/1 var(--sans); letter-spacing: .02em; }
.window-nav .wbrand small { font: 600 10px/1 var(--sans); color: var(--accent); }
.window-nav span { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: 13px; color: var(--fg); }
.window-nav span .i { width: 15px; height: 15px; color: var(--muted); }
.window-nav span.on { background: #f2f2f3; font-weight: 500; }
.window-nav span.sub { padding-left: 34px; color: var(--muted); }
.window-main { min-width: 0; }
.window-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--border); }
.window-head .title-row .h4 { font-size: 17px; }
.window-head .btns { margin-top: 10px; }
.window-head .btn { height: 30px; padding: 0 12px; font-size: 13px; }
.window-foot { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .window-body { grid-template-columns: 1fr; } .window-nav { display: none; } .window-bar .wsearch { display: none; } }

/* ── карточки ─────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); min-width: 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.card-head .h4 { display: flex; align-items: center; gap: 8px; }
.card-head .count { font: 500 12px var(--mono); color: var(--faint); }
.card-head .btns { margin-left: auto; }
.card-head .btn { height: 30px; padding: 0 12px; font-size: 13px; }
.card-body { padding: 16px; }
.card-body > p { font-size: var(--t-sm); line-height: 1.55; color: var(--muted); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: var(--t-xs); color: var(--muted); }
.card.sel { box-shadow: var(--sh-sm), inset 3px 0 0 var(--accent); }
.cards { display: grid; gap: var(--gap); }
.c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .c-3, .c-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .c-2, .c-3, .c-4 { grid-template-columns: 1fr; } }

/* карточка-вход: иконка, название, описание, цена внизу */
.entry { display: flex; flex-direction: column; }
.entry .card-body { display: grid; gap: 8px; flex: 1; align-content: start; }
.entry .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--hair); display: grid; place-items: center; color: var(--fg); }
.entry .card-foot { justify-content: space-between; font-size: var(--t-sm); color: var(--fg); }
.entry .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.entry .price small { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 2px; }

/* плашка-подсказка (как «Маршрут пуст» в INWRAP) */
.callout { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: #f5f5f5; border: 1px solid var(--hair); font-size: var(--t-sm); line-height: 1.5; color: var(--muted); }
.callout b { color: var(--fg); font-weight: 600; }
.callout .i { margin-top: 2px; color: var(--muted); }
.callout.warn .i { color: #b77400; }
.callout.accent { background: var(--accent-tint); }
.callout.accent .i { color: var(--accent); }

/* панель на градиенте (VEYRA: матовая, r32) */
.panel { background: rgba(255, 255, 255, .4); border-radius: var(--r-2xl); box-shadow: var(--sh-panel); padding: 40px 48px; }

/* ── таблица ──────────────────────────────────────── */
.tw { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.45; }
.tbl th { text-align: left; font: 500 13px/1.3 var(--sans); color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--card); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fafafa; }
.tbl tr.sel td { background: var(--accent-tint); }
.tbl tr.sel td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.m { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.tbl td.b { font-weight: 500; }
.tbl .sub-row td { color: var(--muted); }
.tbl-min { min-width: 640px; }

/* ── вкладки-сегменты и шаги ──────────────────────── */
.seg { display: inline-flex; justify-self: start; padding: 3px; gap: 2px; border-radius: var(--r-sm); background: #f2f2f3; }
.seg a, .seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; font: 500 13px/1 var(--sans); color: var(--muted); cursor: pointer; text-decoration: none; }
.seg [aria-pressed="true"], .seg [aria-current="true"] { background: var(--card); color: var(--fg); box-shadow: var(--sh-xs); }

/* схема контура: узлы как в графе INWRAP */
.graph { display: grid; grid-template-columns: 1fr 22px 1.1fr 22px 1fr 22px 1.2fr; align-items: center; padding: 20px 16px; background:
  radial-gradient(circle, rgba(0, 0, 0, .07) 1px, transparent 1.2px) 0 0/16px 16px, var(--card-2); border-radius: var(--r-md); border: 1px solid var(--hair); }
.node { background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--sh-xs); padding: 10px 12px; min-width: 0; }
.node b { display: block; font: 600 13px/1.3 var(--sans); }
.node span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.node code { font: 500 11px var(--mono); color: var(--accent); }
.node.sel { border-color: var(--accent-line); box-shadow: var(--sh-xs), inset 2px 0 0 var(--accent); }
.edge { height: 1px; background: #c9c9c9; position: relative; }
.edge::after { content: ""; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left: 5px solid #a3a3a3; border-right: 0; }
.nodes { display: grid; gap: 8px; }
@media (max-width: 960px) {
  .graph { grid-template-columns: 1fr; padding: 14px; }
  .edge { width: 1px; height: 14px; margin-left: 20px; }
  .edge::after { right: auto; top: auto; left: -3px; bottom: 0; border: 3.5px solid transparent; border-top: 5px solid #a3a3a3; border-bottom: 0; }
}

/* ── подпись блока (как подписи экранов в канвасах INWRAP) ── */
.note-blk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 12px 40px; padding-top: 18px; }
.note-blk .h3 { margin-top: 6px; font-weight: 700; }
@media (max-width: 860px) { .note-blk { grid-template-columns: 1fr; } }

/* ── цифры ────────────────────────────────────────── */
.stat .card-body { display: grid; gap: 4px; }
.stat .v { font: 600 28px/1.15 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--primary); }
.stat .l { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ── тарифы ───────────────────────────────────────── */
.tariff .card-body { display: grid; gap: 4px; }
.tariff .price { font: 600 26px/1.15 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tariff .price small { font: 400 14px var(--sans); color: var(--muted); margin-left: 2px; }
.tariff dl { display: grid; margin-top: 10px; font-size: var(--t-sm); }
.tariff dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--hair); }
.tariff dt { color: var(--muted); }
.tariff dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }

/* ── вопросы ──────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; font: 500 15px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .15s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 16px 16px; font-size: var(--t-sm); line-height: 1.6; color: var(--muted); max-width: 46em; }

/* ── кейс ─────────────────────────────────────────── */
.case q { display: block; quotes: none; font: 500 17px/1.45 var(--sans); color: var(--fg); }
.case.stub { border-style: dashed; box-shadow: none; background: transparent; }

/* ── подвал ───────────────────────────────────────── */
.foot { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: var(--t-xs); color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }

/* ── страницы сайта (v0.4) ───────────────────────── */
.hero-sub { margin-top: 12px; font: 600 var(--t-h3)/1.35 var(--sans); color: var(--primary); max-width: 30em; text-wrap: balance; }
.rows { display: grid; }
.rows > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; padding: 14px 16px; border-top: 1px solid var(--hair); }
.rows > div:first-child { border-top: 0; }
.rows dt, .rows .k { font: 500 13px/1.5 var(--mono); color: var(--accent); }
.rows dd, .rows .v { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--fg); }
.rows .v .muted { color: var(--muted); }
@media (max-width: 640px) { .rows > div { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: var(--t-sm); line-height: 1.55; }
.list li { display: grid; grid-template-columns: 22px 1fr; }
.list li::before { content: ""; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177245' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.list b { font-weight: 600; }
.olist { list-style: none; padding: 0; counter-reset: s; display: grid; }
.olist li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 4px; padding: 12px 16px; border-top: 1px solid var(--hair); font-size: var(--t-sm); line-height: 1.55; }
.olist li:first-child { border-top: 0; }
.olist li::before { content: counter(s, decimal-leading-zero); font: 500 13px/1.6 var(--mono); color: var(--accent); }
.olist b { font-weight: 600; }
.cta-card { padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.cta-card .h2 + p { margin-top: 8px; font-size: var(--t-body); color: var(--muted); max-width: 36em; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: 22px; } }
.who { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 20px; align-items: start; }
.who .ava { width: 96px; height: 96px; font-size: 26px; }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-line b { font: 600 22px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.price-line span { font-size: var(--t-sm); color: var(--muted); }
/* метка «ждёт решения» — только в макете, на проде её быть не должно (проверка: grep 'class="todo"') */
.todo { background: var(--warn-tint); box-shadow: 0 0 0 1px rgba(173, 110, 0, .35); border-radius: 4px; padding: 0 3px; color: var(--warn); cursor: help; }
.todo-note { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.4 var(--sans); color: var(--warn); background: var(--warn-tint); border-radius: var(--r-pill); padding: 3px 10px; }
.site-foot { margin-top: 72px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, .5); }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-block: 36px 28px; }
.site-foot .cols p { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 26em; }
.site-foot .label { margin-bottom: 10px; }
.site-foot nav { display: grid; gap: 8px; font-size: var(--t-sm); }
.site-foot nav a { color: var(--fg); }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px 28px; border-top: 1px solid var(--hair); font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .cols { grid-template-columns: 1fr; } }
.ava { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font: 600 12px/1 var(--sans); flex: none; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
/* таблица, которая на телефоне раскладывается в строки: у ячеек data-label */
@media (max-width: 640px) {
  .tbl-stack { min-width: 0; }
  .tbl-stack thead { display: none; }
  .tbl-stack tr { display: grid; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
  .tbl-stack tbody tr:last-child { border-bottom: 0; }
  .tbl-stack td { display: block; padding: 0; border: 0; }
  .tbl-stack td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
  .tbl-stack tbody tr:hover td { background: transparent; }
}
.ar { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
