/* e-suppy — вёрстка по макету Claude Design (modernist).

   Инлайновые стили макета переведены в классы значение-в-значение.
   Раскладка макета переключалась в JS по `window.innerWidth < 860`;
   здесь это медиазапрос, поэтому страница верна до загрузки скриптов
   и не прыгает при первом рендере. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&family=Golos+Text:wght@400;500;600;800&display=swap");

:root{
  --bg:#f3f2f2; --surface:#eae9e9; --ink:#201e1d; --accent:#ec3013;
  --accent-600:#dd2b0f; --accent-700:#ae1800; --accent-800:#7c1405;
  --accent-100:#fff2ef; --accent-200:#ffe0d9;
  --n-100:#f8f4f4; --n-300:#d7d3d3; --n-600:#7d7979; --n-800:#444141;
  --line:rgba(32,30,29,0.4); --line-soft:rgba(32,30,29,0.25);
  --line-faint:rgba(32,30,29,0.2);
  --muted:rgba(32,30,29,0.65); --muted-2:rgba(32,30,29,0.7);
  --muted-3:rgba(32,30,29,0.55); --muted-4:rgba(32,30,29,0.6);
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  --wrap:1320px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:"Archivo","Golos Text",Helvetica,Arial,sans-serif;
  font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-underline-offset:3px}
a:hover{color:var(--accent-600)}
::selection{background:rgba(236,48,19,0.3)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
input,button{font-family:inherit}
img{max-width:100%}
@keyframes pulse{0%,49%{opacity:1}50%,100%{opacity:.2}}

.shell{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.sec{border-bottom:2px solid var(--line)}
main{flex:1}

/* ---- ссылки-кнопки: в макете это div'ы с onClick ---- */
.btn{display:inline-flex;align-items:center;font-weight:800;cursor:pointer;
  text-decoration:none;border:0}
.btn-primary{padding:14px 22px;background:var(--accent);color:var(--bg);font-size:15px}
.btn-primary:hover{background:var(--accent-600);color:var(--bg)}
.btn-ghost{padding:14px 22px;border:1px solid var(--line);font-size:15px;color:var(--ink)}
.btn-ghost:hover{background:var(--surface);color:var(--ink)}
.btn-invert{padding:14px 22px;background:var(--bg);color:var(--ink);font-size:15px}
.btn-sm{padding:12px 20px;font-size:14px}

/* ---- шапка ---- */
.hdr{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:2px solid var(--line)}
.hdr-in{max-width:var(--wrap);margin:0 auto;padding:0 32px;min-height:66px;
  display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.logo{display:flex;align-items:center;text-decoration:none;color:inherit;flex-shrink:0}
/* Логотип — растр автора. Ширина задаётся высотой и auto, чтобы пропорции
   не поехали, а width/height в разметке резервируют место и не дают
   странице дёрнуться при загрузке. */
.logo img{display:block;height:44px;width:auto}
.ftr-mark{width:26px;height:26px;margin-right:9px;flex:0 0 26px}
.beta{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;padding:2px 6px;background:var(--ink);color:var(--bg);
  align-self:center}
.nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap;min-width:0}
.nav a{font-size:14px;font-weight:600;padding:4px 0;color:var(--muted-4);
  text-decoration:none;border-bottom:2px solid transparent}
.nav a:hover{color:var(--ink)}
.nav a[aria-current]{color:var(--ink);border-bottom-color:var(--accent)}
.hdr-sp{flex:1}
.hdr-act{display:flex;align-items:stretch;gap:10px;min-height:38px;height:38px;flex:0 0 auto;min-width:0}
.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);
  background:var(--n-100);padding:0 10px;width:220px;flex:0 0 220px;min-width:0}
.search i{font-style:normal;font-size:13px;color:var(--n-600)}
.search input{border:0;outline:0;background:transparent;font-size:13px;width:100%;color:inherit}
.hdr-cta{display:flex;align-items:center;padding:0 16px;background:var(--accent);
  color:var(--bg);font-weight:800;font-size:14px;white-space:nowrap;
  flex:0 0 auto;text-decoration:none}
