@font-face { font-family: "Inter"; src: url("../fonts/inter-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #060a13;
  --paper: #ffffff;
  --mist: #f8fafc;
  --line: #e2e8f0;
  --blue: #026fd7;
  --gold: #8a6d2f;
  --night: #000000;
  --snow: #fcfcfc;
  --snow-80: rgba(252, 252, 252, .8);
  --snow-60: rgba(252, 252, 252, .6);
  --head: "Onest", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sheet: 976px;
  --wide: 1232px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/24px var(--text); color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); margin: 0; }
p { margin: 0 0 16px; }
b, strong { font-weight: 700; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 8px 16px; background: var(--blue); color: #fff; border-radius: 4px; }
.skip:focus { top: 8px; }

.btn { display: inline-block; padding: 8px 16px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font: 600 14px/21px var(--text); letter-spacing: -.35px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #015fb8; }
.btn--lg { padding: 12px 24px; font-size: 15px; }

.hdr { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr__row { max-width: var(--wide); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.brand__name { font: 800 18px/22px var(--head); letter-spacing: -.3px; }
.brand__sub { font: 600 11px/15px var(--text); letter-spacing: .4px; text-transform: uppercase; color: #475163; }
.hdr .btn { flex: none; }

.hero { background: var(--night); color: var(--snow); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -20%; top: -10%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(2, 111, 215, .35), transparent); pointer-events: none; }
.hero__in { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; padding: 40px 16px 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 700 11px/16.5px var(--text); letter-spacing: 2.64px; text-transform: uppercase; color: var(--snow-80); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--blue); }
.hero h1 { max-width: 820px; font-size: 36px; line-height: 1.06; font-weight: 800; letter-spacing: -.9px; color: var(--snow); }
.hero h1 span { color: #2f8cec; }
.hero__lead { max-width: 640px; margin: 20px 0 0; font-size: 18px; line-height: 29.25px; color: var(--snow-80); }
.stats { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; max-width: 760px; }
.stats li { padding-left: 16px; border-left: 2px solid var(--blue); font: 600 11px/16.5px var(--text); letter-spacing: 1.76px; text-transform: uppercase; color: var(--snow-60); }
.stats b { display: block; font: 800 30px/36px var(--head); letter-spacing: 0; color: var(--snow); text-transform: none; }
.hero__note { max-width: 640px; font-size: 15px; line-height: 24px; color: var(--snow-80); }
.hero .btn { margin-top: 8px; }

.pills { border-top: 1px solid var(--line); }
.pills ul { position: relative; list-style: none; margin: 0 auto; max-width: var(--wide); padding: 8px 16px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.pills ul::-webkit-scrollbar { display: none; }
.pills a { display: block; white-space: nowrap; padding: 6px 14px; border: 1px solid var(--line); border-radius: 9999px; background: var(--paper); color: rgba(6, 10, 19, .8); font: 600 14px/20px var(--text); text-decoration: none; }
.pills a:hover { border-color: var(--ink); color: var(--ink); }
.pills a[aria-current] { background: var(--night); border-color: var(--night); color: var(--snow); }

.page { background: var(--mist); padding: 24px 0 48px; }
.sheet { max-width: var(--sheet); margin: 0 auto; background: var(--paper); border-block: 1px solid var(--line); padding: 32px 16px; font-size: 17px; line-height: 29.75px; }
.sheet h2 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.24px; margin-bottom: 16px; }
.sheet h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.2px; margin: 28px 0 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.small { font-size: 14px; line-height: 22px; color: #475163; }
.callout { padding: 16px 20px; border-left: 2px solid var(--blue); background: var(--mist); }
.callout--warn { border-color: var(--gold); }
.callout strong { color: var(--blue); }
.callout--warn strong { color: var(--gold); }

.kpis { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kpis li { padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.kpis p { margin: 0; font-size: 16px; line-height: 26px; }
.kpi__num { font: 800 36px/40px var(--head) !important; color: var(--blue); margin-bottom: 10px !important; }
.kpi__num--text { font-size: 22px !important; line-height: 28px !important; }

.tbl-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.tbl-wrap:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > *, tfoot tr:last-child > * { border-bottom: 0; }
thead th { font: 600 11px/16.5px var(--text); letter-spacing: 1.2px; text-transform: uppercase; color: #475163; background: var(--mist); white-space: nowrap; }
tbody th { font-weight: 600; }
.tbl--small { font-size: 14px; }
.tbl td:not(:first-child) { white-space: normal; }
.sticky { position: sticky; left: 0; z-index: 1; background: var(--paper); }
thead .sticky { background: var(--mist); }
.tbl--rank td, .tbl--rank th { white-space: nowrap; vertical-align: middle; }
.tbl--rank td:first-child { font: 800 18px/1 var(--head); }
.is-lead > * { background: #f2f8fe; }
.idx b { display: inline-block; min-width: 42px; font: 800 18px/1 var(--head); }
.split { display: inline-flex; vertical-align: middle; width: 140px; height: 10px; margin-left: 8px; background: var(--line); border-radius: 9999px; overflow: hidden; }
.split i:first-child { width: calc(var(--c) * .5%); background: var(--blue); }
.split i:last-child { width: calc(var(--p) * .5%); background: var(--gold); }
.legend { display: flex; gap: 20px; margin: 0 0 16px; font: 600 13px/20px var(--text); color: #475163; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 10px; margin-right: 6px; border-radius: 9999px; vertical-align: 0; }
.legend__c::before { background: var(--blue); }
.legend__p::before { background: var(--gold); }

.heat { font-size: 15px; }
.heat thead th:not(.sticky) { white-space: normal; min-width: 92px; }
.heat td { text-align: center; font-weight: 600; background: color-mix(in srgb, var(--blue) calc(var(--b, 0) * 100%), #fff); }
.heat td.none { background: var(--paper); color: #5b6474; font-weight: 400; }
.heat tfoot th, .heat tfoot td { background: var(--mist); font-size: 13px; font-weight: 600; color: #475163; }
.heat tbody th { white-space: nowrap; }

.cards { display: grid; gap: 16px; }
.card { display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); font-size: 16px; line-height: 26px; }
.card h3 { margin: 0 0 6px; font-size: 20px; line-height: 28px; }
.card h3 a { color: var(--ink); text-decoration-color: var(--line); }
.card h3 a:hover { color: var(--blue); }
.card__sub { font: italic 700 15px/24px var(--text); text-transform: uppercase; letter-spacing: .2px; color: var(--gold); }
.card p { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--blue); }
.card--lead { border: 2px solid var(--blue); }

.acc { border: 1px solid var(--line); border-radius: 18px; margin-top: 8px; }
.acc > summary { padding: 16px 20px; font: 700 18px/26px var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after, .faq summary::after { content: "+"; flex: none; font: 600 22px/26px var(--text); color: var(--blue); }
.acc[open] > summary::after, .faq details[open] summary::after { content: "−"; }
.acc__body { padding: 0 20px 20px; }
.acc__body h3:first-child { margin-top: 0; }
.formula { overflow-x: auto; margin: 0 0 16px; padding: 16px; background: var(--mist); border-radius: 12px; font-size: 18px; }
.formula math { font-size: 1.1em; }
var { font-style: italic; }
.prob { display: block; position: relative; padding-left: 0; font-weight: 600; }
.prob::after { content: ""; display: block; height: 6px; margin-top: 4px; width: calc(var(--v) * 1%); background: var(--blue); border-radius: 9999px; }
.tbl--prob td { min-width: 160px; }

.list { padding-left: 22px; margin: 0 0 16px; }
.list li { margin-bottom: 8px; }
.list li::marker { color: var(--blue); }
.list--num li::marker { font-weight: 700; }

.quote { margin: 0; }
.quote blockquote { margin: 0 0 16px; padding: 20px 24px; border-left: 2px solid var(--blue); font: 600 20px/32px var(--head); letter-spacing: -.2px; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 16px; line-height: 26px; color: #3a4252; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 16px 0; font: 700 18px/26px var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 16px; }

.team { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.team li { padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; font-size: 16px; line-height: 26px; }

.form { display: grid; gap: 14px; max-width: 560px; margin: 24px 0; padding: 24px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.field { display: grid; gap: 6px; font: 600 14px/20px var(--text); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #b8c2d1; border-radius: 4px; font: 400 16px/24px var(--text); color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; }
.form .btn { justify-self: start; }

.ftr { background: var(--night); color: var(--snow); }
.ftr__row { max-width: var(--wide); margin: 0 auto; padding: 40px 16px; display: grid; gap: 28px; }
.ftr p { margin: 0 0 8px; font-size: 14px; line-height: 22px; color: var(--snow-80); }
.ftr__brand { font: 800 18px/24px var(--head) !important; color: var(--snow) !important; }
.ftr__h { margin: 0 0 12px; font: 600 14px/20px var(--head); letter-spacing: .7px; text-transform: uppercase; color: var(--snow-60); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr a { color: var(--snow); font-size: 16px; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, auto); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .sheet { border: 1px solid var(--line); border-radius: 18px; padding: 40px 32px; margin: 0 16px; }
}
@media (min-width: 1008px) {
  .sheet { margin: 0 auto; padding: 48px 40px; }
}
@media (min-width: 768px) {
  .brand__name { font-size: 20px; line-height: 24px; }
  .brand__sub { font-size: 12px; }
  .pills ul { padding: 10px 16px; gap: 8px; }
  .pills a { padding: 8px 16px; }
  .hero__in { padding: 72px 16px 80px; }
  .hero h1 { font-size: 60px; line-height: 63px; letter-spacing: -1.5px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--lead { grid-column: 1 / -1; }
  .ftr__row { grid-template-columns: 2fr 1fr 1fr; }
  .sheet h2 { font-size: 24px; line-height: 42px; }
  .sheet h3 { line-height: 35px; }
}
