
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/nunito-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/nunito-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/nunito-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/nunito-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/nunito-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/nunito-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/nunito-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/nunito-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/nunito-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/nunito-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/nunito-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/nunito-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/nunito-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/nunito-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/nunito-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/nunito-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jbmono-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jbmono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jbmono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jbmono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* «Брус, web 2.0» — тёплая палитра клееного бруса и пластика конца нулевых:
   скругления, глянец, мягкие тени, крупные дружелюбные заголовки.
   Древесных текстур и досок нет: тепло делается цветом и светом. */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0}
img{max-width:100%;height:auto}

:root{
  color-scheme: light dark;

  /* фон — тёплый овсяный, с мягким градиентом вместо фактуры */
  --bg:#F7EFE0;
  --bg-2:#EFE3CE;
  --surface:#FFFDF8;
  --surface-2:#FBF4E7;

  --ink:#3A2A1B;
  --ink-2:#5E4936;
  --muted:#8B7660;

  --line:#E3D3B8;
  --line-soft:#EFE3CE;

  /* мёд клееного бруса — главный акцент */
  --honey:#C8892B;
  --honey-lt:#E8B45C;
  --honey-dk:#A96F1C;
  --honey-wash:#FBEFD8;
  --on-honey:#FFFFFF;

  /* верхняя полоса — свои токены: в тёмной теме медовый градиент слепит */
  --strip-a:#E8B45C; --strip-b:#C8892B; --strip-fg:#FFFFFF;
  --strip-sh:rgba(120,80,20,.35);

  --pos:#5E8C3A;
  --pos-wash:#EDF3E2;
  --neg:#B5502F;
  --neg-wash:#FAEAE3;

  --metric:#A9761C;

  --f-ui:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,"SFMono-Regular",Consolas,monospace;

  --shell:1140px;
  --measure:66ch;
  --r:14px;
  --r-sm:10px;

  --sh-1:0 1px 2px rgba(74,52,28,.08), 0 2px 8px rgba(74,52,28,.06);
  --sh-2:0 2px 4px rgba(74,52,28,.10), 0 8px 22px rgba(74,52,28,.10);
  --press:inset 0 1px 0 rgba(255,255,255,.6);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#1E1710; --bg-2:#171109;
    --surface:#2A2117; --surface-2:#241C13;
    --ink:#F2E7D6; --ink-2:#D3C2A9; --muted:#A08F79;
    --line:#3D3122; --line-soft:#332818;
    --honey:#E8B45C; --honey-lt:#F3CC8B; --honey-dk:#C8892B;
    --honey-wash:#33270F; --on-honey:#2A1D09;
    --pos:#8FBF63; --pos-wash:#212A17; --neg:#E08A66; --neg-wash:#2E1D16;
    --strip-a:#3A2C15; --strip-b:#2C2010; --strip-fg:#E8B45C;
    --strip-sh:rgba(0,0,0,.5);
    --metric:#E8B45C;
    --sh-1:0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
    --sh-2:0 2px 4px rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.4);
    --press:inset 0 1px 0 rgba(255,255,255,.08);
  }
}
:root[data-theme="dark"]{
  --bg:#1E1710; --bg-2:#171109; --surface:#2A2117; --surface-2:#241C13;
  --ink:#F2E7D6; --ink-2:#D3C2A9; --muted:#A08F79;
  --line:#3D3122; --line-soft:#332818;
  --honey:#E8B45C; --honey-lt:#F3CC8B; --honey-dk:#C8892B;
  --honey-wash:#33270F; --on-honey:#2A1D09;
  --pos:#8FBF63; --pos-wash:#212A17; --neg:#E08A66; --neg-wash:#2E1D16;
  --metric:#E8B45C;
  --strip-a:#3A2C15; --strip-b:#2C2010; --strip-fg:#E8B45C;
  --strip-sh:rgba(0,0,0,.5);
}
:root[data-theme="light"]{
  --bg:#F7EFE0; --bg-2:#EFE3CE; --surface:#FFFDF8; --surface-2:#FBF4E7;
  --ink:#3A2A1B; --ink-2:#5E4936; --muted:#8B7660;
  --line:#E3D3B8; --line-soft:#EFE3CE;
  --honey:#C8892B; --honey-lt:#E8B45C; --honey-dk:#A96F1C;
  --honey-wash:#FBEFD8; --on-honey:#FFFFFF;
  --pos:#5E8C3A; --pos-wash:#EDF3E2; --neg:#B5502F; --neg-wash:#FAEAE3;
  --metric:#A9761C;
  --strip-a:#E8B45C; --strip-b:#C8892B; --strip-fg:#FFFFFF;
  --strip-sh:rgba(120,80,20,.35);
}

