:root {
  --ink: #15161a;
  --ink-2: #3a3d44;
  --muted: #6b6f78;
  --faint: #9a9ea7;
  --line: #e4e4e6;
  --line-strong: #c9cacd;
  --paper: #ffffff;
  --serif: "Tiempos Text", "Iowan Old Style", Georgia, "Times New Roman", ui-serif, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked .topbar,
body.is-locked main,
body.is-locked .lightbox {
  pointer-events: none;
  user-select: none;
  visibility: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
span,
td,
th,
dd,
dt {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Shared label ---------- */

.eyebrow {
  margin: 0 0 20px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Password gate ---------- */

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.password-gate[hidden] {
  display: none;
}

.password-card {
  width: min(420px, 100%);
  margin: 0;
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}

.password-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 0 22px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.password-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
}

.password-copy {
  margin: 12px 0 24px;
  color: var(--ink-2);
  font-size: 16px;
}

.password-card label {
  display: block;
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.password-row {
  display: flex;
  gap: 12px;
}

.password-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 2px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.password-row input:focus {
  border-bottom-color: var(--ink);
}

.password-row button {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
}

.password-row button:hover {
  background: var(--ink);
  color: #ffffff;
}

.password-error {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--serif);
  font-weight: 500;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--faint);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  border-bottom: 1px solid transparent;
}

.navlink-github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.navlink-github svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.navlinks a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Article layout ---------- */

.post {
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  column-gap: 48px;
}

.post-header {
  grid-column: 2;
  max-width: 940px;
  padding: 96px 0 56px;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 88px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.subtitle {
  max-width: 64ch;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink-2);
}

.intro {
  max-width: none;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.post-meta span {
  color: var(--faint);
}

.post-meta a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.post-meta a:hover {
  border-bottom-color: var(--ink);
}

.post-toc {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 96px;
  align-self: start;
  width: 172px;
}

.toc-title {
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.post-toc a {
  display: block;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.post-toc a:hover {
  color: var(--ink);
}

.post-toc a.is-current {
  color: var(--ink);
  border-left-color: var(--ink);
  font-weight: 500;
}

.post-body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: 940px;
}

/* ---------- Sections ---------- */

.section {
  margin: 0;
  padding: 0;
  scroll-margin-top: 88px;
}

.post-body > section + section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.band {
  background: var(--paper);
}

.section-heading {
  max-width: none;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

.text-accent {
  color: #b33a3a;
  font-weight: 700;
}

/* ---------- Math (KaTeX) ---------- */

/* KaTeX defaults inline math to 1.21em, which reads oversized next to prose.
   Keep it just slightly larger than the running text and let it inherit colour. */
.katex {
  font-size: 1.05em;
  color: inherit;
  white-space: nowrap;
}

/* The global `span { overflow-wrap: anywhere }` rule would otherwise break
   KaTeX's inner spans glyph-by-glyph in narrow columns (e.g. the findings
   cards), stacking a formula vertically. Keep each formula on one line. */
.katex,
.katex * {
  overflow-wrap: normal;
  word-break: normal;
}

/* ---------- Figures ---------- */

.figure-shell {
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.image-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.scaling-figure,
.taxonomy-figure {
  margin-top: 40px;
}

.scaling-figure img,
.taxonomy-figure img {
  width: 100%;
  background: #ffffff;
}

figcaption {
  padding: 0;
  margin-top: 14px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.5;
}

.scaling-figure figcaption,
.taxonomy-figure figcaption {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Scaling facts ---------- */

.scaling-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.scaling-facts article {
  padding: 0 28px;
}

.scaling-facts article:first-child {
  padding-left: 0;
}

.scaling-facts article:not(:first-child) {
  border-left: 1px solid var(--line);
}

.scaling-facts span,
.effort-grid span,
.finding-card > span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scaling-facts strong,
.effort-grid strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.chart img {
  width: 100%;
  background: #ffffff;
}

/* ---------- Benchmark details ---------- */

.benchmark-details-section {
  scroll-margin-top: 96px;
}

.details-carousel {
  position: relative;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.details-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.details-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 20px 16px 0;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  text-align: left;
  color: var(--muted);
}

.details-tab:not(:first-child) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.details-tab span {
  color: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.details-tab strong {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--faint);
}

.details-tab:hover,
.details-tab.is-active {
  color: var(--ink);
}

.details-tab.is-active {
  border-bottom-color: var(--ink);
}

.details-tab.is-active strong {
  color: var(--ink);
}

.details-pages {
  position: relative;
  min-height: 560px;
}

.details-page {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding-top: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 0s linear 220ms;
}

.details-page[hidden] {
  display: none;
}

.details-page.is-active {
  position: relative;
  z-index: 1;
  animation: details-page-fade 240ms ease both;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

@keyframes details-page-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-page-heading {
  max-width: 72ch;
  margin: 0 0 28px;
}

.details-page-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--ink);
}

.details-page-heading p:not(.eyebrow) {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

.details-page-heading p:not(.eyebrow) strong {
  color: #b33a3a;
  font-weight: 650;
}

.details-page-heading p:not(.eyebrow) b {
  color: var(--ink);
  font-weight: 650;
}

.details-controls {
  position: absolute;
  top: 96px;
  bottom: 0;
  left: -118px;
  right: -118px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.details-arrow {
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 22px;
  line-height: 1;
  pointer-events: auto;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.details-arrow:hover {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.details-arrow:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.details-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
  .details-page,
  .details-arrow {
    animation: none;
    transform: none;
    transition: none;
  }
}

/* ---------- Interactive taxonomy map ---------- */

/* ---------- Benchmark feature cards ---------- */

.bench-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.bench-feature {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.bench-feature:hover {
  border-color: var(--line-strong);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgba(21, 22, 26, 0.4);
}

.bf-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.bf-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.bf-stat {
  flex: 0 0 auto;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #b33a3a;
  white-space: nowrap;
}

.bf-stat small {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
}

.bf-copy {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.62;
}

.bf-copy em {
  font-style: italic;
}

@media (max-width: 720px) {
  .bench-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bf-stat {
    font-size: 30px;
  }
}

/* ---------- Open-source release ---------- */

.bench-release {
  margin: 34px 0 0;
}

.br-text {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

.br-families {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.br-families li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.br-families b {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--c);
}

.br-families b small {
  font-size: 0.5em;
  font-weight: 600;
  color: color-mix(in srgb, var(--c) 52%, var(--muted));
}

.br-families span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--muted);
}

@media (max-width: 720px) {
  .br-families {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
  }
}

.taxonomy-map-figure {
  width: 100%;
  margin: 40px 0 0;
}

.taxonomy-map {
  --tm-ink: var(--ink);
  --tm-sub: var(--muted);
  --tm-line: var(--line);
  overflow: visible;
  padding: 0 0 16px;
  color: var(--tm-ink);
  background: #ffffff;
}

.tm-bar {
  display: flex;
  height: 38px;
  overflow: hidden;
  border-radius: 8px;
}

.tm-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: var(--tm-share) 1 0;
  min-width: 0;
  padding: 0 8px;
  color: color-mix(in srgb, var(--tm-color) 68%, var(--ink));
  background: color-mix(in srgb, var(--tm-color) 34%, #ffffff);
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.tm-segment:hover,
.tm-segment.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--tm-color) 48%, #ffffff);
}

.tm-segment.is-active {
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--tm-color) 78%, var(--ink));
}

.tm-axis {
  margin: 8px 0 22px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.3;
  text-align: center;
}

.tm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.tm-family {
  --tm-color: #6b6f78;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-radius: 0;
  background: #ffffff;
}

.tm-family[data-taxonomy-family="science"] {
  --tm-color: #0e9384;
}

.tm-family[data-taxonomy-family="systems"] {
  --tm-color: #2563eb;
}

.tm-family[data-taxonomy-family="optimization"] {
  --tm-color: #5b5bd6;
}

.tm-family[data-taxonomy-family="knowledge"] {
  --tm-color: #1f9d55;
}

.tm-family[data-taxonomy-family="formal"] {
  --tm-color: #8b5cf6;
}

.tm-family[data-taxonomy-family="games"] {
  --tm-color: #c9357f;
}

.tm-family-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  min-width: 0;
  margin-bottom: 0;
}

.tm-family-title {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  color: var(--tm-ink);
  font-family: var(--serif);
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-align: left;
  overflow-wrap: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-count {
  flex: 0 0 auto;
  color: var(--tm-color);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.tm-count small {
  font-size: 1em;
  font-family: inherit;
  font-weight: inherit;
}

.tm-share {
  flex: 0 0 auto;
  color: var(--tm-sub);
  font-size: 12px;
  font-weight: 500;
}

.tm-desc {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.tm-desc b {
  color: var(--tm-ink);
  font-weight: 600;
}

.tm-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 7px;
}

.taxonomy-map:not(.has-selection) .tm-desc,
.taxonomy-map:not(.has-selection) .tm-tiles {
  display: none;
}

.taxonomy-map.has-selection .tm-grid {
  border-top: 0;
}

.taxonomy-map.has-selection .tm-family {
  grid-area: 1 / 1;
  display: block;
  padding: 18px 18px 20px;
  border-bottom: 0;
  border-left: 3px solid var(--tm-color);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--tm-color) 5%, #ffffff),
    #ffffff 74%
  );
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  visibility: hidden;
}

.taxonomy-map.has-selection .tm-family.is-active,
.taxonomy-map.has-selection .tm-family.is-leaving {
  visibility: visible;
}

.taxonomy-map.has-selection .tm-family.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: tm-family-in 420ms ease both;
}

.taxonomy-map.has-selection .tm-family.is-leaving {
  z-index: 1;
  animation: tm-family-out 420ms ease both;
}

.taxonomy-map.has-selection .tm-family-head {
  margin-bottom: 8px;
}

.taxonomy-map.has-selection .tm-family-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.taxonomy-map.has-selection .tm-desc {
  margin-bottom: 14px;
}

.taxonomy-map.has-selection .tm-tile img {
  width: 92px;
  height: 92px;
}

.taxonomy-map.has-selection .tm-tile span {
  font-size: 12px;
}

.taxonomy-map.has-selection .tm-more {
  min-height: 92px;
}

.taxonomy-map.has-selection .tm-more b {
  font-size: 12px;
}

@keyframes tm-family-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tm-family-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.tm-tile,
.tm-more {
  min-width: 0;
  padding: 0;
  color: var(--tm-ink);
  background: none;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.tm-tile {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.tm-tile img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1.5px solid color-mix(in srgb, var(--tm-color) 38%, #ffffff);
  border-radius: 16px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.tm-tile span {
  display: block;
  color: var(--tm-ink);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
}

.tm-tile:hover img {
  border-color: var(--tm-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tm-color) 22%, transparent);
}

.tm-tile:hover span {
  color: var(--tm-color);
}

.tm-tile::before,
.tm-tile::after {
  position: absolute;
  left: 50%;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.tm-tile::before {
  content: "";
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: #ffffff;
  filter: drop-shadow(0 3px 2px rgba(21, 22, 26, 0.08));
  transform: translate(-50%, 4px);
}

.tm-tile::after {
  content: attr(data-taxonomy-task-copy);
  bottom: calc(100% + 15px);
  width: min(260px, calc(100vw - 48px));
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(21, 22, 26, 0.14);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: pre-line;
  transform: translate(-50%, 8px);
}

.tm-tile:hover {
  z-index: 40;
}

.tm-tile:hover::before,
.tm-tile:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tm-more {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 52px;
  color: var(--tm-color);
}

.tm-more span {
  color: color-mix(in srgb, var(--tm-color) 58%, #ffffff);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1;
}

.tm-more b {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- Taxonomy explorer ---------- */

.taxonomy-explorer {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.family-tabs {
  align-self: start;
}

.family-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 0 14px 14px;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: 0;
  text-align: left;
}

.family-tab:last-child {
  border-bottom: 0;
}

.family-tab span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
}

.family-tab strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--faint);
}

.family-tab:hover span {
  color: var(--ink);
}

.family-tab.is-active {
  border-left: 2px solid var(--ink);
}

.family-tab.is-active span {
  color: var(--ink);
  font-weight: 600;
}

.family-tab.is-active strong {
  color: var(--ink);
}

.example-panel {
  min-width: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.family-summary {
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}

.family-summary h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
}

.family-summary p {
  max-width: 66ch;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.task-chip {
  padding: 0 0 2px;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
}

.task-chip:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.task-chip.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}

.task-detail {
  padding-top: 24px;
}

.task-detail h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.task-detail p {
  max-width: 66ch;
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.task-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
}

.task-meta div {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.task-meta div:nth-child(2) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.task-meta dt {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.task-meta dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Learning speed ---------- */

.learning-speed-figure {
  margin: 0;
}

.agent-learning-speed-section .section-heading {
  margin-bottom: 18px;
}

.learning-speed-chart {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  color: var(--ink);
}

.learning-speed-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ls-title,
.ls-subtitle {
  font-family: var(--serif);
  fill: var(--ink);
}

.ls-title {
  font-size: 27px;
  font-weight: 700;
}

.ls-subtitle {
  font-size: 18px;
  font-weight: 500;
}

.ls-axis-title {
  fill: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.ls-axis-note,
.ls-tick,
.ls-legend text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.ls-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.ls-axis {
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.ls-fit-band {
  fill: #5b7fbd;
  opacity: 0.13;
  pointer-events: none;
}

.ls-fit-line {
  fill: none;
  stroke: #567dbd;
  stroke-width: 3;
}

.ls-fit-line-main {
  pointer-events: none;
  stroke-linecap: round;
}

.ls-error {
  fill: none;
  stroke-width: 1.8;
}

.ls-point-group {
  cursor: default;
  pointer-events: all;
  transform-box: fill-box;
  transform-origin: center;
}

.ls-point-group * {
  pointer-events: visiblePainted;
}

.ls-point {
  stroke: #ffffff;
  stroke-width: 2;
}

.ls-hit-area {
  fill: transparent;
  pointer-events: all;
  stroke: none;
}

.ls-point-group:focus .ls-point {
  stroke: var(--ink);
  stroke-width: 2.5;
}

.ls-point.is-frontier {
  r: 6.5;
}

.ls-label {
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 4px;
  stroke-linejoin: round;
  font-size: 13px;
  font-weight: 500;
  transform-box: fill-box;
  transform-origin: center;
}

.ls-label.is-frontier {
  font-size: 14px;
  font-weight: 700;
}

.ls-legend-box {
  fill: #ffffff;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.learning-speed-tooltip {
  position: absolute;
  z-index: 10;
  width: max-content;
  max-width: min(260px, calc(100% - 20px));
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(21, 22, 26, 0.14);
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}

.learning-speed-tooltip[hidden] {
  display: none;
}

.learning-speed-tooltip strong,
.learning-speed-tooltip span {
  display: block;
}

.learning-speed-tooltip strong {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 650;
}

.learning-speed-chart-shell {
  position: absolute;
  inset: 0;
  font-family: var(--sans);
}

.learning-speed-chart-shell .ls-corner-note {
  position: absolute;
  color: var(--ink);
  font-family: var(--serif);
  width: 480px;
  padding: 4px 0 6px 18px;
  line-height: 1.12;
  text-align: right;
  white-space: normal;
  transform: translateX(-100%);
}

.learning-speed-chart-shell .ls-corner-note {
  font-size: 30px;
  font-weight: 500;
}

.learning-speed-chart-shell .ls-corner-note span {
  display: block;
}

.learning-speed-chart-shell .ls-axis-title,
.learning-speed-chart-shell .ls-axis-note,
.learning-speed-chart-shell .ls-title,
.learning-speed-chart-shell .ls-tick {
  position: absolute;
  line-height: 1;
  white-space: nowrap;
}

.learning-speed-chart-shell .ls-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
}

.learning-speed-chart-shell .ls-axis-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.learning-speed-chart-shell .ls-axis-note,
.learning-speed-chart-shell .ls-tick {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.learning-speed-chart-shell .is-y-title,
.learning-speed-chart-shell .is-y-note {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.ls-grid-line,
.ls-axis-line,
.ls-x-tick-line {
  position: absolute;
  pointer-events: none;
}

.ls-grid-line {
  height: 1px;
  background: var(--line);
  transform: translateY(-50%);
}

.ls-axis-line {
  background: var(--line-strong);
}

.ls-axis-line.is-y {
  width: 1.2px;
}

.ls-axis-line.is-x {
  height: 1.2px;
  transform: translateY(-50%);
}

.ls-x-tick-line {
  width: 1.2px;
  height: 6px;
  background: var(--line-strong);
}

.ls-y-tick-label {
  transform: translate(-100%, -50%);
}

.ls-x-tick-label {
  text-align: right;
  transform: translate(-100%, 0) rotate(-32deg);
  transform-origin: 100% 50%;
}

.ls-fit-band-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ls-fit-band {
  position: absolute;
  inset: 0;
  background: #5b7fbd;
  opacity: 0.13;
  pointer-events: none;
}

.ls-fit-line {
  position: absolute;
  z-index: 2;
  height: 3px;
  background: #567dbd;
  border-radius: 999px;
  pointer-events: none;
  transform-origin: left center;
}

.ls-fit-line-main {
  transform: rotate(var(--ls-angle)) scaleX(1);
}

.ls-error {
  position: absolute;
  z-index: 3;
  width: 1.8px;
  background: var(--ls-color);
  opacity: var(--ls-error-opacity);
  pointer-events: none;
  transform: translateX(-50%);
}

.ls-error::before,
.ls-error::after {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 1.8px;
  background: var(--ls-color);
  content: "";
  transform: translateX(-50%);
}

.ls-error::before {
  top: 0;
}

.ls-error::after {
  bottom: 0;
}

.ls-point-group {
  position: absolute;
  z-index: 5;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: default;
  transform: translate(-50%, -50%) scale(1);
}

.ls-point {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--ls-color);
  box-shadow: 0 0 0 1px rgba(21, 22, 26, 0.06);
  opacity: var(--ls-point-opacity);
  transform: translate(-50%, -50%);
}

.ls-point-group.is-frontier .ls-point {
  width: 15px;
  height: 15px;
}

.ls-point-group:focus-visible .ls-point {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.ls-label {
  position: absolute;
  z-index: 6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  pointer-events: none;
  text-shadow:
    0 1px 0 #ffffff,
    1px 0 0 #ffffff,
    0 -1px 0 #ffffff,
    -1px 0 0 #ffffff;
  white-space: nowrap;
}

.ls-label.is-frontier {
  font-size: 14px;
  font-weight: 700;
}

.ls-label.anchor-start {
  transform: translate(0, -50%);
}

.ls-label.anchor-middle {
  transform: translate(-50%, -50%);
}

.ls-label.anchor-end {
  text-align: right;
  transform: translate(-100%, -50%);
}

.ls-legend {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px 10px;
  margin: 0;
  padding: 8px 10px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(21, 22, 26, 0.05);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
}

.ls-legend-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--ls-color);
}

.ls-legend-line {
  width: 22px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #567dbd;
}

.learning-speed-chart.is-armed .ls-point-group,
.learning-speed-chart.is-armed .ls-error,
.learning-speed-chart.is-armed .ls-label,
.learning-speed-chart.is-armed .ls-corner-note {
  opacity: 0;
  animation: none;
}

.learning-speed-chart.is-armed .ls-fit-band-wrap {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: none;
}

.learning-speed-chart.is-armed .ls-fit-line-main {
  transform: rotate(var(--ls-angle)) scaleX(0);
  animation: none;
}

.learning-speed-chart.is-animating .ls-point-group,
.learning-speed-chart.is-animating .ls-error,
.learning-speed-chart.is-animating .ls-label {
  opacity: 0;
  animation: ls-point-in 260ms ease both;
  animation-delay: var(--ls-delay);
}

.learning-speed-chart.is-animating .ls-error {
  animation-name: ls-error-in;
}

.learning-speed-chart.is-animating .ls-label {
  animation-name: ls-label-in;
  animation-delay: calc(var(--ls-delay) + 80ms);
}

.learning-speed-chart.is-animating .ls-fit-band-wrap {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: ls-band-in 900ms ease both;
  animation-delay: var(--ls-fit-delay);
}

.learning-speed-chart.is-animating .ls-fit-line-main {
  transform: rotate(var(--ls-angle)) scaleX(0);
  animation: ls-line-draw 1300ms ease both;
  animation-delay: var(--ls-fit-delay);
}

.learning-speed-chart.is-animating .ls-corner-note {
  opacity: 0;
  animation: ls-label-in 420ms ease both;
  animation-delay: var(--ls-note-delay);
}

@keyframes ls-point-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 6px)) scale(0.82);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes ls-label-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ls-error-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px) scaleY(0.82);
  }

  to {
    opacity: var(--ls-error-opacity);
    transform: translateX(-50%) translateY(0) scaleY(1);
  }
}

@keyframes ls-band-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ls-line-draw {
  to {
    transform: rotate(var(--ls-angle)) scaleX(1);
  }
}

/* ---------- Leaderboard ---------- */

.leaderboard-layout {
  display: grid;
  gap: 28px;
}

.effort-grid.leaderboard-scale {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.effort-grid.leaderboard-scale article,
.effort-grid.leaderboard-scale article:nth-child(odd),
.effort-grid.leaderboard-scale article:nth-child(even) {
  padding: 18px 24px;
  border-left: 1px solid var(--line);
}

.effort-grid.leaderboard-scale article:first-child {
  padding-left: 0;
  border-left: 0;
}

.leaderboard-panel {
  min-width: 0;
}

.leaderboard-controls {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.leaderboard-control-group {
  min-width: 0;
}

.leaderboard-control-label {
  display: block;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.leaderboard-control-label strong {
  color: var(--ink);
  font-weight: 650;
}

.leaderboard-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 9px;
}

.leaderboard-segment {
  --metric-color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 12px;
  cursor: pointer;
  color: color-mix(in srgb, var(--metric-color) 74%, var(--muted));
  background: color-mix(in srgb, var(--metric-color) 5%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--metric-color) 20%, var(--line));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.leaderboard-segment:hover,
.leaderboard-segment.is-active {
  color: var(--metric-color);
  border-color: color-mix(in srgb, var(--metric-color) 70%, var(--line));
  background: color-mix(in srgb, var(--metric-color) 10%, #ffffff);
}

.leaderboard-segment.is-active {
  background: var(--metric-color);
  color: #ffffff;
}

.leaderboard-chart {
  margin-top: 26px;
}

.leaderboard-chart-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 28px minmax(154px, 184px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.leaderboard-chart-head {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.leaderboard-time-head {
  grid-column: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: var(--faint);
}

.leaderboard-time-head.is-category {
  grid-template-columns: 1fr;
}

.leaderboard-time-head b {
  font-size: inherit;
  font-weight: inherit;
}

.leaderboard-bars {
  display: grid;
  gap: 12px;
}

.leaderboard-row {
  min-height: 54px;
  padding: 0 0 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.leaderboard-rank {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.leaderboard-model {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.leaderboard-model i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--model-color, var(--lb-color));
}

.leaderboard-slices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.leaderboard-slice,
.leaderboard-category-bar {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 34px;
  overflow: hidden;
  background: color-mix(in srgb, var(--lb-color) 6%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--lb-color) 13%, var(--line));
}

.leaderboard-slice {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 10px;
}

.leaderboard-category-bar {
  --lb-tone: 92%;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 10px;
}

.leaderboard-slice i,
.leaderboard-category-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--lb-width);
  background: color-mix(in srgb, var(--lb-color) var(--lb-tone, 78%), #ffffff);
  transform-origin: left center;
}

.leaderboard-slice.is-t1 {
  --lb-tone: 44%;
}

.leaderboard-slice.is-t2 {
  --lb-tone: 68%;
}

.leaderboard-slice.is-t3 {
  --lb-tone: 92%;
}

.leaderboard-slice small,
.leaderboard-slice strong,
.leaderboard-category-bar strong {
  position: relative;
  z-index: 1;
}

.leaderboard-slice small {
  color: color-mix(in srgb, var(--lb-color) 76%, var(--ink));
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.leaderboard-slice strong,
.leaderboard-category-bar strong {
  grid-column: 2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: right;
}

.leaderboard-chart.is-ready .leaderboard-row {
  animation: lb-row-in 240ms ease both;
}

.leaderboard-chart.is-ready .leaderboard-row:nth-child(2) {
  animation-delay: 35ms;
}

.leaderboard-chart.is-ready .leaderboard-row:nth-child(3) {
  animation-delay: 70ms;
}

.leaderboard-chart.is-ready .leaderboard-row:nth-child(4) {
  animation-delay: 105ms;
}

.leaderboard-chart.is-ready .leaderboard-row:nth-child(5) {
  animation-delay: 140ms;
}

.leaderboard-chart.is-ready .leaderboard-slice i,
.leaderboard-chart.is-ready .leaderboard-category-bar i {
  animation: lb-bar-in 420ms ease both;
}

@keyframes lb-row-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lb-bar-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.effort-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 0;
  align-self: start;
}

.effort-grid article {
  padding: 0 24px;
}

.effort-grid article:nth-child(odd) {
  padding-left: 0;
}

.effort-grid article:nth-child(even) {
  border-left: 1px solid var(--line);
}

.effort-grid strong {
  font-size: 32px;
}

/* ---------- Curves ---------- */

.curve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.curve-card {
  min-width: 0;
}

.curve-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: contain;
  background: #ffffff;
}

.curve-card figcaption {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Findings ---------- */

.finding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 40px;
}

.finding-card {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.finding-card > span {
  color: var(--faint);
}

.finding-card h3 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
}

.finding-card p {
  max-width: 56ch;
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Animated curve show ---------- */

.curve-show {
  margin-top: 8px;
}

.curve-show-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 30px;
}

.cv-leg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.cv-leg i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.curve-show-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 18px;
  will-change: transform, opacity;
}

.cv-card {
  margin: 0;
  min-width: 0;
}

.cv-plot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 250;
  overflow: visible;
}

.cv-axis {
  stroke: var(--line);
  stroke-width: 1;
}

.cv-ax-label {
  fill: var(--faint);
  font-family: var(--sans);
  font-size: 11px;
}

.cv-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal all model lines together by elapsed time: a left-to-right clip sweep,
   so every model advances at the same x-axis (time) rate. */
.cv-reveal {
  clip-path: inset(-30% 100% -30% -8%);
}

.curve-show-track.drawing .cv-reveal {
  animation: cv-sweep var(--grow, 4500ms) ease-in-out forwards;
}

@keyframes cv-sweep {
  from { clip-path: inset(-30% 100% -30% -8%); }
  to { clip-path: inset(-30% -8% -30% -8%); }
}

@media (prefers-reduced-motion: reduce) {
  .cv-reveal { clip-path: none; }
  .curve-show-track.drawing .cv-reveal { animation: none; }
  /* Opt-in: when the visitor presses Play they have explicitly asked for motion,
     so honour that choice even though the OS prefers reduced motion. */
  .curve-show.motion-on .cv-reveal { clip-path: inset(-30% 100% -30% -8%); }
  .curve-show.motion-on .curve-show-track.drawing .cv-reveal {
    animation: cv-sweep var(--grow, 4500ms) ease-in-out forwards;
  }
}

/* Pause freezes the in-progress day animation in place: the curve sweep and
   the sun/moon arc both stop where they are. */
.curve-show-track.cv-frozen .cv-reveal,
.curve-day.cv-frozen .cd-orb {
  animation-play-state: paused;
}

.cv-dot {
  opacity: 1; /* revealed together with its line by the sweep clip */
}

.cv-meta {
  margin-top: 16px;
}

.cv-fam {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-name {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.cv-desc {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.curve-show-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

#curve-show-progress {
  color: var(--faint);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.curve-show-controls {
  display: flex;
  gap: 20px;
}

.curve-show-controls button {
  padding: 0 0 1px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.curve-show-controls button:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 720px) {
  .curve-show-track {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Day / night cycle ---------- */

.curve-day {
  position: relative;
  height: 58px;
  margin-top: 12px;
}

.cd-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: var(--line);
}

.cd-orb {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 22px;
  height: 22px;
  color: var(--ink-2);
  opacity: 0;
  transform: translate(-50%, -2px);
  will-change: left, transform, opacity;
}

.cd-orb svg {
  display: block;
  width: 22px;
  height: 22px;
}

.cd-moon {
  color: var(--faint);
}

.curve-day.sun-run .cd-sun {
  animation: cd-arc var(--sun-dur, 4500ms) ease-in-out 1 both;
}

.curve-day.moon-run .cd-moon {
  animation: cd-arc var(--moon-dur, 3000ms) ease-in-out 1 both;
}

@keyframes cd-arc {
  0% { left: 3%; transform: translate(-50%, -2px) scale(0.78); opacity: 0; }
  16% { opacity: 1; }
  50% { left: 50%; transform: translate(-50%, -28px) scale(1); opacity: 1; }
  84% { opacity: 1; }
  100% { left: 97%; transform: translate(-50%, -2px) scale(0.78); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .curve-day .cd-orb { animation: none; }
  .cd-sun { left: 38%; transform: translate(-50%, -30px); opacity: 1; }
  .cd-moon { left: 64%; transform: translate(-50%, -22px); opacity: 1; }
}

/* ---------- Frontier mechanism widget ---------- */

.frontier-widget {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 8px;
}

.frontier-graph {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.frontier-graph canvas {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.frontier-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.frontier-controls label {
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.frontier-controls input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 3px;
  accent-color: var(--ink-2);
  cursor: pointer;
}

.frontier-controls output {
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

#frontier-new {
  flex: 0 0 auto;
  padding: 4px 12px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

#frontier-new:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.frontier-score {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  justify-content: center;
}

.frontier-score svg {
  width: 100%;
  height: auto;
}

.fr-folabel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  color: var(--faint);
  line-height: 1;
}

.fr-folabel .katex,
.frontier-readouts .rl .katex {
  font-size: 1em;
}

.frontier-readouts .rl {
  color: var(--ink-2);
}

.fr-tick {
  fill: var(--faint);
  font-family: var(--sans);
  font-size: 11px;
}

.fr-axlabel {
  fill: var(--faint);
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.frontier-readouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

.frontier-readouts i {
  font-style: italic;
  font-family: var(--serif);
}

.fr-chip {
  padding: 1px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.frontier-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.frontier-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
}

.frontier-legend i {
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #365A68, #36A99B, #8A4CFF, #F0765E);
}

.frontier-cap {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: none;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .frontier-widget {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .frontier-graph {
    order: -1;
    min-height: 360px;
  }
}

/* ---------- Curves -> law animation ---------- */

.law-show {
  margin-top: 8px;
}

.law-plot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 920 / 440;
  overflow: visible;
}

.law-axis {
  stroke: var(--line);
  stroke-width: 1;
}

.law-axlabel,
.law-axtitle {
  fill: var(--faint);
  font-family: var(--sans);
  font-size: 12px;
}

/* KaTeX y-axis title inside a rotated foreignObject */
.law-axtitle-html {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}

.law-axtitle-html .katex {
  font-size: 1em;
}

/* Groups' visibility is driven by JS (group opacity); element styles are static. */
.law-trans-line {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.law-mean-line {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.law-sig-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.law-dot {
  stroke: var(--paper);
  stroke-width: 1;
}

.law-gridline {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.6;
}

.law-fit-dash {
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
}

.law-panel-el {
  /* group opacity handles fade-in */
}

.law-panel-title {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}

.law-panel-sub {
  fill: var(--faint);
  font-family: var(--sans);
  font-size: 10.5px;
}

.law-panel-params {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1;
  white-space: nowrap;
}

.law-panel-params .katex {
  font-size: 1.05em;
}

.law-panel-r2 {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
}

.law-task-label {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
}

#law-caption {
  color: var(--muted);
  font-size: 13.5px;
}

#law-caption b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Case study (single-run, teal) ---------- */

.gw-figure {
  --gw-teal: #2f8f86;
  --gw-teal-deep: #246b64;
  --gw-teal-soft: rgba(47, 143, 134, 0.14);
  margin: 0;
}

.gw-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 6px;
}

.gw-h-nums {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gw-teal);
}

.gw-h-nums .gw-arrow { color: var(--faint); margin: 0 4px; }

.gw-h-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gw-title {
  margin: 0 0 26px;
  max-width: 60ch;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-2);
}

.gw-plot { position: relative; }

.gw-plot svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 420;
  overflow: visible;
}

.gw-axis { stroke: var(--line-strong); stroke-width: 1; }
.gw-grid { stroke: var(--line); stroke-width: 1; }
.gw-ax-label { fill: var(--faint); font-family: var(--sans); font-size: 12px; }
.gw-axis-title { fill: var(--muted); font-family: var(--sans); font-size: 12px; }

.gw-target { stroke: var(--gw-teal); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.7; }
.gw-target-label { fill: var(--gw-teal); font-family: var(--sans); font-size: 12px; font-weight: 700; }

.gw-area { fill: var(--gw-teal-soft); }
.gw-line { fill: none; stroke: var(--gw-teal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }

/* Curve + envelope are fully visible by default (the static figure); the
   left-to-right time sweep only runs while .playing is set. */
.gw-reveal { clip-path: none; }
.gw-plot.playing .gw-reveal {
  animation: gw-sweep var(--gw-grow, 9000ms) linear forwards;
}
@keyframes gw-sweep {
  from { clip-path: inset(-45% 100% -12% -2%); }
  to { clip-path: inset(-45% -2% -12% -2%); }
}

/* Glowing frontier dot that rides the staircase. */
.gw-frontier {
  fill: var(--gw-teal);
  stroke: var(--paper);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(47, 143, 134, 0.85));
}
.gw-plot.playing .gw-frontier { animation: gw-pulse 1.4s ease-in-out infinite; }
@keyframes gw-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(47, 143, 134, 0.6)); }
  50% { filter: drop-shadow(0 0 9px rgba(47, 143, 134, 0.95)); }
}

/* Milestone markers, leaders and narrative callout boxes (revealed as the
   sweep passes). Filled teal dots + thin leaders, matching the paper figure. */
.gw-dot { fill: var(--gw-teal); stroke: var(--paper); stroke-width: 1.5; }
.gw-leader { stroke: var(--muted); stroke-width: 0.8; opacity: 0.55; }

.gw-callout {
  position: absolute;
  box-sizing: border-box;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.3;
}
.gw-callout b { color: var(--gw-teal-deep); font-weight: 700; }
.gw-callout .gw-tag { color: var(--gw-teal); font-weight: 600; white-space: nowrap; }

.gw-plot.playing .gw-dot,
.gw-plot.playing .gw-leader,
.gw-plot.playing .gw-callout {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gw-plot.playing .gw-dot.shown,
.gw-plot.playing .gw-callout.shown { opacity: 1; }
.gw-plot.playing .gw-leader.shown { opacity: 0.55; }

/* Caption list: the narrow-screen fallback for the in-plot labels. */
.gw-caps { display: none; margin-top: 28px; gap: 14px; }
.gw-cap { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.gw-cap .gw-n {
  display: grid; place-items: center; width: 22px; height: 22px;
  border: 1px solid var(--gw-teal); color: var(--gw-teal);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.gw-cap p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.gw-cap p b { color: var(--ink); }
.gw-cap .gw-tag { color: var(--gw-teal); font-weight: 600; white-space: nowrap; }

.gw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.gw-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 13px; }
.gw-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gw-legend i { width: 16px; height: 3px; border-radius: 2px; background: var(--gw-teal); }
.gw-legend i.gw-swatch-area { height: 12px; background: var(--gw-teal-soft); border: 1px solid var(--gw-teal); }

.gw-controls button {
  padding: 0 0 1px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.gw-controls button:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* The seven narrative callouts need a wide figure; below that, drop the in-plot
   boxes and show the stacked list instead. */
@media (max-width: 1080px) {
  .gw-callout, .gw-leader { display: none; }
  .gw-caps { display: grid; }
}

/* Reduced motion is honoured in JS: the `.playing` class (which drives every
   animation above) is only added when motion is allowed or the visitor presses
   Play, so by default reduced-motion users see the complete static figure. */

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(1280px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 48px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.lightbox::backdrop {
  background: rgba(21, 22, 26, 0.55);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 112px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  min-height: 32px;
  padding: 0 14px;
  cursor: pointer;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

.lightbox-close:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ---------- Footer ---------- */

.site-footer {
  width: min(100% - 48px, 1080px);
  margin: 56px auto 0;
  padding: 48px 0 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1220px) {
  .taxonomy-map-figure {
    width: 100%;
    margin-left: 0;
  }

  .tm-family-title {
    font-size: 18px;
  }

  .tm-count {
    font-size: 18px;
  }

  .tm-tile img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 920px) {
  .post {
    display: block;
    width: min(100% - 40px, 940px);
  }

  .post-header {
    max-width: none;
    padding: 72px 0 40px;
  }

  .post-body {
    max-width: none;
  }

  .post-toc {
    position: static;
    width: auto;
    margin: 0 0 56px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .post-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .post-toc a {
    padding-left: 0;
    border-left: 0;
  }

  .post-toc a.is-current {
    border-left: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 980px) {
  .taxonomy-explorer,
  .tm-grid,
  .stats-layout,
  .leaderboard-controls,
  .finding-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .curve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .details-pages {
    padding-inline: 52px;
  }

  .details-controls {
    left: 4px;
    right: 4px;
  }

  .tm-family {
    padding: 16px;
  }

  .tm-tile img {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .topbar {
    padding: 0 18px;
  }

  .navlinks {
    gap: 18px;
  }

  .post-body > section + section {
    margin-top: 64px;
    padding-top: 64px;
  }

  .curve-grid,
  .scaling-facts,
  .details-tabs,
  .effort-grid,
  .task-meta {
    grid-template-columns: 1fr;
  }

  .details-pages {
    min-height: 0;
    padding-inline: 0;
  }

  .details-controls {
    top: 128px;
    left: -20px;
    right: -20px;
  }

  .details-tab,
  .details-tab:not(:first-child) {
    padding: 14px 0;
    border-left: 0;
  }

  .learning-speed-chart {
    min-height: 0;
  }

  .leaderboard-controls {
    gap: 22px;
  }

  .effort-grid.leaderboard-scale article,
  .effort-grid.leaderboard-scale article:nth-child(odd),
  .effort-grid.leaderboard-scale article:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .effort-grid.leaderboard-scale article + article {
    border-top: 1px solid var(--line);
  }

  .leaderboard-chart-head,
  .leaderboard-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
  }

  .leaderboard-time-head,
  .leaderboard-slices,
  .leaderboard-category-bar {
    grid-column: 2 / 3;
  }

  .leaderboard-time-head,
  .leaderboard-slices {
    grid-template-columns: 1fr;
  }

  .leaderboard-time-head {
    gap: 6px;
  }

  .leaderboard-slices {
    gap: 7px;
  }

  .details-page-heading h3 {
    font-size: 34px;
  }

  .details-arrow {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .tm-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .tm-segment {
    min-height: 38px;
    font-size: 13px;
    white-space: normal;
  }

  .tm-axis {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .tm-family-head {
    flex-wrap: wrap;
    gap: 6px 8px;
  }

  .tm-family-title {
    flex-basis: auto;
    font-size: 21px;
  }

  .tm-count {
    font-size: 21px;
  }

  .tm-desc {
    font-size: 14px;
  }

  .tm-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-tile img {
    width: 72px;
    height: 72px;
  }

  .tm-more {
    min-height: 72px;
  }

  .scaling-facts article,
  .effort-grid article {
    padding-left: 0;
    padding-right: 0;
  }

  .scaling-facts article:not(:first-child),
  .effort-grid article:nth-child(even) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 24px;
  }

  .effort-grid.leaderboard-scale article:nth-child(even),
  .effort-grid.leaderboard-scale article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 0;
  }

  .task-meta div:nth-child(2) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 18px;
  }
}
