/* Articles and Da7em Bench. Loaded after site.css and built only from its tokens:
   one dark theme, one blue accent, Geist / IBM Plex Sans Arabic, surfaces 24px, cobalt sheets 36px, controls and chips as pills. */

.pg main { padding-bottom: clamp(104px, 12vw, 184px); }
.pg .h2 + .lead { margin-top: 20px; }

/* ---------- page heads ---------- */
.ah { padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 104px)); }
.ah .wrap, .phero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ah__title, .phero__title {
  grid-column: 1 / -1;
  font-size: clamp(64px, 1.8rem + 8vw, 176px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.062em;
}
html[data-lang="ar"] .ah__title, html[data-lang="ar"] .phero__title { font-size: clamp(56px, 1.6rem + 6.6vw, 144px); font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.ah__lead, .phero__lead {
  grid-column: 7 / -1;
  max-width: 34rem;
  margin-top: clamp(24px, 3vw, 44px);
  font-size: clamp(17px, .9rem + .35vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}
.ah__lead { color: var(--text-2); }
html[data-lang="ar"] .ah__lead, html[data-lang="ar"] .phero__lead { line-height: 1.85; }

/* Bench head: the cobalt field of the home page, shorter, carrying the name and the three facts. */
.hero.phero { min-height: 0; padding-top: calc(var(--nav-h) + clamp(44px, 8vh, 88px)); }
.phero__lead {
  grid-column: 1 / -1;
  max-width: 68rem;
  margin-bottom: clamp(56px, 8vh, 96px);
  color: rgba(245, 248, 255, .86);
  font-size: clamp(19px, 1rem + .65vw, 25px);
  line-height: 1.55;
}
.phero__lead p + p { margin-top: clamp(28px, 3.4vw, 44px); }
html[data-lang="ar"] .phero__lead { line-height: 1.8; }
.phero .facts { grid-column: 1 / -1; }
.pfacts dd { font-size: clamp(52px, 1.8rem + 3.6vw, 92px); }
.js .phero__title .w { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(10px); }
.is-ready .phero__title .w { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.is-ready .phero__lead { transition-delay: 380ms; }

/* ---------- not found ---------- */
.nf__links { grid-column: 4 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(36px, 4vw, 56px); }

/* ---------- articles: index ---------- */
/* The list shares the head's 12-column grid, so the lead and every title start on one line. */
.ah__lead--list { grid-column: 4 / span 6; }
.al { margin-top: clamp(64px, 8vw, 120px); }
.al__list { border-top: 1px solid var(--line); }
.al__link {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
  padding: clamp(30px, 3.2vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.al__meta { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 4px; padding-top: .45em; font-size: 14px; color: var(--text-3); }
.al__text { grid-column: 4 / span 8; }
.al__title { display: block; font-size: clamp(24px, 1rem + 1.3vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -.032em; text-wrap: balance; }
.al__title:lang(ar) { font-size: clamp(22px, 1rem + 1vw, 30px); font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.al__ex { display: block; margin-top: 12px; max-width: 38rem; color: var(--text-2); text-wrap: pretty; }
.al__ex:lang(ar) { line-height: 1.85; }
/* Starts where the titles would: the fourth of twelve columns with 24px gaps. */
.al__empty { padding-block: clamp(30px, 3.2vw, 44px); padding-inline-start: calc((100% - 264px) / 4 + 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); }
.al__pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: clamp(36px, 4vw, 56px); }
.al__older { margin-inline-start: auto; }
/* Each article keeps its own language: an Arabic post in the English interface still reads right to left in the Arabic face, and the reverse.
   Only the title, date and body carry it; the back link and the next link stay in the interface's direction. */
.al__text[lang="ar"], .post [lang="ar"] { font-family: var(--arabic); }
.al__text[lang="en"], .post [lang="en"] { font-family: var(--sans); }
.al__icon {
  grid-column: 12;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.al__icon .ico { transition: transform .35s var(--ease); }
.al__link:hover .al__icon, .post__next:hover .al__icon { background: var(--text); border-color: var(--text); color: var(--bg); }
.al__link:hover .al__icon .ico, .post__next:hover .al__icon .ico { transform: translateX(2px); }
[dir="rtl"] .al__link:hover .al__icon .ico, [dir="rtl"] .post__next:hover .al__icon .ico { transform: scaleX(-1) translateX(2px); }

/* ---------- articles: one article ---------- */
.post { padding-top: calc(var(--nav-h) + clamp(40px, 7vh, 88px)); }
.post__head, .post__body, .post__next { max-width: 44rem; margin-inline: auto; }
.post__back { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); transition: color .2s ease; }
.post__back:hover { color: var(--text); }
.post__back .ico { width: 16px; height: 16px; }
.post__title { margin-top: clamp(28px, 3.4vw, 44px); font-size: clamp(38px, 1rem + 3vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.post__title:lang(ar) { font-size: clamp(32px, 1rem + 2.4vw, 54px); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 15px; color: var(--text-3); }
.post__meta > span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-inline-end: 14px; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* The article body is whatever the block editor produces, so every common block gets a quiet default. */
.post__body { margin-top: clamp(40px, 5vw, 60px); font-size: 19px; line-height: 1.75; overflow-wrap: break-word; }
.post__body:lang(ar) { line-height: 1.95; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2, .post__body h3, .post__body h4 { margin-top: 2.1em; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.post__body h2 { font-size: 26px; }
.post__body h3 { font-size: 22px; }
.post__body h4 { font-size: 19px; }
.post__body h2:lang(ar), .post__body h3:lang(ar), .post__body h4:lang(ar) { font-weight: 600; letter-spacing: 0; line-height: 1.6; }
.post__body :is(h2, h3, h4) + * { margin-top: .75em; }
.post__body strong, .post__body b { font-weight: 600; color: var(--text); }
.post__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: rgba(121, 167, 255, .55); transition: text-decoration-color .2s ease; }
.post__body a:hover { text-decoration-color: var(--blue-soft); }
.post__body ul, .post__body ol { display: grid; gap: .55em; }
.post__body li { position: relative; padding-inline-start: 28px; }
.post__body ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); }
.post__body ul > li:lang(ar)::before { top: .85em; }
.post__body ol { counter-reset: da7-ol; }
.post__body ol > li { counter-increment: da7-ol; }
.post__body ol > li::before { content: counter(da7-ol); position: absolute; inset-inline-start: 0; top: .2em; font-family: var(--mono); font-size: .72em; color: var(--blue-soft); }
.post__body li > ul, .post__body li > ol { margin-top: .55em; }
.post__body blockquote { padding-inline-start: 24px; border-inline-start: 2px solid var(--blue-soft); color: var(--text-2); }
.post__body blockquote cite { display: block; margin-top: .6em; font-size: 15px; font-style: normal; color: var(--text-3); }
.post__body hr { height: 0; margin-block: 2.4em; border: 0; border-top: 1px solid var(--line); }
.post__body img, .post__body video, .post__body iframe { display: block; max-width: 100%; height: auto; border-radius: 24px; }
.post__body figure { margin-inline: 0; }
.post__body figcaption { margin-top: 10px; font-size: 14px; color: var(--text-3); text-align: center; }
.post__body code { padding: .12em .4em; border-radius: 6px; background: var(--surface-2); font-family: var(--mono); font-size: .86em; }
.post__body pre { padding: 20px 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); overflow-x: auto; direction: ltr; text-align: left; font-size: 15px; line-height: 1.6; }
.post__body pre code { padding: 0; background: none; font-size: inherit; white-space: pre; }
.post__body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.post__body .wp-block-table { overflow-x: auto; }
.post__body table th, .post__body table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.post__body table thead, .post__body table tfoot { border: 0; }
.post__body table thead th { border-bottom-color: var(--line-2); }
.post__body table tfoot td { border-top: 1px solid var(--line-2); border-bottom: 0; }
.post__body th { font-weight: 500; color: var(--text-3); }
.post__body .aligncenter { margin-inline: auto; text-align: center; }
.post__body .has-text-align-center { text-align: center; }
.post__next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 8px 24px;
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post__next-k { font-size: 14px; color: var(--text-3); }
.post__next-t { grid-row: 2; text-align: left; font-size: clamp(22px, 1rem + .8vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
/* The title carries its own dir, so align it to the page direction explicitly; Chrome resolves match-parent against the element's own dir. */
html[dir="rtl"] .post__next-t { text-align: right; }
.post__next-t:lang(ar) { font-weight: 600; letter-spacing: 0; line-height: 1.55; }
.post__next .al__icon { grid-column: 2; grid-row: 1 / 3; }

/* ---------- bench: ranking ---------- */
.rk__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.seg { display: inline-flex; flex: none; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.seg button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.rk { margin-top: clamp(40px, 5vw, 64px); }
.rk__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.rk__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rk__table th, .rk__table td { padding: 0; font-weight: 400; text-align: start; }
.rk__table thead th { padding: 0 6px 14px; vertical-align: bottom; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.rk__table thead tr:last-child { border-bottom: 1px solid var(--line-2); }
.rk__groups td, .rk__groups th { padding-bottom: 10px; }
.rk__table .c-g { padding: 0 6px 10px; text-align: center; font-size: 13px; color: var(--text-2); }
.rk__table .c-g + .c-g { border-inline-start: 1px solid var(--line); }
.rk__table abbr { text-decoration: none; cursor: help; }
.rk__table tbody tr { border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .2s ease; }
.rk__table tbody tr:hover { background: rgba(168, 186, 222, .04); }
.c-rank { width: 52px; }
tbody .c-rank { padding-inline-start: 6px; font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.c-model { min-width: 190px; }
.c-model button {
  width: 100%;
  padding: 22px 12px 22px 0;
  border: 0;
  background: none;
  text-align: start;
  font-family: var(--sans);
  font-size: clamp(18px, 1rem + .4vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}
[dir="rtl"] .c-model button { padding: 22px 0 22px 12px; }
.c-model button span { display: none; }
.c-overall { width: 150px; padding-inline-end: 12px; }
.ov { display: flex; align-items: center; gap: 14px; }
.ov b { min-width: 2.1em; font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.ov i { display: block; height: 2px; width: calc(var(--w) * 72px); border-radius: 2px; background: var(--blue-soft); }
[data-view="axes"] .ov i { display: none; }
.rk__table .c-p, .rk__table .c-a { text-align: center; }
tbody .c-p, tbody .c-a { padding: 10px 4px; }
.sc {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, calc(.07 + var(--v) * .58));
  font-size: 15px;
  color: var(--text);
}
[data-view="axes"] .sc { min-width: 40px; height: 32px; padding: 0 8px; font-size: 14px; }
.sc--na { background: none; border: 1px dashed var(--line-2); color: var(--text-3); font-size: 12px; white-space: nowrap; }
[data-view="pillars"] .c-a, [data-view="pillars"] .rk__groups { display: none; }
[data-view="axes"] .c-p { display: none; }
[data-view="axes"] .rk__table { min-width: 1180px; }

/* ---------- bench: profiles ---------- */
.pf {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) minmax(0, 340px);
  gap: 32px clamp(24px, 3vw, 44px);
  align-items: start;
}
.pf__pick { display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); }
.pf__pick button {
  position: relative;
  padding: 9px 18px;
  border: 0;
  background: none;
  text-align: start;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-3);
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}
.pf__pick button::before {
  content: "";
  position: absolute;
  inset-inline-start: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--blue-soft);
  transform: scaleY(0);
  transition: transform .4s var(--ease);
}
.pf__pick button:hover { color: var(--text); }
.pf__pick button[aria-pressed="true"] { color: var(--text); }
.pf__pick button[aria-pressed="true"]::before { transform: scaleY(1); }
.pf__pick button.is-vs { color: var(--text-2); }
.pf__pick button.is-vs::before { transform: scaleY(1); width: 0; border-inline-start: 2px dashed var(--text-2); background: none; }

.pf__chart { min-width: 0; }
.radar { display: block; width: 100%; height: auto; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(168, 186, 222, .13); stroke-width: 1; }
.radar .ring--outer { stroke: rgba(168, 186, 222, .26); }
.radar .spoke { stroke: rgba(168, 186, 222, .1); stroke-width: 1; }
.radar .tick { fill: var(--text-3); font-family: var(--mono); font-size: 11px; stroke: var(--bg); stroke-width: 4px; paint-order: stroke; }
.radar .lbl { fill: var(--text-2); font-family: var(--sans); font-size: 14.5px; }
.radar .lbl text { direction: ltr; text-anchor: start; }
html[data-lang="ar"] .radar .lbl { font-family: var(--arabic); font-size: 14.5px; font-weight: 500; }
.radar .lbl .va { fill: var(--blue-soft); font-family: var(--sans); font-weight: 500; }
.radar .lbl .vb { fill: var(--text); font-family: var(--sans); font-weight: 400; }
.radar .lbl .na { fill: var(--text-3); font-size: 12px; }
.radar .poly-a { fill: rgba(59, 130, 246, .26); stroke: var(--blue-soft); stroke-width: 2; stroke-linejoin: round; }
.radar .poly-b { fill: rgba(237, 241, 247, .05); stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 5 5; stroke-linejoin: round; }
.radar .dot { fill: var(--bg); stroke: var(--blue-soft); stroke-width: 2; }
.radar.is-compact .lbl, html[data-lang="ar"] .radar.is-compact .lbl { font-size: 22px; }
.radar.is-compact .lbl .na { font-size: 18px; }
.radar.is-compact .tick { font-size: 16px; stroke-width: 5px; }
.radar.is-compact .ring, .radar.is-compact .spoke { stroke-width: 1.5; }
.radar.is-compact .poly-a { stroke-width: 3; }
.radar.is-compact .poly-b { stroke-width: 2.5; stroke-dasharray: 8 7; }
.radar.is-compact .dot { stroke-width: 3; }

.vs { display: flex; flex-direction: column; gap: 8px; }
.vs__k { font-size: 14px; color: var(--text-3); }
.vs__field { position: relative; display: block; }
.vs__field::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  pointer-events: none;
  background: currentColor;
  color: var(--text-2);
  /* Phosphor caret-down (regular, MIT) */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vs select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 46px;
  padding-inline: 20px 46px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.vs select:hover { border-color: var(--text-3); }
.vs select option { background: var(--surface-2); color: var(--text); }

.dt { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.dt__name { font-size: clamp(28px, 1rem + 1.4vw, 38px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; font-family: var(--sans); }
.dt__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; }
.dt__score b { font-size: 64px; font-weight: 500; line-height: .9; letter-spacing: -.045em; font-family: var(--sans); }
.dt__score .dt__of { font-size: 18px; color: var(--text-3); font-family: var(--sans); }
.dt__rank { flex-basis: 100%; margin-top: 8px; font-size: 14px; color: var(--text-3); }
.dt__pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 26px; }
.dt__pillars dt { font-size: 13px; color: var(--text-3); }
.dt__pillars dd { margin-top: 2px; font-size: 20px; font-weight: 500; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.dt h4 { margin-top: 26px; margin-bottom: 6px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.dt ul li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dt ul li b { font-family: var(--sans); font-weight: 500; color: var(--blue-soft); font-variant-numeric: tabular-nums; }
.dt__na { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.dt__note { margin-top: 26px; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
html[data-lang="ar"] .dt__note { line-height: 1.85; }

.dt__pair { display: grid; gap: 14px; }
.dt__who { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.dt__who strong { font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-family: var(--sans); }
.dt__who b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.sw { display: block; width: 28px; height: 0; border-top: 2px solid var(--blue-soft); }
.sw--b { border-top: 2px dashed var(--text); }
.dt__cmp { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.dt__cmp div { display: grid; grid-template-columns: minmax(0, 1fr) 52px 52px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dt__cmp span:not(:first-child) { text-align: end; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.dt .va { color: var(--blue-soft); font-weight: 500; }
.dt .vb { color: var(--text); }
.dt h4.dt__lead { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--text-2); }
.dt__lead .sw { flex: none; width: 20px; }
.dt__vals { display: inline-flex; flex: none; align-items: baseline; gap: 8px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.dt__vals > span:not(.dt__vs):not(.dt__gap) { color: var(--text-2); }
.dt__vs { font-size: 12px; color: var(--text-3); }
.dt__gap { min-width: 3ch; font-size: 13px; color: var(--text-3); text-align: end; }
.dt__same { margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* ---------- bench: method ---------- */
.mt { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.mt__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); padding: clamp(32px, 3.6vw, 48px) 0 clamp(40px, 4.4vw, 56px); border-bottom: 1px solid var(--line); }
.mt__pillar { display: flex; flex-direction: column; gap: 6px; font-size: clamp(26px, 1rem + 1.2vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
html[data-lang="ar"] .mt__pillar { font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.mt__pillar > span:last-child { font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--text-3); }
.mt__axes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 3.4vw, 56px); }
.mt__axis h4 { font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
html[data-lang="ar"] .mt__axis h4 { font-weight: 600; letter-spacing: 0; }
.mt__axis > p { margin-top: 8px; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
html[data-lang="ar"] .mt__axis > p { line-height: 1.85; }
.mt__anchors { display: grid; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--text-3); }
.mt__anchors div { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; }
.mt__anchors dt { font-family: var(--mono); color: var(--blue-soft); }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(48px, 5vw, 72px); }
.rules dt { font-size: 14px; color: var(--text-3); }
.rules dd { margin-top: 8px; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
html[data-lang="ar"] .rules dd { line-height: 1.85; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .pf { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .pf__pick {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    border: 0;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .pf__pick::-webkit-scrollbar { display: none; }
  .pf__pick button { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; }
  .pf__pick button::before { display: none; }
  .pf__pick button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
  .pf__pick button.is-vs { border-style: dashed; border-color: var(--text-2); }
}
@media (max-width: 960px) {
  .ah__lead, .phero__lead { grid-column: 1 / -1; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt__row { grid-template-columns: minmax(0, 1fr); }
  .mt__pillar { flex-direction: row; align-items: baseline; gap: 14px; }
  .ah__lead--list, .nf__links { grid-column: 1 / span 9; }
  .al__empty { padding-inline-start: 0; }
}
@media (max-width: 760px) {
  .pg .h2 + .lead { margin-top: 16px; }
  .pfacts dd { font-size: 56px; }
  .ah__lead--list, .nf__links { grid-column: 1 / -1; }
  .al__link { display: flex; flex-direction: column; gap: 12px; }
  .al__meta { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding-top: 0; }
  .al__icon { display: none; }
  .post__body { font-size: 18px; }
  .rk__table thead th.c-rank, tbody .c-rank, .rk__groups .c-rank { display: none; }
  .c-model { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 0; background: var(--bg); }
  .c-model button { display: flex; align-items: baseline; gap: 10px; padding-block: 18px; font-size: 17px; }
  /* Flex keeps the rank on the start side; inline, the digit joins the Latin model name's LTR run in Arabic. */
  .c-model button span { display: inline; flex: 0 0 2ch; font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--text-3); }
  .rk__scroll[data-more] { -webkit-mask-image: linear-gradient(to left, transparent, #000 64px); mask-image: linear-gradient(to left, transparent, #000 64px); }
  [dir="rtl"] .rk__scroll[data-more] { -webkit-mask-image: linear-gradient(to right, transparent, #000 64px); mask-image: linear-gradient(to right, transparent, #000 64px); }
  .rk__table tbody tr:hover { background: none; }
  .c-overall { width: auto; }
  .ov i { display: none; }
  .ov b { font-size: 19px; }
  [data-view="pillars"] .rk__table { min-width: 520px; }
  [data-view="axes"] .rk__table { min-width: 1040px; }
  .pf { grid-template-columns: minmax(0, 1fr); }
  .mt__axes { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rules { grid-template-columns: minmax(0, 1fr); }
}