.hdr-cta:hover{background:var(--accent-600);color:var(--bg)}

/* ---- главная: герой ---- */
.hero{display:grid;grid-template-columns:1.15fr .85fr}
.hero-l{padding:72px 48px 64px 0;border-right:2px solid var(--line);min-width:0}
.hero-r{padding:72px 0 64px 40px;display:flex;flex-direction:column;
  justify-content:space-between;min-width:0}
.ticker{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;font-size:12px;
  font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:var(--accent-700);margin-bottom:28px}
.dot{width:7px;height:7px;flex:0 0 7px;background:var(--accent);animation:pulse 1.8s infinite}
h1{font-weight:800;font-size:58px;line-height:1.05;letter-spacing:-.02em;
  margin:0 0 24px;text-wrap:balance}
.lead{font-size:19px;line-height:1.5;margin:0 0 32px;max-width:560px;
  color:rgba(32,30,29,.75);text-wrap:pretty}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.kicker{font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted-3);margin-bottom:18px}
.feature{display:block;border:1px solid var(--line);background:var(--surface);
  padding:22px;text-decoration:none;color:inherit}
.feature:hover{border-color:var(--accent);color:inherit}
.feature-hd{display:flex;gap:16px;align-items:flex-start;margin-bottom:16px}
.mark{background:var(--ink);color:var(--bg);display:grid;place-items:center;
  font-weight:800;flex-shrink:0}
.mark-46{width:46px;height:46px;font-size:17px}
.mark-56{width:56px;height:56px;font-size:18px}
.mark-80{width:80px;height:80px;font-size:26px}
.mark-28{width:28px;height:28px;font-size:11px}
.mark-off{background:var(--surface);color:var(--muted-2)}
.feature-nm{font-weight:800;font-size:19px;letter-spacing:-.01em}
.slug{font-size:13px;color:var(--muted-4);font-family:var(--mono)}
.feature-desc{font-size:14px;line-height:1.5;color:rgba(32,30,29,.75);margin-bottom:18px}
.kv2{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line-soft)}
.kv2 div{background:var(--surface);padding:10px 12px}
.kv-k{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-3)}
.kv-v{font-weight:800;font-size:16px}
.kv-v.hot{color:var(--accent-700)}
.stats{display:flex;gap:28px;margin-top:32px;padding-top:22px;border-top:2px solid var(--line)}
.stat-v{font-weight:800;font-size:26px;letter-spacing:-.02em}
.stat-k{font-size:12px;color:var(--muted-4);margin-top:2px}

pre.code.endpoint{margin:0;padding:16px 18px;font-size:12.5px;line-height:1.7}
.fan-wrap{padding:8px 0 48px}

/* ---- форма на главной ---- */
.hf-wrap{margin-top:34px;padding-top:26px;border-top:2px solid var(--line)}
.hf{margin:0}
.hf-row{display:flex;gap:10px;flex-wrap:wrap}
.hf select,.hf input{border:1px solid var(--line);background:var(--n-100);
  padding:11px 12px;font-size:15px;font-family:inherit;color:inherit;min-width:0}
.hf select{flex:0 0 auto;cursor:pointer}
.hf input{flex:1 1 220px}
.hf select:focus-visible,.hf input:focus-visible{outline:2px solid var(--accent);
  outline-offset:-1px}
.hf button{border:0;background:var(--accent);color:var(--bg);font-weight:800;
  font-size:15px;padding:11px 24px;cursor:pointer;flex:0 0 auto}
.hf button:hover{background:var(--accent-600)}
.hf-hint{margin-top:10px;font-size:13px;color:var(--muted-4);max-width:520px}
.hf-hint code{font-size:.92em}
.hf-out{margin-top:18px;border-left:3px solid var(--accent);padding-left:16px}
.hf-out.bad{border-left-color:var(--n-600)}
.hf-who{font-size:13.5px;color:var(--muted-2);margin-bottom:10px}
.hf-who code{color:var(--accent-700);background:none;padding:0}
.hf-out pre.code{max-height:20rem;margin:0}
@media (max-width:860px){.hf-row{flex-direction:column}.hf button{width:100%}}

