@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/golos-text-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;
}

:root {
  --content-gutter: 32px;
  --ink: #172033;
  --muted: #5d6878;
  --line: #d9dfe8;
  --line-strong: #aab5c4;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --blue: #1959b8;
  --blue-dark: #123d78;
  --focus: #0b63ce;
  /* The shared desktop composition uses a normal viewport gutter, not a narrow max-width. */
  --edge-bleed: var(--content-gutter);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.62 "Golos Text", Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { color: #fff; background: var(--blue); }

* {
  scrollbar-color: var(--blue) #e9edf3;
  scrollbar-width: thin;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, summary { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: calc(100% - 2 * var(--content-gutter));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: var(--blue-dark);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: .98rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .68rem; }

.desktop-nav { display: flex; align-items: center; gap: 0; }

.desktop-nav a {
  position: relative;
  padding: 26px 19px 23px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 19px;
  bottom: 18px;
  left: 19px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform .18s ease-out;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }

.menu-icon {
  width: 24px;
  display: grid;
  gap: 5px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: background-color .15s ease-out;
}

.mobile-nav summary:hover .menu-icon span,
.mobile-nav[open] .menu-icon span { background: var(--blue); }

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 190px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--blue);
}

.mobile-nav nav a {
  display: block;
  padding: 11px 0;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-nav nav a:last-child { border-bottom: 0; }

.hero {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(560px, 1.18fr);
  align-items: stretch;
  width: 100%;
  min-height: 270px;
  /* Match the shared composition line while the visual continues to the viewport edge. */
  padding-left: var(--content-gutter);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid {
    animation: register-arrival .62s cubic-bezier(.16, 1, .3, 1) both;
  }

  @keyframes register-arrival {
    from { opacity: .94; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.hero-copy {
  align-self: center;
  max-width: 620px;
  padding: 28px 34px 28px 0;
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 12px;
  font-size: clamp(3.15rem, 4.1vw, 3.75rem);
  line-height: .99;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero-introduction {
  max-width: 570px;
  color: #3f4a5b;
  font-size: .94rem;
  line-height: 1.45;
}

.rich-text p:first-child { margin-top: 0; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-left: 1.25rem; }
.rich-text a { font-weight: 700; }

.read-more__content { --read-more-collapsed-height: 8.7em; position: relative; }
.read-more.is-collapsed .read-more__content { max-height: var(--read-more-collapsed-height); overflow: clip; }
.read-more.is-collapsed .read-more__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.2em;
  content: "";
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}
.read-more__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 8px;
  padding: 4px 0;
  color: var(--blue-dark);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}
.read-more__toggle:hover { color: var(--blue); }
.read-more__toggle:focus-visible { outline-offset: 4px; }

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.32) 10%, #000 27%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.32) 10%, #000 27%);
}

.ranking-purpose { padding: 13px 0 16px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 18px;
}

.section-heading h2,
.data-panel h2,
.company-infographic h2,
.editorial h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.75vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-heading > p,
.compact-heading > p,
.company-data-intro p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.purpose-heading { margin-bottom: 18px; }
.purpose-heading h2 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); letter-spacing: -.025em; }
.purpose-diagram { position: relative; }
.purpose-connector {
  position: absolute;
  z-index: 0;
  top: 8px;
  left: 0;
  width: 100%;
  height: 96px;
  overflow: visible;
}
.purpose-connector path {
  fill: none;
  stroke: #c9d0da;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 10;
}
.purpose-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.purpose-point { min-width: 0; }
.purpose-point--low { padding-top: 50px; }
.purpose-node {
  position: relative;
  width: 96px;
  margin-inline: auto;
}
.purpose-number {
  position: absolute;
  top: -4px;
  left: -24px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.purpose-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: #fff;
  background: #2870cb;
  border: 1px solid #6fa2e1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px #4f8ed9, inset 0 0 0 10px rgba(255,255,255,.72);
}
.purpose-circle img { width: 43px; height: 43px; }
.purpose-point p {
  max-width: 205px;
  margin: 8px auto 0;
  color: #384558;
  font-size: .72rem;
  line-height: 1.34;
  text-align: center;
}

.ranking-section {
  padding: 28px 0 48px;
  background: #fff;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 20px;
}

