
@font-face{font-family:'Gabarito';src:url('/assets/fonts/gabarito-var.woff2')format('woff2-variations');
  font-weight:400 900;font-display:swap;font-style:normal}
@font-face{font-family:'Garamond';src:url('/assets/fonts/garamond-var.woff2')format('woff2-variations');
  font-weight:400 800;font-display:swap;font-style:normal}
@font-face{font-family:'Garamond';src:url('/assets/fonts/garamond-var-italic.woff2')format('woff2-variations');
  font-weight:400 800;font-display:swap;font-style:italic}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#faf9f6;color:#3d3a33;
  font:400 19px/1.68 'Garamond',Georgia,serif}
img{max-width:100%;height:auto}
a{color:#7a3b12;text-underline-offset:3px}
a:hover{color:#5a2a0c}
:focus-visible{outline:3px solid #7a3b12;outline-offset:3px}

.th-skip{position:absolute;left:-9999px}
.th-skip:focus{left:8px;top:8px;z-index:9;background:#1a1813;color:#fff;
  padding:10px 15px;font-family:'Gabarito',sans-serif;font-size:14px}

/* Боковые отступы задаются ТОЛЬКО здесь. Секционные классы ниже обязаны
   использовать padding-top/padding-bottom, а не сокращённую запись: при
   равной специфичности shorthand обнулит боковые отступы и на мобильном
   текст пойдёт от края до края. Эта ошибка уже случалась в ledger. */
.th-col{max-width:680px;margin:0 auto;padding:0 22px}
.th-wide{max-width:1030px;margin:0 auto;padding:0 22px}

/* --- шапка --- */
.th-bar{border-bottom:1px solid #d7d3c9;background:#ffffff}
.th-bar__in{max-width:1030px;margin:0 auto;padding:14px 22px;display:flex;
  flex-wrap:wrap;gap:9px 24px;align-items:baseline;justify-content:space-between}
.th-mark{font-family:'Gabarito',sans-serif;font-weight:800;font-size:17px;
  letter-spacing:-.02em;color:#1a1813;text-decoration:none}
.th-mark:hover{color:#7a3b12}
.th-nav{display:flex;flex-wrap:wrap;gap:4px 16px;font-family:'Gabarito',sans-serif;
  font-size:14px;font-weight:500}
.th-nav a{color:#605c52;text-decoration:none;padding:2px 0;
  border-bottom:2px solid transparent}
.th-nav a:hover{color:#1a1813;border-bottom-color:#d7d3c9}
.th-nav a[aria-current]{color:#1a1813;border-bottom-color:#7a3b12}

/* --- начало главной --- */
.th-open{padding-top:56px;padding-bottom:44px}
.th-open h1{font-family:'Gabarito',sans-serif;font-weight:800;
  font-size:clamp(29px,4.3vw,45px);line-height:1.12;letter-spacing:-.028em;
  color:#1a1813;margin:0 0 20px;max-width:21ch}
.th-open__d{font-size:20px;line-height:1.6;color:#605c52;margin:0;max-width:56ch}
.th-open__go{margin:30px 0 0;display:flex;flex-wrap:wrap;gap:12px}
.th-open__go a{font-family:'Gabarito',sans-serif;font-weight:700;font-size:14.5px;
  text-decoration:none;padding:12px 20px;border:2px solid #7a3b12;color:#7a3b12}
.th-open__go a:first-child{background:#7a3b12;color:#fff}
.th-open__go a:hover{background:#5a2a0c;border-color:#5a2a0c;color:#fff}

/* --- УКАЗАТЕЛЬ-СЧЁТ ---------------------------------------------------
   Раздел и счёт держатся в узкой левой колонке, материалы текут справа.
   Одна сплошная таблица вместо череды блоков. Это раскладка, а не
   диаграмма: она ничего не утверждает о величинах.                     */
.th-book{border-top:1px solid #d7d3c9;background:#ffffff;
  padding-top:48px;padding-bottom:56px}
.th-book__hd{max-width:62ch;margin:0 0 36px}
.th-book__hd h2{font-family:'Gabarito',sans-serif;font-weight:800;font-size:23px;
  line-height:1.26;letter-spacing:-.026em;color:#1a1813;margin:0 0 10px}
.th-book__hd p{margin:0;color:#605c52;font-size:18px;line-height:1.6}

.th-line{display:grid;grid-template-columns:210px 1fr;gap:0 34px;
  padding:18px 0;border-top:1px solid #e9e6de;align-items:start}
.th-line:first-of-type{border-top:2px solid #1a1813}
.th-line:last-of-type{border-bottom:2px solid #1a1813}
.th-ref{min-width:0}
.th-ref h3{font-family:'Gabarito',sans-serif;font-weight:800;font-size:17px;
  letter-spacing:-.02em;color:#1a1813;margin:0 0 4px;line-height:1.25}
.th-ref h3 a{color:#1a1813;text-decoration:none}
.th-ref h3 a:hover{color:#7a3b12;text-decoration:underline}
.th-ref__n{font-family:'Gabarito',sans-serif;font-size:12px;font-weight:600;
  letter-spacing:.04em;text-transform:uppercase;color:#8e8a80;margin:0 0 8px}
.th-ref__d{font-size:15.5px;line-height:1.5;color:#605c52;margin:0}
.th-entries{list-style:none;margin:0;padding:0;min-width:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0 30px}
.th-entry{padding:5px 0;border-bottom:1px solid #e9e6de}
.th-entry:last-child{border-bottom:0}
.th-entry a{display:block;text-decoration:none;color:#1a1813;
  font-size:17px;line-height:1.36}
.th-entry a:hover{color:#7a3b12;text-decoration:underline}

@media(max-width:680px){
  .th-line{grid-template-columns:1fr;gap:12px 0}
  .th-ref__d{display:none}
}

/* --- вводный текст --- */
.th-note{padding-top:44px;padding-bottom:52px}
.th-note p{margin:0 0 20px}
.th-note h2{font-family:'Gabarito',sans-serif;font-weight:800;font-size:21px;
  line-height:1.3;letter-spacing:-.022em;color:#1a1813;margin:36px 0 13px;
  padding-top:15px;border-top:1px solid #d7d3c9}
.th-note h2:first-child{margin-top:0}
.th-note ul,.th-note ol{margin:0 0 20px;padding-left:22px}
.th-note li{margin:0 0 8px}

/* --- страница материала --- */
.th-doc{padding-top:38px;padding-bottom:62px}
.th-path{font-family:'Gabarito',sans-serif;font-size:13.5px;font-weight:500;
  color:#605c52;margin:0 0 20px}
.th-path a{color:#605c52;text-decoration:none}
.th-path a:hover{color:#7a3b12;text-decoration:underline}
.th-h1{font-family:'Gabarito',sans-serif;font-weight:800;
  font-size:clamp(27px,4vw,38px);line-height:1.13;letter-spacing:-.028em;
  color:#1a1813;margin:0 0 18px}
.th-sum{font-size:20px;line-height:1.58;color:#605c52;margin:0 0 14px}
.th-kind{font-family:'Gabarito',sans-serif;font-size:12px;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:#8e8a80;
  margin:0 0 30px;padding-bottom:14px;border-bottom:2px solid #7a3b12}

.th-text p{margin:0 0 20px}
.th-text h2{font-family:'Gabarito',sans-serif;font-weight:800;
  font-size:clamp(20px,2.6vw,24px);line-height:1.28;letter-spacing:-.024em;
  color:#1a1813;margin:40px 0 14px;padding-top:14px;
  border-top:1px solid #d7d3c9}
.th-text h3{font-family:'Gabarito',sans-serif;font-weight:700;font-size:17px;
  color:#1a1813;margin:26px 0 9px}
.th-text ul,.th-text ol{margin:0 0 20px;padding-left:22px}
.th-text li{margin:0 0 8px}
.th-text strong{font-weight:700;color:#1a1813}
.th-text em{font-style:italic}
.th-text blockquote{margin:0 0 20px;padding:2px 0 2px 18px;
  border-left:3px solid #7a3b12;color:#605c52}
.th-text code{font-family:'Gabarito',ui-monospace,monospace;font-size:.88em;
  background:#f2f0ea;padding:1px 5px}

/* --- подвал материала --- */
.th-more{margin:44px 0 0;padding-top:20px;border-top:2px solid #1a1813}
.th-more__t{font-family:'Gabarito',sans-serif;font-weight:800;font-size:13.5px;
  color:#1a1813;margin:0 0 11px}
.th-more ul{list-style:none;margin:0;padding:0}
.th-more li{margin:0 0 9px;line-height:1.42}
.th-more li a{color:#3d3a33;text-decoration:none;font-size:17px}
.th-more li a:hover{color:#7a3b12;text-decoration:underline}

/* --- страница раздела --- */
.th-hub{padding-top:38px;padding-bottom:52px}
.th-count{font-family:'Gabarito',sans-serif;font-size:12.5px;font-weight:600;
  color:#605c52;margin:0 0 26px;padding-bottom:13px;
  border-bottom:2px solid #7a3b12}
.th-row{margin:0 0 26px;padding-bottom:22px;border-bottom:1px solid #e9e6de}
.th-row:last-child{border-bottom:0}
.th-row h2{font-family:'Gabarito',sans-serif;font-weight:700;font-size:20px;
  line-height:1.28;letter-spacing:-.022em;margin:0 0 8px}
.th-row h2 a{color:#1a1813;text-decoration:none}
.th-row h2 a:hover{color:#7a3b12}
.th-row p{margin:0 0 7px;font-size:17.5px;line-height:1.58}
.th-row__k{font-family:'Gabarito',sans-serif;font-size:12px;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:#8e8a80;margin:0}

/* --- подвал --- */
.th-foot{border-top:1px solid #d7d3c9;background:#f2f0ea;
  padding-top:36px;padding-bottom:42px;margin-top:8px}
.th-foot__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:24px 30px}
.th-foot__t{font-family:'Gabarito',sans-serif;font-weight:800;font-size:12.5px;
  color:#1a1813;margin:0 0 9px}
.th-foot ul{list-style:none;margin:0;padding:0}
.th-foot li{margin:0 0 6px}
.th-foot li a{font-family:'Gabarito',sans-serif;font-size:14px;color:#605c52;
  text-decoration:none}
.th-foot li a:hover{color:#7a3b12;text-decoration:underline}
.th-foot__note{font-family:'Gabarito',sans-serif;font-size:13px;line-height:1.65;
  color:#8e8a80;margin:26px 0 0;padding-top:16px;
  border-top:1px solid #d7d3c9;max-width:80ch}

@media(prefers-reduced-motion:reduce){*{transition:none!important}}


/* independent software comparisons */
.cmp-article{max-width:850px}.cmp-note{margin:28px 0;padding:18px 20px;background:#f2f0ea;border-left:4px solid #7a3b12}
.cmp-table-wrap{overflow-x:auto;margin:0 0 34px}.cmp-table{width:100%;border-collapse:collapse;font-family:'Gabarito',sans-serif;font-size:14px;line-height:1.45}
.cmp-table th,.cmp-table td{text-align:left;vertical-align:top;padding:12px 10px;border-bottom:1px solid #d7d3c9}.cmp-table th{color:#1a1a19;background:#f2f0ea;font-weight:700}.cmp-table td:first-child{width:54px;color:#5e5e5a}
.cmp-card{position:relative;margin:0 0 40px;padding:0 0 27px;border-bottom:1px solid #d7d3c9}.cmp-card .cmp-rank{font:700 12px/1 'Gabarito',sans-serif;letter-spacing:.12em;color:#8d8d88;margin:0 0 -31px;text-align:right}
.cmp-home{border-top:1px solid #d7d3c9;background:#fff;padding:48px 0 56px}.cmp-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cmp-home-grid article{padding:20px;border:1px solid #d7d3c9;background:#faf9f6}.cmp-home-grid h3{font:700 18px/1.3 'Gabarito',sans-serif;margin:0 0 10px}.cmp-home-grid p{font-size:17px;line-height:1.5;margin:0}.cmp-home-note{max-width:70ch;margin:28px 0 0}
@media(max-width:760px){.cmp-home-grid{grid-template-columns:1fr}.cmp-table{min-width:700px}}