/* ---- единое окно: живой пример ---- */
.one{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.one-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:16px;
  background:var(--bg);padding:18px 16px;align-items:start}
.one-n{width:26px;height:26px;background:var(--ink);color:var(--bg);
  display:grid;place-items:center;font-weight:800;font-size:12px}
.one-step.ok .one-n{background:var(--accent)}
.one-step.skip .one-n{background:var(--n-300);color:var(--n-800)}
/* Текст ограничен по ширине — длинную строку через весь монитор читать
   тяжело. Подпись источника при этом не выравнивается по краю: любое
   выравнивание зависит от ширины, и на широком экране подпись повисала
   посреди пустой строки. */
.one-body{min-width:0;max-width:46rem}
.one-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 10px;
  margin-bottom:5px}
.one-call{font-size:13px;color:var(--accent-700);background:none;padding:0;
  overflow-wrap:anywhere;min-width:0}
.one-cap{font-size:13.5px;color:var(--muted-4);margin-bottom:8px}
.one-ans{font-weight:800;font-size:15.5px;overflow-wrap:anywhere}
.one-step.skip .one-ans,.one-step.bad .one-ans{font-weight:400;color:var(--muted-4)}
.one-src{font-family:var(--mono);font-size:12.5px;color:var(--muted-4);
  text-decoration:none;white-space:nowrap;border-bottom:1px solid var(--line-faint)}
.one-src:hover{color:var(--accent);border-bottom-color:var(--accent)}
.one-src:hover{color:var(--accent)}
.one-foot{margin:18px 0 0;font-size:14px;color:var(--muted-2);max-width:660px}
@media (max-width:860px){
  .one-step{grid-template-columns:26px minmax(0,1fr);gap:12px}
}

/* ---- схема «один эндпоинт -> несколько магазинов» ---- */
.fan{margin:0;padding:0}
/* SVG тянется по ширине контейнера, поэтому на узком экране схема не
   ломается и не требует горизонтальной прокрутки — просто мельчает. */
.fan svg{display:block;width:100%;height:auto;overflow:visible}
.fan .bx{fill:var(--bg);stroke:var(--line);stroke-width:1.5}
.fan .bx.ghost{fill:none;stroke:var(--line-soft);stroke-dasharray:5 5}
/* Блоки источников — ссылки: со схемы естественно хотеть подробностей. */
.fan .node{cursor:pointer}
.fan .node .nm,.fan .node .sub{transition:fill .12s}
.fan .node:hover .bx{fill:var(--surface);stroke:var(--accent)}
.fan .node:hover .nm{fill:var(--accent-700)}
.fan .node.hub-link:hover .hub{fill:var(--accent-600)}
.fan .node:focus-visible .bx{stroke:var(--accent);stroke-width:2.5}
.fan a{text-decoration:none}
.fan .bx.off{fill:var(--bg);stroke:var(--line-soft)}
.fan .hub{fill:var(--accent);stroke:none}
.fan .ln{stroke:var(--line);stroke-width:1.5;fill:none}
.fan .ln.on{stroke:var(--accent);stroke-width:2}
.fan .ln.off{stroke:var(--line-soft)}
.fan .nm{font-size:15px;font-weight:800;fill:var(--ink);letter-spacing:-.01em}
.fan .sub{font-size:12px;fill:var(--muted-4)}
.fan .hub-t{font-size:16px;font-weight:800;fill:var(--bg);
  font-family:var(--mono);letter-spacing:-.02em}
.fan .hub-s{font-size:12px;fill:rgba(243,242,242,.85)}
.fan figcaption{margin-top:18px;font-size:14px;line-height:1.55;
  color:var(--muted-2);max-width:640px}
@media (max-width:860px){
  .fan .nm{font-size:19px}.fan .sub{font-size:16px}
  .fan .hub-t{font-size:20px}.fan .hub-s{font-size:16px}
}

