@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 300 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: #0a0a0a;
  --bar: #282828;
  --card: #1f1f1f;
  --cell: #252525;
  --line: #adadad;
  --blue: #4a9eff;
  --blue-text: #1766c6;
  --light: #f0f2f4;
  --muted: #5a5d63;
  --s1: #4a9eff;
  --s2: #9cc8ff;
  --s3: #2563b8;
  --s4: #d7e8ff;
  --s5: #6b7c93;
  --radius: 25px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; padding: 0 12px; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.875; overflow-wrap: break-word; }
a { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
p { margin: 0 0 16px; }
strong, b { font-weight: 700; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); }
h2 { margin: 72px 0 18px; font-size: clamp(30px, 2.2vw + 18px, 48px); line-height: 1.05; letter-spacing: -0.05em; }
h3 { margin: 30px 0 10px; font-size: clamp(21px, 0.9vw + 16px, 26px); line-height: 1.25; letter-spacing: -0.03em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1340px; margin: 0 auto; }
.lead { font-size: 19px; line-height: 1.6; letter-spacing: -0.01em; }
.small { font-size: 14px; color: var(--muted); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 10px 18px; border-radius: 999px; background: var(--blue); color: var(--ink); }
.skip:focus { top: 12px; }

.hdr { position: sticky; top: 0; z-index: 20; max-width: 1340px; margin: 0 auto; }
.hdr__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 10px 16px 10px 22px; border-radius: 0 0 var(--radius) var(--radius); background: var(--bar); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--bar) 0 34%, transparent 35%), var(--blue); flex: none; }
.hdr__nav { display: none; margin: 0 auto; }
.hdr__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hdr__nav a { display: block; padding: 9px 20px; border-radius: 9999px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; text-transform: uppercase; text-decoration: none; }
.hdr__nav a:hover { background: #3a3a3a; }
.hdr__nav a.is-current { background: var(--blue); color: var(--ink); }

.pill { display: inline-block; padding: 10px 22px; border: 0; border-radius: 9999px; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill:hover { text-decoration: none; }
.pill--light { margin-left: auto; background: var(--light); color: var(--ink); }
.pill--light:hover { background: var(--blue); }
.pill--accent { background: var(--blue); color: var(--ink); }
.pill--accent:hover { background: var(--light); }

.hero { max-width: 1340px; margin: 14px auto 0; }
.hero__card { padding: clamp(28px, 4vw, 64px) clamp(20px, 4vw, 60px); border-radius: var(--radius); background: var(--card); color: #e9e9e9; }
.hero h1 { max-width: 16ch; margin-bottom: 26px; font-size: clamp(36px, 4vw + 14px, 76px); line-height: 1.05; letter-spacing: -0.05em; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { padding: 5px 16px; border: 1px solid #4a4a4a; border-radius: 9999px; font-size: 14px; color: #e9e9e9; }
.hero__row { display: grid; gap: 22px; margin-bottom: 22px; }
.hero__lead { display: flex; align-items: center; gap: 20px; margin: 0; font-size: 18px; line-height: 1.55; color: #fff; }
.hero__score { flex: none; font-size: clamp(56px, 5vw + 20px, 96px); font-weight: 300; line-height: 1; letter-spacing: -0.05em; color: var(--blue); }
.hero__score small { font-size: 0.3em; color: #bdbdbd; letter-spacing: 0; }
.expert-chip { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px 10px 10px; border-radius: 9999px; background: #2f2f2f; font-size: 14px; line-height: 1.4; color: #d6d6d6; justify-self: start; }
.expert-chip strong { color: #fff; }
.expert-chip a { color: var(--blue); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--ink); font-size: 15px; font-weight: 800; flex: none; }
.avatar--lg { width: 64px; height: 64px; font-size: 20px; }
.hero__note { max-width: 70ch; font-size: 14px; line-height: 1.6; color: #bdbdbd; }
.hero__note a { color: var(--blue); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; padding: 28px 0 80px; }
.content { min-width: 0; max-width: 900px; }
.content > section:first-child h2 { margin-top: 24px; }

.toc__box { border-radius: 18px; background: var(--light); }
.toc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0 12px 14px; list-style: none; }
.toc a { display: block; padding: 6px 12px; border-radius: 9999px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.toc a:hover { background: #fff; }
.toc a.is-current { background: var(--bar); color: #fff; font-weight: 700; }

.steps { margin: 24px 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 16px 20px 16px 72px; border-radius: 18px; background: var(--light); line-height: 1.6; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--bar); color: #fff; font-weight: 700; line-height: 38px; text-align: center; }

.tbl-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; }
.tbl { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.tbl thead th { padding: 12px 16px; background: var(--bar); color: #fff; font-size: 13px; font-weight: 700; text-align: left; text-transform: uppercase; }
.tbl td, .tbl tbody th { padding: 13px 16px; border-bottom: 1px solid #e3e5e8; text-align: left; vertical-align: top; }
.tbl tbody th { font-weight: 700; }
.tbl tbody tr:nth-child(odd) > * { background: var(--light); }
.tbl .num { font-weight: 700; white-space: nowrap; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 6px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.legend li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.legend .s1::before { background: var(--s1); }
.legend .s2::before { background: var(--s2); }
.legend .s3::before { background: var(--s3); }
.legend .s4::before { background: var(--s4); }
.legend .s5::before { background: var(--s5); }

.tbl-wrap--dark { background: var(--cell); }
.dtbl { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; color: #fff; }
.dtbl thead th { padding: 10px 14px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 700; text-align: left; vertical-align: bottom; line-height: 1.3; }
.dtbl td, .dtbl tbody th { padding: 10px 14px; border: 1px solid var(--line); background: var(--cell); font-weight: 600; color: var(--blue); vertical-align: middle; }
.dtbl tbody th { color: #fff; font-weight: 700; text-align: left; }
.dtbl tbody th a { color: #fff; }
.dtbl tbody tr.is-lead > * { background: #1c2633; }
.dtbl .sticky { position: sticky; left: 0; z-index: 1; min-width: 150px; }
.dtbl thead button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dtbl thead button::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; opacity: 0.5; }
.dtbl thead button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.dtbl thead [aria-sort] button { color: var(--blue); }
.dtbl thead [aria-sort] button::after { opacity: 1; }
.dtbl thead [aria-sort="ascending"] button::after { border-top-color: transparent; border-bottom-color: currentColor; margin-top: -4px; }
.col-total { min-width: 230px; }

.stack { display: flex; align-items: center; gap: 12px; }
.stack b { width: 2ch; font-size: 18px; color: #fff; }
.stack i { display: block; height: 14px; width: 160px; border-radius: 7px; background:
  linear-gradient(90deg,
    var(--s1) 0 calc(var(--a) * 1%),
    var(--s2) 0 calc((var(--a) + var(--b)) * 1%),
    var(--s3) 0 calc((var(--a) + var(--b) + var(--c)) * 1%),
    var(--s4) 0 calc((var(--a) + var(--b) + var(--c) + var(--d)) * 1%),
    var(--s5) 0 calc((var(--a) + var(--b) + var(--c) + var(--d) + var(--e)) * 1%),
    #3a3a3a 0); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.stat { padding: 20px; border-radius: 18px; background: var(--card); color: #d6d6d6; }
.stat--wide { grid-column: 1 / -1; }
.stat__num { margin: 0; font-size: clamp(34px, 2vw + 22px, 52px); font-weight: 300; line-height: 1; letter-spacing: -0.05em; color: var(--blue); }
.stat__num small { font-size: 0.45em; color: #bdbdbd; letter-spacing: 0; }
.stat__label { margin: 8px 0 0; font-size: 14px; line-height: 1.4; }
.stat--wide .stat__label { margin: 0 0 12px; font-weight: 700; color: #fff; }
.split { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.split li { flex: var(--n) 1 0; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #2f3a4a; font-size: 13px; line-height: 1.35; color: #d6d6d6; }
.split li:first-child { background: var(--blue); color: var(--ink); }
.split b { display: block; font-size: 26px; font-weight: 300; color: inherit; }

.callout { padding: 18px 22px; border-radius: 18px; background: var(--light); }
.callout--warn { background: #fff4e5; }

.agency { margin: 0 0 14px; }
.agency__box { border-radius: 18px; background: var(--light); }
.agency--lead .agency__box { background: #fff; box-shadow: inset 0 0 0 2px var(--bar); }
.agency__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name total" "stack stack"; align-items: center; gap: 10px 16px; padding: 20px 52px 20px 22px; cursor: pointer; list-style: none; }
.agency__head::-webkit-details-marker { display: none; }
.agency__name { grid-area: name; margin: 0; font-size: clamp(22px, 1vw + 17px, 30px); letter-spacing: -0.04em; }
.agency__total { grid-area: total; font-size: 15px; color: var(--muted); white-space: nowrap; }
.agency__total b { font-size: 34px; font-weight: 300; letter-spacing: -0.05em; color: var(--ink); }
.stack--card { grid-area: stack; }
.stack--card i { width: min(100%, 360px); height: 10px; }
.agency__body { padding: 0 22px 18px; }
.agency__head::after, .accordion summary::after, .toc summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s; }
.agency__head::after { position: absolute; right: 22px; top: 32px; }
details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.tags li { padding: 3px 14px; border-radius: 9999px; background: var(--light); font-size: 13px; font-weight: 600; }
.tags li:first-child { background: var(--blue); }
.scores { display: grid; gap: 8px; margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; background: var(--card); list-style: none; color: #fff; }
.scores li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 3.5rem; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.3; }
.scores i { height: 8px; border-radius: 4px; background: linear-gradient(var(--blue), var(--blue)) left / calc(var(--v) / var(--m) * 100%) 100% no-repeat, #3a3a3a; }
.scores b { text-align: right; color: var(--blue); }

.mini { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mini li { padding: 18px 22px; border-radius: 18px; background: var(--light); }
.mini h3 { margin: 0 0 6px; font-size: 20px; }
.mini p { margin: 0; line-height: 1.6; }

.accordion { margin: 18px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.accordion details { border-radius: 18px; background: var(--light); }
.accordion summary { display: flex; align-items: center; gap: 12px; padding: 16px 22px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { margin-left: auto; }
.accordion details > p, .details-body { padding: 0 22px 18px; margin: 0; }
.details-body > :last-child { margin-bottom: 0; }
.accordion--numbered { counter-reset: q; }
.accordion--numbered > li { counter-increment: q; }
.accordion--numbered summary::before { content: counter(q); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bar); color: #fff; font-size: 13px; }
.mistake { padding: 12px 16px; border-radius: 12px; background: #fff4e5; }

.flags { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flags li { position: relative; padding: 14px 20px 14px 52px; border-radius: 18px; background: #fff4e5; line-height: 1.6; }
.flags li::before { content: "!"; position: absolute; left: 18px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; line-height: 22px; text-align: center; }

.quote { margin: 0; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: var(--card); color: #e9e9e9; }
.quote blockquote { margin: 0 0 22px; }
.quote blockquote p { margin: 0; font-size: clamp(19px, 0.8vw + 15px, 24px); font-weight: 300; line-height: 1.5; letter-spacing: -0.02em; color: #fff; }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; font-size: 14px; line-height: 1.6; }
.quote .person strong { color: #fff; }
.team { display: grid; gap: 20px; margin: 12px 0 24px; padding: 0; list-style: none; }

.sources ul { padding-left: 20px; font-size: 14px; color: var(--muted); }
.list { padding-left: 20px; }

.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--light); }
.form h3 { margin: 0; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 16px; border: 1px solid #c9ccd1; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; }
.form .pill { justify-self: start; }

.ftr { max-width: 1340px; margin: 0 auto 12px; }
.ftr__bar { display: grid; gap: 14px; padding: 28px 26px; border-radius: var(--radius); background: var(--bar); color: #d6d6d6; font-size: 14px; }
.ftr p { margin: 0; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ftr__links a { display: block; padding: 6px 16px; border-radius: 9999px; background: #333; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.ftr__links a:hover { background: var(--blue); color: var(--ink); }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (min-width: 768px) {
  .agency__head { grid-template-areas: "name total" "stack total"; padding-right: 22px; }
  .agency__head::after { display: none; }
}

@media (min-width: 1080px) {
  .hdr__nav { display: block; }
  .pill--light { margin-left: 0; }
}

@media (min-width: 1200px) {
  .layout { grid-template-columns: 250px minmax(0, 1fr); }
  .toc { position: sticky; top: 110px; align-self: start; }
  .toc summary { pointer-events: none; }
  .toc summary::after { display: none; }
}

@media (max-width: 480px) {
  body { padding: 0 8px; }
  .hdr__bar { padding: 8px 10px 8px 14px; }
  .brand { font-size: 16px; }
  .pill--light { padding: 8px 14px; font-size: 12px; }
  .hero__lead { flex-direction: column; align-items: flex-start; }
  .scores li { grid-template-columns: 5.5rem minmax(0, 1fr) 3rem; }
  .split { flex-direction: column; }
  .form { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .hdr { position: static; }
  .toc, .skip, .form { display: none; }
  .tbl-wrap { overflow: visible; }
}
