:root{--bg:#0B0B0B;--fg:#ECEAE4;--mute:#8C908E;--rule:rgba(236,234,228,.14);--rule2:rgba(236,234,228,.28);--btn:#ECEAE4;--btnfg:#0B0B0B;--acc:#1EC8F0;--neg:#FF4FA8;--card:#121314}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
body{background:radial-gradient(circle,rgba(236,234,228,.08) .8px,transparent 1.1px) 0 0/12px 12px fixed,var(--bg);color:var(--fg);font:400 16px/1.5 'Golos Text',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.num,.mono{font-family:'JetBrains Mono',ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.page{max-width:1216px;margin:0 auto;padding:0 32px}
header{display:flex;align-items:center;justify-content:space-between;height:76px;border-bottom:1px solid var(--rule)}
.brand{display:flex;align-items:center;gap:12px;color:var(--fg);text-decoration:none}
.brand img{width:32px;height:32px;display:block}
.brand b{font:800 25px/1 'Golos Text',sans-serif;letter-spacing:-.01em}
.tel{font:500 12.5px/1 'JetBrains Mono',monospace;letter-spacing:.02em;color:var(--mute);text-decoration:none}
.sub{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 24px;margin:10px 0 0}
.pl{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;list-style:none}
.pl li,.label,.conf{font:500 11px/1.3 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.pl li.on{color:var(--fg)}.pl a{text-decoration:none}
.conf{display:flex;align-items:center;gap:7px}
h1,h2,h3{margin:0;letter-spacing:-.025em;line-height:1.04;font-weight:700}
.lede{color:var(--mute);margin:0;max-width:36em}
.cta{display:inline-flex;align-items:center;gap:12px;background:var(--btn);color:var(--btnfg);padding:15px 24px;border-radius:2px;font-weight:600;text-decoration:none;font-size:16px;border:0;font-family:inherit;cursor:pointer}
.cta.ghost{background:transparent;color:var(--fg);border:1px solid rgba(236,234,228,.4)}
.pill{display:inline-block;padding:5px 11px;border:1px solid var(--acc);border-radius:999px;color:var(--acc);font:500 11px/1 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase}
.pill.pk{border-color:var(--neg);color:var(--neg)}
.pos{color:var(--acc)}.neg{color:var(--neg)}.mut{color:var(--mute)}
footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--rule);padding:16px 0 20px;font-size:13px;color:var(--mute);margin-top:96px}
svg text{font-family:'JetBrains Mono',monospace}
@media (max-width:820px){
  .page{padding:0 16px}header{height:64px}.brand img{width:28px;height:28px}.brand b{font-size:21px}
  .pl{display:none}.cta{width:100%;justify-content:center}
  footer{flex-direction:column;gap:4px;margin-top:64px}
}
/* Телефоны: общие поправки поверх стилей страниц (html body поднимает вес над встроенными стилями) */
@media (max-width:560px){
  /* заголовок страницы не мельче заголовков разделов (было 31px против 32–40px у h2) */
  html body .top .pw .hh{font-size:clamp(36px,10.2vw,46px)}
  /* подвал: длинные «Разборы» на всю ширину в две колонки, остальные колонки парами под ними */
  html body .ft .row nav.fg{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 20px}
  html body .ft nav.fg>div{gap:2px}
  html body .ft nav.fg>div>a{padding:6px 0;line-height:1.35}
  html body .ft nav.fg b{margin-bottom:6px}
  html body .ft nav.fg>div:first-child{margin-right:0}
  html body .ft nav.fg>div:has(>b a[href="/dash/"]){grid-column:1/-1;order:-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
  html body .ft nav.fg>div:has(>b a[href="/dash/"])>b{grid-column:1/-1}
  html body .ft .bot{gap:6px;font-size:13px;line-height:1.6}
  /* /dash/: карточки «Что ещё разбирать» не распирают сетку на 360–375px */
  html body .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .g4 .id h3{overflow-wrap:anywhere;hyphens:auto}
  /* таблица «Альтернативы» на главной: вместо обрезанной прокрутки карточка на каждый критерий */
  html body .cmp h2{font-size:36px;margin-bottom:28px}
  html body .cmpw{overflow:visible}
  html body .cmp table,html body .cmp tbody{display:block;min-width:0;width:100%}
  html body .cmp thead{display:none}
  html body .cmp tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:20px 0;border-top:1px solid var(--rule)}
  html body .cmp tbody th{position:static;grid-column:1/-1;width:auto;padding:0;border:0;background:none;font-size:16px}
  html body .cmp td{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px;padding:0 0 0 16px;border:0;font-size:15px;line-height:1.3}
  html body .cmp td::before{left:0;top:23px}
  html body .cmp td::after{font:500 10.5px/1.3 'JetBrains Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
  html body .cmp td:nth-of-type(1)::after{content:"Finxel";color:var(--fg)}
  html body .cmp td:nth-of-type(2)::after{content:"Claude"}
  html body .cmp td:nth-of-type(3)::after{content:"Команда"}
  html body .cmp td:nth-of-type(4)::after{content:"Аудитор"}
  html body .cmp .leg{margin:-12px 0 8px;gap:8px 20px;font-size:13px}
}