body{
  font-family:var(--f-ui);
  font-size:17px;
  line-height:1.62;
  color:var(--ink);
  background:var(--bg);
  background-image:
    radial-gradient(900px 420px at 50% -140px, rgba(232,180,92,.30), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment:scroll, fixed;
}

.shell{max-width:var(--shell);margin:0 auto;padding:0 22px}

a{color:var(--honey-dk);text-underline-offset:2px}
a:hover{color:var(--honey)}
:focus-visible{outline:3px solid var(--honey);outline-offset:2px;border-radius:4px}

h1,h2,h3{font-weight:800;line-height:1.16;letter-spacing:-.02em;margin:0}
h1{font-size:clamp(2rem,1.4rem + 2.6vw,3.1rem);text-shadow:0 1px 0 rgba(255,255,255,.7)}
h2{font-size:1.32rem;letter-spacing:-.01em}
h3{font-size:1.05rem}
@media (prefers-color-scheme: dark){h1{text-shadow:0 1px 0 rgba(0,0,0,.5)}}

p{margin:0 0 1em}
.prose p:last-child{margin-bottom:0}
.prose{max-width:var(--measure)}
.prose a{font-weight:600}

/* --- верхняя полоса -------------------------------------------------------- */
.strip{
  background:linear-gradient(180deg,var(--strip-a),var(--strip-b));
  color:var(--strip-fg);
  box-shadow:var(--press), 0 2px 6px var(--strip-sh);
}
.strip .shell{display:flex;justify-content:space-between;gap:16px;
  padding-top:7px;padding-bottom:7px}
.strip p{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.02em;
  text-shadow:0 1px 0 var(--strip-sh)}
.strip-end{opacity:.9;font-weight:600}
@media (max-width:640px){.strip-end{display:none}}

/* --- шапка ----------------------------------------------------------------- */
.masthead{background:var(--surface);border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 3px 10px rgba(74,52,28,.06)}
.masthead .shell{display:flex;align-items:center;gap:18px;
  padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}
.brand svg{flex:none;color:var(--honey)}
.brand-name{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 10px;
  font-weight:800;font-size:1.16rem;letter-spacing:-.02em;line-height:1.2}
.brand-sub{font-size:.66rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin:0}

.mainnav{margin-left:auto}
.mainnav ul{display:flex;flex-wrap:wrap;gap:4px;list-style:none;margin:0;padding:0}
.mainnav a{display:block;padding:7px 14px;border-radius:999px;
  font-size:.88rem;font-weight:700;color:var(--ink-2);text-decoration:none}
.mainnav a:hover{background:var(--honey-wash);color:var(--honey-dk)}
.mainnav a[aria-current=page]{
  background:linear-gradient(180deg,var(--honey-lt),var(--honey));
  color:var(--on-honey);box-shadow:var(--press),0 1px 3px rgba(120,80,20,.3)}

@media (max-width:860px){
  .masthead .shell{flex-wrap:wrap}
  .mainnav{margin-left:0;width:100%;overflow-x:auto}
  .mainnav ul{flex-wrap:nowrap}
  .mainnav a{white-space:nowrap}
}

/* --- вкладки технологий ---------------------------------------------------- */
.tabs{background:var(--surface-2);border-bottom:1px solid var(--line)}
.tabs .shell{display:flex;gap:6px;overflow-x:auto;padding-top:9px}
.tabs a{white-space:nowrap;padding:9px 16px 10px;border-radius:12px 12px 0 0;
  font-size:.87rem;font-weight:700;text-decoration:none;color:var(--ink-2);
  border:1px solid transparent;border-bottom:0}
.tabs a:hover{background:var(--honey-wash);color:var(--honey-dk)}
.tabs a[aria-current=page]{
  background:var(--bg);color:var(--honey-dk);
  border-color:var(--line);margin-bottom:-1px;padding-bottom:11px;
  box-shadow:0 -2px 6px rgba(74,52,28,.06)}

/* --- вводный блок ---------------------------------------------------------- */
.crumbs{font-size:.82rem;color:var(--muted);padding:20px 0 0;font-weight:600}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--honey-dk);text-decoration:underline}
.crumbs span{padding:0 .45em;opacity:.55}