/* ---- секции главной ---- */
.sec-hd{padding:44px 0 24px}
h2{font-weight:800;font-size:32px;letter-spacing:-.02em;margin:0 0 8px}
.sec-hd p{margin:0;font-size:15px;color:var(--muted);max-width:620px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--line);border-top:2px solid var(--line)}
.cat-card{background:var(--bg);padding:26px 24px 28px;text-decoration:none;color:inherit;display:block}
.cat-card:hover{background:var(--surface);color:inherit}
.cat-top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.cat-slug{font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--muted-3)}
.cat-count{font-size:12px;font-weight:600;color:var(--accent-700)}
.cat-nm{font-weight:800;font-size:21px;letter-spacing:-.015em;margin-bottom:8px}
.cat-desc{font-size:14px;line-height:1.5;color:var(--muted-2)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.two>*{min-width:0}
.sec-two{padding:52px 32px 56px}
.sec-two p{margin:0 0 16px;font-size:15.5px;line-height:1.6;color:rgba(32,30,29,.72)}
.cells{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.cell{background:var(--bg);padding:22px 20px}
.cell-k{font-family:var(--mono);font-size:12px;color:var(--accent-700);margin-bottom:10px}
.cell-t{font-weight:800;font-size:16px;margin-bottom:6px}
.cell-d{font-size:13.5px;line-height:1.5;color:rgba(32,30,29,.68)}
.poster{background:var(--accent);color:var(--bg)}
.poster-in{max-width:var(--wrap);margin:0 auto;padding:64px 32px;
  display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:end}
.poster h2{font-size:44px;line-height:1.05;letter-spacing:-.025em;margin:0;text-wrap:balance}
.poster p{font-size:16px;line-height:1.55;margin:0 0 20px;color:rgba(243,242,242,.9)}

/* ---- общие страницы ---- */
.page{max-width:var(--wrap);margin:0 auto;padding:32px 32px 80px}
.crumb{font-family:var(--mono);font-size:12px;color:var(--muted-3);margin-bottom:12px;
  text-decoration:none;display:inline-block}
h1.page-t{font-size:42px;margin:0 0 10px}
.page-lead{font-size:16px;color:var(--muted-2);margin:0 0 28px;max-width:680px}

/* ---- каталог ---- */
.catalog{display:grid;grid-template-columns:240px 1fr;gap:0;
  border-top:2px solid var(--line);align-items:start}
.filters{position:sticky;top:98px;padding:24px 24px 24px 0;border-right:1px solid var(--line);
  display:flex;flex-direction:column;gap:26px}
.f-t{font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted-3);margin-bottom:12px}
.f-list{display:flex;flex-direction:column;gap:1px;background:var(--line-faint)}
.f-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:9px 10px;font-size:14px;color:var(--ink);background:var(--bg);text-decoration:none}
.f-list a span:last-child{font-size:12px;opacity:.65}
.f-list a[aria-pressed="true"]{background:var(--ink);color:var(--bg);font-weight:800}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{font-size:12.5px;font-weight:600;padding:6px 10px;border:1px solid var(--line);
  color:var(--muted);background:var(--bg);text-decoration:none}
.pill.mono{font-family:var(--mono);font-size:12px;font-weight:400}
.pill[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.f-reset{font-size:13.5px;font-weight:600;color:var(--accent);text-decoration:none}
.results{padding:24px 0 0 28px;min-width:0}
.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px;height:42px}
.toolbar .search{flex:1;width:auto;height:100%}
.toolbar .search input{font-size:14.5px}
.tabs{display:flex;gap:1px;background:var(--line);border:1px solid var(--line);height:100%}
.tabs a{display:flex;align-items:center;font-size:13px;font-weight:600;padding:0 14px;
  background:var(--bg);color:var(--muted);text-decoration:none}
