/* MicroVerse-inspired homepage system. Scoped to the homepage so docs, archive,
   auth, and Arena Battle retain their existing behavior and visual contracts. */
html:has(body.home-page) {
  overflow-x: clip;
}

.home-page {
  --mv-ink: #101218;
  --mv-text: #202124;
  --mv-muted: #5f6368;
  --mv-soft: #80868b;
  --mv-line: rgba(32, 34, 36, 0.12);
  --mv-blue: #3478e5;
  --mv-blue-bright: #4f8cf0;
  --mv-amber: #f2ae3d;
  --mv-surface: #ffffff;
  --mv-surface-soft: #f8f9fa;
  --mv-font: "Google Sans Flex", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-navbar-height: 96px;
  --mv-gutter: clamp(20px, 4vw, 48px);
  --mv-max: 1200px;
  --mv-section-tight: clamp(8px, 2vh, 24px);
  --mv-section-major: clamp(64px, 10vh, 120px);
  --mv-section-medium: clamp(48px, 8vh, 80px);
  --mv-section-news-bottom: clamp(72px, 10vh, 120px);
  --mv-section-citations-bottom: clamp(56px, 8vh, 96px);
  --mv-stack-gap: clamp(20px, 3vh, 32px);
  --mv-stack-gap-wide: clamp(28px, 4vh, 40px);
  overflow-x: hidden;
  background: var(--mv-surface) !important;
  color: var(--mv-text);
  font-family: var(--mv-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-page .home-main {
  min-height: 100vh;
  padding: 0 !important;
  background: var(--mv-surface) !important;
}

.home-page-nav {
  display: none;
}

.home-page-nav__label {
  margin: 0 0 8px;
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page-nav__link {
  display: block;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mv-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.home-page-nav__link:hover,
.home-page-nav__link:focus-visible {
  background: color-mix(in srgb, var(--mv-ink) 5%, transparent);
  color: var(--mv-ink);
  text-decoration: none;
}

.home-page-nav__link.is-active {
  border-color: color-mix(in srgb, var(--mv-blue) 24%, transparent);
  background: color-mix(in srgb, var(--mv-blue) 12%, var(--mv-surface));
  color: var(--mv-blue);
}

.home-page #home-paper,
.home-page #home-news,
.home-page #comparison,
.home-page #metrics-comparison,
.home-page #home-dataset,
.home-page #home-top-models,
.home-page #home-feed,
.home-page #home-citations {
  scroll-margin-top: calc(var(--site-navbar-height) + 16px);
}

@media (min-width: 1600px) {
  .home-page-nav.is-visible {
    position: fixed;
    z-index: 40;
    top: calc(var(--site-navbar-height) + 48px);
    left: max(16px, env(safe-area-inset-left, 0px));
    display: flex;
    width: 128px;
    flex-direction: column;
    gap: 2px;
  }
}

.home-page .site-header {
  top: 24px;
  left: 50%;
  width: min(var(--mv-max), calc(100% - 96px));
  min-height: 52px;
  padding: 6px 14px;
  grid-template-columns: minmax(180px, 1fr) minmax(200px, 340px) minmax(300px, 1fr);
  align-items: center;
  border: 1px solid rgba(32, 34, 36, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(17, 18, 24, 0.09);
  color: var(--mv-ink) !important;
  text-shadow: none !important;
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.home-page.menu-open .site-header {
  transform: translateX(calc(-50% - 300px));
}

.home-page .site-header a,
.home-page .site-header button {
  color: inherit !important;
  font-family: var(--mv-font);
  text-shadow: none !important;
}

.home-page .site-header a:hover,
.home-page .site-header button:hover {
  text-decoration: none;
}

.home-page .brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.home-page .brand-wordmark {
  font-family: var(--mv-font);
  font-size: clamp(14px, 0.95vw, 17px);
}

.home-page .brand-wordmark-primary {
  background: linear-gradient(118deg, var(--mv-ink) 0%, #2a3340 44%, var(--mv-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-page .brand-wordmark-secondary {
  color: rgba(16, 18, 24, 0.5);
}

.home-page .global-search-toggle {
  justify-self: stretch;
  min-height: 36px;
  margin: 0 10px 0 0 !important;
  border: 1px solid rgba(32, 34, 36, 0.16);
  border-radius: 999px;
  padding: 0 14px !important;
  background: #fff !important;
  color: var(--mv-ink) !important;
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .global-search-toggle:hover,
.home-page .global-search-toggle:focus-visible {
  border-color: rgba(52, 120, 229, 0.52);
  background: var(--mv-surface-soft) !important;
  color: var(--mv-blue) !important;
  outline: none;
  transform: translateY(-1px);
}

.home-page .header-actions {
  justify-self: end;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-family: var(--mv-font);
}

.home-page .header-utility-button,
.home-page .language-toggle,
.home-page .menu-toggle,
.home-page .auth-user-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  border: 1px solid rgba(32, 34, 36, 0.16) !important;
  border-radius: 999px;
  padding: 0 14px !important;
  background: #fff !important;
  color: var(--mv-ink) !important;
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1;
  font-feature-settings: "kern" 1, "liga" 1;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  white-space: nowrap;
  backdrop-filter: none;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .header-utility-button {
  font-weight: 620;
}

.home-page .header-utility-button[data-auth-open],
.home-page .header-utility-button[data-feedback-open] {
  color: var(--mv-ink) !important;
  font-weight: 620;
}

.home-page .header-center-spacer,
.home-page .archive-header-spacer {
  display: block;
  width: 100%;
  min-height: 1px;
}

.home-page .menu-toggle {
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .language-toggle {
  gap: 6px;
  padding: 0 14px !important;
  font-weight: 620;
}

.home-page .language-toggle span:not(.is-active):not([aria-hidden="true"]) {
  color: var(--mv-soft);
  font-weight: 520;
}

.home-page .language-toggle span[aria-hidden="true"] {
  color: color-mix(in srgb, var(--mv-soft) 72%, transparent);
  font-size: 12px;
  font-weight: 400;
}

.home-page .header-utility-button:hover,
.home-page .language-toggle:hover,
.home-page .menu-toggle:hover,
.home-page .auth-user-button:hover,
.home-page .header-utility-button:focus-visible,
.home-page .language-toggle:focus-visible,
.home-page .menu-toggle:focus-visible,
.home-page .auth-user-button:focus-visible {
  border-color: rgba(52, 120, 229, 0.52) !important;
  background: var(--mv-surface-soft) !important;
  color: var(--mv-blue) !important;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

.home-page .header-utility-button[data-auth-open]:hover,
.home-page .header-utility-button[data-auth-open]:focus-visible,
.home-page .header-utility-button[data-feedback-open]:hover,
.home-page .header-utility-button[data-feedback-open]:focus-visible {
  color: var(--mv-blue) !important;
}

.home-page .language-toggle:hover .is-active,
.home-page .language-toggle:focus-visible .is-active {
  color: var(--mv-blue);
}

.home-page .language-toggle .is-active {
  color: var(--mv-ink);
  font-weight: 650;
  text-decoration: none;
}

.home-page .home-search {
  top: 102px;
  width: min(720px, calc(100% - 40px));
  font-family: var(--mv-font);
}

.home-page .home-search input {
  border-color: rgba(32, 34, 36, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 60px rgba(17, 18, 24, 0.15);
}

.home-page .home-search-results {
  border-color: rgba(32, 34, 36, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(17, 18, 24, 0.15);
}

.home-page .home-search-result,
.home-page .home-search-result:hover,
.home-page .home-search-result:focus-visible,
.home-page .home-search-result span,
.home-page .home-search-result strong,
.home-page .home-search-result p {
  text-decoration: none;
}

.home-hero-stage {
  position: relative;
  --hero-film-h: calc(100svh - 120px);
  --hero-film-w: min(calc(100% - var(--mv-gutter) * 2), calc(var(--hero-film-h) * 1.88));
  min-height: 100svh;
  overflow-x: clip;
  padding-top: 112px;
  isolation: isolate;
}

.home-page .home-hero {
  position: relative !important;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: var(--hero-film-w);
  height: var(--hero-film-h) !important;
  min-height: min(620px, var(--hero-film-h)) !important;
  max-height: min(980px, var(--hero-film-h));
  margin: 0 auto;
  align-items: center !important;
  justify-items: center !important;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(28px, 2.7vw, 38px);
  padding: clamp(32px, 4vw, 58px) !important;
  background: #0c1118 !important;
  box-shadow: 0 20px 54px rgba(16, 18, 24, 0.12);
  text-align: center !important;
}

.home-page .home-hero::before,
.home-page .home-hero::after {
  display: none !important;
}

.home-page .home-hero-bg-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transform-origin: center center;
  filter: brightness(0.94) saturate(0.96) contrast(1.06);
}

.home-hero-scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 24%, rgba(4, 7, 11, 0.74) 39%, rgba(4, 7, 11, 0.84) 68%, transparent 84%),
    linear-gradient(180deg, rgba(7, 10, 14, 0.28), rgba(7, 10, 14, 0.34) 34%, rgba(7, 10, 14, 0.5) 60%, rgba(7, 10, 14, 0.88)),
    radial-gradient(circle at 50% 46%, rgba(4, 7, 11, 0.08) 0 23%, rgba(4, 7, 11, 0.34) 76%);
}

.home-hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  width: 100%;
  max-width: 1040px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.home-page .home-hero-kicker {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: var(--mv-font);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 480;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.home-page .home-hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 22px);
  max-width: 100%;
  margin: 0;
  color: #fff !important;
  font-family: var(--mv-font);
  font-size: clamp(58px, 7.3vw, 112px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.36);
  white-space: nowrap;
}

.home-page .home-hero-title em {
  color: var(--mv-amber);
  font-style: normal;
}

.home-hero-logo-mark {
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
  flex: 0 0 auto;
  border-radius: 50%;
  background-image: url("../assets/logo-mark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 5px 24px rgba(0, 0, 0, 0.28));
}

.home-page .home-hero-actions {
  display: flex !important;
  width: min(100%, 880px);
  max-width: 880px;
  flex-wrap: wrap;
  align-self: center;
  align-items: center;
  justify-content: center !important;
  gap: 12px;
  margin-top: clamp(30px, 4vh, 46px);
  pointer-events: auto !important;
}

.home-page .home-hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  border-radius: 14px;
  padding: 0 18px;
  background: rgba(8, 11, 16, 0.27) !important;
  box-shadow: none;
  color: #fff !important;
  font-family: var(--mv-font);
  font-size: 13px;
  font-weight: 620;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .home-hero-actions svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .home-hero-actions a:hover,
.home-page .home-hero-actions a:focus-visible {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  outline: none;
  text-decoration: none;
  transform: translateY(-2px);
}

.home-page .home-hero-actions .home-primary-action {
  border-color: var(--mv-blue-bright) !important;
  background: var(--mv-blue) !important;
  color: #fff !important;
  text-shadow: none;
}

.home-page .home-hero-actions .home-primary-action:hover,
.home-page .home-hero-actions .home-primary-action:focus-visible {
  border-color: #7eafff !important;
  background: var(--mv-blue-bright) !important;
  box-shadow: 0 10px 28px rgba(35, 94, 190, 0.28);
}

.home-page .home-decor-object {
  --entry-right: clamp(8px, 2vw, 24px) !important;
  position: absolute !important;
  z-index: 4 !important;
  right: var(--entry-right) !important;
  bottom: clamp(14px, 2.4vh, 28px) !important;
  top: auto !important;
  width: min(220px, 19vw) !important;
  opacity: 0.92;
  mix-blend-mode: normal;
  filter: contrast(1.05) saturate(0.9) brightness(0.84);
}

.home-page .home-decor-object::before {
  display: none;
}

.home-page .home-decor-object:hover,
.home-page .home-decor-object:focus-visible {
  filter: contrast(1.06) saturate(1) brightness(0.98);
  outline: none;
}

.home-hero-scroll {
  position: absolute;
  z-index: 7;
  bottom: 20px;
  left: 50%;
  display: grid;
  width: 38px;
  justify-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
}

.home-hero-scroll:hover,
.home-hero-scroll:focus-visible {
  color: #fff;
  outline: none;
  text-decoration: none;
}

.home-hero-scroll span {
  display: block;
  width: 20px;
  height: 31px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.home-hero-scroll span::after {
  content: "";
  display: block;
  width: 3px;
  height: 7px;
  margin: 5px auto 0;
  border-radius: 999px;
  background: currentColor;
  animation: mvScrollCue 1.8s ease-in-out infinite;
}

.home-hero-scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes mvScrollCue {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(7px); }
}

.home-page .home-intro-section {
  position: relative;
  z-index: 3;
  padding: var(--mv-section-major) var(--mv-gutter) var(--mv-section-medium);
  background: var(--mv-surface);
  scroll-margin-top: 100px;
}

.home-page .home-intro-copy {
  display: grid;
  width: min(var(--mv-max), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(52px, 8vw, 126px);
  align-items: start;
  text-align: left;
}

.home-page .home-intro-title {
  position: sticky;
  top: 120px;
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 38px;
  border-bottom: 2px solid var(--mv-blue);
}

.home-page .home-intro-logo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0;
  filter: none;
}

.home-page .home-intro-lede {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: auto;
  max-width: 720px;
  margin: 0;
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  text-wrap: pretty;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-page .home-intro-lede p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-wrap: pretty;
}

.home-page .home-intro-lede p:last-child {
  margin-bottom: 0;
}

.home-page .home-intro-lede strong {
  color: var(--mv-blue);
  font-weight: 600;
}

.home-page .home-intro-lede a {
  color: var(--mv-blue);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-page .home-intro-lede a:hover,
.home-page .home-intro-lede a:focus-visible {
  color: var(--mv-blue-bright);
}

.home-page .home-feed {
  position: relative;
  z-index: 2;
  padding: var(--mv-section-tight) 0 var(--mv-section-medium);
  border-top: 1px solid var(--mv-line);
  background: var(--mv-surface);
}

.home-page .home-feed__inner {
  display: flex;
  flex-direction: column;
  gap: var(--mv-stack-gap);
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-page .home-feed__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 42rem;
}

.home-page .home-feed__kicker {
  margin: 0;
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .home-feed__title {
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
  text-wrap: balance;
}

.home-page .home-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.home-page .home-post,
.home-page .home-post-0,
.home-page .home-post-1,
.home-page .home-post-2,
.home-page .home-post-3,
.home-page .home-post-4 {
  width: auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: clamp(16px, 2vw, 18px);
  background: var(--mv-surface);
  box-shadow:
    0 1px 2px rgba(17, 18, 24, 0.04),
    0 12px 32px -24px rgba(32, 34, 36, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease;
}

.home-page .home-post-link {
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.home-page .home-post:hover,
.home-page .home-post:focus-within {
  border-color: rgba(52, 120, 229, 0.32);
  box-shadow:
    0 1px 2px rgba(17, 18, 24, 0.04),
    0 20px 48px -16px rgba(52, 120, 229, 0.14);
  transform: translateY(-3px);
}

.home-page .home-post.is-muted {
  opacity: 0.22;
  filter: grayscale(0.55);
}

.home-page .home-post-media,
.home-page .home-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mv-surface-soft);
  border-bottom: 1px solid var(--mv-line);
}

.home-page .home-post-media img,
.home-page .home-post-media .placeholder-visual,
.home-page .home-media img,
.home-page .home-media .placeholder-visual {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.home-page .home-post:hover .home-post-media img,
.home-page .home-post:focus-within .home-post-media img,
.home-page .home-post:hover .home-media img,
.home-page .home-post:focus-within .home-media img {
  transform: scale(1.04);
}

.home-page .home-post-body,
.home-page .home-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  margin: 0;
  padding: 20px 20px 22px;
  background: transparent;
  color: var(--mv-muted);
}

.home-page .home-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-page .home-post-badge,
.home-page .home-post-meta {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface-soft);
  color: var(--mv-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .home-post--docs .home-post-badge,
.home-page .home-post--docs .home-post-meta {
  color: var(--mv-blue);
  border-color: rgba(52, 120, 229, 0.24);
  background: rgba(52, 120, 229, 0.08);
}

.home-page .home-post--arena .home-post-badge,
.home-page .home-post--arena .home-post-meta {
  color: #b87a12;
  border-color: rgba(242, 174, 61, 0.32);
  background: rgba(242, 174, 61, 0.1);
}

.home-page .home-post--external .home-post-badge,
.home-page .home-post--external .home-post-meta {
  color: var(--mv-muted);
  border-color: var(--mv-line);
  background: var(--mv-surface-soft);
}

.home-page .home-post-title,
.home-page .home-copy h2,
.home-page .home-copy h3 {
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.home-page .home-post-summary {
  margin: 0;
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-page .home-post-arrow,
.home-page .home-post-external {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--mv-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease, stroke 180ms ease;
}

.home-page .home-post:hover .home-post-arrow,
.home-page .home-post:focus-within .home-post-arrow {
  stroke: var(--mv-blue);
  transform: translateX(3px);
}

.home-page .home-post:hover .home-post-external,
.home-page .home-post:focus-within .home-post-external {
  stroke: var(--mv-ink);
  transform: translate(2px, -2px);
}

/* RoboDojo-inspired homepage sections: paper, news, citations, footer, back-to-top */
.home-page .home-paper,
.home-page .home-news,
.home-page .home-citations {
  background: var(--mv-surface);
}

.home-page .home-paper {
  padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 8vh, 80px);
  border-top: 1px solid var(--mv-line);
}

.home-page .home-intro-section--paper {
  border-top: 0;
}

.home-page .home-intro-heading .home-paper__kicker {
  margin: 0 0 12px;
  color: var(--mv-soft);
  text-align: center;
}

.home-page .home-intro-heading .home-paper__meta {
  width: min(760px, 100%);
  margin: var(--mv-stack-gap-wide) auto 0;
  text-align: left;
}

.home-page .home-paper__inner,
.home-page .home-news__inner,
.home-page .home-citations__inner {
  display: flex;
  flex-direction: column;
  gap: var(--mv-stack-gap);
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-page .home-paper__kicker,
.home-page .home-citations__kicker {
  margin: 0;
  color: var(--mv-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .home-paper__headline,
.home-page .home-citations__headline {
  margin: 0;
  color: var(--mv-ink);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.home-page .home-citations__headline {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.home-page .home-paper__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.home-page .home-paper__row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.5;
}

.home-page .home-paper__row--authors,
.home-page .home-paper__row--affiliations {
  align-items: flex-start;
}

.home-page .home-paper__row dt {
  flex: 0 0 7rem;
  margin: 0;
  padding-top: 3px;
  color: var(--mv-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .home-paper__row dd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--mv-text);
}

.home-page .home-paper__authors-names {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

.home-page .home-paper__authors-note {
  margin: 0;
  color: var(--mv-muted);
  font-size: 12px;
  line-height: 1.5;
}

.home-page .home-paper__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.home-page .home-paper__link {
  color: var(--mv-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.home-page .home-paper__link:hover,
.home-page .home-paper__link:focus-visible {
  color: var(--mv-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home-page .home-paper__link--placeholder {
  color: var(--mv-muted);
  cursor: default;
}

.home-page .home-paper__sep {
  margin: 0 8px;
  color: var(--mv-soft);
  font-size: 12px;
  user-select: none;
}

.home-page .home-paper__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .home-paper__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface-soft);
  color: var(--mv-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.home-page .home-paper__share-btn:hover,
.home-page .home-paper__share-btn:focus-visible {
  border-color: var(--mv-blue);
  color: var(--mv-ink);
}

.home-page .home-paper__share-btn.is-copied {
  border-color: var(--mv-blue);
  color: var(--mv-blue);
}

.home-page .home-news {
  position: relative;
  z-index: 13;
  padding: var(--mv-section-tight) 0 clamp(28px, 3vw, 40px);
}

.home-page .home-news__inner {
  gap: 10px;
  width: min(48rem, calc(100% - var(--mv-gutter) * 2));
}

.home-page .home-news__kicker {
  margin: 0;
  color: var(--mv-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .home-news__card {
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 14px;
  background: var(--mv-surface-soft);
  box-shadow: 0 1px 2px rgba(17, 18, 24, 0.04);
}

.home-page .home-news__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .home-news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  padding: clamp(12px, 1.6vh, 16px) clamp(16px, 2.2vw, 24px);
  border-bottom: 1px solid var(--mv-line);
}

.home-page .home-news__item:last-child {
  border-bottom: 0;
}

.home-page .home-news__date {
  flex: 0 0 auto;
  min-width: 4.75rem;
  color: var(--mv-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .home-news__body {
  display: flex;
  flex: 1 1 240px;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  color: var(--mv-muted);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.5;
}

.home-page .home-news__text {
  color: var(--mv-ink);
  font-weight: 500;
}

.home-page .home-news__links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.home-page .home-news__sep {
  align-self: center;
  width: 1px;
  height: 12px;
  background: var(--mv-line);
}

.home-page .home-news__link {
  color: var(--mv-blue);
  font-weight: 500;
  text-decoration: none;
}

.home-page .home-news__link:hover {
  text-decoration: underline;
}

.home-page .home-news__link--placeholder {
  color: var(--mv-ink-muted, var(--mv-ink));
  cursor: default;
  opacity: 0.62;
}

.home-page .home-news__link--placeholder:hover {
  text-decoration: none;
}

.home-page .home-citations {
  padding: var(--mv-section-tight) 0 var(--mv-section-citations-bottom);
}

.home-page .home-citations__kicker {
  color: var(--mv-blue);
}

.home-page .home-citations__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-page .home-citations__card {
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 16px;
  background: var(--mv-surface);
  box-shadow: 0 12px 32px -24px rgba(32, 34, 36, 0.18);
}

.home-page .home-citations__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.home-page .home-citations__name {
  margin: 0;
  color: var(--mv-ink);
  font-size: 16px;
  font-weight: 600;
}

.home-page .home-citations__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface);
  color: var(--mv-text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-page .home-citations__copy:hover,
.home-page .home-citations__copy.is-copied {
  border-color: rgba(52, 120, 229, 0.5);
  background: rgba(52, 120, 229, 0.08);
  color: var(--mv-blue);
}

.home-page .home-citations__bibtex {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  border-top: 1px solid color-mix(in srgb, var(--mv-line) 72%, transparent);
  background: var(--mv-surface-soft);
  color: var(--mv-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}

.home-page .home-citations__bibtex code {
  font-family: inherit;
}

.home-page .home-footer {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--mv-line);
  background: var(--mv-surface);
  color: var(--mv-muted);
}

.home-page .home-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 64px);
  width: min(var(--mv-max), calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-page .home-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 22rem;
}

.home-page .home-footer__name {
  color: var(--mv-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-page .home-footer__tagline {
  margin: 0;
  color: var(--mv-soft);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: balance;
}

.home-page .home-footer__hub-link {
  color: var(--mv-blue);
  font-weight: 500;
  text-decoration: none;
}

.home-page .home-footer__hub-link:hover,
.home-page .home-footer__hub-link:focus-visible {
  color: var(--mv-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home-page .home-footer__cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 56px);
}

.home-page .home-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 7rem;
}

.home-page .home-footer__col-title {
  margin: 0;
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 600;
}

.home-page .home-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .home-footer__col a {
  color: var(--mv-muted);
  font-size: 14px;
  text-decoration: none;
}

.home-page .home-footer__col a:hover {
  color: var(--mv-text);
}

.home-page .home-footer__bottom {
  width: min(var(--mv-max), calc(100% - var(--mv-gutter) * 2));
  margin: clamp(32px, 5vw, 48px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--mv-line);
}

.home-page .home-footer__bottom p {
  margin: 0;
  color: var(--mv-soft);
  font-size: 12px;
}

.home-page .home-back-to-top {
  position: fixed;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface);
  color: var(--mv-muted);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 18, 24, 0.12);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-page .home-back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.home-page .home-back-to-top:hover {
  border-color: var(--mv-soft);
  color: var(--mv-ink);
}

.home-page .home-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .home-leaderboard-section {
  position: relative;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: clamp(104px, 10vw, 156px) var(--mv-gutter) clamp(112px, 10vw, 160px);
  border-top: 1px solid var(--mv-line);
  border-bottom: 0;
  background: var(--mv-surface);
  scroll-margin-top: 102px;
}

.home-page .home-leaderboard-intro,
.home-page .home-leaderboard-shell {
  width: min(var(--mv-max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.home-page .home-leaderboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

.home-page .home-leaderboard-intro .home-kicker {
  margin: 0 0 15px;
  color: var(--mv-blue) !important;
  font-family: var(--mv-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: none;
  text-transform: uppercase;
}

.home-page .home-leaderboard-intro h2 {
  max-width: 900px;
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home-page .home-leaderboard-intro p:not(.home-kicker) {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--mv-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.64;
}

.home-page .home-leaderboard-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-page .home-leaderboard-badges span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--mv-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.home-page .home-leaderboard-badges span:first-child {
  border-color: rgba(52, 120, 229, 0.28);
  color: var(--mv-blue);
}

.home-page .home-leaderboard-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.29fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.home-page .home-leaderboard-panel {
  display: grid;
  align-content: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 14px;
  background: #fff;
}

.home-page .home-leaderboard-track {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-bottom: 1px solid var(--mv-line);
  border-radius: 0;
  padding: 24px 22px;
  background: #fff;
  color: var(--mv-ink);
  box-shadow: none;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.home-page .home-leaderboard-track:last-child {
  border-bottom: 0;
}

.home-page .home-leaderboard-track::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.5;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

.home-page .home-leaderboard-track:hover,
.home-page .home-leaderboard-track:focus-visible {
  border-color: transparent;
  background: var(--mv-surface-soft);
  box-shadow: none;
  color: var(--mv-blue);
  outline: none;
  transform: none;
}

.home-page .home-leaderboard-track:hover::after,
.home-page .home-leaderboard-track:focus-visible::after {
  opacity: 1;
  transform: translate(3px, -50%) rotate(45deg);
}

.home-page .home-leaderboard-track strong,
.home-page .home-leaderboard-track span,
.home-page .home-leaderboard-track p {
  display: block;
  max-width: calc(100% - 28px);
}

.home-page .home-leaderboard-track strong {
  margin: 0;
  color: var(--mv-blue);
  font-size: 22px;
  font-weight: 720;
  line-height: 1.08;
}

.home-page .home-leaderboard-track span {
  margin-top: 7px;
  color: var(--mv-ink);
  font-size: 13px;
  font-weight: 650;
  text-transform: none;
}

.home-page .home-leaderboard-track p {
  margin: 8px 0 0;
  color: var(--mv-muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-page .home-leaderboard-track.is-muted {
  opacity: 0.24;
  filter: grayscale(0.55);
}

.home-page .home-leaderboard-embed {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 18, 24, 0.08);
  color-scheme: light;
}

.home-page .home-leaderboard-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--mv-line);
  background: #fff;
}

.home-page .home-leaderboard-toolbar > span {
  color: var(--mv-text);
  font-size: 12px;
  font-weight: 650;
}

.home-page .home-leaderboard-toolbar div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-page .home-leaderboard-toolbar a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 11px;
  background: transparent;
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 620;
  text-decoration: none;
}

.home-page .home-leaderboard-toolbar a:hover,
.home-page .home-leaderboard-toolbar a:focus-visible {
  border-color: transparent;
  background: rgba(52, 120, 229, 0.07);
  color: #1e5fbf;
  outline: none;
}

.home-page .home-leaderboard-embed iframe {
  display: block;
  width: 100%;
  height: min(78vh, 840px);
  min-height: 700px;
  border: 0;
  background: #fff;
  color-scheme: light;
}

@media (max-width: 1180px) {
  .home-page .site-header {
    width: calc(100% - 48px);
    grid-template-columns: minmax(150px, 0.8fr) minmax(140px, 220px) minmax(300px, 1fr);
  }

  .home-page .header-actions {
    gap: 5px;
  }

  .home-page .header-utility-button,
  .home-page .language-toggle,
  .home-page .menu-toggle,
  .home-page .auth-user-button {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .home-page .home-hero {
    width: calc(100% - 72px);
  }

  .home-page .home-hero-actions {
    max-width: 760px;
  }

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

@media (max-width: 940px) {
  .home-page .site-header {
    grid-template-columns: minmax(130px, 1fr) 108px auto;
  }

  .home-page .global-search-toggle {
    min-height: 36px;
    margin-right: 8px !important;
    padding: 0 12px !important;
    text-align: center;
  }

  .home-page .brand-wordmark {
    font-size: 13px;
  }

  .home-page .home-hero {
    width: calc(100% - 48px);
  }

  .home-page .home-hero-title {
    font-size: clamp(54px, 9.5vw, 82px);
  }

  .home-page .home-intro-copy {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-page .home-intro-title {
    position: static;
    max-width: 620px;
  }

  .home-page .home-intro-lede {
    max-width: 780px;
  }

  .home-page .home-paper__row {
    flex-direction: column;
    gap: 8px;
  }

  .home-page .home-paper__row dt {
    flex: none;
    padding-top: 0;
  }

  .home-page .home-news__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .home-news__body {
    flex-basis: auto;
    width: 100%;
  }

  .home-page .home-citations__card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .home-footer__inner {
    flex-direction: column;
  }

  .home-page .home-post:nth-child(1),
  .home-page .home-post:nth-child(2),
  .home-page .home-post:nth-child(n + 3) {
    grid-column: span 6;
  }

  .home-page .home-post:nth-child(1) .home-post-link,
  .home-page .home-post:nth-child(2) .home-post-link {
    display: flex;
  }

  .home-page .home-post:nth-child(1) .home-media,
  .home-page .home-post:nth-child(2) .home-media {
    min-height: 0;
  }

  .home-page .home-post:nth-child(1) .home-media img,
  .home-page .home-post:nth-child(2) .home-media img {
    aspect-ratio: 16 / 10;
  }

  .home-page .home-leaderboard-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-page .home-leaderboard-badges {
    justify-content: flex-start;
  }

  .home-page .home-leaderboard-shell {
    grid-template-columns: 1fr;
  }

  .home-page .home-leaderboard-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .home-leaderboard-track {
    border-right: 1px solid var(--mv-line);
    border-bottom: 0;
  }

  .home-page .home-leaderboard-track:last-child {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .home-page {
    --mv-gutter: 20px;
  }

  .home-page .site-header {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 54px;
    grid-template-columns: minmax(82px, 1fr) 34px auto;
    gap: 5px;
    padding: 5px 7px 5px 12px;
  }

  .home-page.menu-open .site-header {
    opacity: 0;
    transform: translateX(-50%);
  }

  .home-page .brand-wordmark {
    font-size: 12px;
  }

  .home-page .global-search-toggle {
    margin-right: 0 !important;
  }

  .home-page .global-search-toggle,
  .home-page .header-utility-button,
  .home-page .menu-toggle,
  .home-page .auth-user-button {
    position: relative;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    overflow: hidden;
    padding: 0 !important;
    color: transparent !important;
    font-size: 0;
  }

  .home-page .global-search-toggle::before,
  .home-page .header-utility-button::before,
  .home-page .menu-toggle::before,
  .home-page .auth-user-button::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    color: var(--mv-ink);
  }

  .home-page .global-search-toggle::before {
    width: 11px;
    height: 11px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    transform: translate(-2px, -2px);
  }

  .home-page .global-search-toggle::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 21px;
    width: 6px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--mv-ink);
    transform: rotate(45deg);
  }

  .home-page .header-utility-button[data-feedback-open]::before {
    width: 14px;
    height: 11px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
  }

  .home-page .header-utility-button[data-header-docs]::before {
    width: 11px;
    height: 13px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    box-shadow: inset 0 -5px 0 -8px currentColor;
  }

  .home-page .header-utility-button[data-feedback-open]::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 12px;
    width: 5px;
    height: 5px;
    border-bottom: 1.5px solid var(--mv-ink);
    border-left: 1.5px solid var(--mv-ink);
    transform: skewY(-34deg);
  }

  .home-page .header-utility-button[data-auth-open]::before,
  .home-page .auth-user-button::before {
    width: 12px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 9px 0 -3px #fff, 0 9px 0 -1.5px currentColor;
    transform: translateY(-4px);
  }

  .home-page .menu-toggle::before {
    width: 15px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }

  .home-page .menu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1.5px;
    background: var(--mv-ink);
    transform: translate(-50%, -50%);
  }

  .home-page .language-toggle {
    min-height: 34px;
    padding: 0 9px !important;
    gap: 0;
    font-size: 0;
  }

  .home-page .language-toggle span {
    display: none;
  }

  .home-page .language-toggle::after {
    content: "EN / 中";
    color: var(--mv-ink);
    font-family: var(--mv-font);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.03em;
  }

  .home-page .header-actions {
    gap: 4px;
  }

  .home-page .home-search {
    top: 76px;
    width: calc(100% - 24px);
  }

  .home-hero-stage {
    --hero-film-h: min(66svh, 560px);
    --hero-film-w: min(calc(100% - 24px), calc(var(--hero-film-h) * 1.88));
    min-height: 0;
    padding-top: 78px;
  }

  .home-page .home-hero {
    width: var(--hero-film-w);
    height: var(--hero-film-h) !important;
    min-height: 440px !important;
    max-height: 560px;
    border-radius: 26px;
    padding: 0 !important;
  }

  .home-page .home-hero-bg-video {
    object-position: center center;
    transform: scale(1.02);
    filter: brightness(0.94) saturate(0.96) contrast(1.06);
  }

  .home-hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.48), rgba(5, 8, 12, 0.62) 48%, rgba(5, 8, 12, 0.92)),
      radial-gradient(circle at 50% 34%, rgba(4, 7, 11, 0.08), rgba(4, 7, 11, 0.46) 78%);
  }

  .home-hero-content {
    width: 100%;
    justify-content: flex-start;
  }

  .home-page .home-hero-kicker {
    max-width: 290px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.35;
  }

  .home-page .home-hero-title {
    flex-wrap: wrap;
    gap: 7px 10px;
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 0.96;
    white-space: normal;
  }

  .home-hero-logo-mark {
    width: clamp(42px, 12vw, 54px);
    height: clamp(42px, 12vw, 54px);
  }

  .home-page .home-hero-title em {
    flex-basis: 100%;
  }

  .home-page .home-hero-actions {
    width: min(100%, 330px);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 26px;
  }

  .home-page .home-hero-actions a {
    width: 100%;
    min-height: 48px;
    border-radius: 13px;
    font-size: 13px;
  }

  .home-page .home-decor-object {
    right: -4px !important;
    bottom: 44px !important;
    width: min(150px, 38vw) !important;
    opacity: 0.66;
  }

  .home-hero-scroll {
    bottom: 16px;
    transform: translateX(-50%) scale(0.88);
  }

  .home-page .home-intro-section {
    padding: clamp(56px, 8vh, 74px) var(--mv-gutter) clamp(40px, 6vh, 56px);
  }

  .home-page .home-intro-copy {
    gap: 34px;
  }

  .home-page .home-intro-title {
    padding-bottom: 24px;
  }

  .home-page .home-intro-lede {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-page .home-feed {
    padding: 28px 0 64px;
  }

  .home-page .home-feed__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .home-post-body,
  .home-page .home-copy {
    padding: 18px 18px 20px;
  }

  .home-page .home-post-title,
  .home-page .home-copy h2,
  .home-page .home-copy h3 {
    font-size: 18px;
  }

  .home-page .home-post-summary {
    font-size: 13px;
  }

  .home-page .home-leaderboard-section {
    padding: 76px var(--mv-gutter) 88px;
  }

  .home-page .home-leaderboard-intro {
    gap: 26px;
    margin-bottom: 28px;
  }

  .home-page .home-leaderboard-intro h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .home-page .home-leaderboard-badges {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .home-page .home-leaderboard-badges::-webkit-scrollbar {
    display: none;
  }

  .home-page .home-leaderboard-panel {
    grid-template-columns: 1fr;
  }

  .home-page .home-leaderboard-track {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid var(--mv-line);
  }

  .home-page .home-leaderboard-track:last-child {
    border-bottom: 0;
  }

  .home-page .home-leaderboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
  }

  .home-page .home-leaderboard-toolbar div {
    justify-content: flex-start;
  }

  .home-page .home-leaderboard-toolbar a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .home-page .home-leaderboard-embed iframe {
    height: 660px;
    min-height: 660px;
  }
}

@media (max-width: 430px) {
  .home-page .site-header {
    grid-template-columns: minmax(76px, 1fr) 32px auto;
  }

  .home-page .brand-wordmark {
    font-size: 11px;
    gap: 0.28em;
  }

  .home-page .brand-wordmark-secondary {
    display: none;
  }

  .home-page .header-utility-button,
  .home-page .menu-toggle,
  .home-page .auth-user-button,
  .home-page .global-search-toggle {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .home-page .language-toggle {
    min-height: 32px;
    padding: 0 7px !important;
  }

  .home-page .home-hero {
    min-height: 680px !important;
  }

  .home-page .home-hero-title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .home-page .home-hero-actions {
    width: min(100%, 292px);
  }
}

/* Keep the opening film unencumbered; identity and controls live in the
   editorial panel immediately below it. */
.home-page .home-hero-bg-video {
  transform: scale(1.015);
  filter: saturate(0.94) contrast(1.02) brightness(0.9);
}

.home-hero-scrim {
  background: linear-gradient(180deg, rgba(6, 9, 13, 0.04), transparent 58%, rgba(6, 9, 13, 0.18));
}

.home-page .home-intro-section {
  overflow: visible;
}

.home-page .home-intro-heading,
.home-page .home-intro-copy {
  position: relative;
  z-index: 1;
}

.home-page .home-intro-heading {
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
  text-align: center;
}

.home-page .home-intro-heading .home-hero-kicker {
  margin: 0 0 24px;
  color: var(--mv-blue) !important;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 680;
  letter-spacing: 0.025em;
  text-shadow: none;
}

.home-page .home-intro-heading .home-paper__kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.home-page .home-intro-title {
  position: relative;
  top: auto;
  width: min(60rem, 100%);
  margin: 0 auto !important;
  border: 0;
  padding: 0;
}

.home-page .home-intro-logo {
  display: block;
  width: min(920px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: none;
}

.home-page .home-below-hero-actions {
  display: flex !important;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  gap: 10px;
  margin: var(--mv-stack-gap-wide) 0 0;
}

.home-page .home-below-hero-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(32, 34, 36, 0.16) !important;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff !important;
  color: var(--mv-ink) !important;
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .home-below-hero-actions svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .home-below-hero-actions a:hover,
.home-page .home-below-hero-actions a:focus-visible {
  border-color: rgba(52, 120, 229, 0.52) !important;
  background: var(--mv-surface-soft) !important;
  color: var(--mv-blue) !important;
  outline: none;
  transform: translateY(-2px);
}

.home-page .home-below-hero-actions .home-primary-action {
  border-color: var(--mv-blue) !important;
  background: var(--mv-blue) !important;
  color: #fff !important;
}

.home-page .home-below-hero-actions .home-primary-action:hover,
.home-page .home-below-hero-actions .home-primary-action:focus-visible {
  border-color: var(--mv-blue-bright) !important;
  background: var(--mv-blue-bright) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(35, 94, 190, 0.18);
}

.home-page .home-intro-teaser {
  display: block;
  width: min(var(--mv-max), 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  margin: var(--mv-stack-gap-wide) auto 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: clamp(16px, 2vw, 24px);
  background: #0c1118;
  object-fit: contain;
}

.home-page .home-intro-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: min(45rem, calc(100% - var(--mv-gutter) * 2));
  margin: var(--mv-stack-gap-wide) auto 0;
  text-align: left;
}

.home-page .microverse-abstract__title {
  display: block;
  align-self: stretch;
  width: 100%;
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  text-align: center;
  text-wrap: balance;
}

.home-page .home-intro-lede {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
}

.home-page .home-intro-section .home-intro-swan {
  position: absolute !important;
  top: auto !important;
  left: calc(100% + 8px) !important;
  right: auto !important;
  bottom: 0 !important;
  display: block;
  width: min(clamp(130px, 13vw, 180px), max(48px, calc(50vw - 22.5rem - 16px))) !important;
  aspect-ratio: 1008 / 939;
  margin: 0;
  opacity: 0.92;
  pointer-events: auto;
  z-index: 12 !important;
  overflow: visible;
}

.home-page .home-intro-swan .home-swan-motion {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 52% 68%;
  animation: none;
}

.home-page .home-intro-swan .home-swan-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 48% 70%;
  animation: homeIntroSwanPaddle 2.8s ease-in-out infinite;
}

.home-page .home-intro-swan:hover .home-swan-motion,
.home-page .home-intro-swan:focus-visible .home-swan-motion {
  transform: translate3d(0, -12px, 0) scale(1.06) rotate(-2deg);
}

.home-page .home-intro-swan:hover .home-swan-image,
.home-page .home-intro-swan:focus-visible .home-swan-image {
  animation-play-state: paused;
}

@keyframes homeIntroSwanPaddle {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }

  50% {
    transform: translateY(-5px) scale(1.03, 0.97);
  }
}

@media (max-width: 760px) {
  .home-page .home-intro-copy {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .home-hero-stage {
    padding-bottom: 0;
  }

  .home-page .home-hero {
    height: min(66svh, 560px) !important;
    min-height: 440px !important;
    max-height: 560px;
    padding: 0 !important;
  }

  .home-page .home-hero-bg-video {
    transform: scale(1.015);
    filter: saturate(0.92) contrast(1.02) brightness(0.86);
  }

  .home-hero-scrim {
    background: linear-gradient(180deg, rgba(6, 9, 13, 0.04), transparent 58%, rgba(6, 9, 13, 0.2));
  }

  .home-page .home-intro-section {
    padding-top: clamp(56px, 8vh, 66px);
  }

  .home-page .home-intro-heading .home-hero-kicker {
    max-width: 300px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    font-size: 13px;
  }

  .home-page .home-below-hero-actions {
    width: min(100%, 330px);
    flex-direction: column;
    flex-wrap: nowrap;
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .home-below-hero-actions a {
    width: 100%;
    min-height: 36px;
  }

  .home-page .home-intro-copy {
    margin-top: clamp(24px, 4vh, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-intro-swan .home-swan-motion,
  .home-page .home-intro-swan .home-swan-image {
    animation: none !important;
    transform: none;
  }

  .home-hero-scroll span::after {
    animation: none;
  }

  .home-page .home-post,
  .home-page .home-media img,
  .home-page .home-post-arrow,
  .home-page .site-header button,
  .home-page .home-back-to-top {
    transition: none;
  }

  .leaderboard-ascent__climber,
  .leaderboard-ascent__routes,
  .leaderboard-ascent__flag-cloth {
    animation: none !important;
  }
}

/* 2026-07-20: match RoboDojo cover proportions — height drives width at ~1.88:1
   with a 2040px cap so the 16:9 hero film stays cinematic without going ultra-wide. */
@media (min-width: 701px) {
  .home-page:not(.leaderboard-page) .home-hero-stage {
    --hero-film-h: calc(100svh - 108px);
    --hero-film-w: min(2040px, calc(100% - clamp(24px, 3vw, 48px)), calc(var(--hero-film-h) * 1.88));
    min-height: 100svh;
    padding-top: 104px;
  }

  .home-page:not(.leaderboard-page) .home-hero {
    width: var(--hero-film-w);
    height: var(--hero-film-h) !important;
    min-height: min(620px, var(--hero-film-h)) !important;
    max-height: min(1020px, var(--hero-film-h));
    border-radius: clamp(28px, 2.6vw, 38px);
  }

  .home-page:not(.leaderboard-page) .home-hero-bg-video {
    transform: scale(1.02);
    filter: brightness(0.94) saturate(0.96) contrast(1.06);
  }
}

@media (min-width: 1181px) {
  .home-page .site-header {
    width: min(1140px, calc(100% - 48px));
    grid-template-columns: minmax(190px, 1fr) minmax(132px, 180px) auto;
  }
}

/* Leaderboard route — RoboDojo-inspired native table layout (no embedded iframe). */
.leaderboard-page {
  --lb-max: 1080px;
  --lb-gutter: clamp(20px, 4vw, 40px);
  --lb-radius: 8px;
  --site-navbar-height: 96px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -8%, rgba(52, 120, 229, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 88% 12%, rgba(79, 140, 240, 0.08) 0%, transparent 55%),
    var(--mv-surface);
}

.leaderboard-page.leaderboard-page--ascent {
  --lb-max: 1280px;
}

.leaderboard-page .leaderboard-main {
  min-height: 100svh;
  padding-top: 0 !important;
}

.leaderboard-page__shell {
  width: min(var(--lb-max), calc(100% - var(--lb-gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--site-navbar-height) + 48px) 0 80px;
}

.leaderboard-page-nav {
  position: fixed;
  top: calc(var(--site-navbar-height) + 48px);
  left: max(16px, env(safe-area-inset-left, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 128px;
}

.leaderboard-page-nav__label {
  margin: 0 0 8px;
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leaderboard-page-nav__link {
  display: block;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mv-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.leaderboard-page-nav__link:hover,
.leaderboard-page-nav__link:focus-visible {
  background: color-mix(in srgb, var(--mv-ink) 5%, transparent);
  color: var(--mv-ink);
  text-decoration: none;
}

.leaderboard-page-nav__link.is-active {
  border-color: color-mix(in srgb, var(--mv-blue) 24%, transparent);
  background: color-mix(in srgb, var(--mv-blue) 12%, var(--mv-surface));
  color: var(--mv-blue);
}

#leaderboard-news,
#leaderboard-protocol,
#leaderboard-orbit,
#leaderboard-scores,
#leaderboard-models {
  scroll-margin-top: calc(var(--site-navbar-height) + 16px);
}

#leaderboard-news {
  scroll-margin-top: calc(var(--site-navbar-height) + 84px);
}

@media (max-width: 1599px) {
  .leaderboard-page-nav {
    display: none;
  }
}

.leaderboard-page__heading {
  margin: 0 0 28px;
}

.leaderboard-news {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.leaderboard-news__kicker {
  margin: 0;
  color: var(--mv-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.leaderboard-page .leaderboard-news .home-news__body {
  flex: 1 1 auto;
}

.leaderboard-page__heading .home-kicker {
  margin-bottom: 14px;
}

.leaderboard-page__heading h1 {
  margin: 0;
  font-family: var(--mv-font);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
  background: linear-gradient(120deg, var(--mv-ink) 0%, color-mix(in srgb, var(--mv-ink) 82%, var(--mv-blue)) 55%, var(--mv-blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.leaderboard-page__lede {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--mv-muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
}

.leaderboard-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.leaderboard-page__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface-soft);
  color: var(--mv-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.leaderboard-protocol-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border: 1px solid var(--mv-line);
  border-left: 3px solid var(--mv-blue);
  border-radius: var(--lb-radius);
  background: var(--mv-surface);
  box-shadow: 0 1px 2px rgba(16, 18, 24, 0.03);
}

.leaderboard-protocol-entry__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  flex: 1 1 360px;
  min-width: 0;
}

.leaderboard-protocol-entry__kicker {
  color: var(--mv-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.leaderboard-protocol-entry__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--mv-ink);
}

.leaderboard-protocol-entry__desc {
  margin: 0;
  flex: 1 1 220px;
  color: var(--mv-muted);
  font-size: 13px;
  line-height: 1.4;
}

.leaderboard-protocol-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--mv-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.leaderboard-protocol-entry__link-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.leaderboard-protocol-entry__link:hover {
  color: var(--mv-blue-bright);
}

.leaderboard-protocol-entry__arrow {
  transition: transform 0.16s ease;
}

.leaderboard-protocol-entry__link:hover .leaderboard-protocol-entry__arrow {
  transform: translateX(3px);
}

.leaderboard-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.leaderboard-benchmark-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.leaderboard-benchmark-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.leaderboard-benchmark-tab:hover:not(:disabled):not(.is-active) {
  color: var(--mv-text);
  background: color-mix(in srgb, var(--mv-line) 40%, transparent);
}

.leaderboard-benchmark-tab.is-active {
  color: var(--mv-blue);
  background: rgba(52, 120, 229, 0.1);
  border-color: rgba(52, 120, 229, 0.24);
}

.leaderboard-benchmark-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@keyframes leaderboard-ascent-rise {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(12px);
  }

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

@keyframes leaderboard-ascent-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes leaderboard-ascent-flag {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}

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

.leaderboard-ascent__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.leaderboard-ascent__title {
  margin: 0;
  font-family: var(--mv-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mv-ink);
}

.leaderboard-ascent__caption {
  margin: 4px 0 0;
  color: var(--mv-muted);
  font-size: 13px;
  line-height: 1.5;
}

.leaderboard-ascent__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 590;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--mv-line);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(16, 18, 24, 0.05),
    0 20px 48px -28px rgba(10, 19, 48, 0.28);
}

.leaderboard-ascent__mountain {
  position: absolute;
  inset: 0;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  pointer-events: none;
}

.leaderboard-ascent__stamp {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 22;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--mv-ink) 58%, transparent);
  pointer-events: none;
  white-space: nowrap;
}

.leaderboard-ascent__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  animation: leaderboard-ascent-fade 0.9s ease both;
}

.leaderboard-ascent__link {
  fill: none;
  stroke: rgba(17, 17, 17, 0.28);
  stroke-width: 1;
  opacity: 0.22;
  transition: stroke 0.16s ease, stroke-width 0.16s ease, opacity 0.16s ease;
}

.leaderboard-ascent__link.is-active {
  stroke: var(--mv-blue-bright);
  stroke-width: 1.5;
  opacity: 1;
}

.leaderboard-ascent__scene:hover .leaderboard-ascent__link {
  opacity: 0.45;
}

.leaderboard-ascent__scene:hover .leaderboard-ascent__link.is-active {
  opacity: 1;
}

.leaderboard-ascent__climber {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: color-mix(in srgb, #0a1330 62%, transparent);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: leaderboard-ascent-rise 0.72s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.leaderboard-ascent__climber-rank {
  line-height: 1;
}

.leaderboard-ascent__climber:hover,
.leaderboard-ascent__climber.is-active,
.leaderboard-ascent__climber:focus-visible {
  z-index: 4;
  border-color: var(--mv-blue-bright);
  background: var(--mv-blue);
  box-shadow: 0 0 0 4px rgba(52, 120, 229, 0.26);
  transform: translate(-50%, -50%) scale(1.28);
}

.leaderboard-ascent__climber:focus-visible {
  outline: none;
}

.leaderboard-ascent__climber.is-leader {
  width: 30px;
  height: 30px;
  border-color: #f2ae3d;
  background: color-mix(in srgb, #f2ae3d 92%, #0a1330);
  color: #3a2c00;
  box-shadow: 0 0 0 4px rgba(242, 174, 61, 0.22);
  font-size: 12px;
}

.leaderboard-ascent__flag {
  position: absolute;
  z-index: 4;
  width: 38px;
  height: 50px;
  overflow: visible;
  transform: translate(calc(-1 * var(--flag-x)), calc(-1 * var(--flag-y)));
  pointer-events: none;
}

.leaderboard-ascent__flag-pole {
  stroke: #111;
  stroke-width: 2;
  stroke-linecap: butt;
}

.leaderboard-ascent__flag-cloth {
  fill: #ef4136;
  transform-origin: 24px 16px;
  animation: leaderboard-ascent-flag 2.6s ease-in-out infinite;
}

.leaderboard-ascent__callouts {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.leaderboard-ascent__callouts--left {
  left: 0;
  width: 32%;
}

.leaderboard-ascent__callouts--right {
  right: 0;
  width: 32%;
}

.leaderboard-ascent__callout {
  position: absolute;
  z-index: 21;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 12px);
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: color-mix(in srgb, #0a1330 78%, transparent);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.leaderboard-ascent__callouts--left .leaderboard-ascent__callout {
  left: 8px;
}

.leaderboard-ascent__callouts--right .leaderboard-ascent__callout {
  right: 8px;
  flex-direction: row-reverse;
  padding: 4px 4px 4px 10px;
}

.leaderboard-ascent__callout.is-active,
.leaderboard-ascent__callout:hover {
  z-index: 25;
  border-color: var(--mv-blue-bright);
  background: color-mix(in srgb, var(--mv-blue) 38%, #0a1330);
  box-shadow:
    0 2px 10px -4px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(52, 120, 229, 0.2);
}

.leaderboard-ascent__callout-rank {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.leaderboard-ascent__callout-name {
  max-width: 148px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.leaderboard-ascent--dense .leaderboard-ascent__climber {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

.leaderboard-ascent--dense .leaderboard-ascent__callout {
  gap: 4px;
  padding: 2px 8px 2px 3px;
  font-size: 10px;
}

.leaderboard-ascent--dense .leaderboard-ascent__callouts--right .leaderboard-ascent__callout {
  padding: 2px 3px 2px 8px;
}

.leaderboard-ascent--dense .leaderboard-ascent__callout-rank {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.leaderboard-ascent--dense .leaderboard-ascent__callout-name {
  max-width: 112px;
  font-size: 10px;
}

.leaderboard-ascent--dense .leaderboard-ascent__link {
  opacity: 0.12;
}

.leaderboard-ascent--dense .leaderboard-ascent__scene:hover .leaderboard-ascent__link {
  opacity: 0.28;
}

.leaderboard-ascent__callout-rank.is-gold,
.leaderboard-ascent__mobile-rank.is-gold {
  background: #f2ae3d;
  color: #3a2c00;
}

.leaderboard-ascent__callout-rank.is-silver,
.leaderboard-ascent__mobile-rank.is-silver {
  background: #c5cad3;
  color: #202124;
}

.leaderboard-ascent__callout-rank.is-bronze,
.leaderboard-ascent__mobile-rank.is-bronze {
  background: #c98a3a;
  color: #2a1605;
}

.leaderboard-ascent__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-ascent__mobile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--mv-line);
  border-radius: 10px;
  background: var(--mv-surface);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.leaderboard-ascent__mobile-row.is-active,
.leaderboard-ascent__mobile-row:hover {
  border-color: rgba(52, 120, 229, 0.4);
  background: rgba(52, 120, 229, 0.1);
}

.leaderboard-ascent__mobile-rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mv-surface-soft);
  color: var(--mv-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.leaderboard-ascent__mobile-name {
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-ascent__mobile-score {
  color: var(--mv-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .leaderboard-ascent__callouts,
  .leaderboard-ascent__climber,
  .leaderboard-ascent__routes,
  .leaderboard-ascent__flag {
    display: none;
  }

  .leaderboard-ascent__mobile {
    display: flex;
  }

  .leaderboard-ascent__scene {
    aspect-ratio: auto;
    min-height: 72px;
  }

  .leaderboard-ascent__mountain {
    min-height: 72px;
  }
}

.leaderboard-page__results {
  display: grid;
  gap: 20px;
}

.leaderboard-page__status {
  margin: 0;
  padding: 28px 20px;
  border: 1px dashed var(--mv-line);
  border-radius: var(--lb-radius);
  background: var(--mv-surface-soft);
  color: var(--mv-muted);
  text-align: center;
}

.leaderboard-page__status.is-error {
  border-color: rgba(217, 48, 37, 0.24);
  background: rgba(217, 48, 37, 0.04);
  color: #b3261e;
}

.leaderboard-model-info {
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--site-navbar-height) + 20px);
  border: 1px solid var(--mv-line);
  border-radius: var(--lb-radius);
  background: var(--mv-surface);
  box-shadow: 0 12px 32px -22px rgba(16, 18, 24, 0.16);
}

.leaderboard-model-info__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
}

.leaderboard-model-info__kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--mv-blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leaderboard-model-info__head h2 {
  margin: 0;
  color: var(--mv-ink);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 730;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.leaderboard-model-info__count {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface-soft);
  color: var(--mv-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.leaderboard-model-info__scroll {
  height: clamp(680px, 82vh, 1220px);
  overflow: auto;
  overscroll-behavior-x: contain;
  border-top: 1px solid var(--mv-line);
}

.leaderboard-model-info__scroll:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: -3px;
}

.leaderboard-model-info__table {
  --lb-info-group-h: 34px;
  --lb-info-rank-width: 72px;
  width: 100%;
  min-width: 1040px;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--mv-text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.leaderboard-model-info__w-rank { width: var(--lb-info-rank-width); }
.leaderboard-model-info__w-model { width: calc(21% - var(--lb-info-rank-width)); }
.leaderboard-model-info__w-input { width: 11%; }
.leaderboard-model-info__w-mode { width: 8%; }
.leaderboard-model-info__w-params { width: 12%; }
.leaderboard-model-info__w-steps { width: 12%; }
.leaderboard-model-info__w-resolution { width: 13%; }
.leaderboard-model-info__w-length { width: 9%; }
.leaderboard-model-info__w-rate { width: 7%; }

/* Image suites stretch the Overall rank column across the card. Match that used width: 72 / (72 + 300 + 170 + 112). */
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__table {
  --lb-info-rank-width: calc(72 / 654 * 100%);
}

.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-model { width: calc(100% - (72 / 654 * 100%) - 73%); }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-input { width: 10%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-mode { width: 7%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-params { width: 11%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-steps { width: 11%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-resolution { width: 12.5%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-length { width: 8.5%; }
.leaderboard-model-info.is-stretched-rank .leaderboard-model-info__w-rate { width: 6.5%; }

.leaderboard-model-info__table th,
.leaderboard-model-info__table td {
  padding: 12px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--mv-line) 78%, transparent);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.leaderboard-model-info__table thead {
  position: sticky;
  top: 0;
  z-index: 3;
}

.leaderboard-model-info__table thead th {
  background: var(--mv-surface-soft);
  color: var(--mv-muted);
  font-weight: 650;
}

.leaderboard-model-info__groups th {
  height: var(--lb-info-group-h);
  padding: 0 14px;
  border-bottom-color: transparent;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.leaderboard-model-info__groups th.leaderboard-model-info__model {
  color: var(--mv-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: left;
  vertical-align: middle;
}

.leaderboard-model-info__table th.leaderboard-model-info__rank {
  width: var(--lb-info-rank-width);
  min-width: var(--lb-info-rank-width);
  max-width: var(--lb-info-rank-width);
  box-sizing: border-box;
  padding-right: 0;
  padding-left: 0;
  color: var(--mv-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  vertical-align: middle;
}

.leaderboard-model-info__table thead th.leaderboard-model-info__group--output {
  border-left: 1px solid color-mix(in srgb, var(--mv-blue) 22%, var(--mv-line));
  background: color-mix(in srgb, var(--mv-blue) 8%, var(--mv-surface-soft));
  color: var(--mv-blue);
}

.leaderboard-model-info__cols th {
  height: 42px;
  padding: 0 14px 8px;
  box-sizing: border-box;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
  vertical-align: bottom;
  border-bottom-color: var(--mv-line);
}

.leaderboard-model-info__cols th.is-num {
  text-align: right;
  white-space: nowrap;
}

.leaderboard-model-info__table thead tr.leaderboard-model-info__cols th.leaderboard-model-info__rank {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.leaderboard-model-info__table thead th.leaderboard-model-info__rank.is-blank {
  padding: 0;
  border-bottom-color: transparent;
}

.leaderboard-model-info__table thead th.is-output {
  background: color-mix(in srgb, var(--mv-blue) 7%, var(--mv-surface-soft));
}

.leaderboard-model-info__table thead th.leaderboard-model-info__rank,
.leaderboard-model-info__table tbody th.leaderboard-model-info__rank,
.leaderboard-model-info__table thead th.leaderboard-model-info__model,
.leaderboard-model-info__table tbody th.leaderboard-model-info__model {
  position: sticky;
  z-index: 1;
}

.leaderboard-model-info__table thead th.leaderboard-model-info__model,
.leaderboard-model-info__table tbody th.leaderboard-model-info__model {
  text-align: left;
}

.leaderboard-model-info__table thead th.leaderboard-model-info__rank,
.leaderboard-model-info__table tbody th.leaderboard-model-info__rank {
  left: 0;
  text-align: center;
}

.leaderboard-model-info__table thead th.leaderboard-model-info__model,
.leaderboard-model-info__table tbody th.leaderboard-model-info__model {
  left: var(--lb-info-rank-width);
  padding-left: 16px;
  box-shadow: 1px 0 0 color-mix(in srgb, var(--mv-line) 72%, transparent);
}

.leaderboard-model-info__table thead th.leaderboard-model-info__rank,
.leaderboard-model-info__table thead th.leaderboard-model-info__model {
  z-index: 4;
  background: var(--mv-surface-soft);
  box-shadow: inset 0 -1px 0 var(--mv-line);
}

.leaderboard-model-info__table thead th.leaderboard-model-info__model {
  box-shadow:
    inset 0 -1px 0 var(--mv-line),
    1px 0 0 color-mix(in srgb, var(--mv-line) 72%, transparent);
}

.leaderboard-model-info__table tbody th.leaderboard-model-info__rank,
.leaderboard-model-info__table tbody th.leaderboard-model-info__model {
  background: var(--mv-surface);
}

.leaderboard-model-info__table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--mv-surface-soft) 55%, var(--mv-surface));
}

.leaderboard-model-info__table tbody tr:nth-child(even) th.leaderboard-model-info__rank,
.leaderboard-model-info__table tbody tr:nth-child(even) th.leaderboard-model-info__model {
  background: color-mix(in srgb, var(--mv-surface-soft) 55%, var(--mv-surface));
}

.leaderboard-model-info__table td.is-output {
  background: color-mix(in srgb, var(--mv-blue) 4.5%, var(--mv-surface));
}

.leaderboard-model-info__table tbody tr:nth-child(even) td.is-output {
  background: color-mix(in srgb, var(--mv-blue) 7%, var(--mv-surface));
}

.leaderboard-model-info__table .is-output-start {
  border-left: 1px solid color-mix(in srgb, var(--mv-blue) 18%, var(--mv-line));
}

.leaderboard-model-info__table tbody tr:hover td,
.leaderboard-model-info__table tbody tr:hover th.leaderboard-model-info__rank,
.leaderboard-model-info__table tbody tr:hover th.leaderboard-model-info__model {
  background: color-mix(in srgb, var(--mv-blue) 9%, var(--mv-surface));
}

.leaderboard-model-info__table tbody tr:last-child th,
.leaderboard-model-info__table tbody tr:last-child td {
  border-bottom: 0;
}

.leaderboard-model-info__table td.leaderboard-model-info__num {
  color: var(--mv-ink);
  font-weight: 650;
  text-align: right;
}

.leaderboard-model-info__table td.leaderboard-model-info__num.is-empty {
  color: var(--mv-soft);
  font-weight: 500;
}

.leaderboard-model-info__identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.leaderboard-model-info__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.leaderboard-model-info__identity .leaderboard-table__team-icon-slot {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.leaderboard-model-info__name {
  display: block;
  overflow: hidden;
  color: var(--mv-ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.leaderboard-model-info__links {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
}

.leaderboard-model-info__links .leaderboard-table__model-links {
  gap: 2px 8px;
}

.leaderboard-model-info__input,
.leaderboard-model-info__mode {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: var(--mv-surface-soft);
  color: var(--mv-text);
  font-size: 11px;
  font-weight: 650;
}

.leaderboard-model-info__mode {
  border-color: color-mix(in srgb, var(--mv-blue) 30%, var(--mv-line));
  background: color-mix(in srgb, var(--mv-blue) 9%, var(--mv-surface));
  color: var(--mv-blue);
}

.leaderboard-model-info__mode.is-unknown {
  border-color: var(--mv-line);
  background: var(--mv-surface-soft);
  color: var(--mv-muted);
}

.leaderboard-model-info__parameters {
  color: var(--mv-ink);
  font-weight: 700;
  white-space: normal;
  line-height: 1.35;
}

.leaderboard-model-info__parameters.is-na {
  color: var(--mv-muted);
  font-weight: 500;
}

.leaderboard-model-info__empty {
  margin: 0;
  padding: 30px 26px;
  border-top: 1px solid var(--mv-line);
  color: var(--mv-muted);
  font-size: 13px;
}

@media (max-width: 700px) {
  .leaderboard-model-info__head {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 18px 16px 14px;
  }

  .leaderboard-model-info__table {
    --lb-info-rank-width: 44px;
  }
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mv-line);
  border-radius: var(--lb-radius);
  background: var(--mv-surface);
  box-shadow:
    0 1px 2px rgba(16, 18, 24, 0.04),
    0 12px 32px -20px rgba(16, 18, 24, 0.14);
}

.leaderboard-table-panel {
  border-top: 1px solid color-mix(in srgb, var(--mv-line) 72%, transparent);
}

.leaderboard-table-sections {
  position: relative;
  min-height: clamp(560px, 68vh, 920px);
}

.leaderboard-table-section {
  display: none;
  height: 100%;
  padding: 12px 0 0;
  transition: background 0.18s ease;
}

.leaderboard-table-section--overall {
  border-top: 0;
}

.leaderboard-table-section.is-active {
  display: block;
  background: color-mix(in srgb, var(--mv-blue) 4%, var(--mv-surface));
}

.leaderboard-table-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 12px;
  padding: 0 16px;
}

.leaderboard-table-section__head h3 {
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.leaderboard-table-section__head p {
  margin: 4px 0 0;
  color: var(--mv-muted);
  font-size: 13px;
  line-height: 1.5;
}

.leaderboard-table-section__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface);
  color: var(--mv-blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.leaderboard-table-section__link:hover,
.leaderboard-table-section__link:focus-visible {
  border-color: color-mix(in srgb, var(--mv-blue) 32%, var(--mv-line));
  background: color-mix(in srgb, var(--mv-blue) 8%, var(--mv-surface));
}

.leaderboard-table-section .leaderboard-table-scroll {
  border-top: 1px solid color-mix(in srgb, var(--mv-line) 72%, transparent);
  border-radius: 0;
  min-height: clamp(900px, 110vh, 1600px);
  max-height: clamp(900px, 110vh, 1600px);
  overflow: auto;
}

@media (max-width: 860px) {
  .leaderboard-table-section__head {
    min-height: 82px;
  }
}

.leaderboard-table--overall {
  min-width: 0;
  table-layout: fixed;
}

.leaderboard-table.leaderboard-table--section {
  --lb-sticky-rank-width: 72px;
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.leaderboard-table--section .leaderboard-table__th-metric,
.leaderboard-table--section .leaderboard-table__metric {
  min-width: 108px;
}

.leaderboard-table--section thead th:nth-child(4),
.leaderboard-table--section .leaderboard-table__overall {
  min-width: 100px;
  white-space: nowrap;
}

.leaderboard-table--section thead th.leaderboard-table__aggregate-heading {
  width: 168px;
  max-width: 220px;
  height: auto;
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: visible;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
}

.leaderboard-table__th-metric.is-sorted,
.leaderboard-table-section.is-active .leaderboard-table__th-metric.is-sorted {
  color: var(--mv-blue);
}

.leaderboard-table__th-metric-link {
  color: inherit;
  text-decoration: none;
}

.leaderboard-table__th-metric-link:hover,
.leaderboard-table__th-metric-link:focus-visible {
  color: var(--mv-blue);
  text-decoration: underline;
}

.leaderboard-table__metric.is-active-metric {
  font-weight: 700;
  color: var(--mv-blue);
  background: color-mix(in srgb, var(--mv-blue) 8%, transparent);
}

.leaderboard-table__sort-bar {
  display: grid;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--mv-line) 72%, transparent);
  background: color-mix(in srgb, var(--mv-line) 12%, var(--mv-surface));
}

.leaderboard-table__sort-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.leaderboard-table__sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.leaderboard-domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.leaderboard-table__domain-label {
  display: block;
  margin: 7px 0 4px;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.leaderboard-table--all-metrics .leaderboard-table__th-metric {
  min-width: 150px;
  padding-top: 7px;
  padding-bottom: 10px;
}

.leaderboard-domain-tabs .leaderboard-benchmark-tab {
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1.4;
}

.leaderboard-domain-tabs .leaderboard-benchmark-tab:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 2px;
}

.leaderboard-table__sort-group .leaderboard-table__metric-scroll {
  flex: 1;
  min-width: 0;
}

.leaderboard-table__sort-label {
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.leaderboard-table__sort-note {
  margin: -4px 0 0;
  color: var(--mv-muted);
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
}

.leaderboard-table__filters {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--mv-line);
}

.leaderboard-table__filter-group,
.leaderboard-table__filter-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.leaderboard-table__filter-group > .leaderboard-table__sort-label {
  flex: 0 0 96px;
}

.leaderboard-table__filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface);
  color: var(--mv-muted);
  font: 600 11px/1.3 var(--mv-font);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.leaderboard-table__filter:hover,
.leaderboard-table__filter:focus-visible {
  border-color: #8dc7a5;
  color: var(--mv-ink);
  outline: none;
}

.leaderboard-table__filter.is-active {
  border-color: #a5d9ba;
  background: #eaf7ef;
  color: #17673d;
}

.leaderboard-table__filter-count {
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table__filter-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 20px;
  color: var(--mv-muted);
  text-align: center;
}

.leaderboard-table__filter-empty p {
  margin: 0;
}

.leaderboard-table__filter-empty button {
  padding: 8px 14px;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  background: var(--mv-surface-soft);
  color: var(--mv-ink);
  font: 600 12px/1.4 var(--mv-font);
  cursor: pointer;
}

.leaderboard-table__filter-empty button:hover,
.leaderboard-table__filter-empty button:focus-visible {
  border-color: #8dc7a5;
  outline: none;
}

.leaderboard-table__metric-scroll {
  position: relative;
  margin: 0;
  padding: 2px 16px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--mv-blue) 34%, transparent) transparent;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.leaderboard-table__metric-scroll::-webkit-scrollbar {
  height: 6px;
}

.leaderboard-table__metric-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--mv-blue) 28%, var(--mv-line));
}

.leaderboard-table__metric-scroll:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--mv-blue) 28%, transparent);
  outline-offset: 2px;
  border-radius: 10px;
}

.leaderboard-table__metric-chips {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: min-content;
  padding: 2px 0;
}

.leaderboard-table__metric-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  max-width: none;
  margin: 0;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--mv-line) 88%, transparent);
  border-radius: 999px;
  background: var(--mv-surface);
  color: var(--mv-muted);
  box-shadow: 0 1px 2px rgba(16, 18, 24, 0.03);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: visible;
  scroll-snap-align: start;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.leaderboard-table__metric-chip:hover {
  border-color: color-mix(in srgb, var(--mv-blue) 28%, var(--mv-line));
  color: var(--mv-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 120, 229, 0.08);
}

.leaderboard-table__metric-chip.is-active {
  border-color: color-mix(in srgb, var(--mv-blue) 42%, transparent);
  background: color-mix(in srgb, var(--mv-blue) 12%, var(--mv-surface));
  color: var(--mv-blue);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--mv-blue) 10%, transparent),
    0 4px 14px rgba(52, 120, 229, 0.1);
}

.leaderboard-table__metric-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mv-blue) 28%, transparent);
}

.leaderboard-table__meta {
  margin: 0;
  color: var(--mv-soft);
  font-size: 12px;
}

.leaderboard-table-scroll {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 0 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--mv-line) 72%, transparent);
  text-align: center;
  vertical-align: middle;
  transition: background 0.18s ease;
}

.leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 40px;
  overflow: hidden;
  background: color-mix(in srgb, #202124 4%, var(--mv-surface));
  color: var(--mv-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 -1px color-mix(in srgb, var(--mv-line) 72%, transparent);
}

.leaderboard-table thead th:nth-child(1),
.leaderboard-table thead th:nth-child(2),
.leaderboard-table thead th.leaderboard-table__contributor {
  text-align: left;
}

.leaderboard-table th:nth-child(1),
.leaderboard-table td:nth-child(1),
.leaderboard-table tbody th.leaderboard-table__rank {
  width: 72px;
  min-width: 72px;
  box-sizing: border-box;
}

.leaderboard-table thead th:nth-child(2),
.leaderboard-table__model {
  width: auto;
  text-align: left !important;
}

.leaderboard-table--section thead th:nth-child(2),
.leaderboard-table--section .leaderboard-table__model {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  white-space: normal;
  box-sizing: border-box;
}

.leaderboard-table th.leaderboard-table__contributor,
.leaderboard-table td.leaderboard-table__contributor {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  box-sizing: border-box;
  text-align: left;
  white-space: normal;
}

.leaderboard-table__contributor-name {
  display: block;
  color: var(--mv-text);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.leaderboard-table--section thead th:nth-child(1),
.leaderboard-table--section tbody th.leaderboard-table__rank {
  position: sticky;
  left: 0;
  z-index: 2;
  width: var(--lb-sticky-rank-width);
  min-width: var(--lb-sticky-rank-width);
  max-width: var(--lb-sticky-rank-width);
  background: var(--mv-surface);
}

.leaderboard-table--section thead th:nth-child(2),
.leaderboard-table--section .leaderboard-table__model {
  position: sticky;
  left: var(--lb-sticky-rank-width);
  z-index: 2;
  background: var(--mv-surface);
  box-shadow: 1px 0 0 color-mix(in srgb, var(--mv-line) 72%, transparent);
}

.leaderboard-table--section thead th:nth-child(1),
.leaderboard-table--section thead th:nth-child(2) {
  z-index: 5;
  overflow: hidden;
  background: color-mix(in srgb, #202124 4%, var(--mv-surface));
}

.leaderboard-table--overall thead th:nth-child(2),
.leaderboard-table--overall .leaderboard-table__model {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  box-sizing: border-box;
}

.leaderboard-table--overall thead th:nth-child(4),
.leaderboard-table--overall .leaderboard-table__overall {
  width: 112px;
}

.leaderboard-table td {
  height: 52px;
  color: var(--mv-text);
  font-size: 14px;
}

.leaderboard-table tbody tr:last-child td,
.leaderboard-table tbody tr:last-child th {
  border-bottom: 0;
}

.leaderboard-table__rank {
  color: var(--mv-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.leaderboard-table__model {
  color: var(--mv-ink);
  font-weight: 600;
}

.leaderboard-table--section .leaderboard-table__th-metric,
.leaderboard-table--section .leaderboard-table__metric {
  padding-left: 8px;
  padding-right: 8px;
}

.leaderboard-table--section .leaderboard-table__metric {
  font-size: 13px;
  letter-spacing: 0;
}

.leaderboard-table__model-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.leaderboard-table__model-cell.has-specs {
  align-items: flex-start;
}

.leaderboard-table__model-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.leaderboard-table__model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table__model-spec {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 6px;
  border: 1px solid #cbead7;
  border-radius: 4px;
  background: #eaf7ef;
  color: #216b43;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.leaderboard-table__model-spec--mode.is-3d {
  border-color: #f4ddae;
  background: #fff8e8;
  color: #95621b;
}

.leaderboard-table__model-spec--input {
  border-color: var(--mv-line);
  background: var(--mv-surface-soft);
  color: var(--mv-muted);
}

.leaderboard-table__model-spec--parameters {
  border-color: #d8d1ec;
  background: #f3effb;
  color: #634d8a;
}

.leaderboard-table__model-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  min-width: 0;
  color: var(--mv-soft);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
}

.leaderboard-table__model-org {
  overflow-wrap: anywhere;
}

.leaderboard-table__model-source {
  white-space: nowrap;
}

.leaderboard-table__model-source.is-open_source {
  color: #177245;
}

.leaderboard-table__model-source.is-web,
.leaderboard-table__model-source.is-unreleased {
  color: #95621b;
}

.leaderboard-table__model-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px 7px;
}

.leaderboard-table__model-links a {
  color: var(--mv-blue);
  font-size: 10.5px;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 2px;
}

.leaderboard-table__model-links a:hover,
.leaderboard-table__model-links a:focus-visible {
  text-decoration: underline;
}

.leaderboard-table__model-spec.is-unknown {
  border-color: color-mix(in srgb, var(--mv-line) 80%, transparent);
  background: var(--mv-surface-soft);
  color: var(--mv-soft);
  font-weight: 550;
}

.leaderboard-table__model-updated {
  color: var(--mv-soft);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table__model-updated time {
  color: var(--mv-muted);
}

.leaderboard-table td.leaderboard-table__model {
  padding-top: 10px;
  padding-bottom: 10px;
}

.leaderboard-table__team-icons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.leaderboard-table__team-icon-slot {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--mv-line) 88%, transparent);
  border-radius: 6px;
  background: #fff;
}

.leaderboard-table__team-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.leaderboard-table__team-icon.is-inset {
  box-sizing: border-box;
  padding: 3px;
}

.leaderboard-table__team-icon.is-crop-left {
  object-fit: cover;
  object-position: left center;
}

.leaderboard-table__model-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mv-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.leaderboard-table__metric {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.leaderboard-table__samples,
.leaderboard-table__overall,
.leaderboard-table td.is-active-metric,
.leaderboard-table__overall.is-active-metric {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table__overall {
  color: var(--mv-blue);
}

.leaderboard-table tbody tr:hover td,
.leaderboard-table tbody tr:hover th {
  background: color-mix(in srgb, var(--mv-blue) 3%, var(--mv-surface));
}

.leaderboard-table--section tbody tr:hover .leaderboard-table__rank,
.leaderboard-table--section tbody tr:hover .leaderboard-table__model {
  background: color-mix(in srgb, var(--mv-blue) 3%, var(--mv-surface));
}

@media (max-width: 700px) {
  .home-page:not(.leaderboard-page) .home-hero {
    height: min(72svh, 640px) !important;
    min-height: 520px !important;
    max-height: 640px;
  }

  .leaderboard-page .leaderboard-main {
    padding-top: 0 !important;
  }

  .leaderboard-page__shell {
    width: min(calc(100% - 32px), var(--lb-max));
    padding: calc(var(--site-navbar-height) + 32px) 0 56px;
  }

  .leaderboard-page__heading {
    margin-bottom: 24px;
  }

  .leaderboard-protocol-entry {
    align-items: flex-start;
  }

  .leaderboard-table__sort-bar {
    padding: 10px 14px;
  }

  .leaderboard-table__sort-bar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .leaderboard-table__filter-group > .leaderboard-table__sort-label {
    flex-basis: 100%;
  }

  .leaderboard-table__metric-scroll {
    padding-left: 10px;
    padding-right: 10px;
    mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  }

  .leaderboard-domain-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .leaderboard-domain-tabs .leaderboard-benchmark-tab {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 11px;
    white-space: normal;
  }

  .leaderboard-table.leaderboard-table--section {
    --lb-sticky-rank-width: 44px;
  }

  .leaderboard-table--section th:first-child,
  .leaderboard-table--section td:first-child,
  .leaderboard-table--section tbody th.leaderboard-table__rank {
    width: var(--lb-sticky-rank-width);
    min-width: var(--lb-sticky-rank-width);
    max-width: var(--lb-sticky-rank-width);
  }

  .leaderboard-table--section thead th:nth-child(2),
  .leaderboard-table--section .leaderboard-table__model,
  .leaderboard-table--overall thead th:nth-child(2),
  .leaderboard-table--overall .leaderboard-table__model {
    left: var(--lb-sticky-rank-width);
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }

  .leaderboard-table--overall thead th:first-child,
  .leaderboard-table--overall tbody th.leaderboard-table__rank {
    width: 44px;
    min-width: 44px;
  }

  .leaderboard-table th.leaderboard-table__contributor,
  .leaderboard-table td.leaderboard-table__contributor {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0 12px;
  }

  .leaderboard-table--overall thead th:nth-child(4),
  .leaderboard-table--overall .leaderboard-table__overall {
    width: 88px;
  }

  .leaderboard-table td {
    height: 48px;
    font-size: 13px;
  }

  .leaderboard-table__model-name {
    font-size: 13px;
  }
}

/* Keep the cover video centered within the opening frame. */
.home-page:not(.leaderboard-page) .home-hero-stage {
  overflow: hidden;
}

.home-hero-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(var(--hero-film-h) + 64px);
}

.home-hero-carousel.is-single {
  min-height: var(--hero-film-h);
}

.home-hero-carousel-viewport {
  position: relative;
  width: 100%;
  height: var(--hero-film-h);
}

.home-page:not(.leaderboard-page) .home-hero-slide {
  position: absolute !important;
  top: 0;
  left: 50%;
  width: var(--hero-film-w);
  height: var(--hero-film-h) !important;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--hero-slide-offset, 0px)), 0, 0) scale(0.84);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms ease,
    filter 520ms ease;
  will-change: transform, opacity;
}

.home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="active"] {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="previous"],
.home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="next"] {
  z-index: 1;
  opacity: 0.46;
  pointer-events: auto;
  cursor: pointer;
}

.home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="previous"] .home-hero-bg-video,
.home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="next"] .home-hero-bg-video {
  filter: brightness(0.68) saturate(0.72) contrast(1.02);
}

.home-hero-carousel-controls {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  min-height: 44px;
  margin: 16px auto 0;
}

.home-hero-carousel-arrow,
.home-hero-carousel-dot {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.home-hero-carousel-arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(25, 32, 45, 0.14);
  border-radius: 50%;
  color: #1c2636;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(22, 28, 40, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-hero-carousel-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-carousel-arrow:hover,
.home-hero-carousel-arrow:focus-visible {
  border-color: rgba(25, 32, 45, 0.3);
  background: #fff;
  transform: translateY(-1px);
}

.home-hero-carousel-arrow:focus-visible,
.home-hero-carousel-dot:focus-visible {
  outline: 3px solid rgba(52, 120, 229, 0.28);
  outline-offset: 3px;
}

.home-hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
}

.home-hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(28, 38, 54, 0.28);
  transition: width 260ms ease, background-color 260ms ease, transform 180ms ease;
}

.home-hero-carousel-dot:hover {
  transform: scale(1.2);
}

.home-hero-carousel-dot.is-active {
  width: 24px;
  background: #1c2636;
}

@media (min-width: 701px) {
  .home-page:not(.leaderboard-page) .home-hero-stage {
    --hero-film-h: calc(100svh - 174px);
  }
}

@media (max-width: 700px) {
  .home-page:not(.leaderboard-page) .home-hero-stage {
    --hero-film-h: clamp(420px, 62svh, 560px);
    min-height: 0;
  }

  .home-hero-carousel {
    min-height: calc(var(--hero-film-h) + 62px);
  }

  .home-page:not(.leaderboard-page) .home-hero-slide {
    height: var(--hero-film-h) !important;
    min-height: var(--hero-film-h) !important;
    max-height: var(--hero-film-h);
    border-radius: 24px;
    transition-duration: 520ms;
  }

  .home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="previous"],
  .home-page:not(.leaderboard-page) .home-hero-slide[data-hero-role="next"] {
    opacity: 0;
    pointer-events: none;
  }

  .home-hero-carousel-controls {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page:not(.leaderboard-page) .home-hero-slide,
  .home-hero-carousel-arrow,
  .home-hero-carousel-dot {
    transition: none;
  }
}

/* Dataset atlas: wide, uninterrupted image boards inspired by WorldScore's
   dataset showcase, using the existing WorldAtlas editorial spacing system. */
.home-page .home-dataset-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 4vw, 56px) 0 clamp(92px, 10vw, 168px);
  background: #fff;
}

.home-dataset-showcase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto 20px;
  text-align: left;
}

.home-dataset-showcase__kicker {
  flex: 0 0 auto;
  margin: 0;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-dataset-showcase__tip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 560px;
  margin: 0;
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}

.home-dataset-showcase__tip-label {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(52, 120, 229, 0.09);
  color: var(--mv-blue);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-dataset-showcase__body {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--mv-text);
  font-family: var(--mv-font);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 430;
  line-height: 1.62;
}

.home-dataset-showcase__controls,
.home-dataset-showcase__gallery {
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
}

.home-dataset-showcase__controls {
  display: flex;
  margin-bottom: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.home-dataset-showcase__controls::-webkit-scrollbar {
  display: none;
}

.home-dataset-showcase__tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(32, 34, 36, 0.1);
  border-radius: 999px;
  background: #f4f6f8;
}

.home-dataset-showcase__tab {
  appearance: none;
  flex: 0 0 auto;
  min-height: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: transparent;
  color: var(--mv-muted);
  cursor: pointer;
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-dataset-showcase__tab:hover,
.home-dataset-showcase__tab:focus,
.home-dataset-showcase__tab:active,
.home-dataset-showcase__tab.is-active {
  text-decoration: none !important;
}

.home-dataset-showcase__tab:hover {
  color: var(--mv-ink);
}

.home-dataset-showcase__tab:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 2px;
}

.home-dataset-showcase__tab.is-active {
  background: #fff;
  color: var(--mv-blue);
  box-shadow: 0 2px 10px rgba(18, 24, 36, 0.1);
}

.home-dataset-board {
  width: 100%;
  margin: 0;
}

.home-dataset-board[hidden] {
  display: none;
}

.home-dataset-board__frame {
  overflow: hidden;
  border: 1px solid rgba(32, 34, 36, 0.12);
  border-radius: clamp(18px, 2.2vw, 32px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 24, 36, 0.09);
}

.home-dataset-board__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2401 / 1350;
  object-fit: contain;
  background: #fff;
  transform: scale(1.001);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-dataset-board:hover .home-dataset-board__frame img {
  transform: scale(1.008);
}

@media (max-width: 700px) {
  .home-page .home-dataset-showcase {
    padding: 40px 0 88px;
  }

  .home-dataset-showcase__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    margin-bottom: 18px;
  }

  .home-dataset-showcase__tip {
    justify-content: flex-start;
    max-width: 100%;
    text-align: left;
  }

  .home-dataset-showcase__body {
    margin-top: 18px;
    font-size: 16px;
  }

  .home-dataset-showcase__gallery {
    width: calc(100% - 24px);
  }

  .home-dataset-showcase__controls {
    width: calc(100% - 40px);
    padding: 0;
  }

  .home-dataset-showcase__tabs {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .home-dataset-showcase__tab {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .home-dataset-board {
    width: 100%;
  }

  .home-dataset-board__frame {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(18, 24, 36, 0.08);
  }

  .home-dataset-board__frame img {
    min-width: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-dataset-board__frame img {
    transition: none;
  }
}

/* Source-linked benchmark landscape. The table keeps the direct comparative
   reading of WorldExam while adopting the homepage's lighter editorial system. */
.home-page .home-comparison {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.5vw, 36px) 0 clamp(20px, 2vw, 28px);
  background: #fff;
  scroll-margin-top: 112px;
}

.home-comparison__inner {
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-comparison__head {
  max-width: 58rem;
}

.home-comparison__kicker {
  margin: 0;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-comparison-table-wrap {
  position: relative;
  margin-top: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(25, 35, 52, 0.13);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 24, 36, 0.09);
  overscroll-behavior-inline: contain;
  scrollbar-color: #a9b7ca #e8edf3;
  scrollbar-width: thin;
}

.home-comparison-table-wrap:focus-visible {
  outline: 3px solid rgba(52, 120, 229, 0.28);
  outline-offset: 4px;
}

.home-comparison-table-wrap::-webkit-scrollbar {
  height: 11px;
}

.home-comparison-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #e8edf3;
}

.home-comparison-table-wrap::-webkit-scrollbar-thumb {
  border: 3px solid #e8edf3;
  border-radius: 999px;
  background: #9cabbd;
}

.home-comparison-table {
  width: 100%;
  min-width: 958px;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  background: #fff;
  color: var(--mv-text);
  font-family: var(--mv-font);
  font-size: 12px;
}

.home-comparison-table__col-benchmark {
  width: 150px;
}

.home-comparison-table__col-scale {
  width: 140px;
}

.home-comparison-table__col-models {
  width: 60px;
}

.home-comparison-table__col-capability {
  width: 76px;
}

.home-comparison-table th,
.home-comparison-table td {
  box-sizing: border-box;
  border: 0;
  border-right: 1px solid rgba(32, 34, 36, 0.08);
  border-bottom: 1px solid rgba(32, 34, 36, 0.09);
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
}

.home-comparison-table tr > :last-child {
  border-right: 0;
}

.home-comparison-table thead th {
  color: #f7fbff;
  background: #182233;
  font-family: var(--mv-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
}

.home-comparison-table thead tr:first-child th {
  height: 44px;
  padding-top: 12px;
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 720;
}

.home-comparison-table thead tr:nth-child(2) th {
  height: 46px;
  border-bottom-color: rgba(25, 35, 52, 0.18);
  background: #eef3f9;
  color: #253247;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.01em;
}

.home-comparison-table__group--design {
  box-shadow: inset 0 4px 0 #92a5bd;
}

.home-comparison-table__group--coverage {
  box-shadow: inset 0 4px 0 #5b91e9;
}

.home-comparison-table thead tr:first-child th:first-child {
  position: sticky;
  z-index: 5;
  left: 0;
  border-top-left-radius: 23px;
  box-shadow: 10px 0 20px -18px rgba(8, 15, 28, 0.9);
}

.home-comparison-table thead tr:first-child th:last-child {
  border-top-right-radius: 23px;
}

.home-comparison-table tbody th,
.home-comparison-table tbody td {
  height: 48px;
  background: #fff;
  transition: background-color 170ms ease, color 170ms ease;
}

.home-comparison-table tbody tr:last-child th,
.home-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.home-comparison-table tbody tr:hover th,
.home-comparison-table tbody tr:hover td {
  background: #f5f8fd;
}

.home-comparison-table__benchmark {
  position: sticky;
  z-index: 3;
  left: 0;
  padding-left: 12px !important;
  background: #fff;
  box-shadow: 10px 0 20px -18px rgba(8, 15, 28, 0.62);
  text-align: left !important;
}

.home-comparison-table__benchmark a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mv-ink);
  font-size: 13px;
  font-weight: 690;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-decoration: none;
}

.home-comparison-table__benchmark a svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--mv-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 170ms ease, transform 170ms ease;
}

.home-comparison-table__benchmark a:hover,
.home-comparison-table__benchmark a:focus-visible {
  color: var(--mv-blue);
  outline: none;
}

.home-comparison-table__benchmark a:hover svg,
.home-comparison-table__benchmark a:focus-visible svg {
  stroke: currentColor;
  transform: translate(2px, -2px);
}

.home-comparison-table__ours-label {
  display: block;
  margin-top: 7px;
  color: var(--mv-blue);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.home-comparison-table__protocol,
.home-comparison-table__io,
.home-comparison-table__scale {
  text-align: left !important;
}

.home-comparison-table__protocol strong,
.home-comparison-table__scale strong {
  display: block;
  color: var(--mv-ink);
  font-size: 12px;
  font-weight: 670;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.home-comparison-table__protocol span,
.home-comparison-table__scale span {
  display: block;
  margin-top: 5px;
  color: var(--mv-muted);
  font-size: 10px;
  font-weight: 480;
  line-height: 1.45;
}

.home-comparison-table__io {
  color: var(--mv-muted);
  font-size: 10px;
  font-weight: 510;
  line-height: 1.4;
}

.home-comparison-table__io span,
.home-comparison-table__io strong {
  display: inline;
}

.home-comparison-table__io strong {
  color: var(--mv-ink);
  font-weight: 660;
}

.home-comparison-table__io svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  fill: none;
  stroke: var(--mv-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}

.home-comparison-table__models {
  color: var(--mv-ink);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.home-comparison-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
}

.home-comparison-mark svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-comparison-mark--full {
  color: #2f75d9;
  background: rgba(47, 117, 217, 0.09);
}

.home-comparison-mark--partial {
  color: #b77916;
  background: rgba(183, 121, 22, 0.09);
}

.home-comparison-mark--partial svg {
  stroke-width: 1.6;
}

.home-comparison-mark--partial .home-comparison-mark__half {
  fill: currentColor;
  stroke: none;
  opacity: 0.9;
}

.home-comparison-mark--none {
  color: #9aa3af;
  background: rgba(154, 163, 175, 0.09);
}

.home-comparison-table__row--ours th,
.home-comparison-table__row--ours td,
.home-comparison-table__row--ours:hover th,
.home-comparison-table__row--ours:hover td {
  background: #edf5ff;
}

.home-comparison-table__row--ours .home-comparison-table__benchmark {
  box-shadow: inset 4px 0 0 var(--mv-blue), 10px 0 20px -18px rgba(8, 15, 28, 0.62);
}

.home-comparison-table__row--ours .home-comparison-table__benchmark a,
.home-comparison-table__row--ours .home-comparison-table__protocol strong,
.home-comparison-table__row--ours .home-comparison-table__scale strong {
  color: #174f9d;
}

.home-comparison__legend {
  margin-top: 18px;
  border-top: 1px solid rgba(32, 34, 36, 0.14);
  padding-top: 16px;
}

.home-comparison__legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.home-comparison__legend-list > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mv-muted);
  font-size: 11px;
  line-height: 1.45;
}

.home-comparison__legend-list .home-comparison-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.home-comparison__legend-list .home-comparison-mark svg {
  width: 21px;
  height: 21px;
}

.home-comparison__union-note {
  display: grid;
  gap: 7px;
  max-width: 58rem;
  margin: 14px 0 0;
  color: var(--mv-soft);
  font-size: 10px;
  line-height: 1.55;
}

.home-comparison__union-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
}

.home-comparison__union-sources strong {
  color: var(--mv-muted);
  font-weight: 680;
}

.home-comparison__union-sources a {
  color: #55749f;
  font-weight: 620;
  text-decoration-color: rgba(85, 116, 159, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-comparison__union-sources a:hover,
.home-comparison__union-sources a:focus-visible {
  color: var(--mv-blue);
  text-decoration-color: currentColor;
}

@media (max-width: 700px) {
  .home-page .home-comparison {
    padding: 44px 0 40px;
    scroll-margin-top: 88px;
  }

  .home-comparison__inner {
    width: calc(100% - 24px);
  }

  .home-comparison__head {
    padding: 0 8px;
  }

  .home-comparison-table-wrap {
    border-radius: 18px;
    box-shadow: 0 16px 44px rgba(18, 24, 36, 0.08);
  }

  .home-comparison-table thead tr:first-child th:first-child {
    border-top-left-radius: 17px;
  }

  .home-comparison__legend {
    margin: 20px 8px 0;
    padding-top: 18px;
  }

  .home-comparison__legend-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-comparison__union-note {
    margin-top: 16px;
  }
}

/* Editorial benchmark table: lighter hierarchy, quieter rules, and clearer
   grouping while preserving the sticky benchmark column on smaller screens. */
.home-comparison-table-wrap {
  border-color: #e1e7ef;
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(33, 52, 80, 0.07);
  scrollbar-color: #9db3d1 transparent;
}

.home-comparison-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.home-comparison-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.home-comparison-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  background: #9db3d1;
}

.home-comparison-table {
  color: #344054;
}

.home-comparison-table th,
.home-comparison-table td {
  border-right: 0;
  border-bottom-color: #e8edf3;
  padding: 11px 10px;
}

.home-comparison-table thead th {
  color: #475467;
  letter-spacing: 0.015em;
}

.home-comparison-table thead tr:first-child th {
  height: 42px;
  border-bottom: 1px solid #dfe6ee;
  background: #f7f9fc;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-comparison-table thead tr:nth-child(2) th {
  height: 44px;
  border-bottom: 1px solid #dfe6ee;
  background: #fbfcfe;
  color: #667085;
  font-size: 10px;
  font-weight: 650;
}

.home-comparison-table__group--design {
  box-shadow: inset 0 3px 0 #cad5e3;
}

.home-comparison-table__group--coverage {
  background: #f6f9fe !important;
  box-shadow: inset 0 3px 0 #78a8ed;
}

.home-comparison-table thead tr:first-child th:first-child {
  border-top-left-radius: 17px;
  background: #f7f9fc;
  box-shadow: 14px 0 24px -24px rgba(31, 51, 78, 0.8);
}

.home-comparison-table thead tr:first-child th:last-child {
  border-top-right-radius: 17px;
}

.home-comparison-table thead tr:nth-child(2) th:nth-child(3),
.home-comparison-table tbody tr > :nth-child(4) {
  border-left: 1px solid #dfe7f1;
}

.home-comparison-table tbody th,
.home-comparison-table tbody td {
  height: 78px;
  background: #fff;
}

.home-comparison-table tbody tr:nth-child(even) th,
.home-comparison-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.home-comparison-table tbody tr:hover th,
.home-comparison-table tbody tr:hover td {
  background: #f3f7fd;
}

.home-comparison-table__benchmark {
  padding-left: 14px !important;
  box-shadow: 14px 0 24px -24px rgba(31, 51, 78, 0.72);
}

.home-comparison-table__benchmark a {
  color: #27364a;
  font-size: 12.5px;
  font-weight: 700;
}

.home-comparison-table__protocol strong,
.home-comparison-table__scale strong {
  color: #27364a;
  font-weight: 680;
}

.home-comparison-table__protocol span,
.home-comparison-table__scale span,
.home-comparison-table__io {
  color: #748094;
}

.home-comparison-mark {
  width: 22px;
  height: 22px;
  background: transparent;
}

.home-comparison-mark svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.home-comparison-mark--full,
.home-comparison-mark--partial,
.home-comparison-mark--none {
  background: transparent;
}

.home-comparison-table__row--ours th,
.home-comparison-table__row--ours td,
.home-comparison-table__row--ours:hover th,
.home-comparison-table__row--ours:hover td {
  background: #f1f6ff;
}

.home-comparison-table__row--ours .home-comparison-table__benchmark {
  box-shadow: inset 3px 0 0 #3478e5, 14px 0 24px -24px rgba(31, 51, 78, 0.72);
}

.home-comparison__legend {
  border-top-color: #e8edf3;
}

.home-comparison__legend-list > span {
  color: #748094;
}

/* Diagram films need their full frame on narrow screens; cinematic footage can
   keep using the carousel's immersive cover treatment. */
.home-page .home-hero-bg-video--diagram {
  background: #07131f;
}

@media (max-width: 700px) {
  .home-page .home-hero-bg-video--diagram {
    object-fit: contain;
    transform: none;
    filter: brightness(0.98) saturate(0.98) contrast(1.02);
  }
}

/* Metric comparison: every metric from the docs taxonomy remains selectable,
   while curated and pending examples share one stable comparison stage. */
.home-page .home-metrics-comparison {
  position: relative;
  padding: clamp(24px, 2.5vw, 36px) 0 clamp(28px, 3vw, 40px);
  background: #fff;
  scroll-margin-top: 112px;
}

.home-metrics-comparison__inner {
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-metrics-comparison__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.home-metrics-comparison__kicker {
  margin: 0;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-metrics-comparison__head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 670;
  text-decoration: none;
}

.home-metrics-comparison__head > a svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 170ms ease;
}

.home-metrics-comparison__head > a:hover svg,
.home-metrics-comparison__head > a:focus-visible svg {
  transform: translate(2px, -2px);
}

.home-metrics-comparison__dimension-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce3eb;
  border-radius: 14px;
  background: #fff;
}

.home-metrics-comparison__dimension-tab {
  appearance: none;
  display: grid;
  min-width: 0;
  min-height: 56px;
  align-content: center;
  gap: 3px;
  border: 0;
  border-right: 1px solid #e4e9ef;
  padding: 8px 12px;
  background: #fff;
  color: #526071;
  cursor: pointer;
  font-family: var(--mv-font);
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.home-metrics-comparison__dimension-tab:last-child {
  border-right: 0;
}

.home-metrics-comparison__dimension-tab > span {
  color: #98a3b1;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
}

.home-metrics-comparison__dimension-tab strong {
  min-width: 0;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.home-metrics-comparison__dimension-tab small {
  color: #8b96a4;
  font-size: 9px;
  font-weight: 560;
  line-height: 1.15;
}

.home-metrics-comparison__dimension-tab:hover {
  background: #f8fafc;
  color: var(--mv-ink);
  text-decoration: none;
}

.home-metrics-comparison__dimension-tab:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--mv-blue);
  outline-offset: -2px;
}

.home-metrics-comparison__dimension-tab.is-active {
  background: #edf4ff;
  color: #1d5ba9;
  box-shadow: none;
}

.home-metrics-comparison__dimension-tab.is-active > span,
.home-metrics-comparison__dimension-tab.is-active small {
  color: var(--mv-blue);
}

.home-metrics-comparison__panels {
  min-height: 0;
}

.home-metrics-comparison__panel {
  padding-top: 14px;
}

.home-metrics-comparison__panel[hidden] {
  display: none;
}

.home-metrics-comparison__metric-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.home-metrics-comparison__metric-links::-webkit-scrollbar {
  display: none;
}

.home-metrics-comparison__metric-link {
  appearance: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  border: 1px solid #dde4eb;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #5d6978;
  cursor: pointer;
  font-family: var(--mv-font);
  font-size: 11px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.home-metrics-comparison__metric-link:hover {
  border-color: #a8b6c8;
  color: #273547;
  text-decoration: none;
}

.home-metrics-comparison__metric-link:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 2px;
}

.home-metrics-comparison__metric-link.is-active {
  border-color: #6f9fe5;
  background: #edf4ff;
  color: #1d5ba9;
}

.home-metrics-comparison__case-context {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  padding: 8px 12px;
  background: #f8fafc;
}

.home-metrics-comparison__case-context strong {
  color: #1d5ba9;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.45;
  white-space: nowrap;
}

.home-metrics-comparison__case-context p {
  min-width: 0;
  margin: 0;
  color: #5f6c7c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.home-metrics-comparison__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "input input"
    "higher lower";
  column-gap: 10px;
  row-gap: 12px;
}

.home-metrics-comparison__distribution-note {
  display: flex;
  min-height: 240px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--mv-line);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--mv-surface-soft);
  color: var(--mv-text);
}

.home-metrics-comparison__distribution-note strong {
  color: var(--mv-blue);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-metrics-comparison__distribution-note p {
  max-width: 58ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.home-metrics-comparison__distribution-note a {
  color: var(--mv-blue);
  font-size: 13px;
  font-weight: 700;
}

.home-metrics-comparison__case {
  position: relative;
  min-width: 0;
  margin: 0;
}

.home-metrics-comparison__case--input {
  grid-area: input;
  width: calc((100% - 10px) / 2);
  justify-self: center;
}

.home-metrics-comparison__case--higher {
  grid-area: higher;
}

.home-metrics-comparison__case--lower {
  grid-area: lower;
}

.home-metrics-comparison__case-head {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  left: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #243140;
  font-family: var(--mv-font);
  pointer-events: none;
}

.home-metrics-comparison__case-head > span,
.home-metrics-comparison__case-head strong {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(20, 32, 48, 0.14);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.2;
}

.home-metrics-comparison__case-head strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.home-metrics-comparison__case--higher:not(.is-placeholder) .home-metrics-comparison__frame::before,
.home-metrics-comparison__case--lower:not(.is-placeholder) .home-metrics-comparison__frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.home-metrics-comparison__case--higher:not(.is-placeholder) .home-metrics-comparison__frame::before {
  background: #45a85e;
}

.home-metrics-comparison__case--higher .home-metrics-comparison__case-head strong {
  background: #e7f6ea;
  color: #26713a;
}

.home-metrics-comparison__case--lower:not(.is-placeholder) .home-metrics-comparison__frame::before {
  background: #df6b5d;
}

.home-metrics-comparison__case--lower .home-metrics-comparison__case-head strong {
  background: #fff0ee;
  color: #a64237;
}

.home-metrics-comparison__frame {
  position: relative;
  height: auto;
  overflow: hidden;
  border: 1px solid #dde4eb;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
}

.home-metrics-comparison__case--input .home-metrics-comparison__frame {
  aspect-ratio: 16 / 9;
}

.home-metrics-comparison__frame img,
.home-metrics-comparison__frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #eef2f6;
  object-fit: cover;
}

.home-metrics-comparison__case.is-zoomed .home-metrics-comparison__frame img {
  transform: scale(var(--metric-zoom, 1));
  transform-origin: center;
}

.home-metrics-comparison__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 14px;
  background: #f7f9fb;
}

.home-metrics-comparison__placeholder-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 1px dashed #c5cfda;
  border-radius: 12px;
  color: #758295;
  text-align: center;
}

.home-metrics-comparison__placeholder svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #93a0b0;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-metrics-comparison__placeholder span {
  max-width: 210px;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.35;
}

.home-metrics-comparison__case-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: end;
  margin-top: 0;
}

.home-metrics-comparison__case-arrow {
  appearance: none;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6dee8;
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: #415066;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.home-metrics-comparison__case-arrow:hover {
  border-color: #8fb4ea;
  background: #edf4ff;
  color: #1d5ba9;
  transform: translateY(-1px);
}

.home-metrics-comparison__case-arrow:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 2px;
}

.home-metrics-comparison__case-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-metrics-comparison__case-dots {
  display: flex;
  min-width: 76px;
  max-width: 128px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.home-metrics-comparison__case-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid #aeb9c7;
  border-radius: 999px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: width 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.home-metrics-comparison__case-dot:hover {
  border-color: #6f9fe5;
}

.home-metrics-comparison__case-dot:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 3px;
}

.home-metrics-comparison__case-dot.is-active {
  width: 16px;
  border-color: var(--mv-blue);
  background: var(--mv-blue);
}

.home-page .home-metrics-comparison + .home-dataset-showcase {
  padding-top: 30px;
}

@media (max-width: 860px) {
  .home-metrics-comparison__dimension-tabs {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .home-metrics-comparison__dimension-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-metrics-comparison__dimension-tab {
    flex: 0 0 188px;
  }
}

@media (max-width: 700px) {
  .home-page .home-metrics-comparison {
    padding: 24px 0 32px;
    scroll-margin-top: 88px;
  }

  .home-metrics-comparison__inner {
    width: calc(100% - 24px);
  }

  .home-metrics-comparison__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding: 0 4px;
  }

  .home-metrics-comparison__dimension-tab {
    min-height: 52px;
  }

  .home-metrics-comparison__panel {
    padding-top: 12px;
  }

  .home-metrics-comparison__metric-links {
    gap: 6px;
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .home-metrics-comparison__metric-link {
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }

  .home-metrics-comparison__case-context {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin: 0 4px 14px;
    padding: 12px 13px;
  }

  .home-metrics-comparison__case-context p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-metrics-comparison__case-context .home-metrics-comparison__case-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .home-metrics-comparison__media {
    grid-template-columns: 1fr;
    grid-template-areas:
      "input"
      "higher"
      "lower";
    gap: 16px;
  }

  .home-metrics-comparison__case--input {
    width: 100%;
  }

  .home-metrics-comparison__frame {
    aspect-ratio: 16 / 9;
  }

  .home-metrics-comparison__case--input .home-metrics-comparison__frame {
    aspect-ratio: 16 / 9;
  }

  .home-page .home-metrics-comparison + .home-dataset-showcase {
    padding-top: 24px;
  }
}

@media (max-width: 430px) {
  .home-metrics-comparison__metric-link {
    height: 36px;
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-metrics-comparison__dimension-tab,
  .home-metrics-comparison__metric-link,
  .home-metrics-comparison__head > a svg,
  .home-metrics-comparison__case-arrow,
  .home-metrics-comparison__case-dot {
    transition: none;
  }
}

/* Homepage Top 10: a compact, source-backed slice of the dedicated leaderboard. */
.home-page .home-dataset-showcase {
  padding-bottom: clamp(44px, 5vw, 72px);
}

.home-page .home-top-models {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(76px, 8vw, 116px);
  background: #fff;
}

.home-top-models__inner {
  width: min(60rem, calc(100% - var(--mv-gutter) * 2));
  margin: 0 auto;
}

.home-top-models__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.home-top-models__heading {
  min-width: 0;
}

.home-top-models__kicker {
  margin: 0 0 10px;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-top-models__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.home-top-models__title-row h2 {
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-font);
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.home-top-models__suites {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-top-models__suite {
  appearance: none;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #dde4eb;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #5d6978;
  cursor: pointer;
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.home-top-models__suite:hover {
  border-color: #a8b6c8;
  color: #273547;
  text-decoration: none;
}

.home-top-models__suite:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 2px;
}

.home-top-models__suite.is-active {
  border-color: #6f9fe5;
  background: #edf4ff;
  color: #1d5ba9;
  text-decoration: none;
}

.home-top-models__view-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  color: var(--mv-blue);
  font-family: var(--mv-font);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.home-top-models__view-all svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.home-top-models__view-all:hover svg,
.home-top-models__view-all:focus-visible svg {
  transform: translateX(3px);
}

.home-top-models__results {
  min-height: 112px;
}

.home-top-models__status {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--mv-line);
  border-bottom: 1px solid var(--mv-line);
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: 13px;
}

.home-top-models__status.is-error {
  color: #a64237;
}

.home-top-models__table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--mv-line);
  border-bottom: 1px solid var(--mv-line);
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 120, 229, 0.32) transparent;
}

.home-top-models__table-scroll:focus-visible {
  outline: 2px solid var(--mv-blue);
  outline-offset: 3px;
}

.home-top-models__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.home-top-models__col-rank {
  width: 54px;
}

.home-top-models__col-model {
  width: 355px;
}

.home-top-models__col-score {
  width: 151px;
}

.home-top-models__table th,
.home-top-models__table td {
  box-sizing: border-box;
  height: 52px;
  border-bottom: 1px solid rgba(32, 34, 36, 0.1);
  padding: 8px 13px;
  color: var(--mv-ink);
  text-align: right;
  vertical-align: middle;
}

.home-top-models__table thead th {
  height: 44px;
  color: var(--mv-muted);
  font-family: var(--mv-font);
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.075em;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-top-models__table th:first-child,
.home-top-models__table td:first-child,
.home-top-models__table th:nth-child(2),
.home-top-models__table td:nth-child(2) {
  text-align: left;
}

.home-top-models__table tbody tr:last-child th,
.home-top-models__table tbody tr:last-child td {
  border-bottom: 0;
}

.home-top-models__table tbody tr:hover th,
.home-top-models__table tbody tr:hover td {
  background-color: #f8faff;
}

.home-top-models__table thead th.is-active,
.home-top-models__table td.is-active {
  background: rgba(52, 120, 229, 0.08);
  color: var(--mv-blue);
}

.home-top-models__table thead th.is-active {
  border-top: 2px solid var(--mv-blue);
}

.home-top-models__rank {
  color: var(--mv-muted) !important;
  font-family: var(--mv-font);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.home-top-models__rank span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.home-top-models__rank.is-top-three span {
  background: var(--mv-blue);
  color: #fff;
}

.home-top-models__model {
  overflow: hidden;
}

.home-top-models__model .leaderboard-table__model-name {
  font-size: 14px;
  font-weight: 620;
}

.home-top-models__model .leaderboard-table__team-icon-slot {
  flex-basis: 28px;
}

.home-top-models__score {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .home-page .home-dataset-showcase {
    padding-bottom: 42px;
  }

  .home-page .home-top-models {
    padding-bottom: 72px;
  }

  .home-top-models__inner {
    width: calc(100% - 24px);
  }

  .home-top-models__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .home-top-models__title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-top-models__title-row h2 {
    font-size: 1.8rem;
  }

  .home-top-models__table-scroll {
    border-radius: 0;
  }

  .home-top-models__table {
    min-width: 560px;
  }

  .home-top-models__col-model {
    width: 350px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-top-models__view-all svg {
    transition: none;
  }
}

/* Minimal benchmark landscape: compact density, quiet separators, and a
   flat editorial surface without card chrome. */
.home-comparison__kicker {
  color: #53657b;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.home-comparison-table-wrap {
  margin-top: 10px;
  border: 0;
  border-top: 1px solid #dfe5ec;
  border-bottom: 1px solid #dfe5ec;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-comparison-table {
  min-width: 920px;
  font-size: 11px;
}

.home-comparison-table th,
.home-comparison-table td {
  padding: 5px 7px;
}

.home-comparison-table thead tr:first-child th {
  height: 26px;
  border-bottom: 0;
  background: #fff;
  color: #526174;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.home-comparison-table thead tr:nth-child(2) th {
  height: 30px;
  border-bottom: 1px solid #cfd8e3;
  background: #fff;
  color: #7a8798;
  font-size: 9px;
  font-weight: 620;
}

.home-comparison-table__group--design,
.home-comparison-table__group--coverage {
  background: #fff !important;
  box-shadow: none;
}

.home-comparison-table thead tr:first-child th:first-child,
.home-comparison-table thead tr:first-child th:last-child {
  position: static;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-comparison-table thead tr:nth-child(2) th:nth-child(3),
.home-comparison-table tbody tr > :nth-child(4) {
  border-left: 0;
}

.home-comparison-table tbody th,
.home-comparison-table tbody td {
  height: 42px;
  border-bottom-color: #edf0f4;
  background: #fff;
}

.home-comparison-table tbody tr:nth-child(even) th,
.home-comparison-table tbody tr:nth-child(even) td {
  background: #fff;
}

.home-comparison-table tbody tr:hover th,
.home-comparison-table tbody tr:hover td {
  background: #f8fafc;
}

.home-comparison-table__benchmark {
  position: static;
  padding-left: 10px !important;
  background: #fff;
  box-shadow: none;
}

.home-comparison-table__benchmark a {
  color: #344054;
  font-size: 11.5px;
  font-weight: 650;
}

.home-comparison-table__protocol strong,
.home-comparison-table__scale strong,
.home-comparison-table__models {
  color: #344054;
  font-size: 11px;
  font-weight: 640;
}

.home-comparison-table__protocol span,
.home-comparison-table__scale span {
  margin-top: 1px;
  font-size: 9px;
  line-height: 1.25;
}

.home-comparison-table__ours-label {
  margin-top: 3px;
}

.home-comparison-mark {
  width: 16px;
  height: 16px;
}

.home-comparison-mark svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}

.home-comparison-mark--none {
  opacity: 0.55;
}

.home-comparison-table__row--ours th,
.home-comparison-table__row--ours td,
.home-comparison-table__row--ours:hover th,
.home-comparison-table__row--ours:hover td {
  background: #f5f8fe;
}

.home-comparison-table__row--ours .home-comparison-table__benchmark {
  box-shadow: inset 2px 0 0 #3478e5;
}

.home-comparison__legend {
  margin-top: 10px;
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 700px) {
  .home-comparison-table-wrap {
    border-radius: 0;
    box-shadow: none;
  }

  .home-comparison-table {
    min-width: 900px;
  }

  .home-comparison-table thead tr:first-child th:first-child,
  .home-comparison-table__benchmark {
    position: sticky;
    z-index: 5;
    left: 0;
    border-right: 1px solid #e3e8ef;
    background: #fff;
  }

  .home-comparison-table__benchmark {
    z-index: 3;
  }

  .home-comparison-table__row--ours .home-comparison-table__benchmark {
    background: #f5f8fe;
  }
}