.lede{padding:26px 0 30px}
.lede h1{max-width:20ch}
.lede-sub{max-width:var(--measure);color:var(--ink-2);margin-top:14px;font-size:1.06rem}

/* --- секции ---------------------------------------------------------------- */
.blk{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-1);padding:24px;margin:18px 0;display:grid;gap:14px;
}
@media (min-width:1000px){
  .blk{grid-template-columns:230px minmax(0,1fr);gap:0 40px;padding:28px 30px}
}
.blk-side h2{margin-top:5px}
.blk-side p{font-size:.86rem;color:var(--muted);margin-top:9px}
.tag{display:inline-block;font-size:.66rem;font-weight:800;letter-spacing:.13em;
  text-transform:uppercase;color:var(--honey-dk);background:var(--honey-wash);
  border-radius:999px;padding:3px 10px}

/* --- таблица рейтинга ------------------------------------------------------ */
.t-wrap{background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh-2);overflow-x:auto}
.t{width:100%;border-collapse:collapse;min-width:600px}
.t th{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  color:var(--muted);text-align:left;padding:14px 14px;
  background:var(--surface-2);border-bottom:1px solid var(--line)}
.t th:first-child{border-top-left-radius:var(--r)}
.t th:last-child{border-top-right-radius:var(--r)}
.t td{padding:13px 14px;border-bottom:1px solid var(--line-soft);vertical-align:middle}
.t tbody tr:last-child td{border-bottom:0}
.t tbody tr:hover{background:var(--honey-wash)}

.t-rank{width:3.2em}
.t-rank span{display:inline-flex;align-items:center;justify-content:center;
  width:27px;height:27px;border-radius:50%;font-family:var(--f-mono);
  font-size:.78rem;font-weight:600;color:var(--ink-2);
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  border:1px solid var(--line);box-shadow:var(--press)}
.t tbody tr:nth-child(-n+3) .t-rank span{
  background:linear-gradient(180deg,var(--honey-lt),var(--honey));
  color:var(--on-honey);border-color:var(--honey-dk);
  box-shadow:var(--press),0 1px 3px rgba(120,80,20,.3)}

.t-name a{font-weight:800;font-size:1.02rem;text-decoration:none;color:var(--ink)}
.t-name a:hover{color:var(--honey-dk);text-decoration:underline}
.t-tech{display:block;font-size:.79rem;color:var(--muted);margin-top:1px}
.t-score,.t-num{text-align:right;font-family:var(--f-mono);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.t-score{color:var(--metric);font-weight:600;font-size:1.05rem}
.t-num{color:var(--ink-2);font-size:.87rem}
.t-dash{color:var(--muted)}
th.t-score,th.t-num{text-align:right}
.t-note{max-width:var(--measure);margin:12px 0 0;font-size:.83rem;color:var(--muted)}

/* --- сводная оценка -------------------------------------------------------- */
.verdict{display:flex;align-items:center;gap:8px 26px;flex-wrap:wrap;
  background:linear-gradient(180deg,var(--honey-wash),var(--surface));
  border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-1),var(--press);padding:20px 24px;margin-top:20px}
.verdict-num{font-family:var(--f-mono);font-size:3.2rem;font-weight:600;
  line-height:1;color:var(--metric);margin:0;display:flex;align-items:baseline;
  gap:6px;
  text-shadow:0 1px 0 rgba(255,255,255,.8)}
.verdict-num small{font-size:1rem;color:var(--muted);font-weight:400}
.verdict-note{margin:0;font-size:.9rem;color:var(--ink-2);max-width:52ch}
@media (prefers-color-scheme: dark){
  .verdict-num{text-shadow:0 1px 0 rgba(0,0,0,.5)}
}

/* --- реквизиты ------------------------------------------------------------- */
.facts{display:grid;gap:0;margin:20px 0 0;padding:0}
@media (min-width:700px){
  .facts{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));
    column-gap:40px}
}
.facts>div{display:flex;justify-content:space-between;gap:16px;
  padding:10px 0;border-bottom:1px solid var(--line-soft)}