.tabs a[aria-current]{background:var(--ink);color:var(--bg)}
.rows{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.row{background:var(--bg);padding:22px 20px;display:grid;
  grid-template-columns:56px 1fr 168px;gap:20px;text-decoration:none;color:inherit}
.row:hover{background:var(--surface);color:inherit}
.row-mid{min-width:0}
.row-hd{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.row-nm{font-weight:800;font-size:19px;letter-spacing:-.015em}
.row-slug{font-family:var(--mono);font-size:12.5px;color:var(--muted-3)}
.badge{font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;padding:3px 7px}
.badge-live{color:var(--bg);background:var(--accent)}
.badge-soon{color:var(--accent-800);background:var(--accent-200)}
.badge-queued{color:var(--n-800);background:var(--n-300)}
/* Кто держит сервер — отдельный признак от готовности, поэтому и метка
   отдельная: контурная у официального, приглушённая у обёртки. */
.badge-official{color:var(--ink);border:1px solid var(--ink);background:none}
.badge-wrapper{color:var(--muted-4);border:1px solid var(--line-soft);background:none}
.row-desc{font-size:14px;line-height:1.5;color:var(--muted-2);margin-bottom:14px;max-width:640px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.chip{font-family:var(--mono);font-size:11.5px;padding:4px 8px;
  border:1px solid var(--line-soft);color:rgba(32,30,29,.75)}
.row-meta{display:flex;flex-wrap:wrap;gap:22px;font-size:12.5px;color:var(--muted-4)}
.row-side{border-left:1px solid var(--line-soft);padding-left:20px}
.up-v{display:inline-flex;align-items:center;gap:8px;font-weight:800;
  font-size:20px;color:rgba(32,30,29,.45)}
.up-v.hot{color:var(--accent-700)}
.up-v i{width:7px;height:7px;background:currentColor;display:block}
.up-n{font-size:12.5px;color:var(--muted-4);margin-top:10px}
.empty{border:1px solid var(--line);padding:48px}
.empty b{font-weight:800;font-size:18px;display:block;margin-bottom:6px}
.empty span{font-size:14.5px;color:var(--muted)}

/* ---- карточка сервера ---- */
.srv-hd{display:grid;grid-template-columns:80px 1fr auto;gap:24px;align-items:start;
  padding-bottom:28px;border-bottom:2px solid var(--line)}
.srv-hd h1{font-size:38px;margin:0}
.srv-ttl{display:flex;align-items:baseline;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.srv-note{font-size:14px;line-height:1.55;color:var(--muted);
  margin:10px 0 0;max-width:700px}
.srv-note code{font-size:.92em}
.page-lead code{font-size:.9em}
.srv-desc{font-size:16.5px;line-height:1.55;color:rgba(32,30,29,.72);margin:0;max-width:700px}
/* auto-fit: у неподключённого источника меньше характеристик, и при жёстких
   шести колонках пустые ячейки закрашивались цветом разделителя. */
.specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--line);
  border-bottom:2px solid var(--line)}
.spec{background:var(--bg);padding:18px 20px}
.spec-k{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted-3);margin-bottom:8px}
.spec-v{font-weight:800;font-size:17px}
.srv-body{display:grid;grid-template-columns:1fr 320px;gap:0;align-items:start}
.srv-main{padding:36px 40px 0 0;border-right:1px solid var(--line);min-width:0}
.srv-main h2{font-size:26px;margin:0 0 14px}
.srv-aside{padding:36px 0 0 28px;position:sticky;top:98px;
  display:flex;flex-direction:column;gap:28px;min-width:0}
.code-wrap{position:relative;margin:0 0 36px}
.code-wrap pre.code{margin:0}
.code-copy{position:absolute;top:10px;right:10px;font-size:11px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;cursor:pointer;
  background:transparent;color:#9b9797;
  border:1px solid rgba(243,242,242,.28);opacity:.55;transition:opacity .12s}
.code-wrap:hover .code-copy,.code-copy:focus-visible{opacity:1}
.code-copy:hover{color:var(--bg);border-color:rgba(243,242,242,.6)}
.code-copy.is-done{opacity:1;color:var(--bg);border-color:var(--accent);background:var(--accent)}
@media (hover:none){.code-copy{opacity:.8}}
pre.code{margin:0 0 36px;padding:20px;background:var(--ink);color:var(--surface);
  font-family:var(--mono);font-size:12.5px;line-height:1.8;overflow:auto;max-width:100%}
pre.code:last-child{margin-bottom:0}
.tabs-inline{display:flex;gap:1px;background:var(--line);border:1px solid var(--line);
  width:fit-content;margin-bottom:14px}
.tabs-inline button{font-size:13px;font-weight:600;padding:9px 14px;cursor:pointer;
  background:var(--bg);color:var(--muted);border:0}
.tabs-inline button[aria-selected="true"]{background:var(--ink);color:var(--bg)}
.tools-note{font-size:13.5px;color:var(--muted);margin:0 0 12px}
.about{margin:0 0 40px;max-width:700px}
.about h3{font-size:17px;font-weight:800;margin:24px 0 8px}
.about h2+h3{margin-top:4px}
.about p,.about li{font-size:15px;line-height:1.6;color:var(--muted-2)}
.about p{margin:0 0 10px}
.about ul{margin:0 0 10px;padding-left:20px}
.about li{margin:0 0 6px}
.tool-rows{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:36px}
.tool-row{background:var(--bg);display:grid;grid-template-columns:1fr 1.7fr 70px;
  gap:12px;padding:14px 16px;align-items:center}
.tool-nm{font-family:var(--mono);font-size:13px;color:var(--accent-700)}
.tool-d{font-size:13.5px;color:rgba(32,30,29,.72)}
.tool-k{font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
  color:var(--muted-3);text-align:right}
.caps{display:flex;flex-wrap:wrap;gap:6px}
.cap{font-size:12.5px;font-weight:600;padding:5px 9px;border:1px solid var(--line);color:rgba(32,30,29,.75)}
.limits{display:flex;flex-direction:column}
.limit{display:flex;justify-content:space-between;gap:12px;padding:9px 0;
  border-bottom:1px solid var(--line-faint);font-size:13.5px}
.limit span:first-child{color:var(--muted)}
.limit span:last-child{font-weight:800}
.related{display:flex;flex-direction:column;gap:1px;background:var(--line-faint)}
.related a{display:flex;align-items:center;gap:12px;padding:10px;background:var(--bg);
  text-decoration:none;color:inherit;font-size:13.5px;font-weight:600}
.related a:hover{background:var(--surface);color:inherit}

/* ---- пробный вызов ---- */
.try-lead{font-size:14.5px;color:var(--muted-2);margin:0 0 18px;max-width:680px}
.try{border:1px solid var(--line);padding:16px 18px;margin-bottom:12px;background:var(--bg)}
.try.is-open{border-color:var(--accent)}
.try-hd{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:4px}
.try-hd code{font-size:13px;color:var(--accent-700);background:none;padding:0}
.try-t{font-weight:800;font-size:15px}
.try-hint{margin:0 0 12px;font-size:13.5px;color:var(--muted-4);max-width:620px}
.try-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.try-f{display:flex;flex-direction:column;gap:5px;flex:1 1 180px;min-width:0}
.try-f span{font-size:11px;font-weight:600;letter-spacing:.07em;
  text-transform:uppercase;color:var(--muted-3)}
.try-f input{border:1px solid var(--line);background:var(--n-100);
  padding:9px 10px;font-size:14px;color:inherit;min-width:0}
.try-f input:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}
.try button{border:0;background:var(--accent);color:var(--bg);font-weight:800;
  font-size:14px;padding:10px 20px;cursor:pointer;height:38px;flex:0 0 auto}
