@font-face { font-family: "Sofia Sans"; src: url("../fonts/sofiasans-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; src: url("../fonts/sofiasans-latin.woff2") format("woff2"); font-weight: 400 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; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-cyrillic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin.woff2") format("woff2"); font-weight: 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: "Space Grotesk"; src: url("../fonts/spacegrotesk-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2192; }

:root {
  --teal: #3aafa9;
  --teal-btn: #258c8c;
  --teal-deep: #2b7a78;
  --teal-link: #2b7478;
  --teal-num: #18988d;
  --mint: #def2f1;
  --ink: #353535;
  --ink-dark: #17252a;
  --yellow: #fec42d;
  --rule: #808080;
  --glass: rgba(255, 255, 255, 0.55);
  --wrap: 1125px;
  --font: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --round: "Nunito", "Sofia Sans", system-ui, sans-serif;
  --num: "Space Grotesk", "Sofia Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--mint); color: var(--ink); font-family: var(--font); font-size: 19px; font-weight: 500; line-height: 1.4; overflow-wrap: break-word; }
svg { display: block; max-width: 100%; }
a { color: var(--teal-link); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--ink-dark); outline-offset: 2px; border-radius: 3px; }
p { margin: 0 0 16px; }
strong, b { font-weight: 700; color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 8px; color: var(--ink); line-height: 1.2; }
h2 { font-size: clamp(26px, 1vw + 20px, 32px); font-weight: 600; }
h3 { font-size: clamp(22px, 0.6vw + 18px, 28px); font-weight: 500; }
h4 { margin-top: 24px; font-size: 24px; font-weight: 500; }
hr { margin: 32px 0; border: 0; border-top: 2px solid var(--rule); }
code { padding: 1px 6px; border-radius: 4px; background: #fff; font-size: 0.85em; }
.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: var(--wrap); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 30; padding: 10px 14px; background: var(--ink-dark); color: #fff; border-radius: 2px; }
.skip:focus { top: 12px; }

.announce { background: #fff; text-align: center; }
.announce p { margin: 0; padding: 8px 16px; font-size: 13px; line-height: 1.4; color: var(--ink-dark); }

.hdr { position: sticky; top: 0; z-index: 20; background: var(--teal); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.hdr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ink-dark); font-size: 21px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.sections { order: 3; flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.sections a { display: block; padding: 4px 0; border-bottom: 2px solid transparent; color: var(--ink-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.sections a:hover { text-decoration: none; border-bottom-color: var(--ink-dark); }
.sections a.is-current { border-bottom-color: var(--yellow); }

.btn { display: inline-block; padding: 10px 16px; border-radius: 2px; background: #217f7f; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.3px; line-height: 1.3; text-transform: uppercase; white-space: nowrap; }
.btn:hover { background: var(--ink-dark); text-decoration: none; }
.btn--hdr { margin-left: auto; }

.band { position: relative; overflow: hidden; background: var(--teal); padding: 56px 0; }
.band__blobs { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--teal-deep); opacity: 0.55; }
.band__title { position: relative; margin: 0 0 22px; font-size: clamp(24px, 1.2vw + 18px, 34px); font-weight: 700; line-height: 1.2; color: var(--ink-dark); }
.stats { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 20px; border-radius: 18px; background: var(--glass); color: var(--ink-dark); }
.stats dd { margin: 0; font-family: var(--num); font-size: clamp(30px, 2vw + 20px, 44px); font-weight: 700; line-height: 1; color: var(--ink-dark); }
.stats dt { overflow-wrap: normal; hyphens: auto; font-size: 14px; font-weight: 800; line-height: 1.3; text-transform: uppercase; color: var(--ink-dark); }

.content { padding-top: 28px; padding-bottom: 64px; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 2vw + 24px, 50px); font-weight: 500; line-height: 1.2; color: #000; }
.subtitle { margin: 0 0 12px; font-size: clamp(20px, 0.6vw + 17px, 24px); font-weight: 600; color: var(--ink-dark); }
.meta { font-size: 16px; color: var(--ink); }

.panel { margin: 24px 0; border-radius: 18px; background: #fff; overflow: hidden; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tbl caption { caption-side: bottom; padding: 10px 18px; text-align: left; font-size: 14px; color: var(--ink); }
.tbl thead th { padding: 14px 18px; background: var(--teal); color: var(--ink-dark); text-align: left; font-size: 13px; font-weight: 800; text-transform: uppercase; vertical-align: bottom; }
.tbl td, .tbl tbody th { padding: 13px 18px; border-bottom: 1px solid var(--mint); text-align: left; vertical-align: top; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 700; color: var(--ink-dark); }
.tbl .num { font-weight: 800; white-space: nowrap; }
.k { display: block; font-family: var(--round); font-size: 13px; color: var(--teal-link); }
.tbl--params { min-width: 0; }
.tbl--params tbody th { width: 32%; }
.tbl--rank { min-width: 860px; }
.tbl--rank tbody tr > * { background: #fff; }
.tbl--rank tbody tr.is-lead > * { background: #f2fbfa; }
.tbl--rank .sticky { position: sticky; left: 0; z-index: 1; }
.tbl--rank .budget { min-width: 150px; }
.tbl--rank td:last-child { min-width: 220px; }
.tbl thead button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tbl thead button::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; opacity: 0.45; }
.tbl thead button:focus-visible { outline: 2px solid var(--ink-dark); outline-offset: 2px; }
.tbl thead [aria-sort] button::after { opacity: 1; }
.tbl thead [aria-sort="ascending"] button::after { border-top-color: transparent; border-bottom-color: currentColor; margin-top: -4px; }

.formula { margin: 24px 0; padding: 24px 28px; border-radius: 18px; background: var(--teal-deep); color: #fff; }
.formula__expr { margin: 0 0 8px; font-size: clamp(18px, 0.8vw + 14px, 24px); font-weight: 700; line-height: 1.6; color: #fff; }
.formula var { font-style: normal; font-weight: 800; color: #fff; border-bottom: 2px solid var(--yellow); }
.formula figcaption { font-size: 15px; color: #e6f5f4; }

.callout { padding: 18px 22px; border-left: 5px solid var(--teal); border-radius: 0 18px 18px 0; background: var(--glass); }

.agency { margin: 0; }
.agency__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name ring" "profile profile"; align-items: center; column-gap: 16px; padding: 6px 0; cursor: pointer; list-style: none; }
.agency__head::-webkit-details-marker { display: none; }
.agency__name { grid-area: name; margin: 0; }
.agency__profile { grid-area: profile; margin-top: 4px; padding-right: 28px; font-family: var(--round); font-size: 17px; font-weight: 700; color: var(--teal-link); }
.agency__body { padding-top: 14px; }
.agency__meta { font-size: 16px; }
.agency--lead .agency__box { padding: 24px 26px; border: 3px solid var(--teal); border-radius: 18px; background: #fff; }

.ring { grid-area: ring; position: relative; display: grid; place-items: center; align-content: center; width: 76px; height: 76px; line-height: 1; }
.ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track, .ring__bar { fill: none; stroke-width: 3; }
.ring__track { stroke: #fff; }
.agency--lead .ring__track { stroke: var(--mint); }
.ring__bar { stroke: var(--teal); stroke-linecap: round; }
.ring__v, .ring__max { position: relative; }
.ring__v { font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--ink-dark); }
.ring__max { margin-top: 2px; font-size: 12px; color: var(--ink); }

.agency__head::after, .accordion summary::after, .questions summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  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: 2px; bottom: 12px; }
details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.tag { padding: 4px 12px; border-radius: 30px; background: var(--mint); color: var(--ink-dark); font-size: 14px; font-weight: 700; }
.tag--pick { background: var(--yellow); }

.list { margin: 0 0 16px; padding-left: 40px; }
.list li { margin: 0; }

.stages { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: stage; }
.stages li { counter-increment: stage; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; padding: 0 0 18px 48px; }
.stages li::before { content: counter(stage); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--ink-dark); font-family: var(--num); font-size: 16px; font-weight: 700; line-height: 32px; text-align: center; }
.stages li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--mint); }
.stages li:last-child::after { display: none; }
.stages__time { align-self: baseline; font-family: var(--round); font-size: 15px; font-weight: 700; color: var(--teal-link); white-space: nowrap; }
.stages__text { grid-column: 1 / -1; font-size: 17px; }

.bars { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 3rem; grid-template-areas: "label v" "track track"; gap: 4px 12px; font-size: 17px; }
.bars__label { grid-area: label; }
.bars__v { grid-area: v; text-align: right; font-family: var(--num); font-weight: 700; color: var(--ink-dark); }
.bars__track { grid-area: track; height: 10px; border-radius: 5px; background: linear-gradient(var(--teal), var(--teal)) left / calc(var(--v) * 10%) 100% no-repeat, var(--mint); }

.case { margin: 24px 0; padding: 22px 24px; border-radius: 18px; background: var(--mint); }
.case h4 { margin-top: 0; }
.case p { margin: 0; font-size: 17px; }

.questions { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: q; }
.questions li { counter-increment: q; border-bottom: 1px solid var(--rule); }
.questions summary, .accordion summary { display: flex; align-items: center; gap: 14px; padding: 14px 2px; cursor: pointer; list-style: none; font-size: clamp(19px, 0.4vw + 17px, 22px); font-weight: 600; color: var(--ink); }
.questions summary::before { content: counter(q) "."; flex: none; width: 2rem; font-family: var(--num); font-weight: 700; color: var(--teal-link); }
.questions summary::after, .accordion summary::after { margin-left: auto; }
.questions summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.questions summary:hover, .accordion summary:hover { color: var(--teal-link); }
.questions details p { margin: 0 2px 16px calc(2rem + 16px); }
.accordion { margin-top: 12px; border-top: 1px solid var(--rule); }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion details p { margin: 0 2px 16px; }

.flags { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.flags li { padding: 14px 18px; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0; background: #fff; font-size: 17px; }

.quote { margin: 0 0 24px; padding: 26px 28px; border-radius: 18px; background: var(--glass); }
.quote blockquote { margin: 0 0 12px; }
.quote blockquote p { margin: 0; font-size: clamp(19px, 0.5vw + 17px, 22px); font-weight: 500; line-height: 1.5; color: var(--ink-dark); }
.quote figcaption { font-family: var(--round); font-size: 16px; font-weight: 700; color: var(--teal-link); }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; margin-bottom: 18px; padding: 22px 24px; border-radius: 18px; background: #fff; }
.person h3 { font-size: 22px; }
.person p { font-size: 17px; }
.person__links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.person__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--ink-dark); font-weight: 800; font-size: 20px; }
.small { font-size: 15px; }

.ftr { background: var(--teal); color: var(--ink-dark); }
.ftr__grid { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.ftr__col { padding-left: 18px; border-left: 2px solid var(--yellow); }
.ftr__col ul { margin: 0; padding: 0; list-style: none; }
.ftr__col li { margin-bottom: 10px; }
.ftr__col a, .ftr__col p { color: var(--ink-dark); font-size: 14px; font-weight: 700; }
.ftr__col p { margin: 0 0 10px; }
.ftr :focus-visible { outline-color: #fff; }

@media (min-width: 640px) {
    .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .agency__head { grid-template-areas: "name ring" "profile ring"; }
  .agency__head::after { display: none; }
  .agency__profile { padding-right: 0; }
}

@media (min-width: 1100px) {
  html { scroll-padding-top: 100px; }
  .hdr__row { flex-wrap: nowrap; }
  .sections { order: 0; flex: 1 1 auto; }
  .band { padding: 72px 0; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .hdr__row { gap: 4px 10px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand__mark { width: 20px; height: 20px; }
  .btn--hdr { display: none; }
  .stats div { padding: 16px 14px; }
  .stats dt { font-size: 12px; }
  .agency--lead .agency__box { padding: 18px 16px; }
  .quote, .person { padding: 18px 16px; }
  .person { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .brand__mark { display: none; }
  .brand { font-size: 13px; }
}

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

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