.facts dt{font-size:.84rem;color:var(--muted);font-weight:600}
.facts dd{margin:0;font-size:.9rem;text-align:right;font-weight:600}

/* --- шкалы оценок ---------------------------------------------------------- */
.meters{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.meter-top{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.meter-name{font-weight:700;text-decoration:none}
.meter-val{font-family:var(--f-mono);font-size:1.1rem;font-weight:600;color:var(--metric)}
.meter-scale{position:relative;height:14px;margin:8px 0 6px;border-radius:999px;
  background:var(--surface-2);border:1px solid var(--line);
  box-shadow:inset 0 1px 3px rgba(74,52,28,.14);overflow:hidden}
.meter-scale i{display:block;height:100%;width:var(--v);border-radius:999px;
  background:linear-gradient(180deg,var(--honey-lt),var(--honey));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);transform-origin:left}
.meter-foot{margin:0;font-size:.79rem;color:var(--muted)}
@media (prefers-reduced-motion: no-preference){
  .meter-scale i{animation:fill .8s cubic-bezier(.2,.8,.3,1) both}
  @keyframes fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}

/* --- цитаты ---------------------------------------------------------------- */
.quote{margin:0 0 14px;background:var(--surface-2);border:1px solid var(--line-soft);
  border-left:4px solid var(--pos);border-radius:var(--r-sm);padding:16px 18px;
  box-shadow:var(--sh-1)}
.quote--neg{border-left-color:var(--neg)}
.quote blockquote{margin:0}
.quote blockquote p{margin:0;font-size:.98rem}
.quote figcaption{margin-top:11px;display:flex;flex-wrap:wrap;align-items:center;
  gap:9px;font-size:.79rem;color:var(--muted)}
.pol{display:inline-block;font-size:.64rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;padding:3px 9px;border-radius:999px;
  color:var(--pos);background:var(--pos-wash)}
.pol--neg{color:var(--neg);background:var(--neg-wash)}
.quote-src a{font-weight:700}

/* --- карточки «рядом» ------------------------------------------------------ */
.cards{display:grid;gap:12px;list-style:none;margin:0;padding:0}
@media (min-width:620px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--surface-2);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:15px 17px;box-shadow:var(--sh-1),var(--press);
  transition:transform .15s ease, box-shadow .15s ease}
.card:hover{transform:translateY(-2px);box-shadow:var(--sh-2),var(--press)}
.card a{display:block;font-weight:800;text-decoration:none;color:var(--ink)}
.card a:hover{color:var(--honey-dk)}
.card-score{display:block;font-family:var(--f-mono);font-size:1.5rem;font-weight:600;
  color:var(--metric);margin-top:7px;font-variant-numeric:tabular-nums}
.card-foot{display:block;font-size:.78rem;color:var(--muted)}

/* --- выноски и списки ------------------------------------------------------ */
.callout{background:linear-gradient(180deg,var(--honey-wash),var(--surface));
  border:1px solid var(--line);border-left:4px solid var(--honey);
  border-radius:var(--r-sm);padding:16px 18px;margin:18px 0;box-shadow:var(--sh-1)}
.callout p:last-child{margin-bottom:0}
.checklist{margin:0;padding-left:1.15em}
.checklist li{margin-bottom:.35em}

/* --- кнопки ---------------------------------------------------------------- */
.btn{display:inline-block;padding:11px 22px;border-radius:999px;font-weight:800;
  font-size:.94rem;text-decoration:none;cursor:pointer;
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  color:var(--ink);border:1px solid var(--line);
  box-shadow:var(--press),var(--sh-1)}
.btn:hover{background:var(--honey-wash);color:var(--honey-dk)}
.btn--solid{background:linear-gradient(180deg,var(--honey-lt),var(--honey));
  color:var(--on-honey);border-color:var(--honey-dk);
  box-shadow:var(--press),0 2px 0 var(--honey-dk),0 5px 14px rgba(120,80,20,.28)}