.ranking-heading { margin-bottom: 16px; }
.title-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.section-code {
  color: var(--blue);
  font-size: clamp(1.7rem, 2.75vw, 2.55rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
  flex: 0 1 auto;
}

.title-divider { width: 1px; height: 1.22em; background: var(--line-strong); }

.ranking-heading > p { padding-bottom: 4px; }
.ranking-heading time { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.table-scroll-hint { display: none; }

.table-shell {
  overflow: hidden;
  background: #fff;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line-strong);
}

.table-shell:focus-visible { outline-offset: 5px; }

.ranking-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #263143;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}

.ranking-table th {
  padding: 12px 12px;
  color: #fff;
  background: var(--blue-dark);
  text-align: left;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.ranking-table td {
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.ranking-table tbody tr { transition: background-color .15s ease-out; }
.ranking-table tbody tr:hover { background: #f2f6fc; }
.ranking-table tbody tr.rank-1,
.ranking-table tbody tr.rank-2,
.ranking-table tbody tr.rank-3 { background: #f7f9fc; }
.ranking-table tbody tr.rank-1:hover,
.ranking-table tbody tr.rank-2:hover,
.ranking-table tbody tr.rank-3:hover { background: #edf3fb; }
.rank-column { width: 70px; }
.attorney-column, .company-column { width: auto; }
.experience-column { width: 120px; }
.cases-column { width: 160px; }
.reviews-column { width: 120px; }
.lawyers-column { width: 180px; }

.rank-badge {
  display: inline-block;
  min-width: 28px;
  color: #6d7785;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.rank-1 .rank-badge,
.rank-2 .rank-badge,
.rank-3 .rank-badge { color: var(--blue); font-size: 1rem; }

.entity { display: flex; align-items: center; gap: 13px; min-width: 245px; }

.entity img {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.entity.company img { width: 74px; height: 48px; padding: 4px; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.entity strong { min-width: 0; overflow-wrap: anywhere; line-height: 1.28; }
.not-published { color: var(--muted); font-size: .75rem; }
.source-line { display: none; }

.data-panel {
  padding: 46px 0 50px;
  color: var(--ink);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: center; }
.chart-intro { align-self: start; }
.bar-chart { display: grid; gap: 14px; }

.bar-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(180px, 1fr) 44px;
  align-items: center;
  gap: 14px;
}

.bar-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 600; }
.bar-row > div { height: 14px; overflow: hidden; background: #e9eef5; }
.bar-row i { display: block; width: var(--bar); height: 100%; background: linear-gradient(90deg, #1959b8, #5b8ed2); }
.bar-row strong { text-align: right; color: var(--blue-dark); font-size: .95rem; font-variant-numeric: tabular-nums; }

.editorial { padding-top: 0; }

.editorial article {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  align-items: stretch;
  min-height: 290px;
  padding: 0;
}

.editorial article::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--edge-bleed));
  width: calc(100% + 2 * var(--edge-bleed));
  border-bottom: 1px solid var(--line);
}

.editorial article img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: clamp(270px, 23vw, 340px);
  align-self: stretch;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03);
}
.editorial article > div { align-self: center; max-width: 560px; padding-block: 34px; }
.editorial h2 { margin-bottom: 14px; }
.editorial .rich-text { color: #455163; }
.editorial .rich-text p,
.editorial .rich-text li { font-size: .86rem; line-height: 1.55; }
.editorial .read-more__content { --read-more-collapsed-height: 9.3em; }

.editorial-flow--opening .editorial-lead > img {
  grid-column: 1 / 8;
  width: calc(100% + var(--edge-bleed));
  margin-left: calc(-1 * var(--edge-bleed));
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
}
.editorial-flow--opening .editorial-lead > div { grid-column: 8 / -1; padding-left: 12px; }

.editorial-flow--opening .editorial-brief {
  align-items: center;
}

.editorial-flow--opening .editorial-brief > img {
  grid-column: 6 / -1;
  grid-row: 1;
  width: calc(100% + var(--edge-bleed));
  margin-right: calc(-1 * var(--edge-bleed));
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 60%, transparent 100%);
}

.editorial-flow--opening .editorial-brief > div {
  grid-column: 1 / 6;
  grid-row: 1;
  padding-right: 12px;
}

.companies-section { background: var(--soft); }

.company-infographic {
  padding: 68px 0 62px;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.company-data-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 26px 70px; }
.company-data-intro { align-self: end; }
.big-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }

.big-numbers div { padding: 16px 20px 10px; border-top: 4px solid var(--blue); }
.big-numbers div + div { margin-left: 12px; }
.big-numbers strong { display: block; color: var(--blue-dark); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.big-numbers span { display: block; margin-top: 10px; color: var(--muted); font-size: .76rem; }

.company-bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 24px;
}

.company-bar-row { display: grid; grid-template-columns: minmax(250px, 1.2fr) minmax(160px, 2fr) 56px; align-items: center; gap: 18px; }
.company-bar-row > span { color: var(--ink); font-size: .78rem; line-height: 1.25; }
.company-bar-row > div { height: 10px; overflow: hidden; background: #e9eef5; }
.company-bar-row i { display: block; width: var(--bar); height: 100%; background: var(--blue); }
.company-bar-row strong { text-align: right; color: var(--blue-dark); font-size: .85rem; font-variant-numeric: tabular-nums; }

.editorial-flow--closing { padding-bottom: 0; }

.editorial-flow--closing .feature-article {
  align-items: center;
}

.editorial-flow--closing .feature-article > img {
  grid-column: 1 / 8;
  grid-row: 1;
  width: calc(100% + var(--edge-bleed));
  margin-left: calc(-1 * var(--edge-bleed));
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
}

.editorial-flow--closing .feature-article > div {
  grid-column: 8 / -1;
  grid-row: 1;
  max-width: none;
  padding-left: 12px;
}

.editorial-flow--closing .closing-article {
  align-items: center;
}

.editorial-flow--closing .closing-article > div {
  grid-column: 1 / 6;
  grid-row: 1;
  max-width: none;
  padding-right: 12px;
}

.editorial-flow--closing .closing-article > img {
  grid-column: 6 / -1;
  grid-row: 1;
  width: calc(100% + var(--edge-bleed));
  margin-right: calc(-1 * var(--edge-bleed));
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 60%, transparent 100%);
}

.policy { max-width: 820px; padding-top: 64px; padding-bottom: 90px; }
.policy h1 { margin: 0 0 28px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.04em; }
.policy h2 { margin-top: 38px; }
.policy p { color: #455163; }
.text-link { font-weight: 750; }

.site-footer { color: var(--ink); background: var(--soft); border-top: 3px solid var(--blue); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) 1.35fr;
  min-height: 128px;
}
.footer-brand-zone {
  display: flex;
  align-items: center;
  padding-right: 54px;
  border-right: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.footer-brand img { width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto; }
.footer-brand strong { display: block; font-size: .92rem; line-height: 1.25; }
.footer-nav-zone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 54px;
}
.footer-nav { display: flex; align-items: center; gap: 30px; }
.footer-nav a { color: var(--ink); font-size: .82rem; font-weight: 700; }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-legal p { margin: 0; font-size: .74rem; line-height: 1.45; }
.footer-legal a { color: var(--ink); font-size: .74rem; font-weight: 700; }

.cookie-notice {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--blue);
  box-shadow: 0 16px 40px rgba(25, 45, 75, .14);
}

.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; color: #455163; font-size: .78rem; line-height: 1.45; }

.cookie-notice button {
  flex: 0 0 auto;
  padding: 9px 15px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0;
  font-weight: 800;
  cursor: pointer;
}

.cookie-notice button:hover { background: var(--blue-dark); }
.cookie-notice button:active { transform: translateY(1px); }

@media (max-width: 1100px) {
  :root { --edge-bleed: 20px; --content-gutter: 20px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid {
    position: relative;
    isolation: isolate;
    grid-template-columns: 1fr;
    min-height: clamp(270px, 36vw, 350px);
    padding-left: 0;
    overflow: hidden;
  }
  .hero-grid::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 38%, rgba(255,255,255,.62) 66%, rgba(255,255,255,.08) 100%),
      linear-gradient(0deg, rgba(255,255,255,.34) 0%, transparent 38%);
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: min(700px, 78%);
    padding: 32px var(--edge-bleed);
    text-shadow: 0 0 14px rgba(255,255,255,.96);
  }
  .hero-visual { position: absolute; z-index: 0; inset: 0; min-height: 0; }
  .hero-image {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .panel-grid { grid-template-columns: 1fr; gap: 24px; }
  .company-data-grid { grid-template-columns: 1fr; gap: 22px; }
  .company-bars { grid-column: auto; }
  .editorial article,
  .editorial-flow--closing .feature-article,
  .editorial-flow--closing .closing-article { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; }
  .editorial article > img,
  .editorial article > div,
  .editorial-flow--opening .editorial-lead > img,
  .editorial-flow--opening .editorial-lead > div,
  .editorial-flow--opening .editorial-brief > img,
  .editorial-flow--opening .editorial-brief > div,
  .editorial-flow--closing .feature-article > img,
  .editorial-flow--closing .feature-article > div,
  .editorial-flow--closing .closing-article > img,
  .editorial-flow--closing .closing-article > div {
    grid-column: 1;
    grid-row: auto;
    order: initial;
    margin: 0;
    padding: 0;
  }
  .editorial article { min-height: 0; padding: 0; }
  .editorial article img {
    width: calc(100% + 2 * var(--edge-bleed));
    height: clamp(220px, 58vw, 350px);
    min-height: 0;
    margin-inline: calc(-1 * var(--edge-bleed));
  }
  .editorial-flow--opening .editorial-lead > img,
  .editorial-flow--opening .editorial-brief > img,
  .editorial-flow--closing .feature-article > img,
  .editorial-flow--closing .closing-article > img {
    width: calc(100% + 2 * var(--edge-bleed));
    margin-inline: calc(-1 * var(--edge-bleed));
  }
  .editorial article > div { max-width: 620px; }
  .editorial .rich-text > :last-child { margin-bottom: 0; }
  .editorial-flow--opening .editorial-lead > div,
  .editorial-flow--opening .editorial-brief > div,
  .editorial-flow--closing .feature-article > div,
  .editorial-flow--closing .closing-article > div { padding: 26px 0 40px; }
  .editorial-flow--opening .editorial-lead > img,
  .editorial-flow--opening .editorial-brief > img,
  .editorial-flow--closing .feature-article > img,
  .editorial-flow--closing .closing-article > img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,.82) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,.82) 84%, transparent 100%);
  }
  .table-shell { overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
  .ranking-table { min-width: 640px; font-size: .82rem; }
  .company-table { min-width: 640px; }
  .ranking-table th:first-child,
  .ranking-table td:first-child { width: 56px; padding-right: 5px; padding-left: 5px; }
  .ranking-table th:nth-child(2),
  .ranking-table td:nth-child(2) { padding-left: 5px; }
  .ranking-table th,
  .ranking-table td { padding-right: 5px; padding-left: 5px; }
  .entity { min-width: 0; gap: 9px; }
  .entity img { width: 46px; height: 46px; }
  .entity.company img { width: 64px; height: 42px; }
  .rank-column { width: 56px; }
  .attorney-column, .company-column { width: auto; }
  .experience-column { width: 70px; }
  #attorneys td:nth-child(3) { white-space: nowrap; }
  .cases-column { width: 105px; }
  .reviews-column { width: 70px; }
  .lawyers-column { width: 100px; }
  .table-scroll-hint { display: block; margin: -7px 0 12px; color: var(--muted); font-size: .7rem; }
}

@media (max-width: 700px) {
  .footer-main { display: block; min-height: 0; }
  .footer-brand-zone { padding: 20px 0 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-brand { gap: 12px; }
  .footer-brand img { width: 42px; height: 42px; }
  .footer-brand strong { font-size: .82rem; }
  .footer-nav-zone { justify-content: flex-start; padding: 15px 0; }
  .footer-nav { flex-wrap: wrap; gap: 10px 24px; }
  .footer-nav a { font-size: .76rem; }
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
    padding-block: 13px 17px;
  }
  .footer-legal p,
  .footer-legal a { font-size: .68rem; }
}

@media (max-width: 660px) {
  :root { --edge-bleed: 14px; --content-gutter: 14px; }
  .header-inner { min-height: 62px; gap: 14px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand-copy strong { font-size: .82rem; }
  .brand-copy small { display: none; }
  .hero-grid { min-height: 244px; }
  .hero-grid::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 48%, rgba(255,255,255,.54) 78%, rgba(255,255,255,.08) 100%),
      linear-gradient(0deg, rgba(255,255,255,.3) 0%, transparent 42%);
  }
  .hero-copy { max-width: none; padding: 22px 14px 26px; }
  .hero h1 { max-width: 360px; margin-bottom: 10px; font-size: clamp(1.9rem, 8.2vw, 2.08rem); line-height: 1; letter-spacing: -.045em; }
  .hero-introduction { font-size: .91rem; line-height: 1.42; }
  .ranking-purpose { padding: 14px 0 18px; }
  .purpose-heading { margin-bottom: 14px; }
  .purpose-heading h2 { font-size: 1.28rem; }
  .purpose-connector { display: none; }
  .purpose-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .purpose-point--low { padding-top: 0; }
  .purpose-node { width: 78px; }
  .purpose-circle { width: 72px; height: 72px; box-shadow: inset 0 0 0 6px #4f8ed9, inset 0 0 0 8px rgba(255,255,255,.72); }
  .purpose-circle img { width: 34px; height: 34px; }
  .purpose-number { top: -2px; left: -18px; font-size: .68rem; }
  .purpose-point p { max-width: 165px; margin-top: 6px; font-size: .67rem; line-height: 1.3; }
  .ranking-section { padding: 34px 0 42px; }
  .section-heading { display: block; }
  .section-heading h2,
  .data-panel h2,
  .company-infographic h2,
  .editorial h2 { font-size: 1.75rem; }
  .title-line { display: block; }
  .section-heading h2,
  .section-code { font-size: 1.75rem; }
  .title-divider { display: block; width: 100%; height: 1px; margin: 9px 0 7px; }
  .ranking-table th { padding-top: 11px; padding-bottom: 11px; }
  .ranking-table td { padding-top: 8px; padding-bottom: 8px; }
  .ranking-table { min-width: 520px; font-size: .78rem; }
  .company-table { min-width: 542px; }
  .rank-column { width: 56px; }
  .attorney-column, .company-column { width: auto; }
  .experience-column { width: 70px; }
  .cases-column { width: 92px; }
  .reviews-column { width: 63px; }
  .lawyers-column { width: 94px; }
  .entity { gap: 7px; }
  .entity img { width: 42px; height: 42px; }
  .entity.company img { width: 58px; height: 38px; }
  .data-panel { padding: 48px 0; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 38px; gap: 7px 12px; }
  .bar-row > div { grid-column: 1 / -1; grid-row: 2; }
  .editorial article { gap: 16px; padding: 0; }
  .editorial article img { height: 220px; }
  .editorial-flow--opening .editorial-lead > div,
  .editorial-flow--opening .editorial-brief > div,
  .editorial-flow--closing .feature-article > div,
  .editorial-flow--closing .closing-article > div { padding: 22px 0 34px; }
  .editorial h2 { margin-bottom: 10px; }
  .editorial .rich-text p,
  .editorial .rich-text li { font-size: .8rem; line-height: 1.48; }
  .editorial .read-more__content { --read-more-collapsed-height: 8.88em; }
  .company-infographic { padding: 48px 0; }
  .big-numbers { grid-template-columns: 1fr; }
  .big-numbers div { padding: 13px 0; border-top-width: 2px; }
  .big-numbers div + div { margin: 8px 0 0; }
  .big-numbers strong { font-size: 2.35rem; }
  .company-bars { height: auto; gap: 11px; }
  .company-bar-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 12px; }
  .company-bar-row > span { font-size: .7rem; }
  .company-bar-row > div { grid-column: 1; grid-row: 2; }
  .company-bar-row > strong { grid-column: 2; grid-row: 1 / 3; }
  .editorial-flow--closing .closing-article > img { min-height: 0; }
  .policy h1 { font-size: clamp(1.75rem, 8.2vw, 2rem); letter-spacing: -.035em; }
  .cookie-notice { right: 14px; bottom: 14px; width: calc(100% - 28px); align-items: flex-end; gap: 10px; padding: 12px; }
  .cookie-notice p { font-size: .68rem; }
  .cookie-notice button { padding: 8px 11px; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .read-more__content { transition: max-height .2s ease-out; }
}