.try button:hover{background:var(--accent-600)}
.try-out{margin-top:18px;border-left:3px solid var(--accent);padding-left:16px}
.try-out.bad{border-left-color:var(--n-600)}
.try-out .f-t{margin-bottom:8px}
.try-out .f-t code{background:none;padding:0;color:var(--accent-700)}
.try-out pre.code{max-height:26rem}
@media (max-width:860px){.try-row{flex-direction:column;align-items:stretch}
  .try button{width:100%}}

/* ---- документация ---- */
.docs{max-width:var(--wrap);margin:0 auto;padding:32px 32px 80px;
  display:grid;grid-template-columns:252px 1fr 200px;gap:0;align-items:start;
  border-top:2px solid var(--line)}
.docs-nav{position:sticky;top:98px;padding:24px 24px 24px 0;border-right:1px solid var(--line)}
.docs-tabs{display:flex;gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:24px}
.docs-tabs a{flex:1 1 0;min-width:0;text-align:center;font-size:12.5px;
  font-weight:600;padding:9px 4px;background:var(--bg);color:var(--muted);
  text-decoration:none;white-space:nowrap}
.docs-tabs a[aria-current]{background:var(--ink);color:var(--bg)}
.docs-grp{margin-bottom:22px}
.docs-grp .f-t{font-size:10.5px;margin-bottom:10px}
.docs-items{display:flex;flex-direction:column;gap:2px}
.docs-items a{font-size:14px;padding:5px 0 5px 10px;color:var(--muted-2);
  border-left:2px solid var(--line-faint);text-decoration:none}