.btn--solid:hover{background:linear-gradient(180deg,#F0C273,var(--honey-lt));
  color:var(--on-honey)}
.btn--solid:active{transform:translateY(1px);
  box-shadow:var(--press),0 1px 0 var(--honey-dk)}

/* --- подвал ---------------------------------------------------------------- */
.foot{margin-top:44px;background:var(--surface);border-top:1px solid var(--line);
  box-shadow:0 -2px 10px rgba(74,52,28,.05)}
.foot .shell{padding-top:26px;padding-bottom:34px}
.foot-name{font-weight:800;margin:0}
.foot-nav{display:flex;flex-wrap:wrap;gap:6px 20px;list-style:none;
  margin:12px 0 0;padding:0;font-size:.86rem;font-weight:700}
.foot-nav a{text-decoration:none}
.foot-nav a:hover{text-decoration:underline}
.foot-note{max-width:var(--measure);margin-top:16px;font-size:.84rem;color:var(--muted)}

/* --- форма (страница ответа) ----------------------------------------------- */
.reply{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-2);padding:28px;margin:28px 0}

/* --- иллюстрации ----------------------------------------------------------- */
.hero{display:grid;gap:18px;align-items:center}
@media (min-width:900px){
  .hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px}
}
.hero-side{display:flex;justify-content:center}
.hero-art{width:100%;max-width:460px;height:auto}
.hero-side--art{
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-1),var(--press);padding:14px}
.cat-art{width:100%;max-width:340px;height:auto}
@media (max-width:899px){
  .hero-art{max-width:340px}
  .hero-side{order:-1}
}

/* --- логотип компании ------------------------------------------------------ */
/* Текст слева, логотип справа во всю высоту заголовочного блока. */
.titlebar{display:flex;align-items:stretch;justify-content:space-between;
  gap:24px;flex-wrap:wrap}
.titlebar h1{flex:1 1 14ch;min-width:0;align-self:center}

.logo{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;
  justify-content:flex-end;min-height:104px;max-height:150px}
/* Монограмма — квадрат по высоте блока. aspect-ratio на самой коробке:
   у svg с height:100% ширина зависела от родителя, а родителя — от svg. */
.logo:not(.logo--real){aspect-ratio:1;max-height:124px}
.logo svg{display:block;height:100%;width:100%;
  border-radius:22px;box-shadow:var(--sh-2)}
/* Настоящий логотип: коробка задаёт ширину, картинка вписывается внутрь.
   Без фиксированной ширины img вылезал за правый край блока. */
.logo--real{width:clamp(180px,22vw,272px)}
.logo--real img{display:block;width:100%;height:100%;object-fit:contain;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:12px 18px;box-shadow:var(--sh-1)}

@media (max-width:620px){
  .titlebar{gap:16px}
  .titlebar h1{flex:1 1 100%}
  .logo{min-height:72px;max-height:104px;justify-content:flex-start}
  .logo svg{border-radius:18px}
  .logo--real{width:clamp(150px,52vw,220px)}
  .logo--real img{padding:9px 13px}
}

/* --- форма отзыва ---------------------------------------------------------- */
.form{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-1);padding:24px;margin:18px 0;max-width:720px}
.field{margin-bottom:18px}
.field-row{display:grid;gap:0 18px}
@media (min-width:620px){.field-row{grid-template-columns:1fr 1fr}}
.field label{display:block;font-weight:700;font-size:.92rem;margin-bottom:6px}
.field input,.field textarea{width:100%;font:inherit;font-size:.96rem;
  color:var(--ink);background:var(--surface-2);
  border:1px solid var(--line);border-radius:var(--r-sm);padding:11px 13px;
  box-shadow:inset 0 1px 3px rgba(74,52,28,.08)}
.field textarea{resize:vertical;min-height:150px}
.field input:focus,.field textarea:focus{outline:3px solid var(--honey);
  outline-offset:1px;border-color:var(--honey-dk)}
.hint{margin:6px 0 0;font-size:.8rem;color:var(--muted)}
.rating{display:flex;gap:8px;flex-wrap:wrap}
.rating label{display:inline-flex;align-items:center;gap:7px;margin:0;
  background:var(--surface-2);border:1px solid var(--line);border-radius:999px;
  padding:8px 16px;cursor:pointer;font-family:var(--f-mono);font-weight:600}
.rating label:hover{background:var(--honey-wash);border-color:var(--honey)}
.rating input{accent-color:var(--honey-dk);margin:0}
.rating label:has(input:checked){
  background:linear-gradient(180deg,var(--honey-lt),var(--honey));
  color:var(--on-honey);border-color:var(--honey-dk);box-shadow:var(--press)}
.form button{border:0;font-family:inherit}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* выноска под формой — по ширине формы, иначе блоки не совпадают */
.form + .callout{max-width:720px}