.docs-items a[aria-current]{color:var(--ink);font-weight:800;border-left-color:var(--accent)}
.article{min-width:0;padding:24px 40px 0}
.article h1{font-size:42px;margin:0 0 16px}
.article-lead{font-size:17.5px;line-height:1.55;color:rgba(32,30,29,.72);
  margin:0 0 36px;text-wrap:pretty}
.blk{margin-bottom:34px}
.blk h2{font-size:25px;margin:0 0 12px;padding-top:12px;border-top:2px solid var(--line)}
.blk p{font-size:15.5px;line-height:1.65;color:rgba(32,30,29,.8);margin:0 0 16px;
  max-width:680px;text-wrap:pretty}
.blk .code-wrap{margin-bottom:0}
.blk pre.code{padding:18px}
.note{border-left:3px solid var(--accent);background:var(--accent-100);padding:16px 18px;
  font-size:14.5px;line-height:1.55;color:var(--accent-800)}
.steps{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.step{display:grid;grid-template-columns:34px 1fr;gap:16px;background:var(--bg);padding:16px 4px}
.step-n{width:30px;height:30px;background:var(--ink);color:var(--bg);display:grid;
  place-items:center;font-weight:800;font-size:13px}
.step-t{font-weight:800;font-size:16px;margin-bottom:4px}
.step-d{font-size:14px;line-height:1.55;color:var(--muted-2)}
.dtable{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.dtr{display:grid;grid-template-columns:.85fr .6fr 1.7fr;gap:14px;padding:13px 14px;background:var(--bg)}
.dtr span:nth-child(1){font-family:var(--mono);font-size:12.5px;color:var(--accent-700)}
.dtr span:nth-child(2){font-family:var(--mono);font-size:12.5px;color:var(--muted-4)}
.dtr span:nth-child(3){font-size:13.5px;color:rgba(32,30,29,.78)}
.dtr2{display:grid;grid-template-columns:.8fr 2fr;gap:14px;padding:13px 14px;background:var(--bg)}
.dtr2 span:first-child{font-weight:800;font-size:14px}
.dtr2 span:last-child{font-size:14px;color:rgba(32,30,29,.78)}
.upd{font-size:13.5px;color:var(--muted-3);padding-top:14px;
  border-top:1px solid var(--line-faint)}
@media (max-width:860px){.dtr2{grid-template-columns:1fr;gap:4px}}
.toc{position:sticky;top:98px;padding:24px 0 0 20px;border-left:1px solid var(--line)}
.toc div{display:flex;flex-direction:column;gap:9px}
.toc a{font-size:13px;color:var(--muted);text-decoration:none}

/* ---- вендорам ---- */
.vsteps{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);
  border:1px solid var(--line);margin-bottom:40px}
.vstep{background:var(--bg);padding:26px 24px}
.vstep-n{font-family:var(--mono);font-size:12px;color:var(--accent-700);margin-bottom:12px}
.vstep-t{font-weight:800;font-size:19px;margin-bottom:8px}
.vstep-d{font-size:14.5px;line-height:1.55;color:var(--muted-2)}
.vreq-h{font-size:26px;margin:0 0 14px;padding-top:14px;border-top:2px solid var(--line)}
.vreqs{display:flex;flex-direction:column;gap:1px;background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:820px}
.vreq{background:var(--bg);display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px}
.vreq b{font-weight:800;font-size:14.5px}
.vreq span{font-size:14px;color:rgba(32,30,29,.72)}

/* ---- подвал ---- */
.ftr{border-top:2px solid var(--line);background:var(--bg)}
.ftr-in{max-width:var(--wrap);margin:0 auto;padding:44px 32px 20px;
  display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px}
.ftr-b{font-weight:800;font-size:18px;margin-bottom:10px;display:flex;align-items:center}
.ftr-d{font-size:14px;line-height:1.55;color:var(--muted);max-width:300px}
.ftr-col .f-t{font-size:10.5px;margin-bottom:14px}
.ftr-col div{display:flex;flex-direction:column;gap:9px}
.ftr-col a{font-size:14px;color:rgba(32,30,29,.78);text-decoration:none}
.ftr-col a:hover{color:var(--accent)}
.ftr-bot{max-width:var(--wrap);margin:0 auto;padding:0 32px 36px;
  display:flex;flex-wrap:wrap;gap:16px;font-size:12.5px;color:var(--muted-3)}

/* Знак с плашкой шире прежнего текстового логотипа, и на промежуточных
   ширинах шапка переносилась на вторую строку. Подпись и поиск убираются
   раньше остального: поиск продублирован на самой странице каталога. */
@media (max-width:1240px){ .logo-sub{display:none} }
/* Ниже 1040px строка всё равно не держится, поэтому действия уводятся на
   вторую строку целиком — это выглядит решением, а не случайным переносом. */
@media (max-width:1040px){
  .hdr-act{flex:1 1 100%;height:auto;order:3}
  .search{width:auto;flex:1 1 auto}
}

/* ---- мобильная раскладка: в макете порог 860px ---- */
@media (max-width:860px){
  .wrap,.hdr-in{padding:12px 18px}
  .hdr-in{gap:12px}
  /* Четыре пункта не помещаются в строку рядом с логотипом и вылезали за
     экран: flex-элемент не сжимается ниже min-content своего содержимого.
     Навигации отдаётся отдельная строка, где она переносится. */
  .nav{flex:1 1 100%;order:2;gap:10px 16px}
  .logo img{height:36px}
  .hdr-sp{display:none}
  .hero{grid-template-columns:1fr}
  .hero-l{padding:34px 0 30px;border-right:0;border-bottom:2px solid var(--line)}
  .hero-r{padding:26px 0 34px}
  h1{font-size:34px}
  h1.page-t,.article h1{font-size:30px}
  .srv-hd h1{font-size:27px}
  .poster h2{font-size:30px}
  .grid3,.two,.cells,.vsteps,.vreq,.ftr-in{grid-template-columns:1fr}
  .specs{grid-template-columns:1fr 1fr}
  /* Нечётное число характеристик оставляло серую пустую ячейку. */
  .spec:last-child:nth-child(odd){grid-column:1/-1}
  .sec-two{padding:32px 18px 36px;gap:26px}
  .poster-in{padding:40px 18px;grid-template-columns:1fr;gap:26px}
  .page,.docs{padding:22px 18px 56px}
  .catalog,.docs{grid-template-columns:1fr}
  .filters,.docs-nav,.srv-aside,.toc{position:static}
  .filters,.docs-nav{padding:20px 0 22px;border-right:0;border-bottom:2px solid var(--line)}
  .results{padding:22px 0 0}
  .row{grid-template-columns:44px 1fr;gap:14px}
  .row-side{border-left:0;border-top:1px solid var(--line-soft);
    padding-left:0;padding-top:14px;grid-column:1 / -1}
  .srv-hd,.srv-body{grid-template-columns:1fr}
  .srv-main{padding:26px 0 0;border-right:0}
  .srv-aside{padding:30px 0 0}
  .tool-row{grid-template-columns:1fr}
  .tool-k{text-align:left}
  .article{padding:24px 0 0}
  .toc{display:none}
  .ftr-in{padding:32px 18px 16px}
  .ftr-bot{padding:0 18px 28px}
}
